{
  "components": {
    "schemas": {
      "AcceptAgentInviteRequest": {
        "properties": {
          "token": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "token"
        ],
        "type": "object"
      },
      "AcceptInviteRequest": {
        "properties": {
          "token": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "token"
        ],
        "type": "object"
      },
      "AccountAuthMeResponse": {
        "properties": {
          "email": {
            "type": "string"
          },
          "firebaseId": {
            "type": "string"
          },
          "permissions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "tenants": {
            "items": {
              "$ref": "#/components/schemas/AccountAuthTenantRef"
            },
            "type": "array"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "email",
          "firebaseId",
          "tenants"
        ],
        "type": "object"
      },
      "AccountAuthTenantRef": {
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "type": "object"
      },
      "AccountCanonicalStoreResponse": {
        "properties": {
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "zipCode": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "timezone"
        ],
        "type": "object"
      },
      "AccountConvertEstimateResponse": {
        "properties": {
          "invoiceId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "invoiceId"
        ],
        "type": "object"
      },
      "AccountCreateDraftInvoiceLineRequest": {
        "properties": {
          "billingCodeId": {
            "format": "uuid",
            "type": "string"
          },
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "discountAmount": {
            "type": "number"
          },
          "inventoryItemId": {
            "format": "uuid",
            "type": "string"
          },
          "itemCode": {
            "type": "string"
          },
          "posProductId": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "serialNumber": {
            "type": "string"
          },
          "sku": {
            "type": "string"
          },
          "sourceLineId": {
            "format": "uuid",
            "type": "string"
          },
          "taxExempt": {
            "type": "boolean"
          },
          "taxExemptionId": {
            "format": "uuid",
            "type": "string"
          },
          "taxExemptionReason": {
            "type": "string"
          },
          "taxRate": {
            "deprecated": true,
            "type": "number"
          },
          "unitAmount": {
            "type": "number"
          },
          "unitOfMeasure": {
            "type": "string"
          }
        },
        "required": [
          "description",
          "discountAmount",
          "quantity",
          "taxExempt"
        ],
        "type": "object"
      },
      "AccountCreateDraftInvoiceRequest": {
        "properties": {
          "allowPartialPayments": {
            "type": "boolean"
          },
          "appointmentId": {
            "format": "uuid",
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "deliveryFeeAmount": {
            "type": "number"
          },
          "discountAmount": {
            "type": "number"
          },
          "documentTemplateId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "documentTemplateIncarnation": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "documentTemplateKey": {
            "nullable": true,
            "type": "string"
          },
          "documentTemplateSource": {
            "enum": [
              "BUILT_IN",
              "SAVED"
            ],
            "nullable": true,
            "type": "string"
          },
          "dueAt": {
            "format": "date-time",
            "type": "string"
          },
          "footerNotes": {
            "type": "string"
          },
          "hideLineSku": {
            "type": "boolean"
          },
          "invoiceDiscount": {
            "$ref": "#/components/schemas/AccountInvoiceDiscountDto"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/AccountCreateDraftInvoiceLineRequest"
            },
            "type": "array"
          },
          "markupPercent": {
            "type": "number"
          },
          "notes": {
            "type": "string"
          },
          "notesEditableAfterIssue": {
            "type": "boolean"
          },
          "paymentSchedule": {
            "items": {
              "$ref": "#/components/schemas/AccountMilestoneRequest"
            },
            "type": "array"
          },
          "reminderConfig": {
            "$ref": "#/components/schemas/InvoiceStageReminderConfig",
            "nullable": true
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "termsOfService": {
            "type": "string"
          }
        },
        "required": [
          "allowPartialPayments",
          "deliveryFeeAmount",
          "discountAmount",
          "hideLineSku",
          "items",
          "markupPercent",
          "paymentSchedule"
        ],
        "type": "object"
      },
      "AccountCreateEstimateRequest": {
        "properties": {
          "allowPartialPayments": {
            "default": false,
            "type": "boolean"
          },
          "currency": {
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "deliveryFeeAmount": {
            "type": "number"
          },
          "expiresOn": {
            "format": "date",
            "type": "string"
          },
          "footerNotes": {
            "type": "string"
          },
          "invoiceDiscount": {
            "$ref": "#/components/schemas/AccountInvoiceDiscountDto"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/AccountEstimateLineRequest"
            },
            "type": "array"
          },
          "notes": {
            "type": "string"
          },
          "paymentSchedule": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/AccountMilestoneRequest"
            },
            "type": "array"
          },
          "termsOfService": {
            "type": "string"
          }
        },
        "required": [
          "customerId",
          "deliveryFeeAmount",
          "items"
        ],
        "type": "object"
      },
      "AccountDiagnosticResponse": {
        "properties": {
          "action": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "owner": {
            "type": "string"
          },
          "productKey": {
            "type": "string"
          },
          "resolution": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "category",
          "code",
          "detail",
          "owner",
          "resolution",
          "severity",
          "title"
        ],
        "type": "object"
      },
      "AccountEstimateCustomerSnapshot": {
        "properties": {
          "address": {
            "nullable": true,
            "type": "string"
          },
          "email": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "nullable": true,
            "type": "string"
          },
          "taxId": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "AccountEstimateDeliveryQueuedResponse": {
        "properties": {
          "actionId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "recipientEmail": {
            "nullable": true,
            "type": "string"
          },
          "recipientPhone": {
            "nullable": true,
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "requestedAt",
          "status"
        ],
        "type": "object"
      },
      "AccountEstimateDeliveryResponse": {
        "properties": {
          "actionId": {
            "format": "uuid",
            "type": "string"
          },
          "attemptCount": {
            "format": "int64",
            "type": "integer"
          },
          "channel": {
            "type": "string"
          },
          "failureReason": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "actionId",
          "attemptCount",
          "channel",
          "id",
          "status",
          "updatedAt"
        ],
        "type": "object"
      },
      "AccountEstimateLineRequest": {
        "properties": {
          "billingCodeId": {
            "format": "uuid",
            "type": "string"
          },
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "description": {
            "minLength": 1,
            "type": "string"
          },
          "discountAmount": {
            "type": "number"
          },
          "inventoryItemId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "serialNumber": {
            "type": "string"
          },
          "sku": {
            "type": "string"
          },
          "taxRate": {
            "deprecated": true,
            "type": "number"
          },
          "unitAmount": {
            "type": "number"
          },
          "unitOfMeasure": {
            "type": "string"
          }
        },
        "required": [
          "description",
          "discountAmount",
          "quantity",
          "unitAmount"
        ],
        "type": "object"
      },
      "AccountEstimateLineResponse": {
        "properties": {
          "billingCodeId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "categoryId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "discountAmount": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "displayDiscountAmount": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "displayLineTotal": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "inventoryItemId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "itemCode": {
            "nullable": true,
            "type": "string"
          },
          "lineSubtotal": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "lineTotal": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "position": {
            "format": "int32",
            "type": "integer"
          },
          "quantity": {
            "type": "number"
          },
          "serialNumber": {
            "nullable": true,
            "type": "string"
          },
          "sku": {
            "nullable": true,
            "type": "string"
          },
          "taxAmount": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "taxCategory": {
            "nullable": true,
            "type": "string"
          },
          "taxExempt": {
            "type": "boolean"
          },
          "taxExemptionId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "taxExemptionReason": {
            "nullable": true,
            "type": "string"
          },
          "taxRate": {
            "type": "number"
          },
          "unitOfMeasure": {
            "nullable": true,
            "type": "string"
          },
          "unitPrice": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          }
        },
        "required": [
          "description",
          "discountAmount",
          "displayDiscountAmount",
          "displayLineTotal",
          "id",
          "lineSubtotal",
          "lineTotal",
          "position",
          "quantity",
          "taxAmount",
          "taxExempt",
          "taxRate",
          "unitPrice"
        ],
        "type": "object"
      },
      "AccountEstimateResponse": {
        "properties": {
          "allowPartialPayments": {
            "default": false,
            "type": "boolean"
          },
          "convertedInvoiceId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "convertedInvoiceNumber": {
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "customer": {
            "$ref": "#/components/schemas/AccountEstimateCustomerSnapshot"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "deliveries": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/AccountEstimateDeliveryResponse"
            },
            "type": "array"
          },
          "deliveryFee": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "discountTotal": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "estimateNumber": {
            "nullable": true,
            "type": "string"
          },
          "expiresOn": {
            "format": "date",
            "nullable": true,
            "type": "string"
          },
          "firstViewedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "footerNotes": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "invoiceDiscount": {
            "$ref": "#/components/schemas/AccountInvoiceDiscountDto"
          },
          "issueDate": {
            "format": "date",
            "nullable": true,
            "type": "string"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/AccountEstimateLineResponse"
            },
            "type": "array"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "paymentSchedule": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/AccountMilestoneRequest"
            },
            "type": "array"
          },
          "sentAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "store": {
            "$ref": "#/components/schemas/AccountEstimateStoreSnapshot",
            "nullable": true
          },
          "storeId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "subtotal": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "taxTotal": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "termsOfService": {
            "nullable": true,
            "type": "string"
          },
          "total": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "currency",
          "customer",
          "customerId",
          "deliveryFee",
          "discountTotal",
          "id",
          "invoiceDiscount",
          "lines",
          "status",
          "subtotal",
          "taxTotal",
          "total",
          "updatedAt"
        ],
        "type": "object"
      },
      "AccountEstimateStoreSnapshot": {
        "properties": {
          "address": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "AccountEstimateViewLinkResponse": {
        "properties": {
          "estimateId": {
            "format": "uuid",
            "type": "string"
          },
          "token": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "type": "object"
      },
      "AccountGatewaySummary": {
        "properties": {
          "gatewayOrganizationId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeBindingCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "status",
          "storeBindingCount"
        ],
        "type": "object"
      },
      "AccountHealthSummary": {
        "properties": {
          "diagnostics": {
            "items": {
              "$ref": "#/components/schemas/AccountDiagnosticResponse"
            },
            "type": "array"
          },
          "offlineDeviceCount": {
            "format": "int32",
            "type": "integer"
          },
          "onlineDeviceCount": {
            "format": "int32",
            "type": "integer"
          },
          "warnings": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "diagnostics",
          "offlineDeviceCount",
          "onlineDeviceCount",
          "warnings"
        ],
        "type": "object"
      },
      "AccountInvoiceComposerLinkResponse": {
        "properties": {
          "invoiceId": {
            "format": "uuid",
            "type": "string"
          },
          "token": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "invoiceId",
          "token",
          "url"
        ],
        "type": "object"
      },
      "AccountInvoiceCreateReceiptResponse": {
        "properties": {
          "invoice": {
            "$ref": "#/components/schemas/AccountInvoiceResponse",
            "nullable": true
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "AccountInvoiceDiscountDto": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "percent": {
            "type": "number"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "percent",
          "type"
        ],
        "type": "object"
      },
      "AccountInvoiceDraftPreviewLine": {
        "properties": {
          "description": {
            "type": "string"
          },
          "discountAmount": {
            "type": "number"
          },
          "lineSubtotal": {
            "type": "number"
          },
          "lineTotal": {
            "type": "number"
          },
          "position": {
            "format": "int32",
            "type": "integer"
          },
          "quantity": {
            "type": "number"
          },
          "taxAmount": {
            "type": "number"
          },
          "taxRate": {
            "type": "number"
          },
          "unitAmount": {
            "type": "number"
          }
        },
        "required": [
          "description",
          "discountAmount",
          "lineSubtotal",
          "lineTotal",
          "position",
          "quantity",
          "taxAmount",
          "taxRate",
          "unitAmount"
        ],
        "type": "object"
      },
      "AccountInvoiceDraftPreviewResponse": {
        "properties": {
          "balanceDue": {
            "type": "number"
          },
          "currency": {
            "type": "string"
          },
          "deliveryFee": {
            "type": "number"
          },
          "discountTotal": {
            "type": "number"
          },
          "lineFinancials": {
            "items": {
              "$ref": "#/components/schemas/AccountInvoiceDraftPreviewLine"
            },
            "type": "array"
          },
          "paymentSchedule": {
            "items": {
              "$ref": "#/components/schemas/AccountInvoiceDraftPreviewStage"
            },
            "type": "array"
          },
          "subtotal": {
            "type": "number"
          },
          "taxRevision": {
            "type": "string"
          },
          "taxTotal": {
            "type": "number"
          },
          "total": {
            "type": "number"
          }
        },
        "required": [
          "balanceDue",
          "currency",
          "deliveryFee",
          "discountTotal",
          "lineFinancials",
          "paymentSchedule",
          "subtotal",
          "taxTotal",
          "total"
        ],
        "type": "object"
      },
      "AccountInvoiceDraftPreviewStage": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "dueDate": {
            "format": "date",
            "type": "string"
          },
          "dueTiming": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "isRemaining": {
            "type": "boolean"
          },
          "label": {
            "type": "string"
          },
          "netDays": {
            "format": "int32",
            "type": "integer"
          },
          "percent": {
            "type": "number"
          },
          "sequence": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "amount",
          "dueTiming",
          "isRemaining",
          "label",
          "percent",
          "sequence"
        ],
        "type": "object"
      },
      "AccountInvoiceMoney": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "currency": {
            "type": "string"
          },
          "isNegative": {
            "type": "boolean"
          },
          "isZero": {
            "type": "boolean"
          }
        },
        "required": [
          "amount",
          "currency",
          "isNegative",
          "isZero"
        ],
        "type": "object"
      },
      "AccountInvoiceNextPayment": {
        "properties": {
          "amount": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "dueDate": {
            "format": "date",
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "dueDate",
          "label"
        ],
        "type": "object"
      },
      "AccountInvoiceReminderSummary": {
        "properties": {
          "at": {
            "format": "date-time",
            "type": "string"
          },
          "detail": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "at",
          "status"
        ],
        "type": "object"
      },
      "AccountInvoiceResponse": {
        "properties": {
          "acceptedPaymentMethods": {
            "items": {
              "enum": [
                "CARD",
                "ACH",
                "CASH_CHECK"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "actionCapabilities": {
            "$ref": "#/components/schemas/InvoiceActionCapabilities"
          },
          "allowPartialPayments": {
            "type": "boolean"
          },
          "balanceDue": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "creditedAmount": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "currentlyDue": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "customerBillingAddress": {
            "nullable": true,
            "type": "string"
          },
          "customerEmail": {
            "nullable": true,
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "customerName": {
            "nullable": true,
            "type": "string"
          },
          "customerPhone": {
            "nullable": true,
            "type": "string"
          },
          "customerTaxId": {
            "nullable": true,
            "type": "string"
          },
          "deliveries": {
            "items": {
              "$ref": "#/components/schemas/InvoiceDelivery"
            },
            "type": "array"
          },
          "deliveryFee": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "deliveryIdentityKnown": {
            "type": "boolean"
          },
          "discountTotal": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "documentTemplate": {
            "nullable": true,
            "type": "string"
          },
          "documentTemplateId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "documentTemplateIncarnation": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "documentTemplateKey": {
            "nullable": true,
            "type": "string"
          },
          "documentTemplateLocked": {
            "type": "boolean"
          },
          "documentTemplateName": {
            "nullable": true,
            "type": "string"
          },
          "documentTemplateSource": {
            "enum": [
              "BUILT_IN",
              "SAVED"
            ],
            "nullable": true,
            "type": "string"
          },
          "dualPricing": {
            "$ref": "#/components/schemas/InvoiceReceiptDualPricing",
            "nullable": true
          },
          "dueDate": {
            "format": "date",
            "nullable": true,
            "type": "string"
          },
          "footerNotes": {
            "nullable": true,
            "type": "string"
          },
          "futureScheduled": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "hideLineSku": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "invoiceDiscount": {
            "$ref": "#/components/schemas/AccountInvoiceDiscountDto"
          },
          "invoiceNumber": {
            "nullable": true,
            "type": "string"
          },
          "issueDate": {
            "format": "date",
            "nullable": true,
            "type": "string"
          },
          "lastReminder": {
            "$ref": "#/components/schemas/AccountInvoiceReminderSummary",
            "nullable": true
          },
          "markupPercent": {
            "type": "number"
          },
          "nextPayment": {
            "$ref": "#/components/schemas/AccountInvoiceNextPayment",
            "nullable": true
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "notesEditableAfterIssue": {
            "type": "boolean"
          },
          "offlinePaymentIntent": {
            "$ref": "#/components/schemas/InvoiceOfflinePaymentIntent",
            "nullable": true
          },
          "overdue": {
            "type": "boolean"
          },
          "paidAmount": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "paymentAdmission": {
            "$ref": "#/components/schemas/InvoicePaymentAdmission"
          },
          "paymentLinkUrl": {
            "nullable": true,
            "type": "string"
          },
          "reminderConfig": {
            "$ref": "#/components/schemas/InvoiceStageReminderConfig",
            "nullable": true
          },
          "sourceQuoteId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "sourceQuoteNumber": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/AccountInvoiceResponseStatus"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "subtotal": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "taxTotal": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "termsOfService": {
            "nullable": true,
            "type": "string"
          },
          "total": {
            "$ref": "#/components/schemas/AccountInvoiceMoney"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "acceptedPaymentMethods",
          "actionCapabilities",
          "allowPartialPayments",
          "balanceDue",
          "createdAt",
          "creditedAmount",
          "currentlyDue",
          "customerId",
          "deliveries",
          "deliveryFee",
          "deliveryIdentityKnown",
          "discountTotal",
          "documentTemplateLocked",
          "futureScheduled",
          "hideLineSku",
          "id",
          "invoiceDiscount",
          "markupPercent",
          "notesEditableAfterIssue",
          "overdue",
          "paidAmount",
          "paymentAdmission",
          "status",
          "storeId",
          "subtotal",
          "taxTotal",
          "total",
          "updatedAt"
        ],
        "type": "object"
      },
      "AccountInvoiceResponseStatus": {
        "enum": [
          "draft",
          "issued",
          "partially_paid",
          "paid",
          "refunded",
          "uncollectible",
          "void",
          "overdue"
        ],
        "type": "string"
      },
      "AccountInvoiceSchedulePreviewResponse": {
        "properties": {
          "currency": {
            "type": "string"
          },
          "paymentSchedule": {
            "items": {
              "$ref": "#/components/schemas/AccountInvoiceDraftPreviewStage"
            },
            "type": "array"
          },
          "total": {
            "type": "number"
          }
        },
        "required": [
          "currency",
          "paymentSchedule",
          "total"
        ],
        "type": "object"
      },
      "AccountInvoiceStatus": {
        "enum": [
          "DRAFT",
          "ISSUED",
          "PARTIALLY_PAID",
          "PAID",
          "REFUNDED",
          "UNCOLLECTIBLE",
          "VOID"
        ],
        "type": "string"
      },
      "AccountMilestoneRequest": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "dueDate": {
            "format": "date",
            "type": "string"
          },
          "dueTiming": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "netDays": {
            "format": "int32",
            "type": "integer"
          },
          "percent": {
            "type": "number"
          },
          "remaining": {
            "type": "boolean"
          }
        },
        "required": [
          "label",
          "remaining"
        ],
        "type": "object"
      },
      "AccountOnboardingSummary": {
        "properties": {
          "pipelineId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "AccountOrganizationLocationResponse": {
        "properties": {
          "canonicalStore": {
            "$ref": "#/components/schemas/AccountCanonicalStoreResponse"
          },
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "isPrimary": {
            "type": "boolean"
          },
          "line1": {
            "type": "string"
          },
          "line2": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "posStoreId": {
            "format": "uuid",
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "country",
          "createdAt",
          "id",
          "isPrimary",
          "name",
          "updatedAt"
        ],
        "type": "object"
      },
      "AccountOrganizationProfileResponse": {
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "defaultCurrency": {
            "type": "string"
          },
          "ein": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "legalName": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "taxId": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "website": {
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "defaultCurrency",
          "orgId",
          "updatedAt"
        ],
        "type": "object"
      },
      "AccountOrganizationResponse": {
        "properties": {
          "locations": {
            "items": {
              "$ref": "#/components/schemas/AccountOrganizationLocationResponse"
            },
            "type": "array"
          },
          "profile": {
            "$ref": "#/components/schemas/AccountOrganizationProfileResponse"
          }
        },
        "required": [
          "locations"
        ],
        "type": "object"
      },
      "AccountOverviewResponse": {
        "properties": {
          "account": {
            "$ref": "#/components/schemas/OrgResponse"
          },
          "billing": {
            "$ref": "#/components/schemas/OrgBillingSummary"
          },
          "devices": {
            "items": {
              "$ref": "#/components/schemas/DeviceFleetEntry"
            },
            "type": "array"
          },
          "gateway": {
            "$ref": "#/components/schemas/AccountGatewaySummary"
          },
          "hasBeenDeactivated": {
            "type": "boolean"
          },
          "health": {
            "$ref": "#/components/schemas/AccountHealthSummary"
          },
          "locations": {
            "items": {
              "$ref": "#/components/schemas/ManagementStoreResponse"
            },
            "type": "array"
          },
          "onboarding": {
            "$ref": "#/components/schemas/AccountOnboardingSummary"
          },
          "products": {
            "items": {
              "$ref": "#/components/schemas/AccountProductResponse"
            },
            "type": "array"
          },
          "tier": {
            "$ref": "#/components/schemas/TierResponse"
          }
        },
        "required": [
          "account",
          "billing",
          "devices",
          "gateway",
          "hasBeenDeactivated",
          "health",
          "locations",
          "products"
        ],
        "type": "object"
      },
      "AccountPlanSettingsResponse": {
        "properties": {
          "assignedModules": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "availableModules": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "businessVertical": {
            "type": "string"
          },
          "effectiveModules": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "excludedModules": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "inheritedExcludedModules": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "inheritedModules": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "lockedModules": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "moduleAssignmentProvenance": {
            "items": {
              "$ref": "#/components/schemas/ModuleAssignmentProvenance"
            },
            "type": "array"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "planModules": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "source": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeOverrideApplied": {
            "type": "boolean"
          }
        },
        "required": [
          "assignedModules",
          "availableModules",
          "businessVertical",
          "effectiveModules",
          "excludedModules",
          "inheritedExcludedModules",
          "inheritedModules",
          "lockedModules",
          "moduleAssignmentProvenance",
          "orgId",
          "planModules",
          "source",
          "storeOverrideApplied"
        ],
        "type": "object"
      },
      "AccountProductResponse": {
        "properties": {
          "billingUnitType": {
            "type": "string"
          },
          "catalogActive": {
            "type": "boolean"
          },
          "category": {
            "type": "string"
          },
          "hasExplicitEntitlement": {
            "type": "boolean"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "operationalState": {
            "type": "string"
          },
          "signals": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "status": {
            "type": "string"
          },
          "tier": {
            "description": "Selected add-on tier, when this product supports tiered add-on plans.",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "billingUnitType",
          "catalogActive",
          "category",
          "hasExplicitEntitlement",
          "key",
          "name",
          "operationalState",
          "signals",
          "status"
        ],
        "type": "object"
      },
      "AccountPurchaseOrderLineResponse": {
        "properties": {
          "description": {
            "type": "string"
          },
          "effectiveTaxRate": {
            "type": "number"
          },
          "enforceSupplierAssociation": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "inventoryItemId": {
            "format": "uuid",
            "type": "string"
          },
          "lineTotal": {
            "$ref": "#/components/schemas/AccountPurchaseOrderMoneyResponse"
          },
          "orderedQuantity": {
            "type": "string"
          },
          "outstandingQuantity": {
            "type": "string"
          },
          "position": {
            "format": "int32",
            "type": "integer"
          },
          "promotionalQuantity": {
            "type": "string"
          },
          "receivedQuantity": {
            "type": "string"
          },
          "retailPrice": {
            "$ref": "#/components/schemas/AccountPurchaseOrderMoneyResponse"
          },
          "sku": {
            "type": "string"
          },
          "unitCost": {
            "$ref": "#/components/schemas/AccountPurchaseOrderMoneyResponse"
          }
        },
        "required": [
          "description",
          "enforceSupplierAssociation",
          "id",
          "inventoryItemId",
          "lineTotal",
          "orderedQuantity",
          "outstandingQuantity",
          "position",
          "promotionalQuantity",
          "receivedQuantity",
          "unitCost"
        ],
        "type": "object"
      },
      "AccountPurchaseOrderMoneyRequest": {
        "properties": {
          "amount": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency"
        ],
        "type": "object"
      },
      "AccountPurchaseOrderMoneyResponse": {
        "properties": {
          "amount": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency"
        ],
        "type": "object"
      },
      "AccountPurchaseOrderResponse": {
        "properties": {
          "approvedAt": {
            "format": "date-time",
            "type": "string"
          },
          "canReceive": {
            "type": "boolean"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "itemCount": {
            "format": "int64",
            "type": "integer"
          },
          "notes": {
            "type": "string"
          },
          "poNumber": {
            "type": "string"
          },
          "replenishmentSource": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "store": {
            "$ref": "#/components/schemas/AccountPurchaseOrderStoreSnapshotResponse"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "supplier": {
            "$ref": "#/components/schemas/AccountPurchaseOrderSupplierSnapshotResponse"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "total": {
            "$ref": "#/components/schemas/AccountPurchaseOrderMoneyResponse"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "canReceive",
          "createdAt",
          "id",
          "itemCount",
          "status",
          "store",
          "storeId",
          "supplier",
          "supplierId",
          "total",
          "updatedAt"
        ],
        "type": "object"
      },
      "AccountPurchaseOrderSendResponse": {
        "properties": {
          "recipientEmail": {
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "recipientEmail",
          "requestedAt",
          "status"
        ],
        "type": "object"
      },
      "AccountPurchaseOrderStoreSnapshotResponse": {
        "properties": {
          "address": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "AccountPurchaseOrderSupplierSnapshotResponse": {
        "properties": {
          "address": {
            "type": "string"
          },
          "contactEmail": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "paymentTerms": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "AccountSendEstimateRequest": {
        "properties": {
          "deliveryIdentity": {
            "format": "uuid",
            "type": "string"
          },
          "email": {
            "default": true,
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "AccountStateLifecycleResult": {
        "properties": {
          "accountActive": {
            "type": "boolean"
          },
          "failureCode": {
            "type": "string"
          },
          "requestedActive": {
            "type": "boolean"
          },
          "revision": {
            "format": "int64",
            "type": "integer"
          },
          "scope": {
            "$ref": "#/components/schemas/AccountStateScope"
          },
          "synchronizationStatus": {
            "$ref": "#/components/schemas/AccountStateSynchronizationStatus"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "accountActive",
          "requestedActive",
          "scope",
          "synchronizationStatus",
          "userId"
        ],
        "type": "object"
      },
      "AccountStateScope": {
        "enum": [
          "ACCOUNT",
          "STORE"
        ],
        "type": "string"
      },
      "AccountStateSynchronizationState": {
        "properties": {
          "desiredActive": {
            "type": "boolean"
          },
          "failureCode": {
            "type": "string"
          },
          "observationOnly": {
            "type": "boolean"
          },
          "originGlobal": {
            "type": "boolean"
          },
          "originStoreId": {
            "format": "uuid",
            "type": "string"
          },
          "revision": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/AccountStateSynchronizationStatus"
          }
        },
        "required": [
          "desiredActive",
          "observationOnly",
          "revision",
          "status"
        ],
        "type": "object"
      },
      "AccountStateSynchronizationStatus": {
        "enum": [
          "NOT_REQUIRED",
          "PENDING",
          "SYNCHRONIZED",
          "FAILED"
        ],
        "type": "string"
      },
      "AccountSummaryResponse": {
        "properties": {
          "accountId": {
            "format": "uuid",
            "type": "string"
          },
          "accountStatus": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "activeProductKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "deviceCount": {
            "format": "int64",
            "type": "integer"
          },
          "diagnostics": {
            "items": {
              "$ref": "#/components/schemas/AccountDiagnosticResponse"
            },
            "type": "array"
          },
          "healthWarnings": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "locationCount": {
            "format": "int64",
            "type": "integer"
          },
          "monthlyTotalCents": {
            "format": "int64",
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "onboarding": {
            "$ref": "#/components/schemas/AccountOnboardingSummary"
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "accountStatus",
          "active",
          "activeProductKeys",
          "deviceCount",
          "diagnostics",
          "healthWarnings",
          "locationCount",
          "monthlyTotalCents"
        ],
        "type": "object"
      },
      "AccountUpdateEstimateRequest": {
        "properties": {
          "allowPartialPayments": {
            "type": "boolean"
          },
          "currency": {
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "deliveryFeeAmount": {
            "type": "number"
          },
          "expiresOn": {
            "format": "date",
            "type": "string"
          },
          "footerNotes": {
            "type": "string"
          },
          "invoiceDiscount": {
            "$ref": "#/components/schemas/AccountInvoiceDiscountDto"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/AccountEstimateLineRequest"
            },
            "type": "array"
          },
          "notes": {
            "type": "string"
          },
          "paymentSchedule": {
            "items": {
              "$ref": "#/components/schemas/AccountMilestoneRequest"
            },
            "type": "array"
          },
          "termsOfService": {
            "type": "string"
          }
        },
        "required": [
          "customerId",
          "deliveryFeeAmount",
          "items"
        ],
        "type": "object"
      },
      "AccountUpsertScheduleRequest": {
        "properties": {
          "allowPartialPayments": {
            "type": "boolean"
          },
          "currency": {
            "minLength": 1,
            "type": "string"
          },
          "milestones": {
            "items": {
              "$ref": "#/components/schemas/AccountMilestoneRequest"
            },
            "type": "array"
          }
        },
        "required": [
          "currency",
          "milestones"
        ],
        "type": "object"
      },
      "ActionInboxTaskResponse": {
        "properties": {
          "assignedTo": {
            "format": "uuid",
            "type": "string"
          },
          "body": {
            "type": "string"
          },
          "completedAt": {
            "format": "date-time",
            "type": "string"
          },
          "completedBy": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "dismissedAt": {
            "format": "date-time",
            "type": "string"
          },
          "dismissedBy": {
            "format": "uuid",
            "type": "string"
          },
          "dueAt": {
            "format": "date-time",
            "type": "string"
          },
          "href": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "sourceRef": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "taskId": {
            "format": "uuid",
            "type": "string"
          },
          "taskType": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "orgId",
          "severity",
          "source",
          "sourceRef",
          "status",
          "taskId",
          "taskType",
          "title",
          "updatedAt"
        ],
        "type": "object"
      },
      "ActivationReadinessAction": {
        "properties": {
          "href": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "href",
          "label"
        ],
        "type": "object"
      },
      "ActivationReadinessItem": {
        "properties": {
          "code": {
            "type": "string"
          },
          "href": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "module": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "type": "object"
      },
      "ActivationReadinessResponse": {
        "properties": {
          "activationAllowed": {
            "type": "boolean"
          },
          "blockers": {
            "items": {
              "$ref": "#/components/schemas/ActivationReadinessItem"
            },
            "type": "array"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "products": {
            "items": {
              "$ref": "#/components/schemas/ProductActivationReadiness"
            },
            "type": "array"
          },
          "ready": {
            "type": "boolean"
          },
          "selectedModules": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "warnings": {
            "items": {
              "$ref": "#/components/schemas/ActivationReadinessItem"
            },
            "type": "array"
          }
        },
        "required": [
          "activationAllowed",
          "blockers",
          "orgId",
          "products",
          "ready",
          "selectedModules",
          "warnings"
        ],
        "type": "object"
      },
      "ActivityLogResponse": {
        "properties": {
          "action": {
            "type": "string"
          },
          "actorId": {
            "format": "uuid",
            "type": "string"
          },
          "actorType": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "details": {
            "type": "string"
          },
          "entityId": {
            "format": "uuid",
            "type": "string"
          },
          "entityType": {
            "type": "string"
          },
          "ipAddress": {
            "type": "string"
          },
          "logId": {
            "format": "uuid",
            "type": "string"
          },
          "metadata": {
            "additionalProperties": true,
            "type": "object"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "AddHouseholdMemberRequest": {
        "properties": {
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "primary": {
            "type": "boolean"
          },
          "relationship": {
            "type": "string"
          }
        },
        "required": [
          "customerId",
          "primary"
        ],
        "type": "object"
      },
      "AddProductSupplierRequest": {
        "properties": {
          "cost": {
            "type": "number"
          },
          "isPreferred": {
            "type": "boolean"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierSku": {
            "type": "string"
          }
        },
        "required": [
          "isPreferred",
          "productId"
        ],
        "type": "object"
      },
      "AdditionalTaxDetail": {
        "properties": {
          "taxAmount": {
            "format": "int64",
            "type": "integer"
          },
          "taxCategory": {
            "$ref": "#/components/schemas/TaxCategory"
          },
          "taxRate": {
            "type": "string"
          },
          "taxType": {
            "$ref": "#/components/schemas/TaxType"
          }
        },
        "required": [
          "taxAmount",
          "taxCategory",
          "taxType"
        ],
        "type": "object"
      },
      "AdjustInventoryRequest": {
        "properties": {
          "expectedQuantityOnHand": {
            "description": "Required for new adjustments; omission only permits replay of completed historical receipts.",
            "format": "int32",
            "type": "integer"
          },
          "lossReasonCategory": {
            "$ref": "#/components/schemas/InventoryLossReasonCategory"
          },
          "notes": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          },
          "sourceWorkflow": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string"
          }
        },
        "required": [
          "expectedQuantityOnHand",
          "productId",
          "quantity",
          "reason"
        ],
        "type": "object"
      },
      "AdjustPointsRequest": {
        "properties": {
          "points": {
            "format": "int32",
            "type": "integer"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "points",
          "reason",
          "requestId"
        ],
        "type": "object"
      },
      "AdvertisementAnalyticsResponse": {
        "properties": {
          "endDate": {
            "format": "date",
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/AdvertisementAnalyticsRow"
            },
            "type": "array"
          },
          "startDate": {
            "format": "date",
            "type": "string"
          },
          "totalImpressions": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "endDate",
          "rows",
          "startDate",
          "totalImpressions"
        ],
        "type": "object"
      },
      "AdvertisementAnalyticsRow": {
        "properties": {
          "adId": {
            "format": "uuid",
            "type": "string"
          },
          "impressions": {
            "format": "int64",
            "type": "integer"
          },
          "localDate": {
            "format": "date",
            "type": "string"
          },
          "placement": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "uniqueTerminals": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "adId",
          "impressions",
          "localDate",
          "placement",
          "storeId",
          "uniqueTerminals"
        ],
        "type": "object"
      },
      "AdvertisementImageUploadResponse": {
        "properties": {
          "imageUrl": {
            "type": "string"
          }
        },
        "required": [
          "imageUrl"
        ],
        "type": "object"
      },
      "AdvertisementImpressionBatchItem": {
        "properties": {
          "adId": {
            "format": "uuid",
            "type": "string"
          },
          "evidence": {
            "$ref": "#/components/schemas/RecordImpressionRequest"
          }
        },
        "required": [
          "adId",
          "evidence"
        ],
        "type": "object"
      },
      "AdvertisementResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "adId": {
            "format": "uuid",
            "type": "string"
          },
          "adType": {
            "type": "string"
          },
          "contentType": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "dailyEndTime": {
            "format": "time-local",
            "type": "string"
          },
          "dailyStartTime": {
            "format": "time-local",
            "type": "string"
          },
          "deliveryExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "deliveryToken": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "endDate": {
            "format": "date",
            "type": "string"
          },
          "fullScreen": {
            "type": "boolean"
          },
          "imageFit": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string"
          },
          "linkUrl": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "placement": {
            "type": "string"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "showSpecialOffer": {
            "type": "boolean"
          },
          "startDate": {
            "format": "date",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "targetGroupIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "targetStoreIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "title": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "active",
          "contentType",
          "fullScreen",
          "imageFit",
          "priority",
          "showSpecialOffer",
          "targetGroupIds",
          "targetStoreIds"
        ],
        "type": "object"
      },
      "AdvertisementStoreGroupRequest": {
        "properties": {
          "name": {
            "maxLength": 120,
            "minLength": 0,
            "type": "string"
          },
          "storeIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "minItems": 1,
            "type": "array"
          }
        },
        "required": [
          "name",
          "storeIds"
        ],
        "type": "object"
      },
      "AdvertisementStoreGroupResponse": {
        "properties": {
          "groupId": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "storeIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "groupId",
          "name",
          "orgId",
          "storeIds"
        ],
        "type": "object"
      },
      "AgentAuthMeResponse": {
        "properties": {
          "permissions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "roles": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "user": {
            "$ref": "#/components/schemas/AgentPortalUserRow"
          }
        },
        "required": [
          "permissions",
          "roles",
          "user"
        ],
        "type": "object"
      },
      "AgentBuyRateEntry": {
        "properties": {
          "effectiveFrom": {
            "format": "date",
            "type": "string"
          },
          "priceCents": {
            "format": "int64",
            "type": "integer"
          },
          "productKey": {
            "type": "string"
          },
          "tier": {
            "type": "string"
          }
        },
        "required": [
          "priceCents"
        ],
        "type": "object"
      },
      "AgentBuyRateResponse": {
        "properties": {
          "effectiveFrom": {
            "format": "date",
            "type": "string"
          },
          "priceCents": {
            "format": "int64",
            "type": "integer"
          },
          "productKey": {
            "type": "string"
          },
          "setByAgentId": {
            "format": "uuid",
            "type": "string"
          },
          "tier": {
            "type": "string"
          }
        },
        "required": [
          "effectiveFrom",
          "priceCents",
          "productKey"
        ],
        "type": "object"
      },
      "AgentMeResponse": {
        "properties": {
          "agentId": {
            "format": "uuid",
            "type": "string"
          },
          "agentName": {
            "type": "string"
          },
          "agentPortalUserId": {
            "format": "uuid",
            "type": "string"
          },
          "agentStatus": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "permissions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "role": {
            "type": "string"
          }
        },
        "required": [
          "permissions"
        ],
        "type": "object"
      },
      "AgentMerchantPriceEntry": {
        "properties": {
          "isOverridden": {
            "type": "boolean"
          },
          "priceCents": {
            "format": "int64",
            "type": "integer"
          },
          "productKey": {
            "type": "string"
          },
          "tier": {
            "type": "string"
          }
        },
        "required": [
          "isOverridden",
          "priceCents"
        ],
        "type": "object"
      },
      "AgentMerchantPricesResponse": {
        "properties": {
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "prices": {
            "items": {
              "$ref": "#/components/schemas/AgentMerchantPriceEntry"
            },
            "type": "array"
          }
        },
        "required": [
          "orgId",
          "prices"
        ],
        "type": "object"
      },
      "AgentMerchantResponse": {
        "properties": {
          "agentId": {
            "format": "uuid",
            "type": "string"
          },
          "gatewayOrganizationId": {
            "type": "string"
          },
          "linkStatus": {
            "type": "string"
          },
          "localOrgId": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "gatewayOrganizationId",
          "linkStatus",
          "name"
        ],
        "type": "object"
      },
      "AgentMerchantSummary": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "ownerAgentId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "active"
        ],
        "type": "object"
      },
      "AgentPortalUserResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "agentId": {
            "format": "uuid",
            "type": "string"
          },
          "agentPortalUserId": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "firebaseId": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastLogin": {
            "format": "date-time",
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        },
        "required": [
          "active"
        ],
        "type": "object"
      },
      "AgentPortalUserRow": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "agentId": {
            "format": "uuid",
            "type": "string"
          },
          "agentPortalUserId": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "firebaseId": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastLogin": {
            "format": "date-time",
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "active"
        ],
        "type": "object"
      },
      "AgentRatesResponse": {
        "properties": {
          "agentId": {
            "format": "uuid",
            "type": "string"
          },
          "buyRates": {
            "items": {
              "$ref": "#/components/schemas/AgentBuyRateEntry"
            },
            "type": "array"
          }
        },
        "required": [
          "agentId",
          "buyRates"
        ],
        "type": "object"
      },
      "AgentResponse": {
        "properties": {
          "agentId": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "gatewayAgentId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "parentAgentId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "syncedAt": {
            "format": "date-time",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "createdAt",
          "gatewayAgentId",
          "name",
          "status",
          "syncedAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "AgentSelfInvoiceDetailResponse": {
        "properties": {
          "invoice": {
            "$ref": "#/components/schemas/AgentSelfInvoiceSummary"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/AgentSelfInvoiceLine"
            },
            "type": "array"
          },
          "payments": {
            "items": {
              "$ref": "#/components/schemas/AgentSelfInvoicePayment"
            },
            "type": "array"
          }
        },
        "required": [
          "invoice",
          "lines",
          "payments"
        ],
        "type": "object"
      },
      "AgentSelfInvoiceLine": {
        "properties": {
          "amountCents": {
            "format": "int64",
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "productKey": {
            "type": "string"
          },
          "quantity": {
            "format": "int64",
            "type": "integer"
          },
          "unitPriceCents": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "amountCents",
          "description",
          "quantity",
          "unitPriceCents"
        ],
        "type": "object"
      },
      "AgentSelfInvoicePayment": {
        "properties": {
          "amountCents": {
            "format": "int64",
            "type": "integer"
          },
          "method": {
            "type": "string"
          },
          "receivedAt": {
            "format": "date-time",
            "type": "string"
          },
          "reference": {
            "type": "string"
          }
        },
        "required": [
          "amountCents",
          "method",
          "receivedAt"
        ],
        "type": "object"
      },
      "AgentSelfInvoiceSummary": {
        "properties": {
          "balanceDueCents": {
            "format": "int64",
            "type": "integer"
          },
          "creditedCents": {
            "format": "int64",
            "type": "integer"
          },
          "cycleId": {
            "format": "uuid",
            "type": "string"
          },
          "dueAt": {
            "format": "date-time",
            "type": "string"
          },
          "invoiceId": {
            "format": "uuid",
            "type": "string"
          },
          "invoiceNumber": {
            "type": "string"
          },
          "issuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "paidAt": {
            "format": "date-time",
            "type": "string"
          },
          "paidCents": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "subtotalCents": {
            "format": "int64",
            "type": "integer"
          },
          "totalCents": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "balanceDueCents",
          "creditedCents",
          "cycleId",
          "invoiceId",
          "invoiceNumber",
          "paidCents",
          "status",
          "subtotalCents",
          "totalCents"
        ],
        "type": "object"
      },
      "AgentSubAgentScanResponse": {
        "properties": {
          "paired": {
            "format": "int32",
            "type": "integer"
          },
          "scanned": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "paired",
          "scanned"
        ],
        "type": "object"
      },
      "AgentSubAgentSummary": {
        "properties": {
          "agentId": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "parentAgentId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "AgentTreeNode": {
        "properties": {
          "agent": {
            "$ref": "#/components/schemas/AgentResponse"
          },
          "children": {
            "items": {
              "$ref": "#/components/schemas/AgentTreeNode"
            },
            "type": "array"
          }
        },
        "required": [
          "agent",
          "children"
        ],
        "type": "object"
      },
      "AgentUserInviteResponse": {
        "properties": {
          "acceptedAt": {
            "format": "date-time",
            "type": "string"
          },
          "agentId": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdBy": {
            "format": "uuid",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "inviteId": {
            "format": "uuid",
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "ApiResponseAccountAuthMeResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountAuthMeResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAccountConvertEstimateResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountConvertEstimateResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAccountEstimateDeliveryQueuedResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountEstimateDeliveryQueuedResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAccountEstimateResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountEstimateResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAccountEstimateViewLinkResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountEstimateViewLinkResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAccountInvoiceComposerLinkResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountInvoiceComposerLinkResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAccountInvoiceCreateReceiptResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountInvoiceCreateReceiptResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAccountInvoiceDraftPreviewResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountInvoiceDraftPreviewResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAccountInvoiceSchedulePreviewResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountInvoiceSchedulePreviewResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAccountOrganizationLocationResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountOrganizationLocationResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAccountOrganizationProfileResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountOrganizationProfileResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAccountOrganizationResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountOrganizationResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAccountOverviewResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountOverviewResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAccountPlanSettingsResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountPlanSettingsResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAccountProductResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountProductResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAccountPurchaseOrderResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountPurchaseOrderResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAccountPurchaseOrderSendResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountPurchaseOrderSendResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAccountStateLifecycleResult": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AccountStateLifecycleResult"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseActionInboxTaskResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ActionInboxTaskResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseActivationReadinessResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ActivationReadinessResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseActivityLogResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ActivityLogResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAdvertisementAnalyticsResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AdvertisementAnalyticsResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAdvertisementImageUploadResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AdvertisementImageUploadResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAdvertisementResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AdvertisementResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAdvertisementStoreGroupResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AdvertisementStoreGroupResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAgentAuthMeResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AgentAuthMeResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAgentBuyRateResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AgentBuyRateResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAgentMeResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AgentMeResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAgentMerchantPricesResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AgentMerchantPricesResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAgentPortalUserResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AgentPortalUserResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAgentRatesResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AgentRatesResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAgentResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AgentResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAgentSelfInvoiceDetailResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AgentSelfInvoiceDetailResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAgentSubAgentScanResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AgentSubAgentScanResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAgentSubAgentSummary": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AgentSubAgentSummary"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAgentUserInviteResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AgentUserInviteResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAppointmentCheckoutPaymentLinkResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AppointmentCheckoutPaymentLinkResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAppointmentCheckoutReviewResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AppointmentCheckoutReviewResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAppointmentDetailsResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AppointmentDetailsResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAppointmentNotificationEligibility": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AppointmentNotificationEligibility"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAppointmentResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AppointmentResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAppointmentSavedCardPaymentResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AppointmentSavedCardPaymentResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAppointmentTerminalCheckoutResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AppointmentTerminalCheckoutResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAttachmentView": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AttachmentView"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseAutoSchedulePreviewResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AutoSchedulePreviewResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseBatchGenerationResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BatchGenerationResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseBoolean": {
        "properties": {
          "data": {
            "type": "boolean"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseBoundInvoiceSavedCardResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BoundInvoiceSavedCardResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseBrandingImageUploadResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BrandingImageUploadResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseBrandingResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BrandingResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseBulkAgeRestrictionResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BulkAgeRestrictionResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseBulkDeleteProductsResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BulkDeleteProductsResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseBulkImportResult": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BulkImportResult"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseBulkPriceUpdateApplyResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BulkPriceUpdateApplyResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseBulkPriceUpdatePreviewResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BulkPriceUpdatePreviewResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCanonicalDocumentTemplate": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CanonicalDocumentTemplate"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCardVoidObservation": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CardVoidObservation"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCashCommandResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CashCommandResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCashPayoutReportResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CashPayoutReportResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCategoryDependenciesResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CategoryDependenciesResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCategoryMergeResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CategoryMergeResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCategoryProviderCodeResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CategoryProviderCodeResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCategoryResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CategoryResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCategoryTaxEffectiveRatesResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CategoryTaxEffectiveRatesResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCategoryTaxPolicyActivationResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CategoryTaxPolicyActivationResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCategoryTaxPolicyMutationResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CategoryTaxPolicyMutationResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCategoryTaxPolicyReadinessResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CategoryTaxPolicyReadinessResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCategoryTaxPolicyResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CategoryTaxPolicyResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCheckoutCustomerEnrollmentResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CheckoutCustomerEnrollmentResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCheckoutCustomerLookupResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CheckoutCustomerLookupResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCheckoutGiftCardBalanceResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CheckoutGiftCardBalanceResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCheckoutGiftCardConfigResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CheckoutGiftCardConfigResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCheckoutIntentResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CheckoutIntentResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCheckoutLoyaltySummaryResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CheckoutLoyaltySummaryResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCloseoutCursorPage": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CloseoutCursorPage"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCloseoutResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CloseoutResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCnpPaymentResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CnpPaymentResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCommandAcceptance": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CommandAcceptance"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCommandResult": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CommandResult"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseComplianceCheckResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ComplianceCheckResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCompliancePolicyResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CompliancePolicyResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseComplianceSummaryResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ComplianceSummaryResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseConsentResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ConsentResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseConversationDetail": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ConversationDetail"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseConversationItemsPage": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ConversationItemsPage"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseConversationListPage": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ConversationListPage"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseConversationSummary": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ConversationSummary"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCreditNoteDetailResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CreditNoteDetailResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCreditNoteResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CreditNoteResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCustomFieldAdminAssetTypeResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CustomFieldAdminAssetTypeResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCustomFieldAdminDefinitionResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CustomFieldAdminDefinitionResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCustomFieldAdminSchemaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CustomFieldAdminSchemaResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCustomFieldSchemaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CustomFieldSchemaResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCustomFieldSettingsAssetTypeResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CustomFieldSettingsAssetTypeResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCustomFieldSettingsDefinitionResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CustomFieldSettingsDefinitionResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCustomFieldSettingsSchemaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CustomFieldSettingsSchemaResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCustomerAnalyticsResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CustomerAnalyticsResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCustomerAssetResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CustomerAssetResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCustomerLoyaltyResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CustomerLoyaltyResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCustomerPaymentProfileSetupLinkResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CustomerPaymentProfileSetupLinkResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCustomerReportResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CustomerReportResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseCustomerResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CustomerResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseDailyBriefResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DailyBriefResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseDailyBriefSubscriptionResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DailyBriefSubscriptionResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseDashboardResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DashboardResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseDeadStockReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DeadStockReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseDeleteProductResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DeleteProductResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseDeleteShiftSeriesResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DeleteShiftSeriesResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseDemoOrgResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DemoOrgResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseDepositReportResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DepositReportResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseDepositRuleResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DepositRuleResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseDeviceFleetEntry": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DeviceFleetEntry"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseDeviceTokenResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DeviceTokenResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseDocumentTemplateActivationResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DocumentTemplateActivationResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseDrawerResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/DrawerResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseEmployeeCapabilitiesResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/EmployeeCapabilitiesResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseEmployeeDepartmentResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/EmployeeDepartmentResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseEmployeeJobFunctionColorResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/EmployeeJobFunctionColorResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseEmployeePayRateResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/EmployeePayRateResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseEmployeeProfileResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/EmployeeProfileResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseFeatureResolutionResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/FeatureResolutionResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseFormDeliveryResult": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/FormDeliveryResult"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseFormLinkResult": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/FormLinkResult"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseFormRequestView": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/FormRequestView"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseFormSubmissionDetail": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/FormSubmissionDetail"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseFormTemplateDetail": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/FormTemplateDetail"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseFormTemplateVersionView": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/FormTemplateVersionView"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGatewayActionResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GatewayActionResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGatewayBatchCloseResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GatewayBatchCloseResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGatewayBatchPageResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GatewayBatchPageResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGatewayBatchResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GatewayBatchResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGatewayCredentialProfileResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GatewayCredentialProfileResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGatewayFraudPortalResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GatewayFraudPortalResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGatewayLocationAssignmentsResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GatewayLocationAssignmentsResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGatewayMerchantAssignmentResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GatewayMerchantAssignmentResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGatewayMerchantResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ManagementGatewayMerchantResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGatewayOnlineLocationResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GatewayOnlineLocationResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGatewayOrganizationProvisionResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GatewayOrganizationProvisionResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGatewayOrganizationResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GatewayOrganizationResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGatewayProvisioningJobListResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GatewayProvisioningJobListResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGatewayProvisioningJobResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GatewayProvisioningJobResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGatewaySettlementResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GatewaySettlementResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGatewayStoreBindResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GatewayStoreBindResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGatewayTaxConfigResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GatewayTaxConfigResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGenerateOnboardingTokenResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GenerateOnboardingTokenResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGeofenceResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GeofenceResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGiftCardIssuanceSagaResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GiftCardIssuanceSagaResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGiftCardMetrics": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GiftCardMetrics"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseGiftCardResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/GiftCardResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseHistoricalPaymentRepairResult": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HistoricalPaymentRepairResult"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseHostedCardEntryResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HostedCardEntryResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseHostedCardEntryStatusResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HostedCardEntryStatusResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseHostedCheckoutSessionResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HostedCheckoutSessionResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseHouseholdDetailResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HouseholdDetailResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseHouseholdLoyaltyRollupResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HouseholdLoyaltyRollupResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseImportResult": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ImportResult"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseIntegrationAuthorizationResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/IntegrationAuthorizationResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseIntegrationProviderReadinessResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/IntegrationProviderReadinessResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseIntegrationResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/IntegrationResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInventoryAccuracyReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InventoryAccuracyReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInventoryAgingReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InventoryAgingReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInventoryAuditTrailReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InventoryAuditTrailReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInventoryCountApprovalResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InventoryCountApprovalResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInventoryCountEntryResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InventoryCountEntryResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInventoryCountPolicyResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InventoryCountPolicyResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInventoryCountRecountResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InventoryCountRecountResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInventoryCountSessionResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InventoryCountSessionResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInventoryCountVarianceReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InventoryCountVarianceReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInventoryCycleCountScheduleResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InventoryCycleCountScheduleResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInventoryDiscrepancyEntry": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InventoryDiscrepancyEntry"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInventoryDiscrepancyReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InventoryDiscrepancyReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInventoryMovementReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InventoryMovementReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInventoryPageResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InventoryPageResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInventoryResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InventoryResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInventoryValueAtRiskReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InventoryValueAtRiskReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInviteReadCapabilitiesResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InviteReadCapabilitiesResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInviteResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InviteResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInvoiceAccountingExportResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InvoiceAccountingExportResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInvoiceAutoPayDefaultsResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InvoiceAutoPayDefaultsResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInvoiceAutoPayResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InvoiceAutoPayResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInvoiceConfigurationTemplateResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InvoiceConfigurationTemplateResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInvoiceCustomerAutoPayResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InvoiceCustomerAutoPayResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInvoiceDefaultsResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InvoiceDefaultsResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInvoiceDepositSuggestionResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InvoiceDepositSuggestionResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInvoiceFxRateResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InvoiceFxRateResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInvoiceRefundResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InvoiceRefundResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInvoiceReminderConfigResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InvoiceReminderConfigResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInvoiceSavedPaymentResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InvoiceSavedPaymentResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInvoiceSmsConfigResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InvoiceSmsConfigResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseInvoiceTemplateResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/InvoiceTemplateResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAccountEstimateLineResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AccountEstimateLineResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAccountEstimateResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AccountEstimateResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAccountInvoiceResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AccountInvoiceResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAccountProductResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AccountProductResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAccountPurchaseOrderLineResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AccountPurchaseOrderLineResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAccountPurchaseOrderResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AccountPurchaseOrderResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAccountSummaryResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AccountSummaryResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListActionInboxTaskResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ActionInboxTaskResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListActivityLogResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ActivityLogResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAdvertisementResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AdvertisementResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAdvertisementStoreGroupResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AdvertisementStoreGroupResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAgentBuyRateResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AgentBuyRateResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAgentMerchantResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AgentMerchantResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAgentMerchantSummary": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AgentMerchantSummary"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAgentPortalUserResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AgentPortalUserResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAgentSelfInvoiceSummary": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AgentSelfInvoiceSummary"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAgentSubAgentSummary": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AgentSubAgentSummary"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAgentTreeNode": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AgentTreeNode"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAgentUserInviteResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AgentUserInviteResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAppointmentBookingStaffResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AppointmentBookingStaffResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAppointmentChargeableCardResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AppointmentChargeableCardResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAppointmentEventResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AppointmentEventResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAppointmentProviderOptionResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AppointmentProviderOptionResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAppointmentResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AppointmentResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAppointmentSavedPaymentMethodResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AppointmentSavedPaymentMethodResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAuditEventResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AuditEventResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListAvailabilitySlotResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AvailabilitySlotResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListBatchReviewShiftResult": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/BatchReviewShiftResult"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListBillingProductResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/BillingProductResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCashCommandResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CashCommandResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCategoryResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CategoryResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCategorySalesResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CategorySalesResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCategoryTaxPolicyResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CategoryTaxPolicyResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCategoryTreeResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CategoryTreeResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListChartAccountResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ChartAccountResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCheckoutTaxCategoryResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CheckoutTaxCategoryResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCloseoutCandidateResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CloseoutCandidateResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCloseoutResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CloseoutResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCloseoutTimelineEventResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CloseoutTimelineEventResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListComplianceCheckResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ComplianceCheckResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCompliancePolicyRuleResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CompliancePolicyRuleResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListConsentHistoryEntryResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ConsentHistoryEntryResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCreditNoteLineResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CreditNoteLineResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCreditNoteListResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CreditNoteListResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCreditNoteResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CreditNoteResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCurrentExpiryAlertResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CurrentExpiryAlertResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCustomFieldAdminServiceOptionResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldAdminServiceOptionResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCustomFieldSettingsServiceOptionResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldSettingsServiceOptionResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCustomFieldValueResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldValueResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCustomerAssetResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CustomerAssetResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCustomerIdentifierResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CustomerIdentifierResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCustomerPickerResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CustomerPickerResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCustomerResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CustomerResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListCustomerSegment": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CustomerSegment"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListDailySalesResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/DailySalesResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListDemoOrgResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/DemoOrgResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListDestinationStore": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/DestinationStore"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListDeviceFleetEntry": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/DeviceFleetEntry"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListDeviceTokenResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/DeviceTokenResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListDrawerResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/DrawerResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListEligibleOwnerResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/EligibleOwnerResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListEmployeeDepartmentResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/EmployeeDepartmentResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListEmployeeJobFunctionColorResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/EmployeeJobFunctionColorResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListEmployeePayRateResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/EmployeePayRateResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListEnrollmentTrend": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/EnrollmentTrend"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListExpiryAlertResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ExpiryAlertResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListFormRequestView": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/FormRequestView"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListFormTemplateSummary": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/FormTemplateSummary"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListGatewayCredentialProfileResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/GatewayCredentialProfileResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListGatewayStoreAuthResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/GatewayStoreAuthResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListGatewayTaxConfigResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/GatewayTaxConfigResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListGeofenceResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/GeofenceResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListGeofenceViolationResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/GeofenceViolationResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListGiftCardResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/GiftCardResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListHourlySalesResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/HourlySalesResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListHouseholdSummaryResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/HouseholdSummaryResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListIntegrationResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/IntegrationResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListInventoryCountEntryResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/InventoryCountEntryResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListInventoryCountSessionResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/InventoryCountSessionResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListInventoryCycleCountScheduleResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/InventoryCycleCountScheduleResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListInventoryHistoryResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/InventoryHistoryResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListInventoryResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/InventoryResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListInviteResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/InviteResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListInvoiceAccountingExportResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/InvoiceAccountingExportResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListInvoiceAuditEventResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/InvoiceAuditEventResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListInvoiceConfigurationTemplateResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/InvoiceConfigurationTemplateResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListInvoiceConfigurationTemplateStarterResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/InvoiceConfigurationTemplateStarterResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListInvoiceRefundResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/InvoiceRefundResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListInvoiceSmsConsentResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/InvoiceSmsConsentResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListInvoiceTemplateResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/InvoiceTemplateResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListLotAllocationGapRecord": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/LotAllocationGapRecord"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListLotResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/LotResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListLowStockResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/LowStockResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListLoyaltyProgramResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/LoyaltyProgramResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListLoyaltyRewardResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/LoyaltyRewardResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListLoyaltyTierResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/LoyaltyTierResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListMarketingCategoryChoice": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/MarketingCategoryChoice"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListMarketingProductChoice": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/MarketingProductChoice"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListMarketingReminderServiceChoice": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/MarketingReminderServiceChoice"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListMarketingTriggerRecord": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/MarketingTriggerRecord"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListMerchantPaymentMethodResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/MerchantPaymentMethodResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListNotificationDeliveryAuditResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/NotificationDeliveryAuditResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListNotificationResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/NotificationResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListOnboardingTaskResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/OnboardingTaskResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListOpenShiftResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/OpenShiftResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListOrderResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/OrderResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListOrgIamResponsibilityResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/OrgIamResponsibilityResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListOrgInviteResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/OrgInviteResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListOrgOverrideResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/OrgOverrideResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListOrgResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/OrgResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListPaymentMethodBreakdown": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/PaymentMethodBreakdown"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListPaymentTokenResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/PaymentTokenResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListPeakHoursResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/PeakHoursResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListPipelineResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/PipelineResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListPipelineStatusCount": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/PipelineStatusCount"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListProductImageResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ProductImageResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListProductPickerResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ProductPickerResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListProductResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ProductResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListProductSupplierResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ProductSupplierResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListPromotionResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/PromotionResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListPromotionVersionResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/PromotionVersionResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListRecurringInvoiceResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/RecurringInvoiceResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListRecurringPaymentResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/RecurringPaymentResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListRedemptionRate": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/RedemptionRate"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListRefundReviewAlertResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/RefundReviewAlertResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListResolvedShift": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ResolvedShift"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListReturnCommandResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ReturnCommandResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListReturnDetailResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ReturnDetailResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListSavedPaymentMethodResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/SavedPaymentMethodResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListScheduledReportResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ScheduledReportResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListSerialNumberResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/SerialNumberResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListServiceReminderResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ServiceReminderResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListServiceReminderRuleResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ServiceReminderRuleResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListShiftActivityResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ShiftActivityResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListShiftBlockResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ShiftBlockResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListShiftPreferenceResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ShiftPreferenceResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListShiftRequestResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ShiftRequestResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListShiftRosterUserResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ShiftRosterUserResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListShiftTeamTodayResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ShiftTeamTodayResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListShiftTemplateResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ShiftTemplateResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListShiftTimesheetResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ShiftTimesheetResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListSmsConversationSummaryResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/SmsConversationSummaryResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListSmsMessageResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/SmsMessageResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListStandardIamResponsibility": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/StandardIamResponsibility"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListStationItemResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/StationItemResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListStationResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/StationResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListStockTransferResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/StockTransferResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListStoreBreakPolicyResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/StoreBreakPolicyResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListStoreEmployeePayRateResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/StoreEmployeePayRateResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListString": {
        "properties": {
          "data": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListSupplierResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/SupplierResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListTaxConfigResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TaxConfigResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListTaxRateResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TaxRateResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListTicketResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TicketResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListTimeOffResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TimeOffResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListTopCustomer": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TopCustomer"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListTopProductResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TopProductResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListTransactionResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TransactionResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListTransactionStatusBreakdown": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TransactionStatusBreakdown"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListTriggerLogRecord": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TriggerLogRecord"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListTriggerResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TriggerResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListUpsellRecommendationResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/UpsellRecommendationResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListUpsellResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/UpsellResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseListVendorCostAdjustmentVendorResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/VendorCostAdjustmentVendorResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseLong": {
        "properties": {
          "data": {
            "format": "int64",
            "type": "integer"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseLossPreventionIncidentReportResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/LossPreventionIncidentReportResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseLossPreventionIncidentResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/LossPreventionIncidentResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseLossPreventionReportResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/LossPreventionReportResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseLotAllocationGapRecord": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/LotAllocationGapRecord"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseLotResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/LotResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseLowStockReorderReportResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/LowStockReorderReportResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseLoyaltyMessagingSettingsResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/LoyaltyMessagingSettingsResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseLoyaltyProgramResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/LoyaltyProgramResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseLoyaltyReadLinkStateResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/LoyaltyReadLinkStateResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseLoyaltyRewardResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/LoyaltyRewardResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseLoyaltyTierResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/LoyaltyTierResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseLoyaltyWelcomeSmsQueuedResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/LoyaltyWelcomeSmsQueuedResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseManualCouponResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ManualCouponResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMapStringBoolean": {
        "properties": {
          "data": {
            "additionalProperties": {
              "type": "boolean"
            },
            "type": "object"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMapStringLong": {
        "properties": {
          "data": {
            "additionalProperties": {
              "format": "int64",
              "type": "integer"
            },
            "type": "object"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMapStringObject": {
        "properties": {
          "data": {
            "additionalProperties": true,
            "type": "object"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMapStringString": {
        "properties": {
          "data": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMarketingTextingResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MarketingTextingResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMarketingTriggerRecord": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MarketingTriggerRecord"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMerchantAuthMeResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MerchantAuthMeResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMerchantImpersonationOptionsResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MerchantImpersonationOptionsResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMerchantImpersonationSessionResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MerchantImpersonationSessionResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMerchantInvoicePaymentProfileResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MerchantInvoicePaymentProfileResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMerchantPaymentMethodResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MerchantPaymentMethodResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMerchantPaymentProfileSetupSessionResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MerchantPaymentProfileSetupSessionResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMerchantReceiptDeliveryResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MerchantReceiptDeliveryResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMkonnektCallbackReadinessResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MkonnektCallbackReadinessResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMkonnektDiscountAuthDiagnosticResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MkonnektDiscountAuthDiagnosticResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMobileCheckoutAttemptResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MobileCheckoutAttemptResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMobileCheckoutQuotePreviewResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MobileCheckoutQuotePreviewResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMobileCheckoutTicketResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MobileCheckoutTicketResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMobileDeviceEnrollmentResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MobileDeviceEnrollmentResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMobileManagerOverrideAuthorizeResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MobileManagerOverrideAuthorizeResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMobileManagerOverridePreflightResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MobileManagerOverridePreflightResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMobilePaymentRuntimeResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MobilePaymentRuntimeResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseMovementResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MovementResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseNotificationResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/NotificationResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseObject": {
        "properties": {
          "data": {
            "type": "object"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseOnboardMerchantResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/OnboardMerchantResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseOnboardingTaskResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/OnboardingTaskResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseOrderResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/OrderResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseOrgAnalyticsOverview": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/OrgAnalyticsOverview"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseOrgIamPersonAccessResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/OrgIamPersonAccessResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseOrgInviteResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/OrgInviteResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseOrgJobFunctionsResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/OrgJobFunctionsResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseOrgOverrideResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/OrgOverrideResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseOrgPeopleResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/OrgPeopleResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseOrgResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/OrgResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseOutOfStockReportResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/OutOfStockReportResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponsePaymentDeviceLinkDto": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PaymentDeviceLinkDto"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponsePaymentTokenResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PaymentTokenResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponsePeakAuthzTokenResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PeakAuthzTokenResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponsePermissionsMatrixJobFunctionPeopleResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PermissionsMatrixJobFunctionPeopleResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponsePermissionsMatrixResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PermissionsMatrixResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponsePipelineResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PipelineResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponsePointsAdjustmentReceipt": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PointsAdjustmentReceipt"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponsePortalCheckoutPriceApprovalResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PortalCheckoutPriceApprovalResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponsePortalTokenResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PortalTokenResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponsePrimaryStoreResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PrimaryStoreResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseProductImageResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ProductImageResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseProductLocationInventoryResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ProductLocationInventoryResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseProductLookupResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ProductLookupResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseProductOpeningResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ProductOpeningResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseProductResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ProductResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseProductSupplierResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ProductSupplierResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponsePromotionResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PromotionResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponsePublicInvoiceAutoPayStopResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PublicInvoiceAutoPayStopResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponsePublicRefundAttemptResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PublicRefundAttemptResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseReceiptData": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ReceiptData"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseReceiptLinkResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ReceiptLinkResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseRecordAdvertisementImpressionBatchResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/RecordAdvertisementImpressionBatchResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseRecurringInvoiceResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/RecurringInvoiceResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseRecurringPaymentResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/RecurringPaymentResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseRedeemPointsResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/RedeemPointsResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseRefundRateResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/RefundRateResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseResolvedShift": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ResolvedShift"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseRetryPendingCloudSyncPaymentDeviceLinksResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/RetryPendingCloudSyncPaymentDeviceLinksResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseReturnCommandResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ReturnCommandResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseReturnDetailResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ReturnDetailResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseReturnQuoteResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ReturnQuoteResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseReturnResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ReturnResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseReturnStatusResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ReturnStatusResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseSalesReportResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SalesReportResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseSavedPaymentMethodResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SavedPaymentMethodResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseScheduledReportResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ScheduledReportResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseScheduledReportRunResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ScheduledReportRunResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseSellThroughReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SellThroughReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseSerialNumberResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SerialNumberResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseServiceBookingImageResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ServiceBookingImageResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseServiceReminderRuleResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ServiceReminderRuleResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseShiftBlockResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ShiftBlockResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseShiftCapabilitiesResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ShiftCapabilitiesResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseShiftConflictResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ShiftConflictResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseShiftPreferenceResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ShiftPreferenceResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseShiftRequestResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ShiftRequestResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseShiftSeriesMutationResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ShiftSeriesMutationResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseShiftSeriesResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ShiftSeriesResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseShiftStatusResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ShiftStatusResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseShiftTemplateResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ShiftTemplateResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseShrinkageByCategoryBrandReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ShrinkageByCategoryBrandReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseShrinkageByDayShiftTimeReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ShrinkageByDayShiftTimeReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseShrinkageByEmployeeReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ShrinkageByEmployeeReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseShrinkageByLocationReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ShrinkageByLocationReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseShrinkageByProductReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ShrinkageByProductReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseShrinkageByReasonReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ShrinkageByReasonReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseShrinkageDashboardReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ShrinkageDashboardReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseShrinkageTrendReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ShrinkageTrendReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseSlowMovingInventoryReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SlowMovingInventoryReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseSmsConversationDetailResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SmsConversationDetailResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseSmsMessageResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SmsMessageResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseSmsReadinessResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SmsReadinessResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseSmsUnreadCountResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SmsUnreadCountResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseSnapshotResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SnapshotResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseStandardIamAccessPreview": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/StandardIamAccessPreview"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseStandardIamJobFunction": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/StandardIamJobFunction"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseStandardIamJobFunctionCollection": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/StandardIamJobFunctionCollection"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseStandardIamPeople": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/StandardIamPeople"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseStandardIamPersonAccess": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/StandardIamPersonAccess"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseStationItemResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/StationItemResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseStationResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/StationResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseStockTransferResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/StockTransferResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseStockoutRiskReport": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/StockoutRiskReport"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseStoreApprovalPolicyHistory": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/StoreApprovalPolicyHistory"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseStoreApprovalPolicyResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/StoreApprovalPolicyResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseStoreBreakPolicyResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/StoreBreakPolicyResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseStoreScopedAccessResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/StoreScopedAccessResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseStoreSettingsResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/StoreSettingsResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseStoreShiftSettingsResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/StoreShiftSettingsResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseString": {
        "properties": {
          "data": {
            "type": "string"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseSupplierResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SupplierResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseTaxConfigResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TaxConfigResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseTaxConfigSnapshotResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TaxConfigSnapshotResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseTaxPreviewResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TaxPreviewResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseTaxReportResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TaxReportResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseTaxSummaryResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TaxSummaryResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseTemplateImageMigrationResult": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TemplateImageMigrationResult"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseTerminalDeprovisionOperationResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TerminalDeprovisionOperationResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseTerminalPriceOverrideResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TerminalPriceOverrideResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseTerminalWithPaymentConfigResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TerminalWithPaymentConfigResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseTicketResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TicketResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseTierResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TierResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseTimeOffResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TimeOffResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseTransactionDashboardResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TransactionDashboardResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseTransactionDetailResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TransactionDetailResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseTransactionResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TransactionResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseTransactionSummaryResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TransactionSummaryResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseTriggerResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TriggerResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseUnifiedTransactionsResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/UnifiedTransactionsResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseUnit": {
        "properties": {
          "data": {
            "type": "object"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseUpsellResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/UpsellResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseUserResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/UserResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseUtilizationResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/UtilizationResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseVarianceResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/VarianceResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseVendorCostAdjustmentApplyResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/VendorCostAdjustmentApplyResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseVendorCostAdjustmentPreviewResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/VendorCostAdjustmentPreviewResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApiResponseVoid": {
        "properties": {
          "data": {
            "type": "object"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ApplyAutoScheduleRequest": {
        "properties": {
          "expectedScheduleVersion": {
            "type": "string"
          },
          "shifts": {
            "items": {
              "$ref": "#/components/schemas/AutoScheduleShift"
            },
            "maxItems": 500,
            "minItems": 0,
            "type": "array"
          }
        },
        "required": [
          "expectedScheduleVersion",
          "shifts"
        ],
        "type": "object"
      },
      "AppointmentActionConfirmation": {
        "properties": {
          "confirmationKey": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "effects": {
            "items": {
              "$ref": "#/components/schemas/AppointmentActionEffect"
            },
            "type": "array"
          },
          "feeAmount": {
            "type": "number"
          },
          "unavailableReason": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "confirmationKey",
          "currency",
          "effects",
          "feeAmount"
        ],
        "type": "object"
      },
      "AppointmentActionEffect": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "cardBrand": {
            "nullable": true,
            "type": "string"
          },
          "cardLast4": {
            "nullable": true,
            "type": "string"
          },
          "paymentLabel": {
            "nullable": true,
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "type"
        ],
        "type": "object"
      },
      "AppointmentAvailableActions": {
        "properties": {
          "bookWithoutPaymentAvailable": {
            "default": false,
            "type": "boolean"
          },
          "cancelAvailable": {
            "type": "boolean"
          },
          "cancelDepositRefundAvailable": {
            "type": "boolean"
          },
          "checkInAvailable": {
            "type": "boolean"
          },
          "checkoutAvailable": {
            "type": "boolean"
          },
          "collectDepositAvailable": {
            "type": "boolean"
          },
          "completeAvailable": {
            "type": "boolean"
          },
          "completeServiceAvailable": {
            "type": "boolean"
          },
          "confirmAvailable": {
            "type": "boolean"
          },
          "createInvoiceAvailable": {
            "type": "boolean"
          },
          "declineAvailable": {
            "type": "boolean"
          },
          "declineDepositRefundAvailable": {
            "type": "boolean"
          },
          "depositRefundAvailable": {
            "type": "boolean"
          },
          "enhancementsEditAvailable": {
            "type": "boolean"
          },
          "enhancementsEditScope": {
            "$ref": "#/components/schemas/AppointmentEnhancementEditScope"
          },
          "extendTimeAvailable": {
            "default": false,
            "type": "boolean"
          },
          "formsLinkAvailable": {
            "type": "boolean"
          },
          "noShowAvailable": {
            "type": "boolean"
          },
          "noShowDepositRefundAvailable": {
            "type": "boolean"
          },
          "paymentAuthorizationAvailable": {
            "type": "boolean"
          },
          "paymentAvailable": {
            "type": "boolean"
          },
          "rescheduleAvailable": {
            "type": "boolean"
          },
          "resendFormsAvailable": {
            "type": "boolean"
          },
          "startServiceAvailable": {
            "type": "boolean"
          },
          "undoNoShowAvailable": {
            "default": false,
            "type": "boolean"
          },
          "undoNoShowExternalReturnAmount": {
            "type": "number"
          },
          "undoNoShowExternalReturnKey": {
            "type": "string"
          }
        },
        "required": [
          "cancelAvailable",
          "cancelDepositRefundAvailable",
          "checkInAvailable",
          "checkoutAvailable",
          "collectDepositAvailable",
          "completeAvailable",
          "completeServiceAvailable",
          "confirmAvailable",
          "createInvoiceAvailable",
          "declineAvailable",
          "declineDepositRefundAvailable",
          "depositRefundAvailable",
          "enhancementsEditAvailable",
          "enhancementsEditScope",
          "formsLinkAvailable",
          "noShowAvailable",
          "noShowDepositRefundAvailable",
          "paymentAuthorizationAvailable",
          "paymentAvailable",
          "rescheduleAvailable",
          "resendFormsAvailable",
          "startServiceAvailable"
        ],
        "type": "object"
      },
      "AppointmentBookingStaffResponse": {
        "properties": {
          "displayName": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "jobFunctionColor": {
            "type": "string"
          },
          "merchantUserId": {
            "format": "uuid",
            "type": "string"
          },
          "photoUrl": {
            "type": "string"
          },
          "serviceIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "displayName",
          "id",
          "jobFunctionColor",
          "merchantUserId",
          "serviceIds"
        ],
        "type": "object"
      },
      "AppointmentChargeSavedCardRequest": {
        "properties": {
          "authorizationConfirmed": {
            "type": "boolean"
          },
          "currency": {
            "minLength": 1,
            "type": "string"
          },
          "expectedAmount": {
            "exclusiveMinimum": true,
            "minimum": 0,
            "type": "number"
          },
          "paymentMethodId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "$ref": "#/components/schemas/AppointmentSavedCardPurpose"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "authorizationConfirmed",
          "currency",
          "expectedAmount",
          "paymentMethodId",
          "purpose",
          "requestId"
        ],
        "type": "object"
      },
      "AppointmentChargeableCardResponse": {
        "properties": {
          "cardBrand": {
            "type": "string"
          },
          "cardLast4": {
            "type": "string"
          },
          "paymentMethodId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "cardBrand",
          "cardLast4",
          "paymentMethodId"
        ],
        "type": "object"
      },
      "AppointmentCheckoutAvailableActions": {
        "properties": {
          "externalPaymentAvailable": {
            "type": "boolean"
          },
          "leaveUnpaidAvailable": {
            "type": "boolean"
          },
          "paymentLinkAvailable": {
            "type": "boolean"
          },
          "terminalPaymentAvailable": {
            "type": "boolean"
          },
          "zeroBalanceCloseAvailable": {
            "type": "boolean"
          }
        },
        "required": [
          "externalPaymentAvailable",
          "leaveUnpaidAvailable",
          "paymentLinkAvailable",
          "terminalPaymentAvailable",
          "zeroBalanceCloseAvailable"
        ],
        "type": "object"
      },
      "AppointmentCheckoutItemRequest": {
        "properties": {
          "itemId": {
            "format": "uuid",
            "type": "string"
          },
          "kind": {
            "description": "service, enhancement or product",
            "type": "string"
          },
          "lineId": {
            "type": "string"
          },
          "modifierGroupId": {
            "format": "uuid",
            "type": "string"
          },
          "parentServiceLineRef": {
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "itemId",
          "kind",
          "lineId",
          "quantity"
        ],
        "type": "object"
      },
      "AppointmentCheckoutLineResponse": {
        "properties": {
          "currency": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "lineId": {
            "description": "Checkout-item line identity; null for booked appointment lines.",
            "nullable": true,
            "type": "string"
          },
          "lineRef": {
            "type": "string"
          },
          "modifierGroupId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "parentServiceLineRef": {
            "nullable": true,
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "serviceId": {
            "format": "uuid",
            "type": "string"
          },
          "taxCategoryId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "unitPrice": {
            "type": "number"
          }
        },
        "required": [
          "currency",
          "description",
          "kind",
          "quantity",
          "serviceId",
          "unitPrice"
        ],
        "type": "object"
      },
      "AppointmentCheckoutPaymentLinkResponse": {
        "properties": {
          "checkoutUrl": {
            "type": "string"
          },
          "invoiceId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "checkoutUrl",
          "invoiceId"
        ],
        "type": "object"
      },
      "AppointmentCheckoutReviewResponse": {
        "properties": {
          "activePaymentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "activeRail": {
            "nullable": true,
            "type": "string"
          },
          "appointmentId": {
            "format": "uuid",
            "type": "string"
          },
          "appointmentStatus": {
            "nullable": true,
            "type": "string"
          },
          "availableActions": {
            "$ref": "#/components/schemas/AppointmentCheckoutAvailableActions"
          },
          "balanceDue": {
            "type": "number"
          },
          "bookingTermsAcceptedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "cancellationWindowMinutes": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "checkoutBalanceDue": {
            "description": "Remaining appointment balance plus the added checkout items.",
            "type": "number"
          },
          "checkoutIntentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "checkoutItemsRevision": {
            "description": "Revision of the added checkout items; 0 when none were saved.",
            "format": "int64",
            "type": "integer"
          },
          "checkoutTicketId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "configuration": {
            "$ref": "#/components/schemas/ServiceBookingConfigurationSnapshot",
            "nullable": true
          },
          "currency": {
            "type": "string"
          },
          "customerEmail": {
            "nullable": true,
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "customerName": {
            "type": "string"
          },
          "customerPhone": {
            "nullable": true,
            "type": "string"
          },
          "depositTransactionId": {
            "description": "Local transaction identity of the latest appointment deposit, retained after its payment rail closes or is refunded.",
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "externalPayments": {
            "items": {
              "$ref": "#/components/schemas/AppointmentExternalPaymentResponse"
            },
            "type": "array"
          },
          "invoiceId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/AppointmentCheckoutLineResponse"
            },
            "type": "array"
          },
          "payableLines": {
            "items": {
              "$ref": "#/components/schemas/AppointmentCheckoutLineResponse"
            },
            "type": "array"
          },
          "paymentAuthorized": {
            "type": "boolean"
          },
          "paymentLinkUrl": {
            "nullable": true,
            "type": "string"
          },
          "paymentStatus": {
            "type": "string"
          },
          "policyFeeAssessedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "policyFeeKind": {
            "nullable": true,
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "totalAmount": {
            "type": "number"
          },
          "transactionId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "upfrontPaymentLabel": {
            "type": "string"
          },
          "upfrontPaymentRemaining": {
            "type": "number"
          }
        },
        "required": [
          "appointmentId",
          "availableActions",
          "balanceDue",
          "checkoutBalanceDue",
          "checkoutItemsRevision",
          "currency",
          "customerName",
          "externalPayments",
          "lines",
          "payableLines",
          "paymentAuthorized",
          "paymentStatus",
          "storeId",
          "totalAmount",
          "upfrontPaymentLabel",
          "upfrontPaymentRemaining"
        ],
        "type": "object"
      },
      "AppointmentConfirmationStatus": {
        "enum": [
          "PENDING_APPROVAL",
          "CONFIRMED",
          "DECLINED"
        ],
        "type": "string"
      },
      "AppointmentCoverageStatus": {
        "enum": [
          "COVERED",
          "NEEDS_COVERAGE"
        ],
        "type": "string"
      },
      "AppointmentDepositStatus": {
        "enum": [
          "NONE",
          "REQUIRED",
          "PENDING_PAYMENT",
          "EXPIRED",
          "PAID",
          "REFUND_REQUESTED",
          "REFUND_PENDING",
          "REFUNDED",
          "VOIDED",
          "REFUND_FAILED"
        ],
        "type": "string"
      },
      "AppointmentDetailsResponse": {
        "properties": {
          "appointmentId": {
            "format": "uuid",
            "type": "string"
          },
          "customFieldValues": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldValueResponse"
            },
            "type": "array"
          },
          "customerAsset": {
            "$ref": "#/components/schemas/CustomerAssetResponse"
          }
        },
        "required": [
          "appointmentId",
          "customFieldValues"
        ],
        "type": "object"
      },
      "AppointmentEnhancementEditScope": {
        "enum": [
          "PRIMARY_SERVICE"
        ],
        "type": "string"
      },
      "AppointmentEventResponse": {
        "properties": {
          "actorId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "eventType": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "eventType",
          "id"
        ],
        "type": "object"
      },
      "AppointmentExternalPaymentResponse": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "correctedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "correctionReason": {
            "nullable": true,
            "type": "string"
          },
          "correctionTransactionId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "idempotencyKey": {
            "nullable": true,
            "type": "string"
          },
          "occurredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "reference": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "tender": {
            "$ref": "#/components/schemas/AppointmentExternalTender",
            "nullable": true
          },
          "transactionId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency",
          "id",
          "reference",
          "status"
        ],
        "type": "object"
      },
      "AppointmentExternalTender": {
        "enum": [
          "CASH",
          "EXTERNAL"
        ],
        "type": "string"
      },
      "AppointmentFormStatus": {
        "properties": {
          "completedAt": {
            "format": "date-time",
            "type": "string"
          },
          "effectiveStatus": {
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          },
          "requiresCompletionBeforeService": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "submissionId": {
            "format": "uuid",
            "type": "string"
          },
          "templateTitle": {
            "type": "string"
          }
        },
        "required": [
          "effectiveStatus",
          "requestId",
          "requiresCompletionBeforeService",
          "status",
          "templateTitle"
        ],
        "type": "object"
      },
      "AppointmentFormsLastDelivery": {
        "properties": {
          "outcome": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "AppointmentNotificationEligibility": {
        "properties": {
          "channel": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "willNotify": {
            "type": "boolean"
          }
        },
        "required": [
          "willNotify"
        ],
        "type": "object"
      },
      "AppointmentPricingSource": {
        "properties": {
          "appointmentId": {
            "format": "uuid",
            "type": "string"
          },
          "paymentId": {
            "format": "uuid",
            "type": "string"
          },
          "version": {
            "maxLength": 64,
            "minLength": 0,
            "type": "string"
          }
        },
        "required": [
          "appointmentId",
          "paymentId",
          "version"
        ],
        "type": "object"
      },
      "AppointmentPricingSourceResponse": {
        "properties": {
          "appointmentId": {
            "format": "uuid",
            "type": "string"
          },
          "paymentId": {
            "format": "uuid",
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "appointmentId",
          "paymentId",
          "version"
        ],
        "type": "object"
      },
      "AppointmentProviderAssignmentStatus": {
        "enum": [
          "ASSIGNED",
          "UNASSIGNED"
        ],
        "type": "string"
      },
      "AppointmentProviderOptionResponse": {
        "properties": {
          "available": {
            "type": "boolean"
          },
          "displayName": {
            "type": "string"
          },
          "merchantUserId": {
            "format": "uuid",
            "type": "string"
          },
          "occurrenceRef": {
            "nullable": true,
            "type": "string"
          },
          "unavailableReasons": {
            "items": {
              "enum": [
                "NOT_SCHEDULED",
                "SHIFT_TOO_SHORT",
                "SHIFT_CLOSED",
                "SCHEDULE_CHANGED",
                "TIME_OFF",
                "ALREADY_BOOKED",
                "RESOURCE_BOOKED"
              ],
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "available",
          "displayName",
          "merchantUserId",
          "unavailableReasons"
        ],
        "type": "object"
      },
      "AppointmentResponse": {
        "properties": {
          "actionConfirmations": {
            "additionalProperties": {
              "$ref": "#/components/schemas/AppointmentActionConfirmation"
            },
            "type": "object"
          },
          "approvalMode": {
            "type": "string"
          },
          "availableActions": {
            "$ref": "#/components/schemas/AppointmentAvailableActions"
          },
          "balanceDue": {
            "type": "number"
          },
          "bookingSiteId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "configuration": {
            "$ref": "#/components/schemas/ServiceBookingConfigurationSnapshot",
            "nullable": true
          },
          "confirmationStatus": {
            "$ref": "#/components/schemas/AppointmentConfirmationStatus",
            "nullable": true
          },
          "coverageStatus": {
            "$ref": "#/components/schemas/AppointmentCoverageStatus"
          },
          "customerEmail": {
            "nullable": true,
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "customerName": {
            "type": "string"
          },
          "customerPhone": {
            "nullable": true,
            "type": "string"
          },
          "depositAmount": {
            "nullable": true,
            "type": "number"
          },
          "depositCurrency": {
            "nullable": true,
            "type": "string"
          },
          "depositPaidAmount": {
            "type": "number"
          },
          "depositStatus": {
            "$ref": "#/components/schemas/AppointmentDepositStatus"
          },
          "endAt": {
            "format": "date-time",
            "type": "string"
          },
          "formAnswers": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "forms": {
            "items": {
              "$ref": "#/components/schemas/AppointmentFormStatus"
            },
            "type": "array"
          },
          "formsLastDelivery": {
            "$ref": "#/components/schemas/AppointmentFormsLastDelivery",
            "nullable": true
          },
          "historicalPaidAmount": {
            "type": "number"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "merchantUserDisplayName": {
            "nullable": true,
            "type": "string"
          },
          "merchantUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "occurrenceRef": {
            "nullable": true,
            "type": "string"
          },
          "paidAmount": {
            "type": "number"
          },
          "paymentAuthorizationRequired": {
            "type": "boolean"
          },
          "paymentAuthorized": {
            "type": "boolean"
          },
          "paymentRequired": {
            "type": "boolean"
          },
          "paymentStatus": {
            "type": "string"
          },
          "providerAssignmentStatus": {
            "$ref": "#/components/schemas/AppointmentProviderAssignmentStatus"
          },
          "remainingAfterUpfront": {
            "type": "number"
          },
          "requestedEnhancements": {
            "$ref": "#/components/schemas/ServiceBookingEnhancementRequestSnapshot",
            "nullable": true
          },
          "requiredRoleKey": {
            "description": "Current service job requirement, provided on detail reads for scheduling coverage.",
            "nullable": true,
            "type": "string"
          },
          "resourceId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "serviceBufferMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "serviceCurrency": {
            "type": "string"
          },
          "serviceDurationMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "serviceId": {
            "format": "uuid",
            "type": "string"
          },
          "serviceLines": {
            "items": {
              "$ref": "#/components/schemas/AppointmentServiceLineResponse"
            },
            "type": "array"
          },
          "serviceName": {
            "type": "string"
          },
          "serviceStatus": {
            "type": "string"
          },
          "serviceTaxCategoryId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "serviceUnitPrice": {
            "type": "number"
          },
          "shiftActualId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "shiftAssignedId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "staffProfileId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "startAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "tenantId": {
            "format": "uuid",
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "upfrontPaymentLabel": {
            "type": "string"
          },
          "upfrontPaymentRemaining": {
            "type": "number"
          }
        },
        "required": [
          "approvalMode",
          "availableActions",
          "balanceDue",
          "coverageStatus",
          "customerName",
          "depositStatus",
          "endAt",
          "formAnswers",
          "forms",
          "id",
          "paidAmount",
          "paymentAuthorizationRequired",
          "paymentAuthorized",
          "paymentRequired",
          "paymentStatus",
          "providerAssignmentStatus",
          "remainingAfterUpfront",
          "serviceBufferMinutes",
          "serviceCurrency",
          "serviceDurationMinutes",
          "serviceId",
          "serviceLines",
          "serviceName",
          "serviceStatus",
          "serviceUnitPrice",
          "source",
          "startAt",
          "status",
          "tenantId",
          "timezone",
          "updatedAt",
          "upfrontPaymentLabel",
          "upfrontPaymentRemaining"
        ],
        "type": "object"
      },
      "AppointmentSavedCardPaymentResponse": {
        "properties": {
          "requestId": {
            "format": "uuid",
            "type": "string"
          },
          "review": {
            "$ref": "#/components/schemas/AppointmentCheckoutReviewResponse"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "requestId",
          "review",
          "status"
        ],
        "type": "object"
      },
      "AppointmentSavedCardPurpose": {
        "enum": [
          "DEPOSIT",
          "BALANCE"
        ],
        "type": "string"
      },
      "AppointmentSavedPaymentMethodResponse": {
        "properties": {
          "cardBrand": {
            "type": "string"
          },
          "cardLast4": {
            "type": "string"
          },
          "tokenId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "cardBrand",
          "cardLast4",
          "tokenId"
        ],
        "type": "object"
      },
      "AppointmentServiceLineResponse": {
        "properties": {
          "configuration": {
            "$ref": "#/components/schemas/ServiceBookingConfigurationSnapshot",
            "nullable": true
          },
          "endAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "merchantUserDisplayName": {
            "nullable": true,
            "type": "string"
          },
          "merchantUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "occurrenceRef": {
            "nullable": true,
            "type": "string"
          },
          "position": {
            "format": "int32",
            "type": "integer"
          },
          "resourceId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "serviceBufferMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "serviceCurrency": {
            "type": "string"
          },
          "serviceDurationMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "serviceId": {
            "format": "uuid",
            "type": "string"
          },
          "serviceName": {
            "type": "string"
          },
          "serviceTaxCategoryId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "serviceUnitPrice": {
            "type": "number"
          },
          "shiftAssignedId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "startAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "endAt",
          "id",
          "position",
          "serviceBufferMinutes",
          "serviceCurrency",
          "serviceDurationMinutes",
          "serviceId",
          "serviceName",
          "serviceUnitPrice",
          "startAt"
        ],
        "type": "object"
      },
      "AppointmentTerminalCheckoutResponse": {
        "properties": {
          "appointmentPricingSource": {
            "$ref": "#/components/schemas/AppointmentPricingSourceResponse"
          },
          "checkoutTicketId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "idempotencyKey": {
            "type": "string"
          },
          "paymentId": {
            "format": "uuid",
            "type": "string"
          },
          "review": {
            "$ref": "#/components/schemas/AppointmentCheckoutReviewResponse"
          }
        },
        "required": [
          "appointmentPricingSource",
          "idempotencyKey",
          "paymentId",
          "review"
        ],
        "type": "object"
      },
      "AssignCredentialProfileRequestDto": {
        "properties": {
          "credentialProfileId": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "AssignFormTemplateServicesRequest": {
        "properties": {
          "serviceIds": {
            "description": "Organization bookable service IDs, at most 100",
            "items": {
              "description": "Organization bookable service IDs, at most 100",
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "serviceIds"
        ],
        "type": "object"
      },
      "AssignOrganizationJobFunctionRequest": {
        "properties": {
          "jobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "jobFunctionId",
          "reason"
        ],
        "type": "object"
      },
      "AssignPrimaryJobFunctionRequest": {
        "properties": {
          "jobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "jobFunctionId",
          "reason"
        ],
        "type": "object"
      },
      "AssistantItemView": {
        "properties": {
          "completedAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "itemId": {
            "format": "uuid",
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "runId": {
            "format": "uuid",
            "type": "string"
          },
          "sequence": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "itemId",
          "kind",
          "sequence",
          "status",
          "text"
        ],
        "type": "object"
      },
      "AttachAppointmentCheckoutIntentRequest": {
        "properties": {
          "checkoutIntentId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "checkoutIntentId"
        ],
        "type": "object"
      },
      "AttachmentStatus": {
        "enum": [
          "uploading",
          "processing",
          "ready",
          "rejected"
        ],
        "type": "string"
      },
      "AttachmentUploadRequest": {
        "properties": {
          "byteSize": {
            "format": "int64",
            "maximum": 26214400.0,
            "minimum": 1,
            "type": "integer"
          },
          "clientCommandId": {
            "format": "uuid",
            "type": "string"
          },
          "declaredMime": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "fileName": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          }
        },
        "required": [
          "byteSize",
          "clientCommandId",
          "fileName"
        ],
        "type": "object"
      },
      "AttachmentView": {
        "properties": {
          "attachmentId": {
            "format": "uuid",
            "type": "string"
          },
          "boundItemId": {
            "format": "uuid",
            "type": "string"
          },
          "byteSize": {
            "format": "int64",
            "type": "integer"
          },
          "characterCount": {
            "format": "int32",
            "type": "integer"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "deletionPending": {
            "type": "boolean"
          },
          "detectedMime": {
            "type": "string"
          },
          "errorMessage": {
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "imageHeight": {
            "format": "int32",
            "type": "integer"
          },
          "imageWidth": {
            "format": "int32",
            "type": "integer"
          },
          "pageCount": {
            "format": "int32",
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/AttachmentStatus"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "attachmentId",
          "createdAt",
          "deletionPending",
          "fileName",
          "status",
          "updatedAt"
        ],
        "type": "object"
      },
      "AttentionInsightResponse": {
        "properties": {
          "baselineLabel": {
            "type": "string"
          },
          "deviationPercent": {
            "format": "int64",
            "type": "integer"
          },
          "direction": {
            "type": "string"
          },
          "focusKind": {
            "type": "string"
          },
          "focusLabel": {
            "type": "string"
          },
          "observedLabel": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "storeNames": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "windowEnd": {
            "type": "string"
          },
          "windowStart": {
            "type": "string"
          }
        },
        "required": [
          "severity",
          "storeNames"
        ],
        "type": "object"
      },
      "AuditEventResponse": {
        "properties": {
          "action": {
            "type": "string"
          },
          "actorEmail": {
            "type": "string"
          },
          "actorType": {
            "type": "string"
          },
          "actorUserId": {
            "format": "uuid",
            "type": "string"
          },
          "detectionType": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "occurredAt": {
            "format": "date-time",
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "payload": {
            "type": "string"
          },
          "product": {
            "type": "string"
          },
          "resourceId": {
            "type": "string"
          },
          "resourceType": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "tenantId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "action",
          "actorType",
          "detectionType",
          "id",
          "occurredAt",
          "outcome",
          "payload",
          "product",
          "source",
          "tenantId"
        ],
        "type": "object"
      },
      "AuditExportRequest": {
        "properties": {
          "detection": {
            "type": "string"
          },
          "from": {
            "format": "date-time",
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "product": {
            "type": "string"
          },
          "query": {
            "type": "string"
          },
          "rowCount": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "to": {
            "format": "date-time",
            "type": "string"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "rowCount",
          "status",
          "truncated"
        ],
        "type": "object"
      },
      "AuthUserOrganizationSummary": {
        "properties": {
          "jobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "jobFunctionName": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "jobFunctionId",
          "jobFunctionName",
          "name",
          "orgId"
        ],
        "type": "object"
      },
      "AutoScheduleGap": {
        "properties": {
          "blockId": {
            "format": "uuid",
            "type": "string"
          },
          "date": {
            "format": "date",
            "type": "string"
          },
          "endTime": {
            "type": "string"
          },
          "missingCount": {
            "format": "int32",
            "type": "integer"
          },
          "roleKey": {
            "type": "string"
          },
          "startTime": {
            "type": "string"
          }
        },
        "required": [
          "blockId",
          "date",
          "endTime",
          "missingCount",
          "roleKey",
          "startTime"
        ],
        "type": "object"
      },
      "AutoSchedulePreviewResponse": {
        "properties": {
          "scheduleVersion": {
            "type": "string"
          },
          "shifts": {
            "items": {
              "$ref": "#/components/schemas/AutoScheduleShift"
            },
            "type": "array"
          },
          "unmetCoverage": {
            "items": {
              "$ref": "#/components/schemas/AutoScheduleGap"
            },
            "type": "array"
          }
        },
        "required": [
          "scheduleVersion",
          "shifts",
          "unmetCoverage"
        ],
        "type": "object"
      },
      "AutoScheduleRangeRequest": {
        "properties": {
          "endDate": {
            "format": "date",
            "type": "string"
          },
          "startDate": {
            "format": "date",
            "type": "string"
          }
        },
        "required": [
          "endDate",
          "startDate"
        ],
        "type": "object"
      },
      "AutoScheduleShift": {
        "properties": {
          "date": {
            "format": "date",
            "type": "string"
          },
          "endTime": {
            "type": "string"
          },
          "roleKey": {
            "type": "string"
          },
          "shiftBlockId": {
            "format": "uuid",
            "type": "string"
          },
          "startTime": {
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "date",
          "endTime",
          "roleKey",
          "shiftBlockId",
          "startTime",
          "userId"
        ],
        "type": "object"
      },
      "AvailabilityShiftRequestPayload": {
        "properties": {
          "endTime": {
            "type": "string"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "requestType": {
            "enum": [
              "availability"
            ],
            "type": "string"
          },
          "requestedDate": {
            "format": "date",
            "type": "string"
          },
          "roleKey": {
            "nullable": true,
            "type": "string"
          },
          "shiftBlockId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "startTime": {
            "type": "string"
          }
        },
        "required": [
          "endTime",
          "requestType",
          "requestedDate",
          "startTime"
        ],
        "type": "object"
      },
      "AvailabilitySlotResponse": {
        "properties": {
          "endAt": {
            "format": "date-time",
            "type": "string"
          },
          "merchantUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "occurrenceRef": {
            "nullable": true,
            "type": "string"
          },
          "resourceId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "staffProfileId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "startAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "endAt",
          "startAt"
        ],
        "type": "object"
      },
      "BatchGenerationResponse": {
        "properties": {
          "batchId": {
            "format": "uuid",
            "type": "string"
          },
          "codes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "count": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "batchId",
          "codes",
          "count"
        ],
        "type": "object"
      },
      "BatchGiftCardRequest": {
        "properties": {
          "count": {
            "exclusiveMinimum": true,
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          },
          "orgId": {
            "minLength": 1,
            "type": "string"
          },
          "planType": {
            "type": "string"
          }
        },
        "required": [
          "count",
          "orgId"
        ],
        "type": "object"
      },
      "BatchReviewShiftRequest": {
        "properties": {
          "approve": {
            "type": "boolean"
          },
          "expectedVersion": {
            "format": "int64",
            "type": "integer"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          },
          "timeOffOverride": {
            "$ref": "#/components/schemas/TimeOffOverride",
            "nullable": true
          }
        },
        "required": [
          "approve",
          "expectedVersion",
          "requestId"
        ],
        "type": "object"
      },
      "BatchReviewShiftResult": {
        "properties": {
          "code": {
            "nullable": true,
            "type": "string"
          },
          "error": {
            "nullable": true,
            "type": "string"
          },
          "ok": {
            "type": "boolean"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "ok",
          "requestId"
        ],
        "type": "object"
      },
      "BeginCreateAccountRequest": {
        "properties": {
          "merchantRequest": {
            "$ref": "#/components/schemas/OnboardMerchantRequest"
          },
          "slug": {
            "type": "string"
          },
          "timeZone": {
            "type": "string"
          }
        },
        "required": [
          "merchantRequest"
        ],
        "type": "object"
      },
      "BillingProductResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "additionalPriceCents": {
            "format": "int64",
            "type": "integer"
          },
          "defaultPriceCents": {
            "format": "int64",
            "type": "integer"
          },
          "displayName": {
            "type": "string"
          },
          "productKey": {
            "type": "string"
          },
          "sortOrder": {
            "format": "int32",
            "type": "integer"
          },
          "tier": {
            "type": "string"
          },
          "unitType": {
            "type": "string"
          }
        },
        "required": [
          "active",
          "defaultPriceCents",
          "sortOrder"
        ],
        "type": "object"
      },
      "BindGatewayStoreRequest": {
        "properties": {
          "addressZip": {
            "type": "string"
          },
          "businessName": {
            "type": "string"
          },
          "contactEmail": {
            "type": "string"
          },
          "contactPhone": {
            "type": "string"
          },
          "dba": {
            "type": "string"
          },
          "existingMerchantId": {
            "type": "string"
          },
          "industryType": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "BindInvoiceSavedCardRequest": {
        "properties": {
          "paymentMethodId": {
            "type": "string"
          }
        },
        "required": [
          "paymentMethodId"
        ],
        "type": "object"
      },
      "BlindReturnKind": {
        "enum": [
          "CASH_REFUND",
          "NON_PAYMENT"
        ],
        "type": "string"
      },
      "BoundInvoiceSavedCardResponse": {
        "properties": {
          "paymentMethodId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "paymentMethodId"
        ],
        "type": "object"
      },
      "BrandingImageUploadResponse": {
        "properties": {
          "imageUrl": {
            "type": "string"
          }
        },
        "required": [
          "imageUrl"
        ],
        "type": "object"
      },
      "BrandingResponse": {
        "properties": {
          "backgroundColor": {
            "type": "string"
          },
          "customDomain": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "iconUrl": {
            "type": "string"
          },
          "logoUrl": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "primaryColor": {
            "type": "string"
          },
          "secondaryColor": {
            "type": "string"
          },
          "textColor": {
            "type": "string"
          }
        },
        "required": [
          "orgId"
        ],
        "type": "object"
      },
      "BulkAgeRestrictionRequest": {
        "properties": {
          "ageRestriction": {
            "minLength": 1,
            "type": "string"
          },
          "allProducts": {
            "type": "boolean"
          },
          "productIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "ageRestriction"
        ],
        "type": "object"
      },
      "BulkAgeRestrictionResponse": {
        "properties": {
          "updatedCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "updatedCount"
        ],
        "type": "object"
      },
      "BulkDeleteProductsRequest": {
        "properties": {
          "productIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "maxItems": 100,
            "minItems": 0,
            "type": "array"
          }
        },
        "required": [
          "productIds"
        ],
        "type": "object"
      },
      "BulkDeleteProductsResponse": {
        "properties": {
          "deletedCount": {
            "format": "int32",
            "type": "integer"
          },
          "deletedProductIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "pendingCount": {
            "format": "int32",
            "type": "integer"
          },
          "pendingProductIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "deletedCount",
          "deletedProductIds",
          "pendingCount",
          "pendingProductIds"
        ],
        "type": "object"
      },
      "BulkEbtUpdateRequest": {
        "properties": {
          "ebtEligible": {
            "type": "boolean"
          },
          "productIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "minItems": 1,
            "type": "array"
          }
        },
        "required": [
          "ebtEligible",
          "productIds"
        ],
        "type": "object"
      },
      "BulkImportResult": {
        "properties": {
          "errorRows": {
            "format": "int32",
            "type": "integer"
          },
          "errors": {
            "items": {
              "$ref": "#/components/schemas/BulkImportRowError"
            },
            "type": "array"
          },
          "inserted": {
            "items": {
              "$ref": "#/components/schemas/StationItemResponse"
            },
            "type": "array"
          },
          "successRows": {
            "format": "int32",
            "type": "integer"
          },
          "totalRows": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "errorRows",
          "errors",
          "inserted",
          "successRows",
          "totalRows"
        ],
        "type": "object"
      },
      "BulkImportRowError": {
        "properties": {
          "productBarcode": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "rowNumber": {
            "format": "int32",
            "type": "integer"
          },
          "stationName": {
            "type": "string"
          }
        },
        "required": [
          "reason",
          "rowNumber"
        ],
        "type": "object"
      },
      "BulkPriceUpdateApplyResponse": {
        "properties": {
          "failedCount": {
            "format": "int32",
            "type": "integer"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/BulkPriceUpdateRow"
            },
            "type": "array"
          },
          "updatedCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "failedCount",
          "rows",
          "updatedCount"
        ],
        "type": "object"
      },
      "BulkPriceUpdateEntry": {
        "properties": {
          "price": {
            "type": "number"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "price",
          "productId"
        ],
        "type": "object"
      },
      "BulkPriceUpdatePreviewResponse": {
        "properties": {
          "invalidCount": {
            "format": "int32",
            "type": "integer"
          },
          "mode": {
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/BulkPriceUpdateRow"
            },
            "type": "array"
          },
          "totalCount": {
            "format": "int32",
            "type": "integer"
          },
          "validCount": {
            "format": "int32",
            "type": "integer"
          },
          "value": {
            "type": "number"
          }
        },
        "required": [
          "invalidCount",
          "mode",
          "rows",
          "totalCount",
          "validCount"
        ],
        "type": "object"
      },
      "BulkPriceUpdateRequest": {
        "properties": {
          "mode": {
            "minLength": 1,
            "type": "string"
          },
          "productIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "updates": {
            "items": {
              "$ref": "#/components/schemas/BulkPriceUpdateEntry"
            },
            "type": "array"
          },
          "value": {
            "type": "number"
          }
        },
        "required": [
          "mode"
        ],
        "type": "object"
      },
      "BulkPriceUpdateRow": {
        "properties": {
          "barcode": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "newPrice": {
            "type": "number"
          },
          "oldPrice": {
            "type": "number"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "productId",
          "valid"
        ],
        "type": "object"
      },
      "BundlePromotionComponentRequest": {
        "properties": {
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "quantity"
        ],
        "type": "object"
      },
      "BundlePromotionComponentResponse": {
        "properties": {
          "name": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "regularUnitPrice": {
            "type": "number"
          }
        },
        "required": [
          "name",
          "productId",
          "quantity",
          "regularUnitPrice"
        ],
        "type": "object"
      },
      "CancelTerminalDeprovisionRequest": {
        "properties": {
          "reason": {
            "maxLength": 1000,
            "minLength": 0,
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "CanonicalDocumentBlock": {
        "properties": {
          "config": {
            "type": "object"
          },
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "config",
          "id",
          "type"
        ],
        "type": "object"
      },
      "CanonicalDocumentBranding": {
        "properties": {
          "accentColor": {
            "type": "string"
          },
          "footer": {
            "type": "boolean"
          },
          "header": {
            "type": "boolean"
          },
          "tableHeader": {
            "type": "boolean"
          },
          "totals": {
            "type": "boolean"
          }
        },
        "required": [
          "accentColor"
        ],
        "type": "object"
      },
      "CanonicalDocumentRow": {
        "properties": {
          "cells": {
            "items": {
              "$ref": "#/components/schemas/CanonicalDocumentBlock"
            },
            "type": "array"
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "cells",
          "id"
        ],
        "type": "object"
      },
      "CanonicalDocumentTemplate": {
        "properties": {
          "branding": {
            "$ref": "#/components/schemas/CanonicalDocumentBranding"
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/CanonicalDocumentRow"
            },
            "type": "array"
          }
        },
        "required": [
          "kind",
          "name",
          "rows"
        ],
        "type": "object"
      },
      "CardAuthorizationResponse": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "authCode": {
            "type": "string"
          },
          "authorizationId": {
            "format": "uuid",
            "type": "string"
          },
          "cardReadEntryMode": {
            "type": "string"
          },
          "cardType": {
            "type": "string"
          },
          "customerReceipt": {
            "type": "string"
          },
          "cvm": {
            "type": "string"
          },
          "ebtApprovedAmount": {
            "type": "number"
          },
          "ebtBenefitType": {
            "type": "string"
          },
          "ebtCashBalance": {
            "type": "number"
          },
          "ebtFoodBalance": {
            "type": "number"
          },
          "emvAid": {
            "type": "string"
          },
          "emvAppName": {
            "type": "string"
          },
          "emvTsi": {
            "type": "string"
          },
          "emvTvr": {
            "type": "string"
          },
          "entryType": {
            "type": "string"
          },
          "feeAmount": {
            "type": "number"
          },
          "lastFour": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "paymentType": {
            "type": "string"
          },
          "processedAt": {
            "format": "date-time",
            "type": "string"
          },
          "processorReferenceId": {
            "type": "string"
          },
          "processorType": {
            "type": "string"
          },
          "resultCode": {
            "format": "int32",
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "statusCode": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "tipAmount": {
            "type": "number"
          },
          "totalAmount": {
            "type": "number"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          },
          "transactionType": {
            "type": "string"
          }
        },
        "required": [
          "resultCode"
        ],
        "type": "object"
      },
      "CardVoidObservation": {
        "properties": {
          "message": {
            "type": "string"
          },
          "requestId": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/CardVoidObservationStatus"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          },
          "transactionStatus": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "transactionId"
        ],
        "type": "object"
      },
      "CardVoidObservationStatus": {
        "enum": [
          "PENDING",
          "VOIDED",
          "DECLINED",
          "FAILED"
        ],
        "type": "string"
      },
      "CashCommandIntent": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "countedAmount": {
            "type": "number"
          },
          "direction": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "movementType": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "openingFloat": {
            "type": "number"
          },
          "operationKey": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "referenceId": {
            "format": "uuid",
            "type": "string"
          },
          "shiftId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "operationKey"
        ],
        "type": "object"
      },
      "CashCommandResponse": {
        "properties": {
          "acknowledgementRequired": {
            "type": "boolean"
          },
          "approvalAction": {
            "type": "string"
          },
          "approvalIdempotencyKey": {
            "type": "string"
          },
          "approvalProtectedId": {
            "format": "uuid",
            "type": "string"
          },
          "approvalProtectedType": {
            "type": "string"
          },
          "approvalRequired": {
            "type": "boolean"
          },
          "approvalValue": {
            "type": "string"
          },
          "approvalValueKind": {
            "type": "string"
          },
          "commandId": {
            "format": "uuid",
            "type": "string"
          },
          "countedAmount": {
            "type": "number"
          },
          "createdAt": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "drawerId": {
            "format": "uuid",
            "type": "string"
          },
          "endOfDayReport": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "expectedAmount": {
            "type": "number"
          },
          "intent": {
            "$ref": "#/components/schemas/CashCommandIntent"
          },
          "kind": {
            "type": "string"
          },
          "movement": {
            "$ref": "#/components/schemas/MovementResponse"
          },
          "openingSnapshotId": {
            "format": "uuid",
            "type": "string"
          },
          "operationKey": {
            "format": "uuid",
            "type": "string"
          },
          "rejectionReason": {
            "type": "string"
          },
          "requestFingerprint": {
            "type": "string"
          },
          "snapshot": {
            "$ref": "#/components/schemas/SnapshotResponse"
          },
          "status": {
            "type": "string"
          },
          "threshold": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string"
          },
          "varianceAmount": {
            "type": "number"
          }
        },
        "required": [
          "acknowledgementRequired",
          "approvalAction",
          "approvalIdempotencyKey",
          "approvalProtectedId",
          "approvalProtectedType",
          "approvalRequired",
          "approvalValue",
          "approvalValueKind",
          "commandId",
          "createdAt",
          "currency",
          "drawerId",
          "intent",
          "kind",
          "operationKey",
          "requestFingerprint",
          "status",
          "threshold",
          "updatedAt"
        ],
        "type": "object"
      },
      "CashPayoutDetail": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "approvedBy": {
            "type": "string"
          },
          "auditReference": {
            "type": "string"
          },
          "clerk": {
            "type": "string"
          },
          "clerkUserId": {
            "format": "uuid",
            "type": "string"
          },
          "drawer": {
            "type": "string"
          },
          "drawerId": {
            "format": "uuid",
            "type": "string"
          },
          "movementId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "referenceId": {
            "format": "uuid",
            "type": "string"
          },
          "timestamp": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "auditReference",
          "clerk",
          "clerkUserId",
          "drawer",
          "drawerId",
          "movementId",
          "reason",
          "timestamp"
        ],
        "type": "object"
      },
      "CashPayoutReportResponse": {
        "properties": {
          "endDate": {
            "format": "date",
            "type": "string"
          },
          "payoutCount": {
            "format": "int32",
            "type": "integer"
          },
          "payouts": {
            "items": {
              "$ref": "#/components/schemas/CashPayoutDetail"
            },
            "type": "array"
          },
          "startDate": {
            "format": "date",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "totalCashPayouts": {
            "type": "number"
          }
        },
        "required": [
          "endDate",
          "payoutCount",
          "payouts",
          "startDate",
          "storeId",
          "totalCashPayouts"
        ],
        "type": "object"
      },
      "CashPayouts": {
        "properties": {
          "count": {
            "format": "int32",
            "type": "integer"
          },
          "details": {
            "items": {
              "$ref": "#/components/schemas/CashPayoutDetail"
            },
            "type": "array"
          },
          "totalAmount": {
            "type": "number"
          }
        },
        "required": [
          "count",
          "details",
          "totalAmount"
        ],
        "type": "object"
      },
      "CategorizeInventoryLossRequest": {
        "properties": {
          "lossReasonCategory": {
            "$ref": "#/components/schemas/InventoryLossReasonCategory"
          }
        },
        "type": "object"
      },
      "CategoryDependenciesResponse": {
        "properties": {
          "canDelete": {
            "type": "boolean"
          },
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "historicalSaleCount": {
            "format": "int64",
            "type": "integer"
          },
          "loyaltyTierCount": {
            "format": "int64",
            "type": "integer"
          },
          "productCount": {
            "format": "int64",
            "type": "integer"
          },
          "providerCodeCount": {
            "format": "int64",
            "type": "integer"
          },
          "subtreeCategoryCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "canDelete",
          "categoryId",
          "historicalSaleCount",
          "loyaltyTierCount",
          "productCount",
          "providerCodeCount",
          "subtreeCategoryCount"
        ],
        "type": "object"
      },
      "CategoryImportMultipartRequest": {
        "properties": {
          "file": {
            "description": "CSV file containing categories to import",
            "format": "binary",
            "type": "string"
          }
        },
        "required": [
          "file"
        ],
        "type": "object"
      },
      "CategoryMergeResponse": {
        "properties": {
          "reassignedLoyaltyTiers": {
            "format": "int64",
            "type": "integer"
          },
          "reassignedProducts": {
            "format": "int64",
            "type": "integer"
          },
          "reassignedProviderCodes": {
            "format": "int64",
            "type": "integer"
          },
          "retiredCategoryCount": {
            "format": "int32",
            "type": "integer"
          },
          "sourceCategoryId": {
            "format": "uuid",
            "type": "string"
          },
          "targetCategoryId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "reassignedLoyaltyTiers",
          "reassignedProducts",
          "reassignedProviderCodes",
          "retiredCategoryCount",
          "sourceCategoryId",
          "targetCategoryId"
        ],
        "type": "object"
      },
      "CategoryProviderCodeResponse": {
        "properties": {
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "provider": {
            "type": "string"
          },
          "providerCode": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "categoryId",
          "provider"
        ],
        "type": "object"
      },
      "CategoryResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "depth": {
            "format": "int32",
            "type": "integer"
          },
          "isChild": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "over18": {
            "type": "boolean"
          },
          "over21": {
            "type": "boolean"
          },
          "parentId": {
            "format": "uuid",
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "sortOrder": {
            "format": "int32",
            "type": "integer"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "active",
          "depth",
          "isChild",
          "sortOrder"
        ],
        "type": "object"
      },
      "CategorySalesResponse": {
        "properties": {
          "categoryId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "categoryName": {
            "nullable": true,
            "type": "string"
          },
          "quantitySold": {
            "format": "int64",
            "type": "integer"
          },
          "revenue": {
            "type": "number"
          }
        },
        "required": [
          "quantitySold",
          "revenue"
        ],
        "type": "object"
      },
      "CategoryTaxEffectiveRateResponse": {
        "properties": {
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "effectiveTaxRate": {
            "type": "number"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "rateBps": {
            "format": "int32",
            "type": "integer"
          },
          "resolvedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "categoryId",
          "effectiveTaxRate",
          "expiresAt",
          "rateBps",
          "resolvedAt"
        ],
        "type": "object"
      },
      "CategoryTaxEffectiveRatesResponse": {
        "properties": {
          "mode": {
            "type": "string"
          },
          "rates": {
            "items": {
              "$ref": "#/components/schemas/CategoryTaxEffectiveRateResponse"
            },
            "type": "array"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "mode",
          "rates",
          "storeId"
        ],
        "type": "object"
      },
      "CategoryTaxPolicyActivationResponse": {
        "properties": {
          "activatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "mode": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "mode",
          "storeId"
        ],
        "type": "object"
      },
      "CategoryTaxPolicyMutationResponse": {
        "properties": {
          "id": {
            "type": "string"
          },
          "operation": {
            "type": "string"
          },
          "snapshotExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "snapshotResolvedAt": {
            "format": "date-time",
            "type": "string"
          },
          "snapshotStatus": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "operation",
          "snapshotStatus"
        ],
        "type": "object"
      },
      "CategoryTaxPolicyReadinessResponse": {
        "properties": {
          "blockers": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "categoryCount": {
            "format": "int32",
            "type": "integer"
          },
          "mode": {
            "type": "string"
          },
          "productCount": {
            "format": "int64",
            "type": "integer"
          },
          "ready": {
            "type": "boolean"
          },
          "shadowComparedAt": {
            "format": "date-time",
            "type": "string"
          },
          "snapshotExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "snapshotResolvedAt": {
            "format": "date-time",
            "type": "string"
          },
          "snapshotStatus": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "taxableProductCount": {
            "format": "int64",
            "type": "integer"
          },
          "uncategorizedProductCount": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "blockers",
          "mode",
          "ready",
          "shadowComparedAt",
          "snapshotStatus",
          "storeId"
        ],
        "type": "object"
      },
      "CategoryTaxPolicyRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "effectiveFrom": {
            "minLength": 1,
            "type": "string"
          },
          "effectiveTo": {
            "type": "string"
          },
          "jurisdictionCode": {
            "minLength": 1,
            "type": "string"
          },
          "jurisdictionName": {
            "type": "string"
          },
          "jurisdictionType": {
            "minLength": 1,
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "percentage": {
            "exclusiveMaximum": false,
            "exclusiveMinimum": false,
            "maximum": 100.0,
            "minimum": 0,
            "type": "number"
          }
        },
        "required": [
          "active",
          "categoryId",
          "effectiveFrom",
          "jurisdictionCode",
          "jurisdictionType",
          "percentage"
        ],
        "type": "object"
      },
      "CategoryTaxPolicyResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "effectiveFrom": {
            "type": "string"
          },
          "effectiveTo": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "jurisdictionCode": {
            "type": "string"
          },
          "jurisdictionName": {
            "type": "string"
          },
          "jurisdictionType": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "percentage": {
            "type": "number"
          },
          "snapshotExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "snapshotResolvedAt": {
            "format": "date-time",
            "type": "string"
          },
          "snapshotStatus": {
            "type": "string"
          }
        },
        "required": [
          "active",
          "categoryId",
          "effectiveFrom",
          "id",
          "jurisdictionType",
          "percentage",
          "snapshotStatus"
        ],
        "type": "object"
      },
      "CategoryTreeResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "children": {
            "items": {
              "$ref": "#/components/schemas/CategoryTreeResponse"
            },
            "type": "array"
          },
          "depth": {
            "format": "int32",
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "sortOrder": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "active",
          "depth",
          "sortOrder"
        ],
        "type": "object"
      },
      "ChangePasswordRequest": {
        "properties": {
          "newPassword": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "ChangePinRequest": {
        "properties": {
          "currentPin": {
            "type": "string"
          },
          "newPin": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "ChangeShiftRequestPayload": {
        "properties": {
          "endTime": {
            "type": "string"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "requestType": {
            "enum": [
              "change"
            ],
            "type": "string"
          },
          "requestedDate": {
            "format": "date",
            "type": "string"
          },
          "roleKey": {
            "nullable": true,
            "type": "string"
          },
          "startTime": {
            "type": "string"
          },
          "targetOccurrenceRef": {
            "type": "string"
          }
        },
        "required": [
          "endTime",
          "requestType",
          "requestedDate",
          "startTime",
          "targetOccurrenceRef"
        ],
        "type": "object"
      },
      "Channel": {
        "enum": [
          "IN_STORE",
          "CHECKOUT_SESSION",
          "SUBSCRIPTION",
          "INVOICE",
          "DIRECT_API",
          "VIRTUAL_TERMINAL"
        ],
        "type": "string"
      },
      "ChartAccountResponse": {
        "properties": {
          "accountCode": {
            "type": "string"
          },
          "accountType": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "normalBalance": {
            "type": "string"
          },
          "quickBooksMappingKey": {
            "type": "string"
          },
          "sources": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "accountCode",
          "accountType",
          "key",
          "name",
          "normalBalance",
          "quickBooksMappingKey",
          "sources"
        ],
        "type": "object"
      },
      "CheckboxField": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FormField"
          }
        ],
        "required": [
          "id",
          "label",
          "required",
          "sensitive"
        ],
        "type": "object"
      },
      "CheckoutAvailableLoyaltyReward": {
        "properties": {
          "available": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "pointsCost": {
            "format": "int32",
            "type": "integer"
          },
          "rewardId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "available",
          "name",
          "pointsCost",
          "rewardId"
        ],
        "type": "object"
      },
      "CheckoutBehaviorRequest": {
        "properties": {
          "tipEnabled": {
            "type": "boolean"
          }
        },
        "required": [
          "tipEnabled"
        ],
        "type": "object"
      },
      "CheckoutBundleAllocation": {
        "properties": {
          "allocationInstance": {
            "format": "int32",
            "type": "integer"
          },
          "components": {
            "items": {
              "$ref": "#/components/schemas/CheckoutBundleAllocationComponent"
            },
            "type": "array"
          },
          "currency": {
            "type": "string"
          },
          "fixedTotalMinor": {
            "format": "int64",
            "type": "integer"
          },
          "promotionId": {
            "format": "uuid",
            "type": "string"
          },
          "promotionName": {
            "type": "string"
          },
          "promotionType": {
            "type": "string"
          },
          "promotionVersionId": {
            "format": "uuid",
            "type": "string"
          },
          "savingsMinor": {
            "format": "int64",
            "type": "integer"
          },
          "versionNumber": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "allocationInstance",
          "components",
          "currency",
          "fixedTotalMinor",
          "promotionId",
          "promotionName",
          "promotionType",
          "promotionVersionId",
          "savingsMinor",
          "versionNumber"
        ],
        "type": "object"
      },
      "CheckoutBundleAllocationComponent": {
        "properties": {
          "discountAmountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "lineRef": {
            "type": "string"
          },
          "paidAmountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "roundingRank": {
            "format": "int32",
            "type": "integer"
          },
          "taxAmountMinor": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "discountAmountMinor",
          "lineRef",
          "paidAmountMinor",
          "productId",
          "quantity",
          "roundingRank",
          "taxAmountMinor"
        ],
        "type": "object"
      },
      "CheckoutCustomerEnrollRequest": {
        "properties": {
          "firstName": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "identity": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "lastName": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "mode": {
            "maxLength": 32,
            "minLength": 0,
            "type": "string"
          }
        },
        "required": [
          "identity",
          "mode"
        ],
        "type": "object"
      },
      "CheckoutCustomerEnrollmentResponse": {
        "properties": {
          "created": {
            "type": "boolean"
          },
          "customer": {
            "$ref": "#/components/schemas/CheckoutCustomerSummary"
          },
          "outcome": {
            "type": "string"
          }
        },
        "required": [
          "created",
          "outcome"
        ],
        "type": "object"
      },
      "CheckoutCustomerLookupResponse": {
        "properties": {
          "customer": {
            "$ref": "#/components/schemas/CheckoutCustomerSummary"
          },
          "outcome": {
            "type": "string"
          },
          "permittedModes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "outcome",
          "permittedModes"
        ],
        "type": "object"
      },
      "CheckoutCustomerSummary": {
        "properties": {
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          }
        },
        "required": [
          "customerId"
        ],
        "type": "object"
      },
      "CheckoutDiscountAllocation": {
        "properties": {
          "amountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "sourceId": {
            "type": "string"
          },
          "sourceVersion": {
            "type": "string"
          }
        },
        "required": [
          "amountMinor",
          "name",
          "source",
          "sourceId"
        ],
        "type": "object"
      },
      "CheckoutEligibleRewardResponse": {
        "properties": {
          "description": {
            "type": "string"
          },
          "discountAmount": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "pointsCost": {
            "format": "int32",
            "type": "integer"
          },
          "rewardId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "discountAmount",
          "name",
          "pointsCost",
          "rewardId"
        ],
        "type": "object"
      },
      "CheckoutGiftCardBalanceRequest": {
        "properties": {
          "amountDue": {
            "exclusiveMinimum": true,
            "minimum": 0,
            "type": "number"
          },
          "code": {
            "maxLength": 128,
            "minLength": 0,
            "type": "string"
          }
        },
        "required": [
          "amountDue",
          "code"
        ],
        "type": "object"
      },
      "CheckoutGiftCardBalanceResponse": {
        "properties": {
          "appliedAmount": {
            "type": "number"
          },
          "balance": {
            "type": "number"
          },
          "coversAmountDue": {
            "type": "boolean"
          },
          "maskedIdentifier": {
            "type": "string"
          },
          "reference": {
            "type": "string"
          }
        },
        "required": [
          "appliedAmount",
          "balance",
          "coversAmountDue",
          "maskedIdentifier",
          "reference"
        ],
        "type": "object"
      },
      "CheckoutGiftCardConfigResponse": {
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "mixedTenderEnabled": {
            "type": "boolean"
          }
        },
        "required": [
          "enabled",
          "mixedTenderEnabled"
        ],
        "type": "object"
      },
      "CheckoutGiftCardIssuance": {
        "properties": {
          "deliveryMethod": {
            "maxLength": 32,
            "minLength": 0,
            "type": "string"
          },
          "expiresAt": {
            "type": "string"
          },
          "message": {
            "maxLength": 2000,
            "minLength": 0,
            "type": "string"
          },
          "recipientEmail": {
            "maxLength": 254,
            "minLength": 0,
            "type": "string"
          },
          "recipientName": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string"
          },
          "recipientPhone": {
            "maxLength": 32,
            "minLength": 0,
            "type": "string"
          },
          "senderName": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string"
          }
        },
        "type": "object"
      },
      "CheckoutIntentItemResponse": {
        "properties": {
          "discountAmount": {
            "type": "number"
          },
          "lineTax": {
            "type": "number"
          },
          "lineTotal": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "taxCategory": {
            "type": "string"
          },
          "unitPrice": {
            "type": "number"
          }
        },
        "required": [
          "quantity"
        ],
        "type": "object"
      },
      "CheckoutIntentResponse": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "authCode": {
            "type": "string"
          },
          "avsResult": {
            "type": "string"
          },
          "cardAmount": {
            "type": "number"
          },
          "cardBrand": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "cvvResult": {
            "type": "string"
          },
          "discountTotal": {
            "type": "number"
          },
          "entryMode": {
            "type": "string"
          },
          "errorCode": {
            "type": "string"
          },
          "gatewayCheckoutAction": {
            "type": "string"
          },
          "gatewayCheckoutSessionId": {
            "type": "string"
          },
          "giftCardAmount": {
            "type": "number"
          },
          "giftCardIssuance": {
            "$ref": "#/components/schemas/CheckoutGiftCardIssuance"
          },
          "giftCardMaskedIdentifier": {
            "type": "string"
          },
          "intentId": {
            "format": "uuid",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/CheckoutIntentItemResponse"
            },
            "type": "array"
          },
          "lastFour": {
            "type": "string"
          },
          "loyaltyAvailability": {
            "$ref": "#/components/schemas/CheckoutLoyaltyAvailability"
          },
          "loyaltyDiscountAmount": {
            "type": "number"
          },
          "loyaltyPointsBalance": {
            "format": "int32",
            "type": "integer"
          },
          "loyaltyPointsEarned": {
            "format": "int32",
            "type": "integer"
          },
          "loyaltyPointsRedeemed": {
            "format": "int32",
            "type": "integer"
          },
          "loyaltyPointsReserved": {
            "format": "int32",
            "type": "integer"
          },
          "loyaltyRewards": {
            "items": {
              "$ref": "#/components/schemas/CheckoutLoyaltyRewardResponse"
            },
            "type": "array"
          },
          "loyaltyTierName": {
            "type": "string"
          },
          "quoteVersion": {
            "type": "string"
          },
          "safeToStartNewSale": {
            "type": "boolean"
          },
          "saleTotal": {
            "type": "number"
          },
          "status": {
            "type": "string"
          },
          "subtotal": {
            "type": "number"
          },
          "taxApplied": {
            "type": "number"
          },
          "tenderCapabilities": {
            "$ref": "#/components/schemas/CheckoutTenderCapabilities"
          },
          "tenderType": {
            "type": "string"
          },
          "transactionId": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency",
          "discountTotal",
          "intentId",
          "items",
          "loyaltyRewards",
          "quoteVersion",
          "safeToStartNewSale",
          "saleTotal",
          "status",
          "subtotal",
          "taxApplied"
        ],
        "type": "object"
      },
      "CheckoutLineIntent": {
        "properties": {
          "ageVerified": {
            "type": "boolean"
          },
          "complianceCheckId": {
            "format": "uuid",
            "type": "string"
          },
          "customUnitPriceMinor": {
            "format": "int64",
            "type": "integer"
          },
          "giftCardDenominationMinor": {
            "format": "int64",
            "type": "integer"
          },
          "lineRef": {
            "type": "string"
          },
          "managerApprovalId": {
            "format": "uuid",
            "type": "string"
          },
          "manualName": {
            "type": "string"
          },
          "manualUpc": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "serialNumber": {
            "type": "string"
          },
          "verifiedAge": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "ageVerified",
          "lineRef",
          "quantity"
        ],
        "type": "object"
      },
      "CheckoutLoyaltyAvailability": {
        "properties": {
          "availablePoints": {
            "format": "int32",
            "type": "integer"
          },
          "eligibleAmountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "maximumRedeemablePoints": {
            "format": "int32",
            "type": "integer"
          },
          "minimumPointsToRedeem": {
            "format": "int32",
            "type": "integer"
          },
          "minimumTransactionAmount": {
            "type": "number"
          },
          "pointsToDollarRate": {
            "type": "string"
          },
          "redemptionAvailable": {
            "type": "boolean"
          },
          "rewardStackingEnabled": {
            "type": "boolean"
          },
          "rewards": {
            "items": {
              "$ref": "#/components/schemas/CheckoutAvailableLoyaltyReward"
            },
            "type": "array"
          },
          "unavailableReason": {
            "type": "string"
          }
        },
        "required": [
          "availablePoints",
          "eligibleAmountMinor",
          "maximumRedeemablePoints",
          "minimumPointsToRedeem",
          "minimumTransactionAmount",
          "pointsToDollarRate",
          "redemptionAvailable",
          "rewardStackingEnabled",
          "rewards"
        ],
        "type": "object"
      },
      "CheckoutLoyaltyRewardResponse": {
        "properties": {
          "discountAmount": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "pointsCost": {
            "format": "int32",
            "type": "integer"
          },
          "rewardId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "discountAmount",
          "name",
          "pointsCost",
          "rewardId"
        ],
        "type": "object"
      },
      "CheckoutLoyaltySummaryResponse": {
        "properties": {
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "eligibleRewards": {
            "items": {
              "$ref": "#/components/schemas/CheckoutEligibleRewardResponse"
            },
            "type": "array"
          },
          "enabled": {
            "type": "boolean"
          },
          "maximumRedeemablePoints": {
            "format": "int32",
            "type": "integer"
          },
          "minimumPointsToRedeem": {
            "format": "int32",
            "type": "integer"
          },
          "minimumTransactionAmount": {
            "type": "number"
          },
          "pointsBalance": {
            "format": "int32",
            "type": "integer"
          },
          "pointsToDollarRate": {
            "type": "string"
          },
          "potentialRedemptionAvailable": {
            "type": "boolean"
          },
          "redemptionAvailable": {
            "type": "boolean"
          },
          "rewardStackingEnabled": {
            "type": "boolean"
          },
          "spendablePoints": {
            "format": "int32",
            "type": "integer"
          },
          "tierName": {
            "type": "string"
          },
          "transactionEligibilityKnown": {
            "type": "boolean"
          },
          "unavailableReason": {
            "type": "string"
          }
        },
        "required": [
          "customerId",
          "eligibleRewards",
          "enabled",
          "maximumRedeemablePoints",
          "minimumPointsToRedeem",
          "minimumTransactionAmount",
          "pointsBalance",
          "pointsToDollarRate",
          "potentialRedemptionAvailable",
          "redemptionAvailable",
          "rewardStackingEnabled",
          "spendablePoints",
          "transactionEligibilityKnown"
        ],
        "type": "object"
      },
      "CheckoutMonetaryBreakdown": {
        "properties": {
          "depositMinor": {
            "format": "int64",
            "type": "integer"
          },
          "discountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "feeMinor": {
            "format": "int64",
            "type": "integer"
          },
          "subtotalMinor": {
            "format": "int64",
            "type": "integer"
          },
          "taxMinor": {
            "format": "int64",
            "type": "integer"
          },
          "tipMinor": {
            "format": "int64",
            "type": "integer"
          },
          "totalMinor": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "depositMinor",
          "discountMinor",
          "feeMinor",
          "subtotalMinor",
          "taxMinor",
          "tipMinor",
          "totalMinor"
        ],
        "type": "object"
      },
      "CheckoutQuoteIntentRequest": {
        "properties": {
          "appointmentPricingSource": {
            "$ref": "#/components/schemas/AppointmentPricingSource"
          },
          "billingStreet": {
            "type": "string"
          },
          "cardHolderName": {
            "type": "string"
          },
          "cashLoyaltyPoints": {
            "format": "int32",
            "type": "integer"
          },
          "currency": {
            "minLength": 1,
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "directAction": {
            "$ref": "#/components/schemas/HostedCheckoutAction"
          },
          "entryMode": {
            "minLength": 1,
            "type": "string"
          },
          "gatewayCouponId": {
            "type": "string"
          },
          "giftCardFundingAmount": {
            "type": "number"
          },
          "giftCardIssuance": {
            "$ref": "#/components/schemas/CheckoutGiftCardIssuance"
          },
          "giftCardReference": {
            "maxLength": 2048,
            "minLength": 0,
            "type": "string"
          },
          "idempotencyKey": {
            "maxLength": 128,
            "minLength": 0,
            "type": "string"
          },
          "internalNote": {
            "maxLength": 2000,
            "minLength": 0,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/CheckoutQuoteLineIntent"
            },
            "maxItems": 500,
            "minItems": 0,
            "type": "array"
          },
          "lineTaxOverrideReason": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string"
          },
          "operatorUserId": {
            "format": "uuid",
            "type": "string"
          },
          "orderId": {
            "type": "string"
          },
          "receiptEmail": {
            "type": "string"
          },
          "receiptPhone": {
            "type": "string"
          },
          "rewardIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "saveCard": {
            "type": "boolean"
          },
          "taxDestination": {
            "$ref": "#/components/schemas/KeyedCnpTaxDestination"
          },
          "tipAmount": {
            "type": "number"
          },
          "zip": {
            "type": "string"
          }
        },
        "required": [
          "cashLoyaltyPoints",
          "currency",
          "entryMode",
          "idempotencyKey",
          "items",
          "rewardIds"
        ],
        "type": "object"
      },
      "CheckoutQuoteLineIntent": {
        "properties": {
          "priceApprovalId": {
            "format": "uuid",
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "exclusiveMinimum": true,
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          },
          "taxExempt": {
            "type": "boolean"
          }
        },
        "required": [
          "quantity"
        ],
        "type": "object"
      },
      "CheckoutQuotedLine": {
        "properties": {
          "cardDiscountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "cardDiscounts": {
            "items": {
              "$ref": "#/components/schemas/CheckoutDiscountAllocation"
            },
            "type": "array"
          },
          "cardTaxJurisdictions": {
            "items": {
              "$ref": "#/components/schemas/CheckoutTaxJurisdiction"
            },
            "type": "array"
          },
          "cardTaxMinor": {
            "format": "int64",
            "type": "integer"
          },
          "cardUnitPriceMinor": {
            "format": "int64",
            "type": "integer"
          },
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "depositMinor": {
            "format": "int64",
            "type": "integer"
          },
          "discountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "discounts": {
            "items": {
              "$ref": "#/components/schemas/CheckoutDiscountAllocation"
            },
            "type": "array"
          },
          "ebtEligible": {
            "type": "boolean"
          },
          "giftCardDenominationMinor": {
            "format": "int64",
            "type": "integer"
          },
          "giftFunding": {
            "type": "boolean"
          },
          "grossMinor": {
            "format": "int64",
            "type": "integer"
          },
          "lineRef": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "netMinor": {
            "format": "int64",
            "type": "integer"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "serialNumber": {
            "type": "string"
          },
          "taxJurisdictions": {
            "items": {
              "$ref": "#/components/schemas/CheckoutTaxJurisdiction"
            },
            "type": "array"
          },
          "taxMinor": {
            "format": "int64",
            "type": "integer"
          },
          "totalMinor": {
            "format": "int64",
            "type": "integer"
          },
          "unitPriceMinor": {
            "format": "int64",
            "type": "integer"
          },
          "upc": {
            "type": "string"
          }
        },
        "required": [
          "depositMinor",
          "discountMinor",
          "discounts",
          "ebtEligible",
          "grossMinor",
          "lineRef",
          "name",
          "netMinor",
          "quantity",
          "taxMinor",
          "totalMinor",
          "unitPriceMinor"
        ],
        "type": "object"
      },
      "CheckoutSubmitRequest": {
        "properties": {
          "gatewayCheckoutSessionId": {
            "maxLength": 128,
            "minLength": 0,
            "type": "string"
          },
          "paymentMethodId": {
            "maxLength": 128,
            "minLength": 0,
            "nullable": true,
            "type": "string",
            "writeOnly": true
          },
          "quoteVersion": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "quoteVersion"
        ],
        "type": "object"
      },
      "CheckoutTaxCategoryResponse": {
        "properties": {
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "providerCode": {
            "type": "string"
          }
        },
        "required": [
          "categoryId",
          "name",
          "providerCode"
        ],
        "type": "object"
      },
      "CheckoutTaxJurisdiction": {
        "properties": {
          "jurisdictionCode": {
            "type": "string"
          },
          "jurisdictionName": {
            "type": "string"
          },
          "jurisdictionType": {
            "type": "string"
          },
          "rate": {
            "type": "string"
          },
          "sourceConfigId": {
            "type": "string"
          },
          "taxMinor": {
            "format": "int64",
            "type": "integer"
          },
          "taxableBaseMinor": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "taxMinor"
        ],
        "type": "object"
      },
      "CheckoutTenderCapabilities": {
        "properties": {
          "authorizationAvailable": {
            "type": "boolean"
          },
          "giftCardAvailable": {
            "type": "boolean"
          },
          "mixedTenderAvailable": {
            "type": "boolean"
          },
          "rewardsAvailable": {
            "type": "boolean"
          },
          "savedCardAvailable": {
            "type": "boolean"
          }
        },
        "required": [
          "authorizationAvailable",
          "giftCardAvailable",
          "mixedTenderAvailable",
          "rewardsAvailable",
          "savedCardAvailable"
        ],
        "type": "object"
      },
      "CheckoutTenderCaps": {
        "properties": {
          "cashMinor": {
            "format": "int64",
            "type": "integer"
          },
          "creditCardMinor": {
            "format": "int64",
            "type": "integer"
          },
          "ebtCashMinor": {
            "format": "int64",
            "type": "integer"
          },
          "ebtFoodMinor": {
            "format": "int64",
            "type": "integer"
          },
          "giftCardMinor": {
            "format": "int64",
            "type": "integer"
          },
          "pinDebitMinor": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "cashMinor",
          "creditCardMinor",
          "ebtCashMinor",
          "ebtFoodMinor",
          "giftCardMinor",
          "pinDebitMinor"
        ],
        "type": "object"
      },
      "ClockInRequest": {
        "properties": {
          "attemptId": {
            "format": "uuid",
            "type": "string"
          },
          "occurrenceRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "attemptId"
        ],
        "type": "object"
      },
      "ClockOutRequest": {
        "properties": {
          "actualId": {
            "format": "uuid",
            "type": "string"
          },
          "attemptId": {
            "format": "uuid",
            "type": "string"
          },
          "breakMinutes": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "actualId",
          "attemptId",
          "breakMinutes"
        ],
        "type": "object"
      },
      "CloseInventoryCountSessionRequest": {
        "properties": {
          "expectedVersion": {
            "format": "int64",
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "expectedVersion"
        ],
        "type": "object"
      },
      "CloseoutActionAvailability": {
        "properties": {
          "canAssignOwner": {
            "type": "boolean"
          },
          "canInvestigate": {
            "type": "boolean"
          },
          "canReopen": {
            "type": "boolean"
          },
          "canResolve": {
            "type": "boolean"
          }
        },
        "required": [
          "canAssignOwner",
          "canInvestigate",
          "canReopen",
          "canResolve"
        ],
        "type": "object"
      },
      "CloseoutCandidateResponse": {
        "properties": {
          "closedAt": {
            "type": "string"
          },
          "countedAmount": {
            "type": "number"
          },
          "drawerId": {
            "format": "uuid",
            "type": "string"
          },
          "expectedAmount": {
            "type": "number"
          },
          "shiftId": {
            "format": "uuid",
            "type": "string"
          },
          "snapshotId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "varianceAmount": {
            "type": "number"
          }
        },
        "required": [
          "closedAt",
          "countedAmount",
          "drawerId",
          "expectedAmount",
          "shiftId",
          "snapshotId",
          "varianceAmount"
        ],
        "type": "object"
      },
      "CloseoutCursorPage": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/CloseoutResponse"
            },
            "type": "array"
          },
          "nextCursor": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "items"
        ],
        "type": "object"
      },
      "CloseoutResponse": {
        "properties": {
          "actionAvailability": {
            "$ref": "#/components/schemas/CloseoutActionAvailability"
          },
          "closeoutId": {
            "format": "uuid",
            "type": "string"
          },
          "countedAmount": {
            "type": "number"
          },
          "createdAt": {
            "type": "string"
          },
          "createdByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "depositAmount": {
            "type": "number"
          },
          "depositReference": {
            "type": "string"
          },
          "disposition": {
            "type": "string"
          },
          "dispositionNotes": {
            "type": "string"
          },
          "drawerId": {
            "format": "uuid",
            "type": "string"
          },
          "exceptionOwnerUserId": {
            "format": "uuid",
            "type": "string"
          },
          "exceptionStatus": {
            "type": "string"
          },
          "expectedAmount": {
            "type": "number"
          },
          "reconciliationReviewReason": {
            "description": "Original cycle reconciliation is unknown when evidence is unavailable. Stored receipt amounts remain unchanged.",
            "enum": [
              "ORIGINAL_CYCLE_EVIDENCE_UNAVAILABLE"
            ],
            "nullable": true,
            "type": "string"
          },
          "resolvedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "shiftId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          },
          "varianceAmount": {
            "type": "number"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "actionAvailability",
          "closeoutId",
          "countedAmount",
          "createdAt",
          "createdByUserId",
          "depositAmount",
          "drawerId",
          "exceptionStatus",
          "expectedAmount",
          "updatedAt",
          "varianceAmount",
          "version"
        ],
        "type": "object"
      },
      "CloseoutTimelineEventResponse": {
        "properties": {
          "actorUserId": {
            "format": "uuid",
            "type": "string"
          },
          "adjustmentAmount": {
            "type": "number"
          },
          "createdAt": {
            "type": "string"
          },
          "disposition": {
            "type": "string"
          },
          "eventId": {
            "format": "uuid",
            "type": "string"
          },
          "eventType": {
            "type": "string"
          },
          "fromStatus": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "ownerUserId": {
            "format": "uuid",
            "type": "string"
          },
          "toStatus": {
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "createdAt",
          "eventId",
          "eventType"
        ],
        "type": "object"
      },
      "CnpCaptureRequest": {
        "properties": {
          "amount": {
            "exclusiveMinimum": true,
            "minimum": 0,
            "type": "number"
          }
        },
        "type": "object"
      },
      "CnpPaymentResponse": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "authCode": {
            "type": "string"
          },
          "avsResult": {
            "type": "string"
          },
          "cardAmount": {
            "type": "number"
          },
          "cardBrand": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "cvvResult": {
            "type": "string"
          },
          "entryMode": {
            "type": "string"
          },
          "giftCardAmount": {
            "type": "number"
          },
          "giftCardMaskedIdentifier": {
            "type": "string"
          },
          "giftCardRedemptionId": {
            "type": "string"
          },
          "giftCardRemainingBalance": {
            "type": "number"
          },
          "lastFour": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "tenderType": {
            "type": "string"
          },
          "transactionId": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "CommandAcceptance": {
        "properties": {
          "acceptedItem": {
            "$ref": "#/components/schemas/AssistantItemView"
          },
          "attachment": {
            "$ref": "#/components/schemas/AttachmentView"
          },
          "conversation": {
            "$ref": "#/components/schemas/ConversationSummary"
          },
          "proposal": {
            "$ref": "#/components/schemas/ProposalView"
          },
          "run": {
            "$ref": "#/components/schemas/RunView"
          }
        },
        "required": [
          "conversation"
        ],
        "type": "object"
      },
      "CommandResult": {
        "properties": {
          "command": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "tokensAttempted": {
            "format": "int32",
            "type": "integer"
          },
          "tokensDelivered": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "command",
          "status",
          "tokensAttempted",
          "tokensDelivered"
        ],
        "type": "object"
      },
      "CommercialCardLevel": {
        "enum": [
          "LEVEL2",
          "LEVEL3"
        ],
        "type": "string"
      },
      "CompleteStepRequest": {
        "properties": {
          "credentialProfileVerificationRequest": {
            "$ref": "#/components/schemas/CreateCredentialProfileRequestDto"
          },
          "data": {
            "additionalProperties": true,
            "type": "object"
          }
        },
        "type": "object"
      },
      "ComplianceAttachTransactionRequest": {
        "properties": {
          "transactionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "transactionId"
        ],
        "type": "object"
      },
      "ComplianceCheckResponse": {
        "properties": {
          "checkId": {
            "format": "uuid",
            "type": "string"
          },
          "checkType": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "idDob": {
            "format": "date",
            "type": "string"
          },
          "idExpiry": {
            "format": "date",
            "type": "string"
          },
          "idType": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "managerOverrideApprovalId": {
            "format": "uuid",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "overrideBy": {
            "format": "uuid",
            "type": "string"
          },
          "overrideReason": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "reasonCodes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "requiredAge": {
            "format": "int32",
            "type": "integer"
          },
          "result": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          },
          "verifiedAge": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "reasonCodes",
          "requiredAge"
        ],
        "type": "object"
      },
      "ComplianceOverrideRequest": {
        "properties": {
          "checkId": {
            "format": "uuid",
            "type": "string"
          },
          "overrideReason": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "checkId",
          "overrideReason"
        ],
        "type": "object"
      },
      "CompliancePolicyResponse": {
        "properties": {
          "complianceCategory": {
            "type": "string"
          },
          "jurisdiction": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "requiredAge": {
            "format": "int32",
            "type": "integer"
          },
          "resolutionSource": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "productId",
          "resolutionSource",
          "storeId"
        ],
        "type": "object"
      },
      "CompliancePolicyRuleResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "complianceCategory": {
            "type": "string"
          },
          "effective": {
            "type": "boolean"
          },
          "jurisdiction": {
            "type": "string"
          },
          "minimumAge": {
            "format": "int32",
            "type": "integer"
          },
          "policyId": {
            "format": "uuid",
            "type": "string"
          },
          "resolutionSource": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeJurisdiction": {
            "type": "string"
          }
        },
        "required": [
          "active",
          "complianceCategory",
          "effective",
          "jurisdiction",
          "minimumAge",
          "resolutionSource",
          "storeId"
        ],
        "type": "object"
      },
      "ComplianceSummaryResponse": {
        "properties": {
          "failed": {
            "format": "int64",
            "type": "integer"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "passed": {
            "format": "int64",
            "type": "integer"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "failed",
          "generatedAt",
          "passed",
          "total"
        ],
        "type": "object"
      },
      "ConsentHistoryEntryResponse": {
        "properties": {
          "action": {
            "type": "string"
          },
          "consentMethod": {
            "type": "string"
          },
          "performedBy": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "timestamp": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "action",
          "phone",
          "storeId",
          "timestamp"
        ],
        "type": "object"
      },
      "ConsentResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "consentMethod": {
            "type": "string"
          },
          "consentedAt": {
            "format": "date-time",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "active",
          "consentId",
          "consentMethod",
          "consentedAt",
          "orgId",
          "phone",
          "storeId"
        ],
        "type": "object"
      },
      "ContributorInfo": {
        "properties": {
          "action": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "timestamp": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "ConversationDetail": {
        "properties": {
          "attachments": {
            "items": {
              "$ref": "#/components/schemas/AttachmentView"
            },
            "type": "array"
          },
          "conversation": {
            "$ref": "#/components/schemas/ConversationSummary"
          },
          "etag": {
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/AssistantItemView"
            },
            "type": "array"
          },
          "olderItemsCursor": {
            "type": "string"
          },
          "proposal": {
            "$ref": "#/components/schemas/ProposalView"
          },
          "run": {
            "$ref": "#/components/schemas/RunView"
          }
        },
        "required": [
          "attachments",
          "conversation",
          "etag",
          "items"
        ],
        "type": "object"
      },
      "ConversationItemsPage": {
        "properties": {
          "etag": {
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/AssistantItemView"
            },
            "type": "array"
          },
          "nextCursor": {
            "type": "string"
          }
        },
        "required": [
          "etag",
          "items"
        ],
        "type": "object"
      },
      "ConversationListPage": {
        "properties": {
          "conversations": {
            "items": {
              "$ref": "#/components/schemas/ConversationSummary"
            },
            "type": "array"
          },
          "etag": {
            "type": "string"
          },
          "nextCursor": {
            "type": "string"
          }
        },
        "required": [
          "conversations",
          "etag"
        ],
        "type": "object"
      },
      "ConversationStatus": {
        "enum": [
          "active",
          "archived"
        ],
        "type": "string"
      },
      "ConversationSummary": {
        "properties": {
          "activityVersion": {
            "format": "int64",
            "type": "integer"
          },
          "conversationId": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "deletionPending": {
            "type": "boolean"
          },
          "lastActivityAt": {
            "format": "date-time",
            "type": "string"
          },
          "lastReadActivityVersion": {
            "format": "int64",
            "type": "integer"
          },
          "proposal": {
            "$ref": "#/components/schemas/ProposalView"
          },
          "run": {
            "$ref": "#/components/schemas/RunView"
          },
          "status": {
            "$ref": "#/components/schemas/ConversationStatus"
          },
          "syncVersion": {
            "format": "int64",
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "activityVersion",
          "conversationId",
          "createdAt",
          "deletionPending",
          "lastActivityAt",
          "lastReadActivityVersion",
          "status",
          "syncVersion",
          "title",
          "updatedAt"
        ],
        "type": "object"
      },
      "CorrectAppointmentExternalPaymentRequest": {
        "properties": {
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "CorrectLotRequest": {
        "properties": {
          "dateType": {
            "type": "string"
          },
          "expectedUpdatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "expirationDate": {
            "format": "date",
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "dateType",
          "expectedUpdatedAt",
          "expirationDate",
          "productId",
          "quantity",
          "reason"
        ],
        "type": "object"
      },
      "CorrelationIds": {
        "properties": {
          "gatewayTransactionId": {
            "type": "string"
          },
          "posTransactionId": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "CoverageBlock": {
        "properties": {
          "blockId": {
            "format": "uuid",
            "type": "string"
          },
          "date": {
            "format": "date",
            "type": "string"
          },
          "neededCount": {
            "format": "int32",
            "type": "integer"
          },
          "requiredCount": {
            "format": "int32",
            "type": "integer"
          },
          "roleKey": {
            "type": "string"
          },
          "scheduledCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "blockId",
          "date",
          "neededCount",
          "requiredCount",
          "roleKey",
          "scheduledCount"
        ],
        "type": "object"
      },
      "CoverageGap": {
        "properties": {
          "blockEndTime": {
            "type": "string"
          },
          "blockId": {
            "format": "uuid",
            "type": "string"
          },
          "blockStartTime": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "shiftDate": {
            "format": "date",
            "type": "string"
          }
        },
        "required": [
          "blockEndTime",
          "blockId",
          "blockStartTime",
          "message",
          "shiftDate"
        ],
        "type": "object"
      },
      "CoverageSummary": {
        "properties": {
          "blocks": {
            "items": {
              "$ref": "#/components/schemas/CoverageBlock"
            },
            "type": "array"
          },
          "coveredBlocks": {
            "format": "int32",
            "type": "integer"
          },
          "endDate": {
            "format": "date",
            "type": "string"
          },
          "gapBlocks": {
            "items": {
              "$ref": "#/components/schemas/CoverageGap"
            },
            "type": "array"
          },
          "startDate": {
            "format": "date",
            "type": "string"
          },
          "totalBlocksChecked": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "blocks",
          "coveredBlocks",
          "endDate",
          "gapBlocks",
          "startDate",
          "totalBlocksChecked"
        ],
        "type": "object"
      },
      "CreateAccountAttemptReference": {
        "properties": {
          "attemptId": {
            "format": "uuid",
            "type": "string"
          },
          "pipelineId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "attemptId",
          "pipelineId"
        ],
        "type": "object"
      },
      "CreateAccountOrganizationLocationRequest": {
        "properties": {
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "isPrimary": {
            "type": "boolean"
          },
          "line1": {
            "type": "string"
          },
          "line2": {
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "region": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "CreateAccountPurchaseOrderLineRequest": {
        "properties": {
          "description": {
            "type": "string"
          },
          "enforceSupplierAssociation": {
            "type": "boolean"
          },
          "inventoryItemId": {
            "format": "uuid",
            "type": "string"
          },
          "orderedQuantity": {
            "type": "string"
          },
          "supplierSku": {
            "type": "string"
          },
          "unitCost": {
            "$ref": "#/components/schemas/AccountPurchaseOrderMoneyRequest"
          }
        },
        "required": [
          "description",
          "enforceSupplierAssociation",
          "inventoryItemId",
          "orderedQuantity",
          "unitCost"
        ],
        "type": "object"
      },
      "CreateAccountPurchaseOrderRequest": {
        "properties": {
          "currency": {
            "type": "string"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/CreateAccountPurchaseOrderLineRequest"
            },
            "type": "array"
          },
          "notes": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "lines",
          "supplierId"
        ],
        "type": "object"
      },
      "CreateAdvertisementRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "adType": {
            "type": "string"
          },
          "contentType": {
            "type": "string"
          },
          "dailyEndTime": {
            "format": "time-local",
            "type": "string"
          },
          "dailyStartTime": {
            "format": "time-local",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "endDate": {
            "format": "date",
            "type": "string"
          },
          "fullScreen": {
            "type": "boolean"
          },
          "imageFit": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string"
          },
          "linkUrl": {
            "type": "string"
          },
          "placement": {
            "minLength": 1,
            "type": "string"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "showSpecialOffer": {
            "type": "boolean"
          },
          "startDate": {
            "format": "date",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "targetGroupIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "targetStoreIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "active",
          "placement",
          "priority",
          "targetGroupIds",
          "targetStoreIds"
        ],
        "type": "object"
      },
      "CreateAgentSubAgentRequest": {
        "properties": {
          "contactEmail": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "CreateAgentUserInviteRequest": {
        "properties": {
          "email": {
            "format": "email",
            "minLength": 1,
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "role": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "email",
          "role"
        ],
        "type": "object"
      },
      "CreateAppointmentRequest": {
        "properties": {
          "allowShiftOverride": {
            "type": "boolean"
          },
          "assetFieldValues": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "bookingPriceAdjustmentRate": {
            "nullable": true,
            "type": "number"
          },
          "cardEntryToken": {
            "type": "string"
          },
          "collectUpfrontPayment": {
            "default": false,
            "type": "boolean"
          },
          "customFieldValues": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "customerAssetId": {
            "format": "uuid",
            "type": "string"
          },
          "customerEmail": {
            "nullable": true,
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "customerName": {
            "nullable": true,
            "type": "string"
          },
          "customerPhone": {
            "nullable": true,
            "type": "string"
          },
          "customerPortalToken": {
            "type": "string"
          },
          "customerSelfService": {
            "default": false,
            "type": "boolean"
          },
          "formAnswers": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "idempotencyKey": {
            "type": "string"
          },
          "merchantUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "modifierIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "occurrenceRef": {
            "nullable": true,
            "type": "string"
          },
          "requestedModifierIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "resourceId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "serviceId": {
            "format": "uuid",
            "type": "string"
          },
          "serviceLines": {
            "items": {
              "$ref": "#/components/schemas/CreateAppointmentServiceLineRequest"
            },
            "type": "array"
          },
          "staffProfileId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "startAt": {
            "format": "date-time",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "termsAccepted": {
            "type": "boolean"
          },
          "timezone": {
            "type": "string"
          }
        },
        "required": [
          "allowShiftOverride",
          "formAnswers",
          "idempotencyKey",
          "modifierIds",
          "requestedModifierIds",
          "serviceId",
          "serviceLines",
          "startAt",
          "termsAccepted",
          "timezone"
        ],
        "type": "object"
      },
      "CreateAppointmentServiceLineRequest": {
        "properties": {
          "merchantUserId": {
            "format": "uuid",
            "type": "string"
          },
          "modifierIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "occurrenceRef": {
            "type": "string"
          },
          "resourceId": {
            "format": "uuid",
            "type": "string"
          },
          "serviceId": {
            "format": "uuid",
            "type": "string"
          },
          "startAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "modifierIds",
          "serviceId",
          "startAt"
        ],
        "type": "object"
      },
      "CreateCategoryRequest": {
        "properties": {
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "over18": {
            "type": "boolean"
          },
          "over21": {
            "type": "boolean"
          },
          "parentId": {
            "format": "uuid",
            "type": "string"
          },
          "slug": {
            "minLength": 1,
            "type": "string"
          },
          "sortOrder": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "name",
          "slug",
          "sortOrder"
        ],
        "type": "object"
      },
      "CreateCloseoutRequest": {
        "properties": {
          "closingSnapshotId": {
            "format": "uuid",
            "type": "string"
          },
          "countedAmount": {
            "type": "number"
          },
          "depositAmount": {
            "type": "number"
          },
          "depositReference": {
            "type": "string"
          },
          "exceptionOwnerUserId": {
            "format": "uuid",
            "type": "string"
          },
          "operationKey": {
            "format": "uuid",
            "type": "string"
          },
          "shiftId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "closingSnapshotId"
        ],
        "type": "object"
      },
      "CreateConversationRequest": {
        "properties": {
          "clientCommandId": {
            "format": "uuid",
            "type": "string"
          },
          "title": {
            "maxLength": 120,
            "minLength": 0,
            "type": "string"
          }
        },
        "required": [
          "clientCommandId"
        ],
        "type": "object"
      },
      "CreateCredentialProfileRequestDto": {
        "properties": {
          "acceptsAch": {
            "type": "boolean"
          },
          "acceptsCardNotPresent": {
            "type": "boolean"
          },
          "acceptsCardPresent": {
            "type": "boolean"
          },
          "credentialPayload": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "integrationDepth": {
            "type": "string"
          },
          "locationId": {
            "type": "string"
          },
          "mcc": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "processorPlatform": {
            "type": "string"
          },
          "processorType": {
            "type": "string"
          },
          "transactionKey": {
            "type": "string"
          },
          "transitDeviceId": {
            "type": "string"
          },
          "transitMerchantId": {
            "type": "string"
          },
          "transitUserId": {
            "type": "string"
          },
          "transitVNumber": {
            "type": "string"
          }
        },
        "required": [
          "acceptsAch",
          "acceptsCardNotPresent",
          "acceptsCardPresent",
          "mcc"
        ],
        "type": "object"
      },
      "CreateCustomFieldDefinitionRequest": {
        "properties": {
          "assetTypeId": {
            "format": "uuid",
            "type": "string"
          },
          "entityType": {
            "type": "string"
          },
          "fieldType": {
            "type": "string"
          },
          "helpText": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "options": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "required": {
            "type": "boolean"
          },
          "searchable": {
            "type": "boolean"
          },
          "serviceIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "showInPublicBooking": {
            "type": "boolean"
          },
          "sortOrder": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "entityType",
          "fieldType",
          "key",
          "label",
          "options",
          "required",
          "searchable",
          "serviceIds",
          "showInPublicBooking",
          "sortOrder"
        ],
        "type": "object"
      },
      "CreateCustomFieldSettingsDefinitionRequest": {
        "properties": {
          "assetTypeId": {
            "format": "uuid",
            "type": "string"
          },
          "entityType": {
            "type": "string"
          },
          "fieldType": {
            "type": "string"
          },
          "helpText": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "options": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "required": {
            "type": "boolean"
          },
          "searchable": {
            "type": "boolean"
          },
          "serviceIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "showInPublicBooking": {
            "type": "boolean"
          },
          "sortOrder": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "entityType",
          "fieldType",
          "key",
          "label",
          "options",
          "required",
          "searchable",
          "serviceIds",
          "showInPublicBooking",
          "sortOrder"
        ],
        "type": "object"
      },
      "CreateCustomerAssetRequest": {
        "properties": {
          "assetTypeId": {
            "format": "uuid",
            "type": "string"
          },
          "values": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "required": [
          "assetTypeId",
          "values"
        ],
        "type": "object"
      },
      "CreateCustomerRequest": {
        "properties": {
          "billingAddress": {
            "type": "string"
          },
          "businessName": {
            "description": "Optional business identity; blank values are stored as null.",
            "nullable": true,
            "type": "string"
          },
          "dateOfBirth": {
            "format": "date",
            "type": "string"
          },
          "defaultCurrency": {
            "type": "string"
          },
          "email": {
            "format": "email",
            "type": "string"
          },
          "emailMarketingConsentRequestAuthorized": {
            "type": "boolean"
          },
          "firstName": {
            "minLength": 1,
            "type": "string"
          },
          "lastName": {
            "minLength": 1,
            "type": "string"
          },
          "licenseExpiry": {
            "format": "date",
            "type": "string"
          },
          "licenseNumber": {
            "type": "string"
          },
          "licenseState": {
            "type": "string"
          },
          "loyaltyId": {
            "type": "string"
          },
          "paymentTerms": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "points": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "emailMarketingConsentRequestAuthorized",
          "firstName",
          "lastName",
          "points"
        ],
        "type": "object"
      },
      "CreateDemoOrgRequest": {
        "properties": {
          "agentId": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "pattern": "^[a-z0-9-]+$",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          },
          "vertical": {
            "$ref": "#/components/schemas/DemoVertical"
          }
        },
        "required": [
          "name",
          "vertical"
        ],
        "type": "object"
      },
      "CreateEmployeeDepartmentRequest": {
        "properties": {
          "name": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "CreateFormTemplateRequest": {
        "properties": {
          "definition": {
            "$ref": "#/components/schemas/FormDefinition"
          },
          "frequency": {
            "enum": [
              "every_appointment",
              "once",
              "once_per_version"
            ],
            "type": "string"
          },
          "validForDays": {
            "format": "int32",
            "maximum": 3650.0,
            "minimum": 1,
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "definition",
          "frequency"
        ],
        "type": "object"
      },
      "CreateGatewayLocationRequestDto": {
        "properties": {
          "addressCity": {
            "type": "string"
          },
          "addressLine1": {
            "type": "string"
          },
          "addressState": {
            "type": "string"
          },
          "addressZip": {
            "type": "string"
          },
          "businessName": {
            "type": "string"
          },
          "contactEmail": {
            "type": "string"
          },
          "contactPhone": {
            "type": "string"
          },
          "dba": {
            "type": "string"
          },
          "externalId": {
            "type": "string"
          },
          "industryType": {
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "CreateGatewayMerchantRequest": {
        "properties": {
          "payload": {
            "additionalProperties": true,
            "type": "object"
          }
        },
        "type": "object"
      },
      "CreateGatewayProvisioningJobRequest": {
        "properties": {
          "deviceType": {
            "type": "string"
          },
          "merchantId": {
            "type": "string"
          },
          "payload": {
            "additionalProperties": true,
            "type": "object"
          },
          "serialNumber": {
            "type": "string"
          },
          "terminalId": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "CreateGatewayTaxConfigRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "appliesToCategory": {
            "type": "string"
          },
          "effectiveFrom": {
            "type": "string"
          },
          "effectiveTo": {
            "type": "string"
          },
          "jurisdictionCode": {
            "type": "string"
          },
          "jurisdictionName": {
            "type": "string"
          },
          "jurisdictionType": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "rateAmountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "rateBps": {
            "format": "int32",
            "type": "integer"
          },
          "rateType": {
            "type": "string"
          },
          "taxBasis": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "CreateGeofenceRequest": {
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "fenceName": {
            "type": "string"
          },
          "latitude": {
            "format": "double",
            "type": "number"
          },
          "longitude": {
            "format": "double",
            "type": "number"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "radiusMeters": {
            "format": "double",
            "type": "number"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "fenceName",
          "latitude",
          "longitude",
          "orgId",
          "storeId"
        ],
        "type": "object"
      },
      "CreateGiftCardRequest": {
        "properties": {
          "checkoutIntentId": {
            "type": "string"
          },
          "clientIdempotencyKey": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "creationTransactionId": {
            "type": "string"
          },
          "customerId": {
            "type": "string"
          },
          "deliveryMethod": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string"
          },
          "initialBalance": {
            "exclusiveMinimum": true,
            "format": "double",
            "minimum": 0,
            "type": "number"
          },
          "message": {
            "type": "string"
          },
          "orgId": {
            "minLength": 1,
            "type": "string"
          },
          "orgName": {
            "type": "string"
          },
          "recipientEmail": {
            "type": "string"
          },
          "recipientName": {
            "type": "string"
          },
          "recipientPhone": {
            "type": "string"
          },
          "senderName": {
            "type": "string"
          }
        },
        "required": [
          "initialBalance",
          "orgId"
        ],
        "type": "object"
      },
      "CreateHouseholdRequest": {
        "properties": {
          "addressNormalized": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "memberCustomerIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "notes": {
            "type": "string"
          },
          "primaryCustomerId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "memberCustomerIds"
        ],
        "type": "object"
      },
      "CreateInventoryCountSessionRequest": {
        "properties": {
          "blind": {
            "type": "boolean"
          },
          "brand": {
            "type": "string"
          },
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "countType": {
            "$ref": "#/components/schemas/InventoryCountType"
          },
          "locationId": {
            "format": "uuid",
            "type": "string"
          },
          "productIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          },
          "scheduleId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "blind",
          "reason"
        ],
        "type": "object"
      },
      "CreateInventoryCycleCountScheduleRequest": {
        "properties": {
          "brand": {
            "type": "string"
          },
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "dayOfWeek": {
            "$ref": "#/components/schemas/DayOfWeekName"
          },
          "label": {
            "minLength": 1,
            "type": "string"
          },
          "locationId": {
            "format": "uuid",
            "type": "string"
          },
          "scopeType": {
            "$ref": "#/components/schemas/CycleCountScopeType"
          }
        },
        "required": [
          "dayOfWeek",
          "label",
          "scopeType"
        ],
        "type": "object"
      },
      "CreateInviteRequest": {
        "properties": {
          "email": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "jobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "jobFunctionId"
        ],
        "type": "object"
      },
      "CreateInvoiceAccountingExportRequest": {
        "properties": {
          "periodEnd": {
            "format": "date",
            "type": "string"
          },
          "periodStart": {
            "format": "date",
            "type": "string"
          }
        },
        "required": [
          "periodEnd",
          "periodStart"
        ],
        "type": "object"
      },
      "CreateInvoiceConfigurationTemplateRequest": {
        "properties": {
          "config": {
            "$ref": "#/components/schemas/InvoiceConfigurationTemplateConfig"
          },
          "name": {
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "config",
          "name",
          "requestId"
        ],
        "type": "object"
      },
      "CreateLotRequest": {
        "properties": {
          "dateType": {
            "type": "string"
          },
          "expirationDate": {
            "format": "date",
            "type": "string"
          },
          "inventoryEffect": {
            "type": "string"
          },
          "lotNumber": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "minimum": 1,
            "type": "integer"
          },
          "sourceReceiptId": {
            "type": "string"
          }
        },
        "required": [
          "productId",
          "quantity"
        ],
        "type": "object"
      },
      "CreateManualCouponRequest": {
        "properties": {
          "couponRequestId": {
            "format": "uuid",
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "idempotencyKey": {
            "minLength": 1,
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/ManualCouponValueKind"
          },
          "managerApprovalId": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "value": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "couponRequestId",
          "idempotencyKey",
          "kind",
          "value"
        ],
        "type": "object"
      },
      "CreateMerchantImpersonationSessionRequest": {
        "properties": {
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "targetJobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "targetUserId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "orgId",
          "reason"
        ],
        "type": "object"
      },
      "CreateNotificationRequest": {
        "properties": {
          "message": {
            "minLength": 1,
            "type": "string"
          },
          "metadata": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "title": {
            "minLength": 1,
            "type": "string"
          },
          "type": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "message",
          "title",
          "type"
        ],
        "type": "object"
      },
      "CreateOrderRequest": {
        "properties": {
          "changedBy": {
            "type": "string"
          },
          "customerName": {
            "type": "string"
          },
          "externalOrderId": {
            "minLength": 1,
            "type": "string"
          },
          "itemsJson": {
            "minLength": 1,
            "type": "string"
          },
          "placedAt": {
            "type": "string"
          },
          "platform": {
            "minLength": 1,
            "type": "string"
          },
          "storeId": {
            "minLength": 1,
            "type": "string"
          },
          "totalAmount": {
            "format": "double",
            "type": "number"
          },
          "transactionId": {
            "type": "string"
          }
        },
        "required": [
          "externalOrderId",
          "itemsJson",
          "placedAt",
          "platform",
          "storeId",
          "totalAmount"
        ],
        "type": "object"
      },
      "CreateOrgInviteRequest": {
        "properties": {
          "email": {
            "format": "email",
            "minLength": 1,
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "jobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "lastName": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "jobFunctionId"
        ],
        "type": "object"
      },
      "CreateOrgRequest": {
        "properties": {
          "agentId": {
            "format": "uuid",
            "type": "string"
          },
          "ein": {
            "minLength": 1,
            "type": "string"
          },
          "hqLocation": {
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "slug": {
            "minLength": 1,
            "type": "string"
          },
          "timeOffset": {
            "format": "int32",
            "type": "integer"
          },
          "timeZone": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "ein",
          "name",
          "slug"
        ],
        "type": "object"
      },
      "CreatePipelineRequest": {
        "properties": {
          "ein": {
            "type": "string"
          },
          "hqLocation": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "orgName": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "CreateProductRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "alwaysTaxExempt": {
            "type": "boolean"
          },
          "barcode": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "bottleDepositAmount": {
            "type": "number"
          },
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "containerQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "cost": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "ebtEligible": {
            "type": "boolean"
          },
          "imageUrl": {
            "type": "string"
          },
          "inheritCategoryAgeRestriction": {
            "type": "boolean"
          },
          "lookupSuggestionId": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "over18": {
            "type": "boolean"
          },
          "over21": {
            "type": "boolean"
          },
          "price": {
            "type": "number"
          },
          "productType": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string"
          },
          "requiresSerial": {
            "type": "boolean"
          },
          "sku": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "taxRate": {
            "deprecated": true,
            "description": "Ignored compatibility input. Category tax determines all effective and charged rates.",
            "type": "number"
          },
          "unitCostCurrency": {
            "type": "string"
          }
        },
        "required": [
          "alwaysTaxExempt",
          "barcode",
          "cost",
          "name",
          "price",
          "productType"
        ],
        "type": "object"
      },
      "CreatePromotionRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "allowsOverlap": {
            "type": "boolean"
          },
          "appliesToAllStores": {
            "type": "boolean"
          },
          "bundleComponents": {
            "items": {
              "$ref": "#/components/schemas/BundlePromotionComponentRequest"
            },
            "type": "array"
          },
          "buyQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "categoryIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "codes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "currency": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "discountValue": {
            "type": "number"
          },
          "endDate": {
            "format": "date-time",
            "type": "string"
          },
          "getQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "maxUsesPerTransaction": {
            "format": "int32",
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "productIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "promotionType": {
            "minLength": 1,
            "type": "string"
          },
          "rewardProductIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "storeIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "active",
          "allowsOverlap",
          "appliesToAllStores",
          "buyQuantity",
          "getQuantity",
          "promotionType"
        ],
        "type": "object"
      },
      "CreateRecurringInvoiceRequest": {
        "properties": {
          "cadence": {
            "minLength": 1,
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "firstRunOn": {
            "format": "date",
            "type": "string"
          },
          "templatePayload": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "cadence",
          "customerId",
          "firstRunOn",
          "templatePayload"
        ],
        "type": "object"
      },
      "CreateRecurringPaymentRequest": {
        "properties": {
          "amount": {
            "exclusiveMinimum": true,
            "minimum": 0,
            "type": "number"
          },
          "currency": {
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "schedule": {
            "minLength": 1,
            "type": "string"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "tokenId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "amount",
          "customerId",
          "schedule",
          "startDate",
          "tokenId"
        ],
        "type": "object"
      },
      "CreateReturnRequest": {
        "properties": {
          "blindReturnKind": {
            "$ref": "#/components/schemas/BlindReturnKind"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "drawerId": {
            "format": "uuid",
            "type": "string"
          },
          "gatewayInvoiceId": {
            "type": "string"
          },
          "openingSnapshotId": {
            "format": "uuid",
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "minimum": 1,
            "type": "integer"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          },
          "reasonNotes": {
            "type": "string"
          },
          "refundAmount": {
            "type": "number"
          },
          "restocked": {
            "type": "boolean"
          },
          "shiftId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "blindReturnKind",
          "productId",
          "quantity",
          "reason",
          "restocked"
        ],
        "type": "object"
      },
      "CreateRuleRequest": {
        "properties": {
          "appliesToAll": {
            "type": "boolean"
          },
          "depositAmount": {
            "format": "double",
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "CreateScheduledReportRequest": {
        "properties": {
          "configJson": {
            "type": "string"
          },
          "frequency": {
            "minLength": 1,
            "type": "string"
          },
          "recipients": {
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "type": "array"
          },
          "reportType": {
            "minLength": 1,
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "frequency",
          "recipients",
          "reportType",
          "storeId"
        ],
        "type": "object"
      },
      "CreateSerialNumberRequest": {
        "properties": {
          "notes": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "requiredForms": {
            "type": "string"
          },
          "serialNumber": {
            "minLength": 1,
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "productId",
          "serialNumber",
          "storeId"
        ],
        "type": "object"
      },
      "CreateShiftAssignedRequest": {
        "properties": {
          "breakMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "date": {
            "format": "date",
            "type": "string"
          },
          "endTime": {
            "type": "string"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "roleKey": {
            "type": "string"
          },
          "shiftBlockId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "startTime": {
            "type": "string"
          },
          "timeOffOverride": {
            "$ref": "#/components/schemas/TimeOffOverride",
            "nullable": true
          },
          "timezone": {
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "breakMinutes",
          "date",
          "endTime",
          "roleKey",
          "startTime",
          "timezone",
          "userId"
        ],
        "type": "object"
      },
      "CreateShiftBlockRequest": {
        "properties": {
          "color": {
            "minLength": 1,
            "type": "string"
          },
          "dayOfWeek": {
            "format": "int32",
            "maximum": 6,
            "minimum": 0,
            "type": "integer"
          },
          "endTime": {
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "requiredCount": {
            "format": "int32",
            "minimum": 1,
            "type": "integer"
          },
          "roleKey": {
            "minLength": 1,
            "type": "string"
          },
          "startTime": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "color",
          "dayOfWeek",
          "endTime",
          "name",
          "requiredCount",
          "roleKey",
          "startTime"
        ],
        "type": "object"
      },
      "CreateShiftPreferenceRequest": {
        "properties": {
          "dayOfWeek": {
            "format": "int32",
            "maximum": 6,
            "minimum": 0,
            "type": "integer"
          },
          "endTime": {
            "minLength": 1,
            "type": "string"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "startTime": {
            "minLength": 1,
            "type": "string"
          },
          "userId": {
            "description": "Manager create only: the store member this availability belongs to; omitted means the caller.",
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "dayOfWeek",
          "endTime",
          "priority",
          "startTime"
        ],
        "type": "object"
      },
      "CreateShiftRequestRequest": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/TimeOffShiftRequestPayload"
          },
          {
            "$ref": "#/components/schemas/AvailabilityShiftRequestPayload"
          },
          {
            "$ref": "#/components/schemas/ChangeShiftRequestPayload"
          },
          {
            "$ref": "#/components/schemas/OpenShiftRequestPayload"
          }
        ],
        "properties": {
          "endTime": {
            "nullable": true,
            "type": "string"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "requestType": {
            "type": "string"
          },
          "requestedDate": {
            "format": "date",
            "nullable": true,
            "type": "string"
          },
          "roleKey": {
            "nullable": true,
            "type": "string"
          },
          "shiftBlockId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "startTime": {
            "nullable": true,
            "type": "string"
          },
          "targetOccurrenceRef": {
            "nullable": true,
            "type": "string"
          },
          "timeOff": {
            "$ref": "#/components/schemas/TimeOffDetails",
            "nullable": true
          }
        },
        "required": [
          "requestType"
        ],
        "type": "object"
      },
      "CreateShiftSeriesRequest": {
        "properties": {
          "rule": {
            "$ref": "#/components/schemas/ShiftRule"
          },
          "timeOffOverride": {
            "$ref": "#/components/schemas/TimeOffOverride",
            "nullable": true
          }
        },
        "required": [
          "rule"
        ],
        "type": "object"
      },
      "CreateStationItemRequest": {
        "properties": {
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "productId",
          "role",
          "storeId"
        ],
        "type": "object"
      },
      "CreateStationRequest": {
        "properties": {
          "alertTone": {
            "maxLength": 64,
            "minLength": 0,
            "type": "string"
          },
          "displayColor": {
            "maxLength": 16,
            "minLength": 0,
            "pattern": "^#[0-9a-fA-F]{6}$",
            "type": "string"
          },
          "dwellThresholdSeconds": {
            "format": "int32",
            "minimum": 30.0,
            "type": "integer"
          },
          "name": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "sortOrder": {
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "name",
          "storeId"
        ],
        "type": "object"
      },
      "CreateStockTransferRequest": {
        "properties": {
          "fromStoreId": {
            "format": "uuid",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/TransferItem"
            },
            "maxItems": 100,
            "minItems": 1,
            "type": "array"
          },
          "notes": {
            "type": "string"
          },
          "toStoreId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "fromStoreId",
          "items",
          "toStoreId"
        ],
        "type": "object"
      },
      "CreateStoreGatewayRequest": {
        "properties": {
          "addressZip": {
            "type": "string"
          },
          "businessName": {
            "type": "string"
          },
          "contactEmail": {
            "type": "string"
          },
          "contactPhone": {
            "type": "string"
          },
          "dba": {
            "type": "string"
          },
          "existingMerchantId": {
            "type": "string"
          },
          "industryType": {
            "type": "string"
          },
          "mode": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "mode"
        ],
        "type": "object"
      },
      "CreateStoreRequest": {
        "properties": {
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "cardSurchargePercent": {
            "type": "number"
          },
          "city": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "dualPricingEnabled": {
            "type": "boolean"
          },
          "fnsNumber": {
            "type": "string"
          },
          "gateway": {
            "$ref": "#/components/schemas/CreateStoreGatewayRequest"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "rcn": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "zipCode": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "CreateSuperAdminRequest": {
        "properties": {
          "deliveryId": {
            "format": "uuid",
            "type": "string"
          },
          "email": {
            "format": "email",
            "minLength": 1,
            "type": "string"
          },
          "firstName": {
            "minLength": 1,
            "type": "string"
          },
          "lastName": {
            "minLength": 1,
            "type": "string"
          },
          "product": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "firstName",
          "lastName"
        ],
        "type": "object"
      },
      "CreateSupplierRequest": {
        "properties": {
          "address": {
            "type": "string"
          },
          "contactEmail": {
            "format": "email",
            "type": "string"
          },
          "contactPhone": {
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "paymentTerms": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "CreateTaxConfigRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "appliesToCategory": {
            "type": "string"
          },
          "effectiveFrom": {
            "type": "string"
          },
          "effectiveTo": {
            "type": "string"
          },
          "jurisdictionCode": {
            "type": "string"
          },
          "jurisdictionName": {
            "type": "string"
          },
          "jurisdictionType": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "rateAmountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "rateBps": {
            "format": "int32",
            "type": "integer"
          },
          "rateType": {
            "type": "string"
          },
          "taxBasis": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "CreateTriggerRequest": {
        "properties": {
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "threshold": {
            "exclusiveMinimum": true,
            "format": "double",
            "minimum": 0,
            "type": "number"
          },
          "triggerType": {
            "$ref": "#/components/schemas/TriggerType"
          }
        },
        "required": [
          "threshold",
          "triggerType"
        ],
        "type": "object"
      },
      "CreateUpsellRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "minTriggerQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "scriptText": {
            "type": "string"
          },
          "suggestedProductId": {
            "format": "uuid",
            "type": "string"
          },
          "triggerProductId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "active",
          "minTriggerQuantity",
          "priority",
          "suggestedProductId",
          "triggerProductId"
        ],
        "type": "object"
      },
      "CreditNoteDetailResponse": {
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "creditNoteNumber": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "issueDate": {
            "format": "date",
            "type": "string"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/CreditNoteLineResponse"
            },
            "type": "array"
          },
          "notes": {
            "type": "string"
          },
          "originalInvoiceId": {
            "format": "uuid",
            "type": "string"
          },
          "subtotal": {
            "$ref": "#/components/schemas/InvoiceMoney"
          },
          "taxTotal": {
            "$ref": "#/components/schemas/InvoiceMoney"
          },
          "total": {
            "$ref": "#/components/schemas/InvoiceMoney"
          }
        },
        "required": [
          "createdAt",
          "creditNoteNumber",
          "id",
          "issueDate",
          "lines",
          "originalInvoiceId",
          "subtotal",
          "taxTotal",
          "total"
        ],
        "type": "object"
      },
      "CreditNoteLineResponse": {
        "properties": {
          "description": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "lineTotal": {
            "$ref": "#/components/schemas/InvoiceMoney"
          },
          "originalInvoiceLineId": {
            "format": "uuid",
            "type": "string"
          },
          "position": {
            "format": "int32",
            "type": "integer"
          },
          "quantity": {
            "type": "number"
          },
          "taxAmount": {
            "$ref": "#/components/schemas/InvoiceMoney"
          },
          "taxRate": {
            "type": "number"
          },
          "unitPrice": {
            "$ref": "#/components/schemas/InvoiceMoney"
          }
        },
        "required": [
          "description",
          "id",
          "lineTotal",
          "position",
          "quantity",
          "taxAmount",
          "taxRate",
          "unitPrice"
        ],
        "type": "object"
      },
      "CreditNoteListResponse": {
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "creditNoteNumber": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "issueDate": {
            "format": "date",
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "originalInvoiceId": {
            "format": "uuid",
            "type": "string"
          },
          "total": {
            "$ref": "#/components/schemas/InvoiceMoney"
          }
        },
        "required": [
          "createdAt",
          "creditNoteNumber",
          "id",
          "issueDate",
          "originalInvoiceId",
          "total"
        ],
        "type": "object"
      },
      "CreditNoteResponse": {
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "creditNoteNumber": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "issueDate": {
            "format": "date",
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "originalInvoiceId": {
            "format": "uuid",
            "type": "string"
          },
          "subtotal": {
            "$ref": "#/components/schemas/InvoiceMoney"
          },
          "taxTotal": {
            "$ref": "#/components/schemas/InvoiceMoney"
          },
          "total": {
            "$ref": "#/components/schemas/InvoiceMoney"
          }
        },
        "required": [
          "createdAt",
          "creditNoteNumber",
          "id",
          "issueDate",
          "originalInvoiceId",
          "subtotal",
          "taxTotal",
          "total"
        ],
        "type": "object"
      },
      "CurrentExpiryAlertResponse": {
        "properties": {
          "acknowledgedAt": {
            "format": "date-time",
            "type": "string"
          },
          "alertId": {
            "format": "uuid",
            "type": "string"
          },
          "barcode": {
            "type": "string"
          },
          "bucket": {
            "type": "string"
          },
          "dateType": {
            "type": "string"
          },
          "daysRemaining": {
            "format": "int32",
            "type": "integer"
          },
          "expirationDate": {
            "format": "date",
            "type": "string"
          },
          "lotId": {
            "format": "uuid",
            "type": "string"
          },
          "lotNumber": {
            "type": "string"
          },
          "mandatoryRemoval": {
            "type": "boolean"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "triggeredAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "alertId",
          "bucket",
          "daysRemaining",
          "expirationDate",
          "lotId",
          "lotNumber",
          "mandatoryRemoval",
          "productId",
          "productName",
          "storeId",
          "triggeredAt"
        ],
        "type": "object"
      },
      "CustomFieldAdminAssetTypeResponse": {
        "properties": {
          "archivedAt": {
            "format": "date-time",
            "type": "string"
          },
          "askInPublicBooking": {
            "type": "boolean"
          },
          "displayFieldKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "pluralLabel": {
            "type": "string"
          }
        },
        "required": [
          "askInPublicBooking",
          "displayFieldKeys",
          "id",
          "label",
          "pluralLabel"
        ],
        "type": "object"
      },
      "CustomFieldAdminDefinitionResponse": {
        "properties": {
          "archivedAt": {
            "format": "date-time",
            "type": "string"
          },
          "assetTypeId": {
            "format": "uuid",
            "type": "string"
          },
          "entityType": {
            "type": "string"
          },
          "fieldType": {
            "type": "string"
          },
          "helpText": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "options": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "required": {
            "type": "boolean"
          },
          "searchable": {
            "type": "boolean"
          },
          "serviceIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "showInPublicBooking": {
            "type": "boolean"
          },
          "sortOrder": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "entityType",
          "fieldType",
          "id",
          "key",
          "label",
          "options",
          "required",
          "searchable",
          "serviceIds",
          "showInPublicBooking",
          "sortOrder"
        ],
        "type": "object"
      },
      "CustomFieldAdminSchemaResponse": {
        "properties": {
          "assetTypes": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldAdminAssetTypeResponse"
            },
            "type": "array"
          },
          "definitions": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldAdminDefinitionResponse"
            },
            "type": "array"
          }
        },
        "required": [
          "assetTypes",
          "definitions"
        ],
        "type": "object"
      },
      "CustomFieldAdminServiceOptionResponse": {
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "storeId",
          "storeName"
        ],
        "type": "object"
      },
      "CustomFieldAssetTypeResponse": {
        "properties": {
          "archived": {
            "type": "boolean"
          },
          "askInPublicBooking": {
            "type": "boolean"
          },
          "displayFieldKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "pluralLabel": {
            "type": "string"
          }
        },
        "required": [
          "archived",
          "askInPublicBooking",
          "displayFieldKeys",
          "id",
          "label",
          "pluralLabel"
        ],
        "type": "object"
      },
      "CustomFieldDefinitionResponse": {
        "properties": {
          "assetTypeId": {
            "format": "uuid",
            "type": "string"
          },
          "entityType": {
            "type": "string"
          },
          "fieldType": {
            "type": "string"
          },
          "helpText": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "options": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "required": {
            "type": "boolean"
          },
          "searchable": {
            "type": "boolean"
          },
          "serviceIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "showInPublicBooking": {
            "type": "boolean"
          },
          "sortOrder": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "entityType",
          "fieldType",
          "id",
          "key",
          "label",
          "options",
          "required",
          "searchable",
          "serviceIds",
          "showInPublicBooking",
          "sortOrder"
        ],
        "type": "object"
      },
      "CustomFieldSchemaResponse": {
        "properties": {
          "assetTypes": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldAssetTypeResponse"
            },
            "type": "array"
          },
          "definitions": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldDefinitionResponse"
            },
            "type": "array"
          }
        },
        "required": [
          "assetTypes",
          "definitions"
        ],
        "type": "object"
      },
      "CustomFieldSettingsAssetTypeResponse": {
        "properties": {
          "archivedAt": {
            "format": "date-time",
            "type": "string"
          },
          "askInPublicBooking": {
            "type": "boolean"
          },
          "displayFieldKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "pluralLabel": {
            "type": "string"
          }
        },
        "required": [
          "askInPublicBooking",
          "displayFieldKeys",
          "id",
          "label",
          "pluralLabel"
        ],
        "type": "object"
      },
      "CustomFieldSettingsDefinitionResponse": {
        "properties": {
          "archivedAt": {
            "format": "date-time",
            "type": "string"
          },
          "assetTypeId": {
            "format": "uuid",
            "type": "string"
          },
          "entityType": {
            "type": "string"
          },
          "fieldType": {
            "type": "string"
          },
          "helpText": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "options": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "required": {
            "type": "boolean"
          },
          "searchable": {
            "type": "boolean"
          },
          "serviceIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "showInPublicBooking": {
            "type": "boolean"
          },
          "sortOrder": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "entityType",
          "fieldType",
          "id",
          "key",
          "label",
          "options",
          "required",
          "searchable",
          "serviceIds",
          "showInPublicBooking",
          "sortOrder"
        ],
        "type": "object"
      },
      "CustomFieldSettingsSchemaResponse": {
        "properties": {
          "assetTypes": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldSettingsAssetTypeResponse"
            },
            "type": "array"
          },
          "definitions": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldSettingsDefinitionResponse"
            },
            "type": "array"
          }
        },
        "required": [
          "assetTypes",
          "definitions"
        ],
        "type": "object"
      },
      "CustomFieldSettingsServiceOptionResponse": {
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "storeId",
          "storeName"
        ],
        "type": "object"
      },
      "CustomFieldValueResponse": {
        "properties": {
          "definitionId": {
            "format": "uuid",
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "definitionId",
          "key",
          "value"
        ],
        "type": "object"
      },
      "CustomFieldValuesRequest": {
        "properties": {
          "values": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "required": [
          "values"
        ],
        "type": "object"
      },
      "CustomerAnalyticsResponse": {
        "properties": {
          "averageTicket": {
            "type": "number"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "endDate": {
            "format": "date",
            "type": "string"
          },
          "firstVisitAt": {
            "format": "date-time",
            "type": "string"
          },
          "lastVisitAt": {
            "format": "date-time",
            "type": "string"
          },
          "pointsBalance": {
            "format": "int32",
            "type": "integer"
          },
          "pointsEarned": {
            "format": "int32",
            "type": "integer"
          },
          "pointsRedeemed": {
            "format": "int32",
            "type": "integer"
          },
          "refundCount": {
            "format": "int64",
            "type": "integer"
          },
          "refundTotal": {
            "type": "number"
          },
          "startDate": {
            "format": "date",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "totalSpend": {
            "type": "number"
          },
          "visitCount": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "averageTicket",
          "customerId",
          "endDate",
          "pointsBalance",
          "pointsEarned",
          "pointsRedeemed",
          "refundCount",
          "refundTotal",
          "startDate",
          "totalSpend",
          "visitCount"
        ],
        "type": "object"
      },
      "CustomerAssetResponse": {
        "properties": {
          "assetTypeId": {
            "format": "uuid",
            "type": "string"
          },
          "assetTypeLabel": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "retiredAt": {
            "format": "date-time",
            "type": "string"
          },
          "retiredReason": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "values": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldValueResponse"
            },
            "type": "array"
          }
        },
        "required": [
          "assetTypeId",
          "assetTypeLabel",
          "createdAt",
          "customerId",
          "displayName",
          "id",
          "status",
          "values"
        ],
        "type": "object"
      },
      "CustomerIdentifierResponse": {
        "properties": {
          "type": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "value"
        ],
        "type": "object"
      },
      "CustomerImportMultipartRequest": {
        "properties": {
          "file": {
            "description": "CSV or XLSX file containing customers to import",
            "format": "binary",
            "type": "string"
          }
        },
        "required": [
          "file"
        ],
        "type": "object"
      },
      "CustomerLink": {
        "properties": {
          "customerId": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          }
        },
        "required": [
          "customerId"
        ],
        "type": "object"
      },
      "CustomerLoyaltyResponse": {
        "properties": {
          "currentTierId": {
            "type": "string"
          },
          "currentTierName": {
            "type": "string"
          },
          "customerId": {
            "type": "string"
          },
          "points": {
            "format": "int32",
            "type": "integer"
          },
          "pointsHistory": {
            "items": {
              "$ref": "#/components/schemas/PointTransactionResponse"
            },
            "type": "array"
          },
          "storeBalances": {
            "items": {
              "$ref": "#/components/schemas/LoyaltyStoreBalanceResponse"
            },
            "type": "array"
          }
        },
        "required": [
          "customerId",
          "points",
          "pointsHistory",
          "storeBalances"
        ],
        "type": "object"
      },
      "CustomerPaymentProfileSetupLinkResponse": {
        "properties": {
          "status": {
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "CustomerPickerResponse": {
        "properties": {
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "gatewaySynced": {
            "type": "boolean"
          },
          "loyaltyEnrolledAt": {
            "format": "date-time",
            "type": "string"
          },
          "loyaltyId": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "points": {
            "format": "int32",
            "type": "integer"
          },
          "spendablePoints": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "customerId",
          "displayName",
          "gatewaySynced",
          "points",
          "spendablePoints"
        ],
        "type": "object"
      },
      "CustomerReportResponse": {
        "properties": {
          "endDate": {
            "format": "date",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "page": {
            "format": "int32",
            "type": "integer"
          },
          "reportType": {
            "$ref": "#/components/schemas/CustomerReportType"
          },
          "rewardThreshold": {
            "format": "int32",
            "type": "integer"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/CustomerReportRow"
            },
            "type": "array"
          },
          "size": {
            "format": "int32",
            "type": "integer"
          },
          "startDate": {
            "format": "date",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "totalPages": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "endDate",
          "orgId",
          "page",
          "reportType",
          "rows",
          "size",
          "startDate",
          "total",
          "totalPages"
        ],
        "type": "object"
      },
      "CustomerReportRow": {
        "properties": {
          "averageDaysBetweenVisits": {
            "type": "number"
          },
          "averageSpendPerVisit": {
            "type": "number"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "dateOfBirth": {
            "format": "date",
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "emailMarketingConsented": {
            "type": "boolean"
          },
          "firstVisitAt": {
            "format": "date-time",
            "type": "string"
          },
          "lastVisitAt": {
            "format": "date-time",
            "type": "string"
          },
          "lastVisitStoreId": {
            "format": "uuid",
            "type": "string"
          },
          "lastVisitStoreName": {
            "type": "string"
          },
          "lastVisitTimeZone": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "pointsBalance": {
            "format": "int32",
            "type": "integer"
          },
          "pointsEarned": {
            "format": "int32",
            "type": "integer"
          },
          "pointsRedeemed": {
            "format": "int32",
            "type": "integer"
          },
          "rewardThreshold": {
            "format": "int32",
            "type": "integer"
          },
          "smsMarketingConsented": {
            "type": "boolean"
          },
          "totalSpend": {
            "type": "number"
          },
          "visitCount": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "averageDaysBetweenVisits",
          "averageSpendPerVisit",
          "customerId",
          "displayName",
          "emailMarketingConsented",
          "pointsBalance",
          "pointsEarned",
          "pointsRedeemed",
          "smsMarketingConsented",
          "totalSpend",
          "visitCount"
        ],
        "type": "object"
      },
      "CustomerReportType": {
        "enum": [
          "NEW_CUSTOMERS",
          "RETURNING_CUSTOMERS",
          "LAST_VISIT",
          "VISIT_FREQUENCY",
          "AVERAGE_DAYS_BETWEEN_VISITS",
          "TOP_CUSTOMERS",
          "CUSTOMER_LIFETIME_VALUE",
          "AVERAGE_SPEND_PER_VISIT",
          "HIGHEST_SPENDING_CUSTOMERS",
          "WIN_BACK_30",
          "WIN_BACK_60",
          "WIN_BACK_90",
          "INACTIVE_CUSTOMERS",
          "LOST_CUSTOMERS",
          "AT_RISK_CUSTOMERS",
          "LOYALTY_MEMBERS",
          "HIGHEST_LOYALTY_POINTS",
          "POINTS_EARNED_VS_REDEEMED",
          "CUSTOMERS_NEAR_REWARD_THRESHOLD",
          "BIRTHDAYS",
          "MISSING_EMAIL",
          "MISSING_PHONE",
          "EMAIL_MARKETING_LIST",
          "SMS_MARKETING_LIST",
          "MARKETING_LISTS"
        ],
        "type": "string"
      },
      "CustomerResponse": {
        "properties": {
          "archivedAt": {
            "format": "date-time",
            "type": "string"
          },
          "billingAddress": {
            "type": "string"
          },
          "businessName": {
            "description": "Business identity when present; personal first and last names remain the contact.",
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdSource": {
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "dateOfBirth": {
            "format": "date",
            "type": "string"
          },
          "defaultCurrency": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "gatewayCustomerId": {
            "type": "string"
          },
          "gatewaySynced": {
            "type": "boolean"
          },
          "lastName": {
            "type": "string"
          },
          "licenseExpiry": {
            "format": "date",
            "type": "string"
          },
          "licenseNumber": {
            "type": "string"
          },
          "licenseState": {
            "type": "string"
          },
          "loyaltyEnrolledAt": {
            "format": "date-time",
            "type": "string"
          },
          "loyaltyId": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "paymentTerms": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "points": {
            "format": "int32",
            "type": "integer"
          },
          "spendablePoints": {
            "format": "int32",
            "type": "integer"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "warnings": {
            "description": "Non-blocking customer creation notices, including skipped opening points.",
            "items": {
              "description": "Non-blocking customer creation notices, including skipped opening points.",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "gatewaySynced",
          "points",
          "spendablePoints"
        ],
        "type": "object"
      },
      "CustomerSegment": {
        "properties": {
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "segment": {
            "type": "string"
          }
        },
        "required": [
          "count",
          "segment"
        ],
        "type": "object"
      },
      "CycleCountScopeType": {
        "enum": [
          "FULL",
          "CATEGORY",
          "BRAND",
          "LOCATION"
        ],
        "type": "string"
      },
      "DailyBriefCount": {
        "properties": {
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "DailyBriefRefunds": {
        "properties": {
          "anomalySeverity": {
            "type": "string"
          },
          "baselineRate": {
            "type": "number"
          },
          "currentRate": {
            "type": "number"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "DailyBriefResponse": {
        "properties": {
          "stores": {
            "items": {
              "$ref": "#/components/schemas/DailyBriefStore"
            },
            "type": "array"
          }
        },
        "required": [
          "stores"
        ],
        "type": "object"
      },
      "DailyBriefSales": {
        "properties": {
          "anomalySeverity": {
            "type": "string"
          },
          "day": {
            "type": "string"
          },
          "deviationPercent": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "total": {
            "type": "number"
          },
          "trailingAverage": {
            "type": "number"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "DailyBriefStore": {
        "properties": {
          "currency": {
            "type": "string"
          },
          "lowStock": {
            "$ref": "#/components/schemas/DailyBriefCount"
          },
          "outOfStock": {
            "$ref": "#/components/schemas/DailyBriefCount"
          },
          "pendingReorderApprovals": {
            "$ref": "#/components/schemas/DailyBriefCount"
          },
          "projectedStockout": {
            "$ref": "#/components/schemas/DailyBriefCount"
          },
          "refunds": {
            "$ref": "#/components/schemas/DailyBriefRefunds"
          },
          "sales": {
            "$ref": "#/components/schemas/DailyBriefSales"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          }
        },
        "required": [
          "currency",
          "lowStock",
          "outOfStock",
          "pendingReorderApprovals",
          "projectedStockout",
          "refunds",
          "sales",
          "storeId",
          "storeName",
          "timezone"
        ],
        "type": "object"
      },
      "DailyBriefSubscriptionRequest": {
        "properties": {
          "enabled": {
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "type": "object"
      },
      "DailyBriefSubscriptionResponse": {
        "properties": {
          "email": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "type": "object"
      },
      "DailySalesResponse": {
        "properties": {
          "date": {
            "format": "date",
            "type": "string"
          },
          "netSales": {
            "description": "totalSales minus refundTotal for this store-local date.",
            "type": "number"
          },
          "refundTotal": {
            "description": "Refunds completed on this store-local date, as a positive amount.",
            "type": "number"
          },
          "totalSales": {
            "description": "Gross sales made on this store-local date. A later refund never reduces it.",
            "type": "number"
          },
          "transactionCount": {
            "description": "Number of sales made on this store-local date.",
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "netSales",
          "refundTotal",
          "transactionCount"
        ],
        "type": "object"
      },
      "DashboardResponse": {
        "properties": {
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "kpis": {
            "$ref": "#/components/schemas/KpisResponse"
          },
          "needsAttention": {
            "items": {
              "$ref": "#/components/schemas/NeedsAttentionResponse"
            },
            "type": "array"
          },
          "recentActivity": {
            "items": {
              "$ref": "#/components/schemas/RecentActivityResponse"
            },
            "type": "array"
          },
          "source": {
            "type": "string"
          },
          "upstream": {
            "type": "string"
          }
        },
        "required": [
          "generatedAt",
          "kpis",
          "needsAttention",
          "recentActivity",
          "source",
          "upstream"
        ],
        "type": "object"
      },
      "DateField": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FormField"
          }
        ],
        "required": [
          "id",
          "label",
          "required",
          "sensitive"
        ],
        "type": "object"
      },
      "DayOfWeekName": {
        "enum": [
          "MONDAY",
          "TUESDAY",
          "WEDNESDAY",
          "THURSDAY",
          "FRIDAY",
          "SATURDAY",
          "SUNDAY"
        ],
        "type": "string"
      },
      "DeadStockItem": {
        "properties": {
          "costValue": {
            "type": "number"
          },
          "daysWithoutSale": {
            "format": "int64",
            "type": "integer"
          },
          "lastReceivedDate": {
            "format": "date-time",
            "type": "string"
          },
          "lastSaleDate": {
            "format": "date-time",
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "retailValue": {
            "type": "number"
          },
          "units": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "costValue",
          "daysWithoutSale",
          "productId",
          "retailValue",
          "units"
        ],
        "type": "object"
      },
      "DeadStockReport": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/DeadStockItem"
            },
            "type": "array"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "totalCostValue": {
            "type": "number"
          }
        },
        "required": [
          "items",
          "storeId",
          "totalCostValue"
        ],
        "type": "object"
      },
      "DecideInventoryCountApprovalRequest": {
        "properties": {
          "notes": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "DeleteCommandRequest": {
        "properties": {
          "clientCommandId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "clientCommandId"
        ],
        "type": "object"
      },
      "DeletePipelineRequest": {
        "properties": {
          "confirm": {
            "type": "boolean"
          }
        },
        "required": [
          "confirm"
        ],
        "type": "object"
      },
      "DeleteProductResponse": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/ProductDeletionStatus"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "DeleteShiftSeriesResponse": {
        "properties": {
          "conflicts": {
            "items": {
              "$ref": "#/components/schemas/ScheduleConflict"
            },
            "type": "array"
          },
          "endedSeriesId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "conflicts",
          "endedSeriesId"
        ],
        "type": "object"
      },
      "DemoOrgResponse": {
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          },
          "gatewayAuthorizationStatus": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "vertical": {
            "$ref": "#/components/schemas/DemoVertical"
          }
        },
        "required": [
          "vertical"
        ],
        "type": "object"
      },
      "DemoVertical": {
        "enum": [
          "CONVENIENCE_STORE",
          "SMOKE_SHOP",
          "BEAUTY_SALON",
          "PROFESSIONAL_SERVICES",
          "GENERAL_RETAIL"
        ],
        "type": "string"
      },
      "DepositLedgerResponse": {
        "properties": {
          "containerQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "containersPerSoldUnit": {
            "format": "int32",
            "type": "integer"
          },
          "createdAt": {
            "type": "string"
          },
          "depositPerContainer": {
            "type": "string"
          },
          "entryId": {
            "format": "uuid",
            "type": "string"
          },
          "entryType": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "ruleId": {
            "format": "uuid",
            "type": "string"
          },
          "ruleName": {
            "type": "string"
          },
          "soldQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "totalDepositAmount": {
            "type": "string"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          },
          "transactionLabel": {
            "type": "string"
          }
        },
        "required": [
          "containerQuantity",
          "containersPerSoldUnit",
          "createdAt",
          "depositPerContainer",
          "entryId",
          "entryType",
          "productId",
          "ruleId",
          "soldQuantity",
          "totalDepositAmount",
          "transactionId"
        ],
        "type": "object"
      },
      "DepositReportResponse": {
        "properties": {
          "collected": {
            "$ref": "#/components/schemas/ReportEntry"
          },
          "net": {
            "type": "string"
          },
          "redeemed": {
            "$ref": "#/components/schemas/ReportEntry"
          }
        },
        "required": [
          "collected",
          "net",
          "redeemed"
        ],
        "type": "object"
      },
      "DepositRuleResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "appliesToAll": {
            "type": "boolean"
          },
          "depositAmount": {
            "format": "double",
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "ruleId": {
            "format": "uuid",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "active",
          "appliesToAll",
          "depositAmount",
          "name",
          "ruleId",
          "storeId"
        ],
        "type": "object"
      },
      "DestinationStore": {
        "properties": {
          "name": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "name",
          "storeId"
        ],
        "type": "object"
      },
      "DeviceCommandType": {
        "enum": [
          "RESTART_DEVICE",
          "APP_RESTART",
          "FORCE_LOGOUT",
          "REVALIDATE_PAYMENT_DEVICE"
        ],
        "type": "string"
      },
      "DeviceFleetEntry": {
        "properties": {
          "activeFcmTokenCount": {
            "format": "int32",
            "type": "integer"
          },
          "certExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "deviceManufacturer": {
            "type": "string"
          },
          "deviceModel": {
            "type": "string"
          },
          "diagnostics": {
            "$ref": "#/components/schemas/ManagementDeviceDiagnosticsResponse"
          },
          "hasActiveFcmToken": {
            "type": "boolean"
          },
          "incomeSource": {
            "type": "string"
          },
          "isOnline": {
            "type": "boolean"
          },
          "lastSeen": {
            "format": "date-time",
            "type": "string"
          },
          "managementProvider": {
            "type": "string"
          },
          "onboardingTokenExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "onboardingTokenStatus": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "serialNumber": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "tapToPayProvider": {
            "type": "string"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalName": {
            "type": "string"
          }
        },
        "required": [
          "activeFcmTokenCount",
          "hasActiveFcmToken",
          "isOnline",
          "terminalId"
        ],
        "type": "object"
      },
      "DeviceLineResponse": {
        "properties": {
          "defaultPriceCents": {
            "format": "int64",
            "type": "integer"
          },
          "deviceModel": {
            "type": "string"
          },
          "effectivePriceCents": {
            "format": "int64",
            "type": "integer"
          },
          "isFirstDevice": {
            "type": "boolean"
          },
          "overridePriceCents": {
            "format": "int64",
            "type": "integer"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalName": {
            "type": "string"
          },
          "tierDisplayName": {
            "type": "string"
          },
          "tierKey": {
            "type": "string"
          }
        },
        "required": [
          "defaultPriceCents",
          "effectivePriceCents",
          "isFirstDevice",
          "terminalId",
          "tierKey"
        ],
        "type": "object"
      },
      "DeviceTokenResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "appFamily": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "deviceInfo": {
            "type": "string"
          },
          "permissionState": {
            "type": "string"
          },
          "platform": {
            "type": "string"
          },
          "provider": {
            "type": "string"
          },
          "registrationGeneration": {
            "type": "string"
          },
          "tokenId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "active"
        ],
        "type": "object"
      },
      "DeviceType": {
        "enum": [
          "Nexgo",
          "Landi",
          "Android",
          "IOS",
          "N62",
          "N92",
          "TapToPay"
        ],
        "type": "string"
      },
      "DisplayValue": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/DisplayValue"
            },
            "type": "array"
          },
          "text": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/DisplayValueType"
          }
        },
        "required": [
          "items",
          "type"
        ],
        "type": "object"
      },
      "DisplayValueType": {
        "enum": [
          "TEXT",
          "NUMBER",
          "BOOLEAN",
          "LIST",
          "EMPTY"
        ],
        "type": "string"
      },
      "DocumentTemplateActivationResponse": {
        "properties": {
          "template": {
            "$ref": "#/components/schemas/InvoiceTemplateResponse"
          },
          "thermalReceipt": {
            "$ref": "#/components/schemas/ReceiptTemplateConfigResponse"
          }
        },
        "required": [
          "template"
        ],
        "type": "object"
      },
      "DrawerResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string"
          },
          "drawerId": {
            "format": "uuid",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "overrideThreshold": {
            "type": "number"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          }
        },
        "required": [
          "active",
          "createdAt",
          "drawerId",
          "orgId",
          "overrideThreshold",
          "storeId",
          "terminalId",
          "updatedAt"
        ],
        "type": "object"
      },
      "EligibleOwnerResponse": {
        "properties": {
          "displayName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "displayName",
          "userId"
        ],
        "type": "object"
      },
      "EmailField": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FormField"
          }
        ],
        "required": [
          "id",
          "label",
          "required",
          "sensitive"
        ],
        "type": "object"
      },
      "EmailReceiptRequest": {
        "properties": {
          "date": {
            "format": "date",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/ReceiptItemRequest"
            },
            "type": "array"
          },
          "loyaltyDiscountAmount": {
            "type": "string"
          },
          "loyaltyPointsRedeemed": {
            "format": "int32",
            "type": "integer"
          },
          "loyaltyRewardName": {
            "type": "string"
          },
          "storeName": {
            "type": "string"
          },
          "subtotal": {
            "type": "string"
          },
          "tax": {
            "type": "string"
          },
          "total": {
            "type": "string"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "EmployeeCapabilitiesResponse": {
        "properties": {
          "managePay": {
            "type": "boolean"
          },
          "manageTeam": {
            "type": "boolean"
          },
          "viewPay": {
            "type": "boolean"
          },
          "viewTeam": {
            "type": "boolean"
          }
        },
        "required": [
          "managePay",
          "manageTeam",
          "viewPay",
          "viewTeam"
        ],
        "type": "object"
      },
      "EmployeeDepartmentResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "departmentId": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "active",
          "departmentId",
          "name"
        ],
        "type": "object"
      },
      "EmployeeJobFunctionColor": {
        "enum": [
          "blue",
          "orange",
          "green",
          "purple",
          "pink",
          "yellow",
          "slate"
        ],
        "type": "string"
      },
      "EmployeeJobFunctionColorRequest": {
        "properties": {
          "color": {
            "$ref": "#/components/schemas/EmployeeJobFunctionColor"
          }
        },
        "required": [
          "color"
        ],
        "type": "object"
      },
      "EmployeeJobFunctionColorResponse": {
        "properties": {
          "color": {
            "$ref": "#/components/schemas/EmployeeJobFunctionColor"
          },
          "roleKey": {
            "type": "string"
          },
          "roleName": {
            "type": "string"
          }
        },
        "required": [
          "color",
          "roleKey",
          "roleName"
        ],
        "type": "object"
      },
      "EmployeePayRateResponse": {
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdBy": {
            "format": "uuid",
            "type": "string"
          },
          "effectiveFrom": {
            "format": "date",
            "type": "string"
          },
          "hourlyRateCents": {
            "format": "int64",
            "type": "integer"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "overtimeRateCents": {
            "format": "int64",
            "type": "integer"
          },
          "rateId": {
            "format": "uuid",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "createdBy",
          "effectiveFrom",
          "hourlyRateCents",
          "orgId",
          "rateId",
          "userId"
        ],
        "type": "object"
      },
      "EmployeeProfileResponse": {
        "properties": {
          "addressLine1": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "departmentId": {
            "format": "uuid",
            "type": "string"
          },
          "departmentName": {
            "type": "string"
          },
          "emergencyContactName": {
            "type": "string"
          },
          "emergencyContactPhone": {
            "type": "string"
          },
          "employmentType": {
            "type": "string"
          },
          "joiningDate": {
            "format": "date",
            "type": "string"
          },
          "mobile": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "publicBookingPhotoUrl": {
            "nullable": true,
            "type": "string"
          },
          "publicBookingTitle": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "userId"
        ],
        "type": "object"
      },
      "EnrollmentTrend": {
        "properties": {
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "date": {
            "type": "string"
          },
          "method": {
            "type": "string"
          }
        },
        "required": [
          "count",
          "date",
          "method"
        ],
        "type": "object"
      },
      "ErrorDetails": {
        "type": "object"
      },
      "ErrorInfo": {
        "properties": {
          "code": {
            "type": "string"
          },
          "correlationId": {
            "nullable": true,
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ScheduleErrorDetails"
              },
              {
                "$ref": "#/components/schemas/GatewayErrorDetails"
              }
            ],
            "nullable": true
          },
          "fieldErrors": {
            "additionalProperties": {
              "nullable": true,
              "type": "string"
            },
            "nullable": true,
            "type": "object"
          },
          "gatewayErrorCode": {
            "nullable": true,
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "retryable": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "ExecuteCashCommandRequest": {
        "properties": {
          "managerApprovalId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ExpectedPaymentDeviceLinkDto": {
        "properties": {
          "endpointHost": {
            "type": "string"
          },
          "endpointPort": {
            "format": "int32",
            "type": "integer"
          },
          "paymentDeviceConnectionMode": {
            "type": "string"
          },
          "paymentDeviceKind": {
            "type": "string"
          },
          "paymentDeviceSerialNumber": {
            "type": "string"
          },
          "routingKey": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "ExpiryAlertResponse": {
        "properties": {
          "acknowledgedAt": {
            "format": "date-time",
            "type": "string"
          },
          "alertId": {
            "format": "uuid",
            "type": "string"
          },
          "alertType": {
            "type": "string"
          },
          "lotId": {
            "format": "uuid",
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "thresholdDays": {
            "format": "int32",
            "type": "integer"
          },
          "triggeredAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "alertId",
          "alertType",
          "lotId",
          "productId",
          "storeId",
          "thresholdDays",
          "triggeredAt"
        ],
        "type": "object"
      },
      "ExtendAppointmentRequest": {
        "properties": {
          "endAt": {
            "format": "date-time",
            "type": "string"
          },
          "expectedEndAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "endAt",
          "expectedEndAt"
        ],
        "type": "object"
      },
      "FeatureCompatibilityResponse": {
        "properties": {
          "detail": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "detail",
          "key",
          "source",
          "status"
        ],
        "type": "object"
      },
      "FeatureDecisionResponse": {
        "properties": {
          "denialReason": {
            "type": "string"
          },
          "featureKey": {
            "type": "string"
          },
          "granted": {
            "type": "boolean"
          },
          "moduleKey": {
            "type": "string"
          },
          "productKey": {
            "type": "string"
          }
        },
        "required": [
          "featureKey",
          "granted",
          "productKey"
        ],
        "type": "object"
      },
      "FeatureDenialResponse": {
        "properties": {
          "detail": {
            "type": "string"
          },
          "featureKey": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "featureKey",
          "reason"
        ],
        "type": "object"
      },
      "FeatureModeResponse": {
        "properties": {
          "enabledModules": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "key": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeOverrideApplied": {
            "type": "boolean"
          }
        },
        "required": [
          "enabledModules",
          "key",
          "source",
          "storeOverrideApplied"
        ],
        "type": "object"
      },
      "FeaturePermissionRequirementResponse": {
        "properties": {
          "action": {
            "type": "string"
          },
          "featureKey": {
            "type": "string"
          },
          "permissionKey": {
            "type": "string"
          },
          "resource": {
            "type": "string"
          }
        },
        "required": [
          "action",
          "featureKey",
          "permissionKey",
          "resource"
        ],
        "type": "object"
      },
      "FeatureResolutionCachePolicyResponse": {
        "properties": {
          "cacheable": {
            "type": "boolean"
          },
          "invalidationKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "maxAgeSeconds": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "cacheable",
          "invalidationKeys",
          "maxAgeSeconds"
        ],
        "type": "object"
      },
      "FeatureResolutionRequest": {
        "properties": {
          "compatibilityFlags": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "compatibilityFlags"
        ],
        "type": "object"
      },
      "FeatureResolutionResponse": {
        "properties": {
          "cachePolicy": {
            "$ref": "#/components/schemas/FeatureResolutionCachePolicyResponse"
          },
          "compatibility": {
            "items": {
              "$ref": "#/components/schemas/FeatureCompatibilityResponse"
            },
            "type": "array"
          },
          "contractName": {
            "type": "string"
          },
          "contractVersion": {
            "type": "string"
          },
          "deniedFeatureKeys": {
            "items": {
              "$ref": "#/components/schemas/FeatureDenialResponse"
            },
            "type": "array"
          },
          "effectiveFeatureMode": {
            "$ref": "#/components/schemas/FeatureModeResponse"
          },
          "enabledCapabilities": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "features": {
            "items": {
              "$ref": "#/components/schemas/FeatureDecisionResponse"
            },
            "type": "array"
          },
          "grantedFeatureKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "permissionRequirements": {
            "items": {
              "$ref": "#/components/schemas/FeaturePermissionRequirementResponse"
            },
            "type": "array"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "cachePolicy",
          "compatibility",
          "contractName",
          "contractVersion",
          "deniedFeatureKeys",
          "effectiveFeatureMode",
          "enabledCapabilities",
          "features",
          "grantedFeatureKeys",
          "orgId",
          "permissionRequirements"
        ],
        "type": "object"
      },
      "FieldChange": {
        "properties": {
          "after": {
            "$ref": "#/components/schemas/DisplayValue"
          },
          "before": {
            "$ref": "#/components/schemas/DisplayValue"
          },
          "field": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "label"
        ],
        "type": "object"
      },
      "FormCreateRequest": {
        "properties": {
          "appointmentId": {
            "format": "uuid",
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "send": {
            "type": "boolean"
          },
          "templateId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "customerId",
          "send",
          "templateId"
        ],
        "type": "object"
      },
      "FormDefinition": {
        "properties": {
          "description": {
            "type": "string"
          },
          "fields": {
            "items": {
              "$ref": "#/components/schemas/FormField"
            },
            "type": "array"
          },
          "requiresCompletionBeforeService": {
            "type": "boolean"
          },
          "schemaVersion": {
            "format": "int32",
            "type": "integer"
          },
          "signature": {
            "$ref": "#/components/schemas/FormSignature"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "fields",
          "requiresCompletionBeforeService",
          "schemaVersion",
          "signature",
          "title"
        ],
        "type": "object"
      },
      "FormDeliveryResult": {
        "properties": {
          "deliveryId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "deliveryId"
        ],
        "type": "object"
      },
      "FormField": {
        "discriminator": {
          "mapping": {
            "checkbox": "#/components/schemas/CheckboxField",
            "date": "#/components/schemas/DateField",
            "email": "#/components/schemas/EmailField",
            "initials": "#/components/schemas/InitialsField",
            "long_text": "#/components/schemas/LongTextField",
            "multiple_choice": "#/components/schemas/MultipleChoiceField",
            "number": "#/components/schemas/NumberField",
            "phone": "#/components/schemas/PhoneField",
            "short_text": "#/components/schemas/ShortTextField",
            "single_choice": "#/components/schemas/SingleChoiceField",
            "text_block": "#/components/schemas/TextBlockField"
          },
          "propertyName": "type"
        },
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "type"
        ],
        "type": "object"
      },
      "FormLastDelivery": {
        "properties": {
          "emailSentAt": {
            "format": "date-time",
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "smsSentAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "FormLinkResult": {
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "expiresAt",
          "url"
        ],
        "type": "object"
      },
      "FormOption": {
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "label"
        ],
        "type": "object"
      },
      "FormRequestView": {
        "properties": {
          "appointmentId": {
            "format": "uuid",
            "type": "string"
          },
          "completedAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "effectiveStatus": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "lastDelivery": {
            "$ref": "#/components/schemas/FormLastDelivery"
          },
          "openedAt": {
            "format": "date-time",
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "submissionId": {
            "format": "uuid",
            "type": "string"
          },
          "templateId": {
            "format": "uuid",
            "type": "string"
          },
          "templateTitle": {
            "type": "string"
          },
          "versionNumber": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "createdAt",
          "effectiveStatus",
          "id",
          "source",
          "status",
          "templateId",
          "templateTitle",
          "versionNumber"
        ],
        "type": "object"
      },
      "FormSignature": {
        "properties": {
          "required": {
            "type": "boolean"
          },
          "statement": {
            "type": "string"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      },
      "FormSubmissionDetail": {
        "properties": {
          "contentSha256": {
            "type": "string"
          },
          "fields": {
            "items": {
              "$ref": "#/components/schemas/FormSubmissionFieldView"
            },
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          },
          "signatureMethod": {
            "type": "string"
          },
          "signedAt": {
            "format": "date-time",
            "type": "string"
          },
          "signerName": {
            "type": "string"
          },
          "templateTitle": {
            "type": "string"
          },
          "versionNumber": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "contentSha256",
          "fields",
          "id",
          "requestId",
          "signedAt",
          "signerName",
          "templateTitle",
          "versionNumber"
        ],
        "type": "object"
      },
      "FormSubmissionFieldView": {
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "sensitive": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          },
          "value": {
            "type": "object"
          }
        },
        "required": [
          "id",
          "sensitive",
          "type"
        ],
        "type": "object"
      },
      "FormTargetRequest": {
        "properties": {
          "appointmentId": {
            "format": "uuid",
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "FormTemplateDetail": {
        "properties": {
          "currentVersionNumber": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "draftDefinition": {
            "$ref": "#/components/schemas/FormDefinition"
          },
          "frequency": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "revision": {
            "format": "int64",
            "type": "integer"
          },
          "serviceIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "status": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "validForDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "versions": {
            "items": {
              "$ref": "#/components/schemas/FormTemplateVersionSummary"
            },
            "type": "array"
          }
        },
        "required": [
          "draftDefinition",
          "frequency",
          "id",
          "name",
          "revision",
          "serviceIds",
          "status",
          "updatedAt",
          "versions"
        ],
        "type": "object"
      },
      "FormTemplateRevisionRequest": {
        "properties": {
          "expectedRevision": {
            "description": "Revision last read by the editor",
            "format": "int64",
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "expectedRevision"
        ],
        "type": "object"
      },
      "FormTemplateSummary": {
        "properties": {
          "currentVersionNumber": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "frequency": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "revision": {
            "format": "int64",
            "type": "integer"
          },
          "serviceIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "status": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "validForDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "frequency",
          "id",
          "name",
          "revision",
          "serviceIds",
          "status",
          "updatedAt"
        ],
        "type": "object"
      },
      "FormTemplateVersionSummary": {
        "properties": {
          "frequency": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "publishedAt": {
            "format": "date-time",
            "type": "string"
          },
          "validForDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "versionNumber": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "frequency",
          "id",
          "publishedAt",
          "versionNumber"
        ],
        "type": "object"
      },
      "FormTemplateVersionView": {
        "properties": {
          "definition": {
            "$ref": "#/components/schemas/FormDefinition"
          },
          "frequency": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "publishedAt": {
            "format": "date-time",
            "type": "string"
          },
          "validForDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "versionNumber": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "definition",
          "frequency",
          "id",
          "publishedAt",
          "versionNumber"
        ],
        "type": "object"
      },
      "GatewayActionResponse": {
        "properties": {
          "payload": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "payload",
          "type"
        ],
        "type": "object"
      },
      "GatewayBatchCloseIntent": {
        "enum": [
          "CLOSE_CURRENT"
        ],
        "type": "string"
      },
      "GatewayBatchCloseResponse": {
        "properties": {
          "commandId": {
            "format": "uuid",
            "type": "string"
          },
          "cutoffAt": {
            "format": "date-time",
            "type": "string"
          },
          "gatewayBatchId": {
            "type": "string"
          },
          "gatewayLocationId": {
            "type": "string"
          },
          "idempotencyKey": {
            "type": "string"
          },
          "processorPlatform": {
            "type": "string"
          },
          "processorType": {
            "type": "string"
          },
          "requestStatus": {
            "type": "string"
          },
          "responseCode": {
            "type": "string"
          },
          "resultAt": {
            "format": "date-time",
            "type": "string"
          },
          "reviewReason": {
            "$ref": "#/components/schemas/GatewayBatchCloseReviewReason"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "cutoffAt",
          "gatewayLocationId",
          "idempotencyKey",
          "status"
        ],
        "type": "object"
      },
      "GatewayBatchCloseReviewReason": {
        "enum": [
          "GATEWAY_ADMISSION_UNPROVEN"
        ],
        "type": "string"
      },
      "GatewayBatchCurrencyTotal": {
        "properties": {
          "currency": {
            "type": "string"
          },
          "totalAmount": {
            "type": "number"
          },
          "transactionCount": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "currency",
          "totalAmount",
          "transactionCount"
        ],
        "type": "object"
      },
      "GatewayBatchPageResponse": {
        "properties": {
          "batches": {
            "items": {
              "$ref": "#/components/schemas/GatewayBatchResponse"
            },
            "type": "array"
          },
          "nextCursor": {
            "type": "string"
          }
        },
        "required": [
          "batches"
        ],
        "type": "object"
      },
      "GatewayBatchProviderEvidence": {
        "properties": {
          "processorPlatform": {
            "type": "string"
          },
          "processorType": {
            "type": "string"
          },
          "provider": {
            "type": "string"
          },
          "reconciliationId": {
            "type": "string"
          },
          "remoteBatchId": {
            "type": "string"
          }
        },
        "required": [
          "provider"
        ],
        "type": "object"
      },
      "GatewayBatchResponse": {
        "properties": {
          "closedAt": {
            "format": "date-time",
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "currencyTotals": {
            "items": {
              "$ref": "#/components/schemas/GatewayBatchCurrencyTotal"
            },
            "type": "array"
          },
          "gatewayBatchId": {
            "type": "string"
          },
          "gatewayLocationId": {
            "type": "string"
          },
          "gatewayMerchantId": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "openedAt": {
            "format": "date-time",
            "type": "string"
          },
          "providerEvidence": {
            "items": {
              "$ref": "#/components/schemas/GatewayBatchProviderEvidence"
            },
            "type": "array"
          },
          "resultCode": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "totalAmount": {
            "type": "number"
          },
          "transactionCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "currencyTotals",
          "gatewayBatchId",
          "gatewayLocationId",
          "gatewayMerchantId",
          "providerEvidence",
          "status",
          "transactionCount"
        ],
        "type": "object"
      },
      "GatewayCredentialProfileResponse": {
        "properties": {
          "acceptsAch": {
            "type": "boolean"
          },
          "acceptsCardNotPresent": {
            "type": "boolean"
          },
          "acceptsCardPresent": {
            "type": "boolean"
          },
          "activatedAt": {
            "type": "string"
          },
          "approvedAt": {
            "type": "string"
          },
          "approvedBy": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "deactivatedAt": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "integrationDepth": {
            "type": "string"
          },
          "keyVersion": {
            "type": "string"
          },
          "lastRotatedAt": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "organizationId": {
            "type": "string"
          },
          "processorPlatform": {
            "type": "string"
          },
          "processorType": {
            "type": "string"
          },
          "rejectedAt": {
            "type": "string"
          },
          "rejectedBy": {
            "type": "string"
          },
          "rejectionReason": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "submittedForApprovalAt": {
            "type": "string"
          },
          "submittedForApprovalBy": {
            "type": "string"
          },
          "transitMerchantId": {
            "type": "string"
          },
          "transitVNumber": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          }
        },
        "required": [
          "acceptsAch",
          "acceptsCardNotPresent",
          "acceptsCardPresent"
        ],
        "type": "object"
      },
      "GatewayErrorDetails": {
        "properties": {
          "processorResponse": {
            "$ref": "#/components/schemas/ProcessorResponseDetails"
          }
        },
        "required": [
          "processorResponse"
        ],
        "type": "object"
      },
      "GatewayFraudPortalCardPresent": {
        "properties": {
          "historicalCoverage": {
            "type": "string"
          },
          "observedBefore": {
            "type": "string"
          },
          "observedFrom": {
            "type": "string"
          },
          "policyVersion": {
            "type": "string"
          },
          "scoreStatus": {
            "type": "string"
          },
          "terminals": {
            "items": {
              "$ref": "#/components/schemas/GatewayFraudPortalTerminal"
            },
            "type": "array"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "historicalCoverage",
          "observedBefore",
          "observedFrom",
          "policyVersion",
          "scoreStatus",
          "terminals",
          "truncated"
        ],
        "type": "object"
      },
      "GatewayFraudPortalDecision": {
        "properties": {
          "channel": {
            "type": "string"
          },
          "decisionId": {
            "type": "string"
          },
          "disposition": {
            "type": "string"
          },
          "evaluatedAt": {
            "type": "string"
          },
          "reasonCodes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "transactionId": {
            "type": "string"
          }
        },
        "required": [
          "channel",
          "decisionId",
          "disposition",
          "evaluatedAt",
          "reasonCodes"
        ],
        "type": "object"
      },
      "GatewayFraudPortalResponse": {
        "properties": {
          "cardPresent": {
            "$ref": "#/components/schemas/GatewayFraudPortalCardPresent"
          },
          "decisions": {
            "items": {
              "$ref": "#/components/schemas/GatewayFraudPortalDecision"
            },
            "type": "array"
          },
          "decisionsTruncated": {
            "type": "boolean"
          },
          "evaluatedBefore": {
            "type": "string"
          },
          "evaluatedFrom": {
            "type": "string"
          },
          "gatewayLocationId": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "cardPresent",
          "decisions",
          "decisionsTruncated",
          "evaluatedBefore",
          "evaluatedFrom",
          "gatewayLocationId",
          "storeId"
        ],
        "type": "object"
      },
      "GatewayFraudPortalTerminal": {
        "properties": {
          "fallbackCount": {
            "format": "int64",
            "type": "integer"
          },
          "fallbackRate": {
            "format": "double",
            "type": "number"
          },
          "keyedCount": {
            "format": "int64",
            "type": "integer"
          },
          "keyedRate": {
            "format": "double",
            "type": "number"
          },
          "knownEntryModeCount": {
            "format": "int64",
            "type": "integer"
          },
          "processorTerminalId": {
            "type": "string"
          },
          "recordedCount": {
            "format": "int64",
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "unavailableEntryModeCount": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "fallbackCount",
          "keyedCount",
          "knownEntryModeCount",
          "recordedCount",
          "source",
          "unavailableEntryModeCount"
        ],
        "type": "object"
      },
      "GatewayLocationAssignmentsResponse": {
        "properties": {
          "gatewayOrganizationId": {
            "type": "string"
          },
          "locations": {
            "items": {
              "$ref": "#/components/schemas/GatewayLocationOwnershipResponse"
            },
            "type": "array"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "stores": {
            "items": {
              "$ref": "#/components/schemas/GatewayStoreLocationAssignmentResponse"
            },
            "type": "array"
          }
        },
        "required": [
          "gatewayOrganizationId",
          "locations",
          "orgId",
          "stores"
        ],
        "type": "object"
      },
      "GatewayLocationCredentialRouteResponse": {
        "properties": {
          "credentialProfileId": {
            "type": "string"
          },
          "credentialProfileName": {
            "type": "string"
          },
          "profileStatus": {
            "type": "string"
          },
          "useCase": {
            "type": "string"
          }
        },
        "required": [
          "credentialProfileId",
          "credentialProfileName",
          "profileStatus",
          "useCase"
        ],
        "type": "object"
      },
      "GatewayLocationOwnershipResponse": {
        "properties": {
          "boundStoreId": {
            "format": "uuid",
            "type": "string"
          },
          "boundStoreName": {
            "type": "string"
          },
          "credentialRoutes": {
            "items": {
              "$ref": "#/components/schemas/GatewayLocationCredentialRouteResponse"
            },
            "type": "array"
          },
          "credentialRoutesUnavailable": {
            "type": "boolean"
          },
          "location": {
            "$ref": "#/components/schemas/ManagementGatewayMerchantResponse"
          }
        },
        "required": [
          "credentialRoutes",
          "credentialRoutesUnavailable",
          "location"
        ],
        "type": "object"
      },
      "GatewayManualCloseRequest": {
        "properties": {
          "accountCloseContract": {
            "type": "string"
          },
          "idempotencyKey": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string"
          },
          "intent": {
            "$ref": "#/components/schemas/GatewayBatchCloseIntent"
          }
        },
        "required": [
          "idempotencyKey",
          "intent"
        ],
        "type": "object"
      },
      "GatewayMerchantAssignmentResponse": {
        "properties": {
          "businessName": {
            "type": "string"
          },
          "merchantId": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "GatewayMerchantInfo": {
        "properties": {
          "businessName": {
            "type": "string"
          },
          "contactEmail": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "dba": {
            "type": "string"
          },
          "locationId": {
            "type": "string"
          },
          "merchantId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "GatewayName": {
        "enum": [
          "PEAK_GATEWAY",
          "CASH_ONLY"
        ],
        "type": "string"
      },
      "GatewayOnlineLocationResponse": {
        "properties": {
          "businessName": {
            "type": "string"
          },
          "merchantId": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "GatewayOrganizationProvisionResponse": {
        "properties": {
          "gatewayOrganizationId": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "GatewayOrganizationResponse": {
        "properties": {
          "contactEmail": {
            "type": "string"
          },
          "contactName": {
            "type": "string"
          },
          "contactPhone": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "defaultCredentialProfileId": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "externalId": {
            "type": "string"
          },
          "legalName": {
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "organizationId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "GatewayProvisioningJobListResponse": {
        "properties": {
          "jobs": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "jobs"
        ],
        "type": "object"
      },
      "GatewayProvisioningJobResponse": {
        "properties": {
          "job": {
            "additionalProperties": true,
            "type": "object"
          }
        },
        "required": [
          "job"
        ],
        "type": "object"
      },
      "GatewaySettlementResponse": {
        "properties": {
          "autoSettleTime": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "timezone": {
            "type": "string"
          }
        },
        "required": [
          "autoSettleTime",
          "enabled"
        ],
        "type": "object"
      },
      "GatewayStoreAuthResponse": {
        "properties": {
          "authId": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "gatewayMerchantId": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "authId",
          "createdAt",
          "gatewayMerchantId",
          "orgId",
          "status",
          "storeId",
          "updatedAt"
        ],
        "type": "object"
      },
      "GatewayStoreBindResponse": {
        "properties": {
          "auth": {
            "$ref": "#/components/schemas/GatewayStoreAuthResponse"
          },
          "merchant": {
            "$ref": "#/components/schemas/GatewayMerchantInfo"
          }
        },
        "required": [
          "auth",
          "merchant"
        ],
        "type": "object"
      },
      "GatewayStoreLocationAssignmentResponse": {
        "properties": {
          "authId": {
            "format": "uuid",
            "type": "string"
          },
          "bindingStatus": {
            "type": "string"
          },
          "gatewayMerchantId": {
            "type": "string"
          },
          "locationState": {
            "type": "string"
          },
          "storeActive": {
            "type": "boolean"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "required": [
          "locationState",
          "storeActive",
          "storeId",
          "storeName"
        ],
        "type": "object"
      },
      "GatewayTaxConfigResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "appliesToCategory": {
            "type": "string"
          },
          "effectiveFrom": {
            "type": "string"
          },
          "effectiveTo": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string"
          },
          "gatewayLocationId": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "jurisdictionCode": {
            "type": "string"
          },
          "jurisdictionName": {
            "type": "string"
          },
          "jurisdictionType": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "providerCategoryCode": {
            "type": "string"
          },
          "rateAmountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "rateBps": {
            "format": "int32",
            "type": "integer"
          },
          "rateType": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          },
          "scopeId": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "sourceConfigId": {
            "type": "string"
          },
          "storeId": {
            "type": "string"
          },
          "taxBasis": {
            "type": "string"
          },
          "taxConfigRevision": {
            "type": "string"
          }
        },
        "required": [
          "active",
          "effectiveFrom",
          "id",
          "jurisdictionType",
          "priority",
          "rateType",
          "scope",
          "source",
          "taxBasis"
        ],
        "type": "object"
      },
      "GatewayTipAdjustRequest": {
        "properties": {
          "expectedCurrentTipAmount": {
            "format": "int64",
            "type": "integer"
          },
          "expectedCurrentVersion": {
            "format": "int64",
            "type": "integer"
          },
          "tipAmount": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "expectedCurrentTipAmount",
          "expectedCurrentVersion",
          "tipAmount"
        ],
        "type": "object"
      },
      "GatewayTransactionEnrichRequest": {
        "properties": {
          "customerEmail": {
            "type": "string"
          },
          "level2": {
            "$ref": "#/components/schemas/Level2Data"
          },
          "level3": {
            "$ref": "#/components/schemas/Level3Data"
          },
          "metadata": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "orderNumber": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "GenerateOnboardingTokenResponse": {
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "token": {
            "type": "string"
          },
          "tokenId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "GeofenceResponse": {
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "fenceName": {
            "type": "string"
          },
          "geofenceId": {
            "format": "uuid",
            "type": "string"
          },
          "latitude": {
            "format": "double",
            "type": "number"
          },
          "longitude": {
            "format": "double",
            "type": "number"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "radiusMeters": {
            "format": "double",
            "type": "number"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "enabled",
          "geofenceId",
          "latitude",
          "longitude",
          "radiusMeters"
        ],
        "type": "object"
      },
      "GeofenceViolationResponse": {
        "properties": {
          "detectedAt": {
            "format": "date-time",
            "type": "string"
          },
          "deviceLatitude": {
            "format": "double",
            "type": "number"
          },
          "deviceLongitude": {
            "format": "double",
            "type": "number"
          },
          "distanceMeters": {
            "format": "double",
            "type": "number"
          },
          "fenceName": {
            "type": "string"
          },
          "geofenceId": {
            "format": "uuid",
            "type": "string"
          },
          "resolvedAt": {
            "format": "date-time",
            "type": "string"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "violationId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "deviceLatitude",
          "deviceLongitude",
          "distanceMeters",
          "violationId"
        ],
        "type": "object"
      },
      "GiftCardImportMultipartRequest": {
        "properties": {
          "file": {
            "description": "CSV file containing existing gift cards",
            "format": "binary",
            "type": "string"
          }
        },
        "required": [
          "file"
        ],
        "type": "object"
      },
      "GiftCardIssuanceResendRequest": {
        "properties": {
          "deliveryId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "deliveryId"
        ],
        "type": "object"
      },
      "GiftCardIssuanceSagaPaymentRequest": {
        "properties": {
          "checkoutIntentId": {
            "format": "uuid",
            "type": "string"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "transactionId"
        ],
        "type": "object"
      },
      "GiftCardIssuanceSagaRequest": {
        "properties": {
          "amount": {
            "exclusiveMinimum": false,
            "minimum": 5,
            "type": "number"
          },
          "checkoutIntentId": {
            "format": "uuid",
            "type": "string"
          },
          "clientIdempotencyKey": {
            "maxLength": 128,
            "minLength": 0,
            "type": "string"
          },
          "currency": {
            "maxLength": 3,
            "minLength": 0,
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "deliveryMethod": {
            "maxLength": 32,
            "minLength": 0,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "message": {
            "maxLength": 2000,
            "minLength": 0,
            "type": "string"
          },
          "orgName": {
            "type": "string"
          },
          "paymentTransactionId": {
            "format": "uuid",
            "type": "string"
          },
          "recipientEmail": {
            "type": "string"
          },
          "recipientName": {
            "type": "string"
          },
          "recipientPhone": {
            "type": "string"
          },
          "senderName": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "clientIdempotencyKey",
          "currency",
          "deliveryMethod"
        ],
        "type": "object"
      },
      "GiftCardIssuanceSagaResponse": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "deliveryAttempts": {
            "format": "int32",
            "type": "integer"
          },
          "deliveryMethod": {
            "type": "string"
          },
          "giftCard": {
            "$ref": "#/components/schemas/GiftCardResponse"
          },
          "giftCardId": {
            "type": "string"
          },
          "lastError": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "paymentTransactionId": {
            "format": "uuid",
            "type": "string"
          },
          "receiptStatus": {
            "type": "string"
          },
          "sagaId": {
            "format": "uuid",
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "amount",
          "createdAt",
          "currency",
          "deliveryAttempts",
          "deliveryMethod",
          "orgId",
          "receiptStatus",
          "sagaId",
          "state",
          "storeId",
          "updatedAt"
        ],
        "type": "object"
      },
      "GiftCardMetrics": {
        "properties": {
          "outstandingBalance": {
            "type": "number"
          },
          "totalRedeemed": {
            "format": "int64",
            "type": "integer"
          },
          "totalRedeemedAmount": {
            "type": "number"
          },
          "totalSold": {
            "format": "int64",
            "type": "integer"
          },
          "totalSoldAmount": {
            "type": "number"
          }
        },
        "required": [
          "outstandingBalance",
          "totalRedeemed",
          "totalRedeemedAmount",
          "totalSold",
          "totalSoldAmount"
        ],
        "type": "object"
      },
      "GiftCardResponse": {
        "properties": {
          "code": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "creationTransactionId": {
            "type": "string"
          },
          "currentBalance": {
            "format": "double",
            "type": "number"
          },
          "expiresAt": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "initialBalance": {
            "format": "double",
            "type": "number"
          },
          "orgId": {
            "description": "POS organization UUID that owns the gift card; never the Gateway organization ID.",
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          },
          "usable": {
            "readOnly": true,
            "type": "boolean"
          }
        },
        "required": [
          "code",
          "createdAt",
          "currentBalance",
          "id",
          "initialBalance",
          "orgId",
          "status",
          "updatedAt",
          "usable"
        ],
        "type": "object"
      },
      "GustoEmployeeMapping": {
        "properties": {
          "employeeId": {
            "format": "uuid",
            "type": "string"
          },
          "jobId": {
            "format": "uuid",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "employeeId",
          "jobId",
          "userId"
        ],
        "type": "object"
      },
      "GustoPayrollSelection": {
        "properties": {
          "companyId": {
            "format": "uuid",
            "type": "string"
          },
          "from": {
            "type": "string"
          },
          "mappings": {
            "items": {
              "$ref": "#/components/schemas/GustoEmployeeMapping"
            },
            "type": "array"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "to": {
            "type": "string"
          }
        },
        "required": [
          "companyId",
          "from",
          "mappings",
          "storeId",
          "to"
        ],
        "type": "object"
      },
      "HistoricalPaymentRepairResult": {
        "properties": {
          "paymentId": {
            "format": "uuid",
            "type": "string"
          },
          "reviewRequired": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "paymentId",
          "reviewRequired",
          "status"
        ],
        "type": "object"
      },
      "HostedCardEntryRequest": {
        "properties": {
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "idempotencyKey": {
            "maxLength": 128,
            "minLength": 0,
            "type": "string"
          },
          "validate": {
            "default": false,
            "description": "When true, requests processor authorize-and-void validation before saving the card. Defaults to false; processors that can store independently skip a separate validation authorization unless requested at creation or confirmation. Processors that require verification to store a card always verify. Saving during a sale or checkout never adds a validation authorization.",
            "type": "boolean"
          }
        },
        "required": [
          "customerId",
          "idempotencyKey"
        ],
        "type": "object"
      },
      "HostedCardEntryResponse": {
        "properties": {
          "embedTokenExpiresInSeconds": {
            "format": "int64",
            "type": "integer"
          },
          "expiresAt": {
            "type": "string"
          },
          "hostedUrl": {
            "type": "string"
          },
          "setupIntentId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "hostedUrl",
          "setupIntentId"
        ],
        "type": "object"
      },
      "HostedCardEntryStatusResponse": {
        "properties": {
          "paymentMethodId": {
            "type": "string"
          },
          "setupIntentId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "verification": {
            "$ref": "#/components/schemas/HostedCardEntryVerification"
          }
        },
        "required": [
          "setupIntentId",
          "status"
        ],
        "type": "object"
      },
      "HostedCardEntryVerification": {
        "properties": {
          "avsResult": {
            "type": "string"
          },
          "cvvResult": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "HostedCheckoutAction": {
        "enum": [
          "SALE",
          "AUTHORIZE"
        ],
        "type": "string"
      },
      "HostedCheckoutSessionRequest": {
        "properties": {
          "action": {
            "$ref": "#/components/schemas/HostedCheckoutAction"
          },
          "quoteVersion": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "action",
          "quoteVersion"
        ],
        "type": "object"
      },
      "HostedCheckoutSessionResponse": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "checkoutUrl": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string"
          },
          "intentId": {
            "format": "uuid",
            "type": "string"
          },
          "quoteVersion": {
            "type": "string"
          },
          "sessionId": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "checkoutUrl",
          "currency",
          "intentId",
          "quoteVersion",
          "sessionId"
        ],
        "type": "object"
      },
      "HourlySalesResponse": {
        "properties": {
          "date": {
            "format": "date",
            "type": "string"
          },
          "hour": {
            "format": "int32",
            "type": "integer"
          },
          "totalSales": {
            "type": "number"
          },
          "transactionCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "hour",
          "transactionCount"
        ],
        "type": "object"
      },
      "HouseholdDetailResponse": {
        "properties": {
          "household": {
            "$ref": "#/components/schemas/HouseholdSummaryResponse"
          },
          "members": {
            "items": {
              "$ref": "#/components/schemas/HouseholdMemberResponse"
            },
            "type": "array"
          }
        },
        "required": [
          "household",
          "members"
        ],
        "type": "object"
      },
      "HouseholdLoyaltyRollupResponse": {
        "properties": {
          "currentPoints": {
            "format": "int32",
            "type": "integer"
          },
          "householdId": {
            "format": "uuid",
            "type": "string"
          },
          "lifetimeEarnedPoints": {
            "format": "int32",
            "type": "integer"
          },
          "memberCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "currentPoints",
          "householdId",
          "lifetimeEarnedPoints",
          "memberCount"
        ],
        "type": "object"
      },
      "HouseholdMemberResponse": {
        "properties": {
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "joinedAt": {
            "format": "date-time",
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "points": {
            "format": "int32",
            "type": "integer"
          },
          "primary": {
            "type": "boolean"
          },
          "relationship": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "customerId",
          "joinedAt",
          "points",
          "primary",
          "source"
        ],
        "type": "object"
      },
      "HouseholdSummaryResponse": {
        "properties": {
          "addressNormalized": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "householdId": {
            "format": "uuid",
            "type": "string"
          },
          "householdPoints": {
            "format": "int32",
            "type": "integer"
          },
          "lastVisitAt": {
            "format": "date-time",
            "type": "string"
          },
          "memberCount": {
            "format": "int32",
            "type": "integer"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "primaryCustomerId": {
            "format": "uuid",
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "householdId",
          "householdPoints",
          "memberCount",
          "orgId",
          "source",
          "updatedAt"
        ],
        "type": "object"
      },
      "ImportCommitPolicy": {
        "enum": [
          "ATOMIC",
          "PER_ROW"
        ],
        "type": "string"
      },
      "ImportResult": {
        "properties": {
          "batchTokens": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "commitPolicy": {
            "$ref": "#/components/schemas/ImportCommitPolicy"
          },
          "dryRun": {
            "type": "boolean"
          },
          "errorCount": {
            "format": "int32",
            "type": "integer"
          },
          "errors": {
            "items": {
              "$ref": "#/components/schemas/RowError"
            },
            "type": "array"
          },
          "missingSuppliers": {
            "items": {
              "$ref": "#/components/schemas/MissingSupplier"
            },
            "type": "array"
          },
          "previewColumns": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "previewRows": {
            "items": {
              "$ref": "#/components/schemas/PreviewRow"
            },
            "type": "array"
          },
          "successCount": {
            "format": "int32",
            "type": "integer"
          },
          "totalRows": {
            "format": "int32",
            "type": "integer"
          },
          "warningCount": {
            "format": "int32",
            "type": "integer"
          },
          "warnings": {
            "items": {
              "$ref": "#/components/schemas/RowWarning"
            },
            "type": "array"
          }
        },
        "required": [
          "dryRun",
          "errorCount",
          "errors",
          "previewColumns",
          "previewRows",
          "successCount",
          "totalRows",
          "warnings"
        ],
        "type": "object"
      },
      "InitialsField": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FormField"
          }
        ],
        "required": [
          "id",
          "label",
          "required",
          "sensitive"
        ],
        "type": "object"
      },
      "IntegrationAuthorizationResponse": {
        "properties": {
          "authorizationUrl": {
            "type": "string"
          }
        },
        "required": [
          "authorizationUrl"
        ],
        "type": "object"
      },
      "IntegrationProviderReadinessResponse": {
        "properties": {
          "available": {
            "type": "boolean"
          },
          "configured": {
            "type": "boolean"
          }
        },
        "required": [
          "available",
          "configured"
        ],
        "type": "object"
      },
      "IntegrationResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "attentionReason": {
            "type": "string"
          },
          "connectionStatus": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "integrationDomain": {
            "type": "string"
          },
          "integrationId": {
            "format": "uuid",
            "type": "string"
          },
          "lastAttemptedAt": {
            "format": "date-time",
            "type": "string"
          },
          "lastSyncStatus": {
            "type": "string"
          },
          "lastSyncedAt": {
            "format": "date-time",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "providerSlug": {
            "type": "string"
          },
          "requiresAttention": {
            "type": "boolean"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "active",
          "requiresAttention"
        ],
        "type": "object"
      },
      "InventoryAccuracyPeriod": {
        "properties": {
          "accuracyPercent": {
            "type": "string"
          },
          "periodStart": {
            "format": "date-time",
            "type": "string"
          },
          "sessionId": {
            "format": "uuid",
            "type": "string"
          },
          "skusCounted": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "accuracyPercent",
          "periodStart",
          "sessionId",
          "skusCounted"
        ],
        "type": "object"
      },
      "InventoryAccuracyReport": {
        "properties": {
          "changePercent": {
            "type": "string"
          },
          "currentAccuracyPercent": {
            "type": "string"
          },
          "periods": {
            "items": {
              "$ref": "#/components/schemas/InventoryAccuracyPeriod"
            },
            "type": "array"
          },
          "previousAccuracyPercent": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "periods",
          "storeId"
        ],
        "type": "object"
      },
      "InventoryAgingBucketTotal": {
        "properties": {
          "bucket": {
            "type": "string"
          },
          "costValue": {
            "type": "number"
          }
        },
        "required": [
          "bucket",
          "costValue"
        ],
        "type": "object"
      },
      "InventoryAgingProductRow": {
        "properties": {
          "bucket0To30Units": {
            "format": "int32",
            "type": "integer"
          },
          "bucket180PlusUnits": {
            "format": "int32",
            "type": "integer"
          },
          "bucket31To60Units": {
            "format": "int32",
            "type": "integer"
          },
          "bucket61To90Units": {
            "format": "int32",
            "type": "integer"
          },
          "bucket91To180Units": {
            "format": "int32",
            "type": "integer"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          }
        },
        "required": [
          "bucket0To30Units",
          "bucket180PlusUnits",
          "bucket31To60Units",
          "bucket61To90Units",
          "bucket91To180Units",
          "productId",
          "productName"
        ],
        "type": "object"
      },
      "InventoryAgingReport": {
        "properties": {
          "buckets": {
            "items": {
              "$ref": "#/components/schemas/InventoryAgingBucketTotal"
            },
            "type": "array"
          },
          "computedAt": {
            "format": "date-time",
            "type": "string"
          },
          "products": {
            "items": {
              "$ref": "#/components/schemas/InventoryAgingProductRow"
            },
            "type": "array"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "buckets",
          "products",
          "storeId"
        ],
        "type": "object"
      },
      "InventoryAuditTrailEntry": {
        "properties": {
          "approvedAt": {
            "format": "date-time",
            "type": "string"
          },
          "approvedByName": {
            "type": "string"
          },
          "approvedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "barcode": {
            "type": "string"
          },
          "changeType": {
            "type": "string"
          },
          "costImpact": {
            "type": "number"
          },
          "countEntryId": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "employeeId": {
            "format": "uuid",
            "type": "string"
          },
          "employeeName": {
            "type": "string"
          },
          "isDocumented": {
            "type": "boolean"
          },
          "ledgerId": {
            "format": "uuid",
            "type": "string"
          },
          "locationName": {
            "type": "string"
          },
          "lossReasonCategory": {
            "$ref": "#/components/schemas/InventoryLossReasonCategory"
          },
          "movementCategory": {
            "$ref": "#/components/schemas/InventoryMovementCategory"
          },
          "newQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "notes": {
            "type": "string"
          },
          "previousQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "quantityChange": {
            "format": "int32",
            "type": "integer"
          },
          "reason": {
            "type": "string"
          },
          "referenceId": {
            "format": "uuid",
            "type": "string"
          },
          "referenceType": {
            "type": "string"
          },
          "registerName": {
            "type": "string"
          },
          "retailImpact": {
            "type": "number"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "changeType",
          "costImpact",
          "createdAt",
          "ledgerId",
          "locationName",
          "movementCategory",
          "newQuantity",
          "previousQuantity",
          "productId",
          "productName",
          "quantityChange",
          "retailImpact",
          "storeId"
        ],
        "type": "object"
      },
      "InventoryAuditTrailReport": {
        "properties": {
          "entries": {
            "items": {
              "$ref": "#/components/schemas/InventoryAuditTrailEntry"
            },
            "type": "array"
          },
          "page": {
            "format": "int32",
            "type": "integer"
          },
          "size": {
            "format": "int32",
            "type": "integer"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "totalPages": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "entries",
          "page",
          "size",
          "storeId",
          "total",
          "totalPages"
        ],
        "type": "object"
      },
      "InventoryCountApprovalResponse": {
        "properties": {
          "decidedAt": {
            "format": "date-time",
            "type": "string"
          },
          "decidedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "requestedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "sessionId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "requestedByUserId",
          "sessionId",
          "status"
        ],
        "type": "object"
      },
      "InventoryCountEntryResponse": {
        "properties": {
          "actorUserId": {
            "format": "uuid",
            "type": "string"
          },
          "canRecount": {
            "type": "boolean"
          },
          "countedQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "entryId": {
            "format": "uuid",
            "type": "string"
          },
          "expectedQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "finalized": {
            "type": "boolean"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "requiresRecount": {
            "type": "boolean"
          },
          "sessionId": {
            "format": "uuid",
            "type": "string"
          },
          "submittedAt": {
            "format": "date-time",
            "type": "string"
          },
          "unitCost": {
            "type": "number"
          },
          "variance": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "actorUserId",
          "canRecount",
          "countedQuantity",
          "entryId",
          "expectedQuantity",
          "finalized",
          "productId",
          "reason",
          "requiresRecount",
          "sessionId",
          "submittedAt",
          "variance"
        ],
        "type": "object"
      },
      "InventoryCountPolicyResponse": {
        "properties": {
          "approvalRequired": {
            "type": "boolean"
          },
          "recountThresholdCost": {
            "type": "string"
          },
          "recountThresholdUnits": {
            "format": "int32",
            "type": "integer"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "updatedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "approvalRequired",
          "storeId",
          "version"
        ],
        "type": "object"
      },
      "InventoryCountRecountResponse": {
        "properties": {
          "actorUserId": {
            "format": "uuid",
            "type": "string"
          },
          "entryId": {
            "format": "uuid",
            "type": "string"
          },
          "expectedQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "finalized": {
            "type": "boolean"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "recountId": {
            "format": "uuid",
            "type": "string"
          },
          "recountedQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "sessionId": {
            "format": "uuid",
            "type": "string"
          },
          "submittedAt": {
            "format": "date-time",
            "type": "string"
          },
          "variance": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "actorUserId",
          "entryId",
          "expectedQuantity",
          "finalized",
          "productId",
          "reason",
          "recountId",
          "recountedQuantity",
          "sessionId",
          "submittedAt",
          "variance"
        ],
        "type": "object"
      },
      "InventoryCountSessionResponse": {
        "properties": {
          "approvalStatus": {
            "type": "string"
          },
          "blind": {
            "type": "boolean"
          },
          "brand": {
            "type": "string"
          },
          "canApprove": {
            "type": "boolean"
          },
          "canClose": {
            "type": "boolean"
          },
          "canSubmit": {
            "type": "boolean"
          },
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "closedAt": {
            "format": "date-time",
            "type": "string"
          },
          "closedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "countType": {
            "$ref": "#/components/schemas/InventoryCountType"
          },
          "createdByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "entryCount": {
            "format": "int64",
            "type": "integer"
          },
          "locationId": {
            "format": "uuid",
            "type": "string"
          },
          "missingQuantity": {
            "format": "int64",
            "type": "integer"
          },
          "openedAt": {
            "format": "date-time",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "sessionId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "blind",
          "canApprove",
          "canClose",
          "canSubmit",
          "createdByUserId",
          "openedAt",
          "orgId",
          "reason",
          "sessionId",
          "status",
          "storeId",
          "version"
        ],
        "type": "object"
      },
      "InventoryCountType": {
        "enum": [
          "FULL",
          "CYCLE",
          "CATEGORY",
          "BRAND",
          "SELECTED_PRODUCT",
          "LOCATION",
          "AD_HOC"
        ],
        "type": "string"
      },
      "InventoryCountVarianceLine": {
        "properties": {
          "costImpact": {
            "type": "string"
          },
          "countedQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "entryId": {
            "format": "uuid",
            "type": "string"
          },
          "expectedQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "retailImpact": {
            "type": "string"
          },
          "variance": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "costImpact",
          "countedQuantity",
          "entryId",
          "expectedQuantity",
          "productId",
          "productName",
          "retailImpact",
          "variance"
        ],
        "type": "object"
      },
      "InventoryCountVarianceReport": {
        "properties": {
          "costVariance": {
            "type": "string"
          },
          "exactMatches": {
            "format": "int32",
            "type": "integer"
          },
          "inventoryAccuracyPercent": {
            "type": "string"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/InventoryCountVarianceLine"
            },
            "type": "array"
          },
          "netVariance": {
            "format": "int32",
            "type": "integer"
          },
          "retailVariance": {
            "type": "string"
          },
          "sessionId": {
            "format": "uuid",
            "type": "string"
          },
          "skusCounted": {
            "format": "int32",
            "type": "integer"
          },
          "skusWithVariance": {
            "format": "int32",
            "type": "integer"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "unitsOver": {
            "format": "int32",
            "type": "integer"
          },
          "unitsShort": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "costVariance",
          "exactMatches",
          "inventoryAccuracyPercent",
          "lines",
          "netVariance",
          "retailVariance",
          "sessionId",
          "skusCounted",
          "skusWithVariance",
          "storeId",
          "unitsOver",
          "unitsShort"
        ],
        "type": "object"
      },
      "InventoryCycleCountScheduleResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "brand": {
            "type": "string"
          },
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "dayOfWeek": {
            "$ref": "#/components/schemas/DayOfWeekName"
          },
          "label": {
            "type": "string"
          },
          "locationId": {
            "format": "uuid",
            "type": "string"
          },
          "scheduleId": {
            "format": "uuid",
            "type": "string"
          },
          "scopeType": {
            "$ref": "#/components/schemas/CycleCountScopeType"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "active",
          "createdAt",
          "createdByUserId",
          "dayOfWeek",
          "label",
          "scheduleId",
          "scopeType",
          "storeId"
        ],
        "type": "object"
      },
      "InventoryDiscrepancyAdjustmentType": {
        "enum": [
          "COUNT_VARIANCE",
          "MANUAL_ADJUSTMENT"
        ],
        "type": "string"
      },
      "InventoryDiscrepancyEntry": {
        "properties": {
          "adjustmentType": {
            "$ref": "#/components/schemas/InventoryDiscrepancyAdjustmentType"
          },
          "countSessionId": {
            "format": "uuid",
            "type": "string"
          },
          "countedQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "employeeId": {
            "format": "uuid",
            "type": "string"
          },
          "employeeName": {
            "type": "string"
          },
          "evidenceId": {
            "type": "string"
          },
          "expectedQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "ledgerId": {
            "format": "uuid",
            "type": "string"
          },
          "missingValue": {
            "type": "number"
          },
          "notes": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "quantityDelta": {
            "format": "int32",
            "type": "integer"
          },
          "reason": {
            "type": "string"
          },
          "referenceId": {
            "format": "uuid",
            "type": "string"
          },
          "referenceType": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "adjustmentType",
          "createdAt",
          "ledgerId",
          "productId",
          "productName",
          "quantityDelta",
          "reason",
          "storeId"
        ],
        "type": "object"
      },
      "InventoryDiscrepancyReport": {
        "properties": {
          "endDate": {
            "format": "date-time",
            "type": "string"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/InventoryDiscrepancyEntry"
            },
            "type": "array"
          },
          "negativeDiscrepancyQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "page": {
            "format": "int32",
            "type": "integer"
          },
          "size": {
            "format": "int32",
            "type": "integer"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "totalPages": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "entries",
          "negativeDiscrepancyQuantity",
          "page",
          "size",
          "storeId",
          "total",
          "totalPages"
        ],
        "type": "object"
      },
      "InventoryHistoryResponse": {
        "properties": {
          "acquisitionUnitCost": {
            "type": "number"
          },
          "changeType": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "effectiveUnitCost": {
            "type": "number"
          },
          "isPromotional": {
            "type": "boolean"
          },
          "ledgerId": {
            "format": "uuid",
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "promotionalReason": {
            "type": "string"
          },
          "quantityChange": {
            "format": "int32",
            "type": "integer"
          },
          "referenceId": {
            "format": "uuid",
            "type": "string"
          },
          "referenceType": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "InventoryLossReasonCategory": {
        "enum": [
          "DAMAGED",
          "EXPIRED",
          "THEFT",
          "EMPLOYEE_USE",
          "DISPOSAL",
          "VENDOR_SHORTAGE",
          "RECEIVING_ERROR"
        ],
        "type": "string"
      },
      "InventoryMovementCategory": {
        "enum": [
          "RECEIVE",
          "RETURN",
          "TRANSFER_IN",
          "TRANSFER_OUT",
          "SOLD",
          "DAMAGE_EXPIRATION",
          "MANUAL_ADJUSTMENT",
          "PHYSICAL_COUNT_VARIANCE",
          "OTHER"
        ],
        "type": "string"
      },
      "InventoryMovementReport": {
        "properties": {
          "barcode": {
            "type": "string"
          },
          "beginningQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "currentQuantityOnHand": {
            "format": "int32",
            "type": "integer"
          },
          "damageExpiration": {
            "format": "int32",
            "type": "integer"
          },
          "endDate": {
            "format": "date-time",
            "type": "string"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/InventoryAuditTrailEntry"
            },
            "type": "array"
          },
          "expectedQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "manualAdjustments": {
            "format": "int32",
            "type": "integer"
          },
          "otherAdjustments": {
            "format": "int32",
            "type": "integer"
          },
          "physicalCountVariance": {
            "format": "int32",
            "type": "integer"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "received": {
            "format": "int32",
            "type": "integer"
          },
          "returns": {
            "format": "int32",
            "type": "integer"
          },
          "sold": {
            "format": "int32",
            "type": "integer"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "transfersIn": {
            "format": "int32",
            "type": "integer"
          },
          "transfersOut": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "beginningQuantity",
          "currentQuantityOnHand",
          "damageExpiration",
          "endDate",
          "entries",
          "expectedQuantity",
          "manualAdjustments",
          "otherAdjustments",
          "physicalCountVariance",
          "productId",
          "productName",
          "received",
          "returns",
          "sold",
          "startDate",
          "storeId",
          "transfersIn",
          "transfersOut"
        ],
        "type": "object"
      },
      "InventoryPageResponse": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/InventoryResponse"
            },
            "type": "array"
          },
          "lowStockTotal": {
            "format": "int64",
            "type": "integer"
          },
          "outOfStockTotal": {
            "format": "int64",
            "type": "integer"
          },
          "page": {
            "format": "int32",
            "type": "integer"
          },
          "size": {
            "format": "int32",
            "type": "integer"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "totalPages": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "lowStockTotal",
          "outOfStockTotal",
          "page",
          "size",
          "total",
          "totalPages"
        ],
        "type": "object"
      },
      "InventoryResponse": {
        "properties": {
          "barcode": {
            "type": "string"
          },
          "inventoryTracked": {
            "type": "boolean"
          },
          "lastCountedAt": {
            "format": "date-time",
            "type": "string"
          },
          "parLevel": {
            "format": "int32",
            "type": "integer"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "quantityOnHand": {
            "format": "int32",
            "type": "integer"
          },
          "reorderPoint": {
            "format": "int32",
            "type": "integer"
          },
          "reorderQty": {
            "format": "int32",
            "type": "integer"
          },
          "stockStatus": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierName": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "quantityOnHand",
          "stockStatus"
        ],
        "type": "object"
      },
      "InventoryValueAtRiskReport": {
        "properties": {
          "atRiskOfStockoutValue": {
            "type": "number"
          },
          "deadStockValue": {
            "type": "number"
          },
          "healthyValue": {
            "type": "number"
          },
          "slowMovingValue": {
            "type": "number"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "totalInventoryValue": {
            "type": "number"
          },
          "unexplainedVarianceThisMonth": {
            "type": "number"
          }
        },
        "required": [
          "atRiskOfStockoutValue",
          "deadStockValue",
          "healthyValue",
          "slowMovingValue",
          "storeId",
          "totalInventoryValue",
          "unexplainedVarianceThisMonth"
        ],
        "type": "object"
      },
      "InviteReadCapabilitiesResponse": {
        "properties": {
          "organization": {
            "type": "boolean"
          },
          "storeIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "organization",
          "storeIds"
        ],
        "type": "object"
      },
      "InviteResponse": {
        "properties": {
          "acceptedAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "inviteId": {
            "format": "uuid",
            "type": "string"
          },
          "jobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "jobFunctionLabel": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "organizationName": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "InvoiceAccountingExportResponse": {
        "properties": {
          "completedAt": {
            "format": "date-time",
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "periodEnd": {
            "format": "date",
            "type": "string"
          },
          "periodStart": {
            "format": "date",
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "rowCount": {
            "format": "int32",
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "storageUri": {
            "type": "string"
          }
        },
        "required": [
          "format",
          "id",
          "periodEnd",
          "periodStart",
          "requestedAt",
          "rowCount",
          "status"
        ],
        "type": "object"
      },
      "InvoiceActionCapabilities": {
        "properties": {
          "canCreateCreditNote": {
            "type": "boolean"
          },
          "canCreatePaymentLink": {
            "type": "boolean"
          },
          "canIssue": {
            "type": "boolean"
          },
          "canRecordPayment": {
            "type": "boolean"
          },
          "canRefund": {
            "type": "boolean"
          },
          "canSend": {
            "type": "boolean"
          },
          "canVoid": {
            "type": "boolean"
          },
          "refundableByTender": {
            "additionalProperties": {
              "type": "number"
            },
            "type": "object"
          }
        },
        "required": [
          "canCreateCreditNote",
          "canCreatePaymentLink",
          "canIssue",
          "canRecordPayment",
          "canRefund",
          "canSend",
          "canVoid",
          "refundableByTender"
        ],
        "type": "object"
      },
      "InvoiceAuditEventResponse": {
        "properties": {
          "actorType": {
            "type": "string"
          },
          "actorUserId": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "eventType": {
            "type": "string"
          },
          "fromStatus": {
            "$ref": "#/components/schemas/AccountInvoiceStatus"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "payload": {
            "type": "string"
          },
          "toStatus": {
            "$ref": "#/components/schemas/AccountInvoiceStatus"
          }
        },
        "required": [
          "actorType",
          "createdAt",
          "eventType",
          "id"
        ],
        "type": "object"
      },
      "InvoiceAutoPayDefaultsRequest": {
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/InvoiceAutoPayMode"
          }
        },
        "required": [
          "mode"
        ],
        "type": "object"
      },
      "InvoiceAutoPayDefaultsResponse": {
        "properties": {
          "mode": {
            "$ref": "#/components/schemas/InvoiceAutoPayMode"
          }
        },
        "required": [
          "mode"
        ],
        "type": "object"
      },
      "InvoiceAutoPayMode": {
        "enum": [
          "DISABLED",
          "OPTIONAL"
        ],
        "type": "string"
      },
      "InvoiceAutoPayOverrideRequest": {
        "properties": {
          "modeOverride": {
            "$ref": "#/components/schemas/InvoiceAutoPayMode",
            "nullable": true
          }
        },
        "required": [
          "modeOverride"
        ],
        "type": "object"
      },
      "InvoiceAutoPayResponse": {
        "properties": {
          "available": {
            "type": "boolean"
          },
          "invoiceUpdatedAt": {
            "type": "string"
          },
          "merchantDefaultMode": {
            "$ref": "#/components/schemas/InvoiceAutoPayMode"
          },
          "mode": {
            "$ref": "#/components/schemas/InvoiceAutoPayMode"
          },
          "modeOverride": {
            "$ref": "#/components/schemas/InvoiceAutoPayMode",
            "nullable": true
          },
          "stages": {
            "items": {
              "$ref": "#/components/schemas/InvoiceAutoPayStageResponse"
            },
            "type": "array"
          }
        },
        "required": [
          "available",
          "invoiceUpdatedAt",
          "merchantDefaultMode",
          "mode",
          "stages"
        ],
        "type": "object"
      },
      "InvoiceAutoPayStageResponse": {
        "properties": {
          "attemptId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "dueDate": {
            "format": "date",
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "outcomePending": {
            "type": "boolean"
          },
          "remainingAmount": {
            "type": "number"
          },
          "stageId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "dueDate",
          "label",
          "outcomePending",
          "remainingAmount",
          "stageId",
          "status"
        ],
        "type": "object"
      },
      "InvoiceConfigurationTemplateConfig": {
        "properties": {
          "allowPartialPayments": {
            "type": "boolean"
          },
          "deliveryFeeAmount": {
            "type": "number"
          },
          "dueDaysOffset": {
            "format": "int32",
            "type": "integer"
          },
          "footerNotes": {
            "nullable": true,
            "type": "string"
          },
          "invoiceDiscount": {
            "$ref": "#/components/schemas/AccountInvoiceDiscountDto"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/AccountCreateDraftInvoiceLineRequest"
            },
            "type": "array"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "paymentSchedule": {
            "items": {
              "$ref": "#/components/schemas/InvoiceDefaultPaymentStage"
            },
            "type": "array"
          },
          "reminderConfig": {
            "$ref": "#/components/schemas/InvoiceStageReminderConfig",
            "nullable": true
          },
          "termsOfService": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "allowPartialPayments",
          "deliveryFeeAmount",
          "dueDaysOffset",
          "footerNotes",
          "invoiceDiscount",
          "items",
          "notes",
          "paymentSchedule",
          "reminderConfig",
          "termsOfService"
        ],
        "type": "object"
      },
      "InvoiceConfigurationTemplateResponse": {
        "properties": {
          "config": {
            "$ref": "#/components/schemas/InvoiceConfigurationTemplateConfig"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "templateId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "config",
          "createdAt",
          "name",
          "orgId",
          "storeId",
          "templateId",
          "updatedAt",
          "version"
        ],
        "type": "object"
      },
      "InvoiceConfigurationTemplateStarterResponse": {
        "properties": {
          "config": {
            "$ref": "#/components/schemas/InvoiceConfigurationTemplateConfig"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "config",
          "key",
          "name"
        ],
        "type": "object"
      },
      "InvoiceCustomerAutoPayRequest": {
        "properties": {
          "enabled": {
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "type": "object"
      },
      "InvoiceCustomerAutoPayResponse": {
        "properties": {
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          }
        },
        "required": [
          "customerId",
          "enabled"
        ],
        "type": "object"
      },
      "InvoiceDefaultDueTiming": {
        "enum": [
          "IMMEDIATE",
          "DAYS_AFTER_ISSUE",
          "INVOICE_DUE_DATE"
        ],
        "type": "string"
      },
      "InvoiceDefaultPaymentStage": {
        "properties": {
          "amount": {
            "nullable": true,
            "type": "number"
          },
          "dueDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "dueTiming": {
            "$ref": "#/components/schemas/InvoiceDefaultDueTiming"
          },
          "label": {
            "type": "string"
          },
          "percent": {
            "nullable": true,
            "type": "number"
          }
        },
        "required": [
          "dueTiming",
          "label"
        ],
        "type": "object"
      },
      "InvoiceDefaultsResponse": {
        "properties": {
          "acceptedPaymentMethods": {
            "items": {
              "enum": [
                "CARD",
                "ACH",
                "CASH_CHECK"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "allowPartialPayments": {
            "type": "boolean"
          },
          "depositPercent": {
            "type": "number"
          },
          "dueDaysOffset": {
            "format": "int32",
            "type": "integer"
          },
          "footerNotes": {
            "type": "string"
          },
          "industryTemplateKey": {
            "type": "string"
          },
          "paymentSchedule": {
            "items": {
              "$ref": "#/components/schemas/InvoiceDefaultPaymentStage"
            },
            "type": "array"
          },
          "tenantId": {
            "format": "uuid",
            "type": "string"
          },
          "termsOfService": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "acceptedPaymentMethods",
          "allowPartialPayments",
          "depositPercent",
          "dueDaysOffset",
          "paymentSchedule",
          "tenantId",
          "updatedAt"
        ],
        "type": "object"
      },
      "InvoiceDelivery": {
        "properties": {
          "attemptCount": {
            "format": "int64",
            "type": "integer"
          },
          "channel": {
            "type": "string"
          },
          "customMessage": {
            "type": "string"
          },
          "customerName": {
            "type": "string"
          },
          "deliveredAt": {
            "format": "date-time",
            "type": "string"
          },
          "destination": {
            "type": "string"
          },
          "failedAt": {
            "format": "date-time",
            "type": "string"
          },
          "failureReason": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "invoiceId": {
            "format": "uuid",
            "type": "string"
          },
          "paymentLinkUrl": {
            "type": "string"
          },
          "processingAt": {
            "format": "date-time",
            "type": "string"
          },
          "providerMessageId": {
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/InvoiceDeliveryStatus"
          },
          "tenantId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "attemptCount",
          "channel",
          "destination",
          "id",
          "invoiceId",
          "requestedAt",
          "status",
          "tenantId",
          "updatedAt"
        ],
        "type": "object"
      },
      "InvoiceDeliveryStatus": {
        "enum": [
          "QUEUED",
          "PROCESSING",
          "DELIVERED",
          "CANCELLED",
          "FAILED"
        ],
        "type": "string"
      },
      "InvoiceDepositSuggestionResponse": {
        "properties": {
          "dueDaysOffset": {
            "format": "int32",
            "type": "integer"
          },
          "percent": {
            "type": "number"
          }
        },
        "required": [
          "dueDaysOffset",
          "percent"
        ],
        "type": "object"
      },
      "InvoiceDualPrice": {
        "properties": {
          "creditedAmount": {
            "type": "number"
          },
          "deliveryFeeAmount": {
            "type": "number"
          },
          "discountAmount": {
            "type": "number"
          },
          "dueAmount": {
            "type": "number"
          },
          "lineItems": {
            "items": {
              "$ref": "#/components/schemas/InvoiceDualPricedLine"
            },
            "type": "array"
          },
          "paidAmount": {
            "type": "number"
          },
          "subtotalAmount": {
            "type": "number"
          },
          "taxAmount": {
            "type": "number"
          },
          "totalAmount": {
            "type": "number"
          }
        },
        "required": [
          "creditedAmount",
          "deliveryFeeAmount",
          "discountAmount",
          "dueAmount",
          "lineItems",
          "paidAmount",
          "subtotalAmount",
          "taxAmount",
          "totalAmount"
        ],
        "type": "object"
      },
      "InvoiceDualPricedLine": {
        "properties": {
          "description": {
            "type": "string"
          },
          "discountAmount": {
            "type": "number"
          },
          "lineItemId": {
            "format": "uuid",
            "type": "string"
          },
          "lineSubtotalAmount": {
            "type": "number"
          },
          "lineTotalAmount": {
            "type": "number"
          },
          "quantity": {
            "type": "number"
          },
          "taxAmount": {
            "type": "number"
          },
          "unitAmount": {
            "type": "number"
          }
        },
        "required": [
          "description",
          "discountAmount",
          "lineItemId",
          "lineSubtotalAmount",
          "lineTotalAmount",
          "quantity",
          "taxAmount",
          "unitAmount"
        ],
        "type": "object"
      },
      "InvoiceFxRateResponse": {
        "properties": {
          "asOfDate": {
            "format": "date",
            "type": "string"
          },
          "baseCurrency": {
            "type": "string"
          },
          "quoteCurrency": {
            "type": "string"
          },
          "rate": {
            "type": "number"
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "asOfDate",
          "baseCurrency",
          "quoteCurrency",
          "rate",
          "source"
        ],
        "type": "object"
      },
      "InvoiceMerchantSavedPaymentRequest": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "expectedUpdatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "paymentMethodId": {
            "format": "uuid",
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "amount",
          "paymentMethodId",
          "requestId"
        ],
        "type": "object"
      },
      "InvoiceMoney": {
        "properties": {
          "amount": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency"
        ],
        "type": "object"
      },
      "InvoiceOfflinePaymentIntent": {
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "method": {
            "$ref": "#/components/schemas/InvoiceOfflinePaymentMethod"
          }
        },
        "required": [
          "createdAt",
          "method"
        ],
        "type": "object"
      },
      "InvoiceOfflinePaymentMethod": {
        "enum": [
          "CASH",
          "CHECK"
        ],
        "type": "string"
      },
      "InvoicePaymentAdmission": {
        "properties": {
          "attempts": {
            "items": {
              "$ref": "#/components/schemas/InvoicePaymentAdmissionAttempt"
            },
            "type": "array"
          },
          "canStartPayment": {
            "type": "boolean"
          },
          "outcomePending": {
            "type": "boolean"
          }
        },
        "required": [
          "attempts",
          "canStartPayment",
          "outcomePending"
        ],
        "type": "object"
      },
      "InvoicePaymentAdmissionAttempt": {
        "properties": {
          "id": {
            "type": "string"
          },
          "rail": {
            "$ref": "#/components/schemas/InvoicePaymentAdmissionRail"
          },
          "status": {
            "$ref": "#/components/schemas/InvoicePaymentAdmissionStatus"
          }
        },
        "required": [
          "id",
          "rail",
          "status"
        ],
        "type": "object"
      },
      "InvoicePaymentAdmissionRail": {
        "enum": [
          "AUTOPAY",
          "SAVED_CARD",
          "GIFT_CARD",
          "MANUAL",
          "HOSTED_CARD"
        ],
        "type": "string"
      },
      "InvoicePaymentAdmissionStatus": {
        "enum": [
          "prepared",
          "dispatched",
          "unknown",
          "pending",
          "redeemed",
          "review_required",
          "creation_pending",
          "recorded",
          "paid",
          "failed",
          "manual_required",
          "attached",
          "closed",
          "declined"
        ],
        "type": "string"
      },
      "InvoiceReceiptDualPricing": {
        "properties": {
          "ach": {
            "$ref": "#/components/schemas/InvoiceDualPrice"
          },
          "card": {
            "$ref": "#/components/schemas/InvoiceDualPrice"
          }
        },
        "required": [
          "ach",
          "card"
        ],
        "type": "object"
      },
      "InvoiceRefundResponse": {
        "properties": {
          "amount": {
            "$ref": "#/components/schemas/InvoiceMoney"
          },
          "creditNoteId": {
            "format": "uuid",
            "type": "string"
          },
          "failedAt": {
            "format": "date-time",
            "type": "string"
          },
          "failureReason": {
            "type": "string"
          },
          "gatewayRefundId": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "invoiceId": {
            "format": "uuid",
            "type": "string"
          },
          "processingAt": {
            "format": "date-time",
            "type": "string"
          },
          "providerTransactionId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "retryEligible": {
            "type": "boolean"
          },
          "settledAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "id",
          "invoiceId",
          "requestedAt",
          "retryEligible",
          "status"
        ],
        "type": "object"
      },
      "InvoiceReminderConfigResponse": {
        "properties": {
          "channelPreference": {
            "type": "string"
          },
          "offsets": {
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "type": "array"
          },
          "tenantId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "channelPreference",
          "offsets",
          "tenantId"
        ],
        "type": "object"
      },
      "InvoiceSavedPaymentMethodResponse": {
        "properties": {
          "cardBrand": {
            "type": "string"
          },
          "cardExpMonth": {
            "format": "int32",
            "type": "integer"
          },
          "cardExpYear": {
            "format": "int32",
            "type": "integer"
          },
          "cardLast4": {
            "type": "string"
          },
          "consentVersion": {
            "type": "string"
          },
          "consentedAt": {
            "format": "date-time",
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "consentVersion",
          "consentedAt",
          "customerId",
          "id"
        ],
        "type": "object"
      },
      "InvoiceSavedPaymentResponse": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "currency": {
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "transactionId": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency",
          "requestId",
          "status"
        ],
        "type": "object"
      },
      "InvoiceSmsConfigRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "campaignId": {
            "type": "string"
          },
          "provider": {
            "minLength": 1,
            "type": "string"
          },
          "senderPhone": {
            "type": "string"
          }
        },
        "required": [
          "active",
          "provider"
        ],
        "type": "object"
      },
      "InvoiceSmsConfigResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "campaignId": {
            "type": "string"
          },
          "provider": {
            "type": "string"
          },
          "senderPhone": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "active",
          "provider",
          "updatedAt"
        ],
        "type": "object"
      },
      "InvoiceSmsConsentResponse": {
        "properties": {
          "optedIn": {
            "type": "boolean"
          },
          "optedInAt": {
            "format": "date-time",
            "type": "string"
          },
          "optedOutAt": {
            "format": "date-time",
            "type": "string"
          },
          "phoneE164": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "optedIn",
          "phoneE164",
          "source"
        ],
        "type": "object"
      },
      "InvoiceSmsOptInRequest": {
        "properties": {
          "phoneE164": {
            "minLength": 1,
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "phoneE164"
        ],
        "type": "object"
      },
      "InvoiceStageReminderConfig": {
        "properties": {
          "channelPreference": {
            "type": "string"
          },
          "offsets": {
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "type": "array"
          }
        },
        "required": [
          "channelPreference",
          "offsets"
        ],
        "type": "object"
      },
      "InvoiceTemplateResponse": {
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "incarnation": {
            "description": "Server-owned insertion identity. In-place edits retain it; deletion and recreation replace it.",
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "industry": {
            "type": "string"
          },
          "isDefault": {
            "description": "For invoice layouts, derived from the invoice settings template key; not independently stored.",
            "type": "boolean"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "payload": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "id",
          "isDefault",
          "key",
          "name",
          "payload",
          "updatedAt"
        ],
        "type": "object"
      },
      "IssueCreditNoteLineRequest": {
        "properties": {
          "description": {
            "type": "string"
          },
          "originalInvoiceLineId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "taxCategory": {
            "type": "string"
          },
          "taxExempt": {
            "type": "boolean"
          },
          "unitPrice": {
            "$ref": "#/components/schemas/InvoiceMoney"
          }
        },
        "required": [
          "description",
          "quantity",
          "taxExempt",
          "unitPrice"
        ],
        "type": "object"
      },
      "IssueCreditNoteRequest": {
        "properties": {
          "lines": {
            "items": {
              "$ref": "#/components/schemas/IssueCreditNoteLineRequest"
            },
            "type": "array"
          },
          "notes": {
            "type": "string"
          }
        },
        "required": [
          "lines"
        ],
        "type": "object"
      },
      "Item": {
        "properties": {
          "categoryName": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "price": {
            "exclusiveMinimum": false,
            "minimum": 0,
            "type": "number"
          },
          "quantity": {
            "format": "int32",
            "minimum": 1,
            "type": "integer"
          },
          "unit": {
            "nullable": true,
            "type": "string"
          },
          "upcCode": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "name",
          "price",
          "quantity",
          "upcCode"
        ],
        "type": "object"
      },
      "KeyedCnpTaxDestination": {
        "properties": {
          "city": {
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "KpisResponse": {
        "properties": {
          "currency": {
            "type": "string"
          },
          "draftInvoiceCount": {
            "format": "int64",
            "type": "integer"
          },
          "lowStockCount": {
            "format": "int64",
            "type": "integer"
          },
          "openPoCount": {
            "format": "int64",
            "type": "integer"
          },
          "outstanding": {
            "$ref": "#/components/schemas/MoneyResponse"
          },
          "overdueCount": {
            "format": "int64",
            "type": "integer"
          },
          "paidThisMonth": {
            "$ref": "#/components/schemas/MoneyResponse"
          }
        },
        "required": [
          "currency",
          "draftInvoiceCount",
          "lowStockCount",
          "openPoCount",
          "outstanding",
          "overdueCount",
          "paidThisMonth"
        ],
        "type": "object"
      },
      "Level2Data": {
        "properties": {
          "chargeDescriptor": {
            "type": "string"
          },
          "commercialCardLevel": {
            "$ref": "#/components/schemas/CommercialCardLevel"
          },
          "customerCode": {
            "type": "string"
          },
          "customerRefID": {
            "type": "string"
          },
          "purchaseOrder": {
            "type": "string"
          },
          "shipToZip": {
            "type": "string"
          },
          "supplierReferenceNumber": {
            "type": "string"
          },
          "taxAmount": {
            "format": "int64",
            "type": "integer"
          },
          "taxIndicator": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "Level3Data": {
        "properties": {
          "additionalTaxDetails": {
            "items": {
              "$ref": "#/components/schemas/AdditionalTaxDetail"
            },
            "type": "array"
          },
          "commercialCardLevel": {
            "$ref": "#/components/schemas/CommercialCardLevel"
          },
          "customerVATNumber": {
            "type": "string"
          },
          "destinationCountryCode": {
            "type": "string"
          },
          "discountAmount": {
            "format": "int64",
            "type": "integer"
          },
          "dutyAmount": {
            "format": "int64",
            "type": "integer"
          },
          "freightAmount": {
            "format": "int64",
            "type": "integer"
          },
          "lineItems": {
            "items": {
              "$ref": "#/components/schemas/Level3LineItem"
            },
            "type": "array"
          },
          "orderDate": {
            "type": "string"
          },
          "purchaseOrder": {
            "type": "string"
          },
          "salesTax": {
            "format": "int64",
            "type": "integer"
          },
          "shipFromZip": {
            "type": "string"
          },
          "shipToZip": {
            "type": "string"
          },
          "summaryCommodityCode": {
            "type": "string"
          },
          "vatInvoice": {
            "type": "string"
          }
        },
        "required": [
          "additionalTaxDetails",
          "lineItems"
        ],
        "type": "object"
      },
      "Level3LineItem": {
        "properties": {
          "commodityCode": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "discountAmount": {
            "format": "int64",
            "type": "integer"
          },
          "discountName": {
            "type": "string"
          },
          "discountPercentage": {
            "type": "string"
          },
          "discountPriority": {
            "format": "int32",
            "type": "integer"
          },
          "discountStackable": {
            "type": "boolean"
          },
          "discountType": {
            "$ref": "#/components/schemas/ProductDiscountType"
          },
          "lineTotal": {
            "format": "int64",
            "type": "integer"
          },
          "productCode": {
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "taxAmount": {
            "format": "int64",
            "type": "integer"
          },
          "taxName": {
            "type": "string"
          },
          "taxPercentage": {
            "type": "string"
          },
          "unitCost": {
            "format": "int64",
            "type": "integer"
          },
          "unitOfMeasure": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "LongTextField": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FormField"
          },
          {
            "properties": {
              "maxLength": {
                "format": "int32",
                "type": "integer"
              }
            },
            "type": "object"
          }
        ],
        "required": [
          "id",
          "label",
          "maxLength",
          "required",
          "sensitive"
        ],
        "type": "object"
      },
      "LossPreventionEventResponse": {
        "properties": {
          "approvalAction": {
            "type": "string"
          },
          "approvalAmount": {
            "type": "number"
          },
          "approvalConsumedAt": {
            "format": "date-time",
            "type": "string"
          },
          "approvalCreatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "approvalReasonCode": {
            "type": "string"
          },
          "approvalState": {
            "type": "string"
          },
          "cashierName": {
            "type": "string"
          },
          "cashierUserId": {
            "format": "uuid",
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "complianceCheckId": {
            "format": "uuid",
            "type": "string"
          },
          "complianceReasonCodes": {
            "type": "string"
          },
          "complianceResult": {
            "type": "string"
          },
          "discountAmount": {
            "type": "number"
          },
          "eventId": {
            "format": "uuid",
            "type": "string"
          },
          "eventType": {
            "type": "string"
          },
          "lineTotal": {
            "type": "number"
          },
          "managerName": {
            "type": "string"
          },
          "managerOverrideApprovalId": {
            "format": "uuid",
            "type": "string"
          },
          "managerRoleName": {
            "type": "string"
          },
          "managerUserId": {
            "format": "uuid",
            "type": "string"
          },
          "occurredAt": {
            "format": "date-time",
            "type": "string"
          },
          "overrideBy": {
            "format": "uuid",
            "type": "string"
          },
          "overrideReason": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "requiredAge": {
            "format": "int32",
            "type": "integer"
          },
          "restrictedAge": {
            "format": "int32",
            "type": "integer"
          },
          "riskFlags": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "taxAmount": {
            "type": "number"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          },
          "transactionItemId": {
            "format": "uuid",
            "type": "string"
          },
          "transactionRef": {
            "format": "int32",
            "type": "integer"
          },
          "unitPrice": {
            "type": "number"
          },
          "verifiedAge": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "approvalState",
          "cashierUserId",
          "category",
          "discountAmount",
          "eventId",
          "eventType",
          "lineTotal",
          "occurredAt",
          "productName",
          "quantity",
          "riskFlags",
          "taxAmount",
          "unitPrice"
        ],
        "type": "object"
      },
      "LossPreventionEvidenceCardResponse": {
        "properties": {
          "href": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "owner": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "rows": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "state": {
            "type": "string"
          }
        },
        "required": [
          "label",
          "owner",
          "rows",
          "state"
        ],
        "type": "object"
      },
      "LossPreventionIncidentEvidenceResponse": {
        "properties": {
          "audit": {
            "$ref": "#/components/schemas/LossPreventionEvidenceCardResponse"
          },
          "compliance": {
            "$ref": "#/components/schemas/LossPreventionEvidenceCardResponse"
          },
          "managerOverride": {
            "$ref": "#/components/schemas/LossPreventionEvidenceCardResponse"
          },
          "product": {
            "$ref": "#/components/schemas/LossPreventionEvidenceCardResponse"
          },
          "tax": {
            "$ref": "#/components/schemas/LossPreventionEvidenceCardResponse"
          },
          "transaction": {
            "$ref": "#/components/schemas/LossPreventionEvidenceCardResponse"
          }
        },
        "required": [
          "audit",
          "compliance",
          "managerOverride",
          "product",
          "tax",
          "transaction"
        ],
        "type": "object"
      },
      "LossPreventionIncidentReportResponse": {
        "properties": {
          "categories": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "filters": {
            "$ref": "#/components/schemas/LossPreventionReportFiltersResponse"
          },
          "incidents": {
            "items": {
              "$ref": "#/components/schemas/LossPreventionIncidentResponse"
            },
            "type": "array"
          },
          "summary": {
            "$ref": "#/components/schemas/LossPreventionIncidentSummaryResponse"
          }
        },
        "required": [
          "categories",
          "filters",
          "incidents",
          "summary"
        ],
        "type": "object"
      },
      "LossPreventionIncidentResponse": {
        "properties": {
          "evidence": {
            "$ref": "#/components/schemas/LossPreventionIncidentEvidenceResponse"
          },
          "incidentKey": {
            "type": "string"
          },
          "occurredAt": {
            "format": "date-time",
            "type": "string"
          },
          "ownerUserId": {
            "format": "uuid",
            "type": "string"
          },
          "resolutionNote": {
            "type": "string"
          },
          "resolvedAt": {
            "format": "date-time",
            "type": "string"
          },
          "resolvedBy": {
            "format": "uuid",
            "type": "string"
          },
          "riskFlags": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "saleOutcome": {
            "type": "string"
          },
          "sourceEventIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "status": {
            "type": "string"
          },
          "timeline": {
            "items": {
              "$ref": "#/components/schemas/LossPreventionIncidentTimelineEntryResponse"
            },
            "type": "array"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "evidence",
          "incidentKey",
          "occurredAt",
          "riskFlags",
          "saleOutcome",
          "sourceEventIds",
          "status",
          "timeline",
          "title"
        ],
        "type": "object"
      },
      "LossPreventionIncidentSummaryResponse": {
        "properties": {
          "blockedDenied": {
            "format": "int32",
            "type": "integer"
          },
          "evidenceIncomplete": {
            "format": "int32",
            "type": "integer"
          },
          "needsReview": {
            "format": "int32",
            "type": "integer"
          },
          "noActionNeeded": {
            "format": "int32",
            "type": "integer"
          },
          "resolved": {
            "format": "int32",
            "type": "integer"
          },
          "totalIncidents": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "blockedDenied",
          "evidenceIncomplete",
          "needsReview",
          "noActionNeeded",
          "resolved",
          "totalIncidents"
        ],
        "type": "object"
      },
      "LossPreventionIncidentTimelineEntryResponse": {
        "properties": {
          "href": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "occurredAt": {
            "format": "date-time",
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "label",
          "occurredAt",
          "source"
        ],
        "type": "object"
      },
      "LossPreventionReportFiltersResponse": {
        "properties": {
          "approvalState": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "endDate": {
            "format": "date",
            "type": "string"
          },
          "limit": {
            "format": "int32",
            "type": "integer"
          },
          "startDate": {
            "format": "date",
            "type": "string"
          }
        },
        "required": [
          "endDate",
          "limit",
          "startDate"
        ],
        "type": "object"
      },
      "LossPreventionReportResponse": {
        "properties": {
          "categories": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "events": {
            "items": {
              "$ref": "#/components/schemas/LossPreventionEventResponse"
            },
            "type": "array"
          },
          "filters": {
            "$ref": "#/components/schemas/LossPreventionReportFiltersResponse"
          },
          "summary": {
            "$ref": "#/components/schemas/LossPreventionReportSummaryResponse"
          }
        },
        "required": [
          "categories",
          "events",
          "filters",
          "summary"
        ],
        "type": "object"
      },
      "LossPreventionReportSummaryResponse": {
        "properties": {
          "deniedEvents": {
            "format": "int32",
            "type": "integer"
          },
          "managerApprovedEvents": {
            "format": "int32",
            "type": "integer"
          },
          "pendingApprovalEvents": {
            "format": "int32",
            "type": "integer"
          },
          "restrictedItemQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "totalDiscountAmount": {
            "type": "number"
          },
          "totalEvents": {
            "format": "int32",
            "type": "integer"
          },
          "totalSalesAmount": {
            "type": "number"
          },
          "uniqueTransactions": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "deniedEvents",
          "managerApprovedEvents",
          "pendingApprovalEvents",
          "restrictedItemQuantity",
          "totalDiscountAmount",
          "totalEvents",
          "totalSalesAmount",
          "uniqueTransactions"
        ],
        "type": "object"
      },
      "LotAllocationGapRecord": {
        "properties": {
          "allocationSlot": {
            "type": "string"
          },
          "barcode": {
            "type": "string"
          },
          "changeType": {
            "type": "string"
          },
          "ledgerId": {
            "format": "uuid",
            "type": "string"
          },
          "occurredAt": {
            "format": "date-time",
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "quantityChange": {
            "format": "int32",
            "type": "integer"
          },
          "remainingQuantity": {
            "format": "int64",
            "type": "integer"
          },
          "reviewKey": {
            "type": "string"
          },
          "reviewReason": {
            "type": "string"
          },
          "reviewedAt": {
            "format": "date-time",
            "type": "string"
          },
          "reviewedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "reviewedSubject": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "unallocatedReason": {
            "type": "string"
          }
        },
        "required": [
          "allocationSlot",
          "barcode",
          "changeType",
          "ledgerId",
          "occurredAt",
          "productId",
          "productName",
          "quantityChange",
          "remainingQuantity",
          "storeId"
        ],
        "type": "object"
      },
      "LotResponse": {
        "properties": {
          "alreadySoldQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "barcode": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "dateType": {
            "type": "string"
          },
          "expirationDate": {
            "format": "date",
            "type": "string"
          },
          "inventoryEffect": {
            "type": "string"
          },
          "lotId": {
            "format": "uuid",
            "type": "string"
          },
          "lotNumber": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "receivedAt": {
            "format": "date-time",
            "type": "string"
          },
          "sourceReceiptId": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "alreadySoldQuantity",
          "createdAt",
          "inventoryEffect",
          "lotId",
          "lotNumber",
          "productId",
          "quantity",
          "receivedAt",
          "storeId",
          "updatedAt"
        ],
        "type": "object"
      },
      "LowStockReorderItemResponse": {
        "properties": {
          "daysOfSupply": {
            "type": "number"
          },
          "idealStockLevel": {
            "format": "int32",
            "type": "integer"
          },
          "orderByDate": {
            "format": "date",
            "type": "string"
          },
          "orderCost": {
            "type": "number"
          },
          "orderQty": {
            "format": "int32",
            "type": "integer"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "quantityOnHand": {
            "format": "int32",
            "type": "integer"
          },
          "reorderWhenBelow": {
            "format": "int32",
            "type": "integer"
          },
          "suggestedOrderQty": {
            "format": "int32",
            "type": "integer"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierName": {
            "type": "string"
          },
          "unitCost": {
            "type": "number"
          }
        },
        "required": [
          "orderCost",
          "productId",
          "quantityOnHand",
          "unitCost"
        ],
        "type": "object"
      },
      "LowStockReorderReportResponse": {
        "properties": {
          "estimatedReorderCost": {
            "type": "number"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/LowStockReorderItemResponse"
            },
            "type": "array"
          },
          "productsNeedingReorder": {
            "format": "int32",
            "type": "integer"
          },
          "unitsRecommended": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "estimatedReorderCost",
          "items",
          "productsNeedingReorder",
          "unitsRecommended"
        ],
        "type": "object"
      },
      "LowStockResponse": {
        "properties": {
          "barcode": {
            "type": "string"
          },
          "lastCountedAt": {
            "format": "date-time",
            "type": "string"
          },
          "parLevel": {
            "format": "int32",
            "type": "integer"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "quantityOnHand": {
            "format": "int32",
            "type": "integer"
          },
          "reorderPoint": {
            "format": "int32",
            "type": "integer"
          },
          "reorderQty": {
            "format": "int32",
            "type": "integer"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "productId",
          "quantityOnHand",
          "storeId",
          "updatedAt"
        ],
        "type": "object"
      },
      "LoyaltyMessagingSettingsRequest": {
        "properties": {
          "customerFacingName": {
            "type": "string"
          },
          "welcomeSmsTemplate": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "LoyaltyMessagingSettingsResponse": {
        "properties": {
          "customerFacingName": {
            "type": "string"
          },
          "defaultCustomerFacingName": {
            "type": "string"
          },
          "defaultWelcomeSmsTemplate": {
            "type": "string"
          },
          "maxCustomerFacingNameLength": {
            "format": "int32",
            "type": "integer"
          },
          "maxMessageLength": {
            "format": "int32",
            "type": "integer"
          },
          "maxTemplateLength": {
            "format": "int32",
            "type": "integer"
          },
          "protectedFooter": {
            "type": "string"
          },
          "variables": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "welcomeSmsTemplate": {
            "type": "string"
          }
        },
        "required": [
          "defaultCustomerFacingName",
          "defaultWelcomeSmsTemplate",
          "maxCustomerFacingNameLength",
          "maxMessageLength",
          "maxTemplateLength",
          "protectedFooter",
          "variables"
        ],
        "type": "object"
      },
      "LoyaltyProgramRequest": {
        "properties": {
          "allowRewardStacking": {
            "type": "boolean"
          },
          "appliesToAllStores": {
            "type": "boolean"
          },
          "minTransactionAmount": {
            "format": "double",
            "minimum": 0,
            "type": "number"
          },
          "minimumPointsToRedeem": {
            "exclusiveMinimum": true,
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "pointExpirationDays": {
            "exclusiveMinimum": true,
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          },
          "pointsPerDollar": {
            "exclusiveMinimum": true,
            "format": "double",
            "minimum": 0,
            "type": "number"
          },
          "pointsToDollarRate": {
            "exclusiveMinimum": true,
            "format": "double",
            "minimum": 0,
            "type": "number"
          }
        },
        "required": [
          "allowRewardStacking",
          "appliesToAllStores",
          "minTransactionAmount",
          "minimumPointsToRedeem",
          "name",
          "pointsPerDollar",
          "pointsToDollarRate"
        ],
        "type": "object"
      },
      "LoyaltyProgramResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "allowRewardStacking": {
            "type": "boolean"
          },
          "appliesToAllStores": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "minTransactionAmount": {
            "format": "double",
            "type": "number"
          },
          "minimumPointsToRedeem": {
            "format": "int32",
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "orgId": {
            "type": "string"
          },
          "pointExpirationDays": {
            "format": "int32",
            "type": "integer"
          },
          "pointsPerDollar": {
            "format": "double",
            "type": "number"
          },
          "pointsToDollarRate": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "active",
          "allowRewardStacking",
          "appliesToAllStores",
          "id",
          "minTransactionAmount",
          "minimumPointsToRedeem",
          "name",
          "orgId",
          "pointsPerDollar",
          "pointsToDollarRate"
        ],
        "type": "object"
      },
      "LoyaltyReadLinkCommandRequest": {
        "properties": {
          "expectedGeneration": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "operationId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "expectedGeneration",
          "operationId"
        ],
        "type": "object"
      },
      "LoyaltyReadLinkStateResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "generation": {
            "format": "int64",
            "type": "integer"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "active",
          "generation"
        ],
        "type": "object"
      },
      "LoyaltyRewardRequest": {
        "properties": {
          "description": {
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "pointsCost": {
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "name",
          "pointsCost"
        ],
        "type": "object"
      },
      "LoyaltyRewardResponse": {
        "properties": {
          "description": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "pointsCost": {
            "format": "int32",
            "type": "integer"
          },
          "programId": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "pointsCost",
          "programId"
        ],
        "type": "object"
      },
      "LoyaltyStoreBalanceResponse": {
        "properties": {
          "points": {
            "format": "int32",
            "type": "integer"
          },
          "storeId": {
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "required": [
          "points"
        ],
        "type": "object"
      },
      "LoyaltyTierRequest": {
        "properties": {
          "minPoints": {
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          },
          "multiplier": {
            "exclusiveMinimum": true,
            "format": "double",
            "minimum": 0,
            "type": "number"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "minPoints",
          "multiplier",
          "name"
        ],
        "type": "object"
      },
      "LoyaltyTierResponse": {
        "properties": {
          "id": {
            "type": "string"
          },
          "minPoints": {
            "format": "int32",
            "type": "integer"
          },
          "multiplier": {
            "format": "double",
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "programId": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "minPoints",
          "multiplier",
          "name",
          "programId"
        ],
        "type": "object"
      },
      "LoyaltyWelcomeSmsQueuedResponse": {
        "properties": {
          "status": {
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "LoyaltyWelcomeTestSmsRequest": {
        "properties": {
          "customerFacingName": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "welcomeSmsTemplate": {
            "type": "string"
          }
        },
        "required": [
          "phone"
        ],
        "type": "object"
      },
      "ManagementApiResponseListGatewayMerchantResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ManagementGatewayMerchantResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ManagementApiResponseListMkonnektRequestAuditResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ManagementMkonnektRequestAuditResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ManagementApiResponseListStoreResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ManagementStoreResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ManagementApiResponseListTerminalResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ManagementTerminalResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ManagementApiResponseMkonnektConfigResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ManagementMkonnektConfigResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ManagementApiResponsePaymentConfigResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ManagementPaymentConfigResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ManagementApiResponseStoreResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ManagementStoreResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ManagementApiResponseTerminalResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ManagementTerminalResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "ManagementCreateTerminalRequest": {
        "properties": {
          "deviceManufacturer": {
            "$ref": "#/components/schemas/TerminalDeviceManufacturer"
          },
          "deviceModel": {
            "type": "string"
          },
          "incomeSource": {
            "type": "string"
          },
          "managementProvider": {
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "serialNumber": {
            "type": "string"
          },
          "tapToPayProvider": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "ManagementDeviceDiagnosticsResponse": {
        "properties": {
          "appVersion": {
            "type": "string"
          },
          "availableRamBytes": {
            "format": "int64",
            "type": "integer"
          },
          "batteryLevel": {
            "format": "int32",
            "type": "integer"
          },
          "cellularCarrier": {
            "nullable": true,
            "type": "string"
          },
          "cellularIccid": {
            "nullable": true,
            "type": "string"
          },
          "cellularImei": {
            "nullable": true,
            "type": "string"
          },
          "cellularOperator": {
            "nullable": true,
            "type": "string"
          },
          "cellularSignalDbm": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "cellularSimState": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "deviceModel": {
            "type": "string"
          },
          "ipAddress": {
            "type": "string"
          },
          "isCharging": {
            "type": "boolean"
          },
          "latitude": {
            "format": "double",
            "type": "number"
          },
          "longitude": {
            "format": "double",
            "type": "number"
          },
          "networkType": {
            "type": "string"
          },
          "offlineQueueSize": {
            "format": "int64",
            "type": "integer"
          },
          "osVersion": {
            "type": "string"
          },
          "peripheralStatusJson": {
            "type": "string"
          },
          "reportedAt": {
            "format": "date-time",
            "type": "string"
          },
          "screenResolution": {
            "type": "string"
          },
          "serialNumber": {
            "type": "string"
          },
          "storageTotalBytes": {
            "format": "int64",
            "type": "integer"
          },
          "storageUsedBytes": {
            "format": "int64",
            "type": "integer"
          },
          "timeZone": {
            "type": "string"
          },
          "uptimeMillis": {
            "format": "int64",
            "type": "integer"
          },
          "wifiSsid": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "ManagementGatewayMerchantResponse": {
        "properties": {
          "agentId": {
            "type": "string"
          },
          "businessName": {
            "type": "string"
          },
          "contactEmail": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "dba": {
            "type": "string"
          },
          "locationId": {
            "type": "string"
          },
          "merchantId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "ManagementMkonnektConfigResponse": {
        "properties": {
          "accountMode": {
            "type": "string"
          },
          "connectionStatus": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "lastError": {
            "nullable": true,
            "type": "string"
          },
          "lastFailureAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "lastSuccessAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "lastTestedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "onboardingStatus": {
            "type": "string"
          },
          "rcn": {
            "nullable": true,
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "accountMode",
          "connectionStatus",
          "enabled",
          "onboardingStatus",
          "storeId"
        ],
        "type": "object"
      },
      "ManagementMkonnektRequestAuditResponse": {
        "properties": {
          "auditId": {
            "format": "uuid",
            "type": "string"
          },
          "bodyStatus": {
            "format": "int32",
            "type": "integer"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "httpStatus": {
            "format": "int32",
            "type": "integer"
          },
          "latencyMs": {
            "format": "int64",
            "type": "integer"
          },
          "operation": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "requestId": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "auditId",
          "createdAt",
          "latencyMs",
          "operation",
          "outcome",
          "requestId",
          "storeId"
        ],
        "type": "object"
      },
      "ManagementPaymentConfigRequest": {
        "properties": {
          "debitEnabled": {
            "type": "boolean"
          },
          "defaultPaymentType": {
            "type": "string"
          },
          "ebtEnabled": {
            "type": "boolean"
          },
          "getReceipt": {
            "type": "boolean"
          },
          "giftEnabled": {
            "type": "boolean"
          },
          "interfaceConfig": {
            "$ref": "#/components/schemas/PaymentInterfaceConfigDto"
          },
          "printReceipt": {
            "type": "string"
          },
          "proxyTimeout": {
            "format": "int32",
            "type": "integer"
          },
          "smartConnectConfig": {
            "$ref": "#/components/schemas/SmartConnectConfigDto"
          },
          "tipEnabled": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "ManagementPaymentConfigResponse": {
        "properties": {
          "configId": {
            "format": "uuid",
            "type": "string"
          },
          "debitEnabled": {
            "type": "boolean"
          },
          "defaultPaymentType": {
            "type": "string"
          },
          "ebtEnabled": {
            "type": "boolean"
          },
          "getReceipt": {
            "type": "boolean"
          },
          "giftEnabled": {
            "type": "boolean"
          },
          "interfaceConfig": {
            "$ref": "#/components/schemas/PaymentInterfaceConfigDto"
          },
          "isActive": {
            "type": "boolean"
          },
          "paymentDeviceLink": {
            "$ref": "#/components/schemas/PaymentDeviceLinkDto"
          },
          "printReceipt": {
            "type": "string"
          },
          "proxyTimeout": {
            "format": "int32",
            "type": "integer"
          },
          "smartConnectConfig": {
            "$ref": "#/components/schemas/SmartConnectConfigDto"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "tipEnabled": {
            "type": "boolean"
          }
        },
        "required": [
          "debitEnabled",
          "ebtEnabled",
          "getReceipt",
          "giftEnabled",
          "isActive",
          "proxyTimeout",
          "tipEnabled"
        ],
        "type": "object"
      },
      "ManagementStoreResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "cardSurchargePercent": {
            "type": "number"
          },
          "city": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "customerDisplayLoyaltySummaryEnabled": {
            "type": "boolean"
          },
          "dualPricingEnabled": {
            "type": "boolean"
          },
          "dualPricingLabelPriceMode": {
            "type": "string"
          },
          "dualPricingManualEntryMode": {
            "type": "string"
          },
          "fnsNumber": {
            "type": "string"
          },
          "giftTenderEnabled": {
            "type": "boolean"
          },
          "loyaltyContactInputMode": {
            "type": "string"
          },
          "loyaltyPromptEnabled": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "onboardingCompleted": {
            "type": "boolean"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "rcn": {
            "type": "string"
          },
          "receiptPrintMode": {
            "type": "string"
          },
          "receiptPromptEnabled": {
            "type": "boolean"
          },
          "receiptReturnPolicyText": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "tipEnabled": {
            "type": "boolean"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "zipCode": {
            "type": "string"
          }
        },
        "required": [
          "active",
          "customerDisplayLoyaltySummaryEnabled",
          "dualPricingEnabled",
          "dualPricingLabelPriceMode",
          "dualPricingManualEntryMode",
          "giftTenderEnabled",
          "loyaltyContactInputMode",
          "loyaltyPromptEnabled",
          "onboardingCompleted",
          "receiptPrintMode",
          "receiptPromptEnabled",
          "tipEnabled"
        ],
        "type": "object"
      },
      "ManagementTerminalResponse": {
        "properties": {
          "certExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "certSerialNumber": {
            "type": "string"
          },
          "destinationPaymentProvisioning": {
            "type": "string"
          },
          "deviceManufacturer": {
            "$ref": "#/components/schemas/TerminalDeviceManufacturer"
          },
          "deviceModel": {
            "type": "string"
          },
          "incomeSource": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "lastHeartbeat": {
            "format": "date-time",
            "type": "string"
          },
          "managementProvider": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "serialNumber": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "tapToPayProvider": {
            "type": "string"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalName": {
            "type": "string"
          }
        },
        "required": [
          "isActive"
        ],
        "type": "object"
      },
      "ManagementUpdateTerminalRequest": {
        "properties": {
          "deviceManufacturer": {
            "$ref": "#/components/schemas/TerminalDeviceManufacturer"
          },
          "deviceModel": {
            "type": "string"
          },
          "incomeSource": {
            "type": "string"
          },
          "managementProvider": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "serialNumber": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "tapToPayProvider": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "ManagerOverrideValueKind": {
        "enum": [
          "AMOUNT",
          "PERCENTAGE"
        ],
        "type": "string"
      },
      "ManualCouponResponse": {
        "properties": {
          "amountOff": {
            "type": "number"
          },
          "couponId": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "duration": {
            "type": "string"
          },
          "merchantId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "percentOff": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "couponId",
          "duration",
          "merchantId"
        ],
        "type": "object"
      },
      "ManualCouponValueKind": {
        "enum": [
          "AMOUNT",
          "PERCENTAGE"
        ],
        "type": "string"
      },
      "MarketingCategoryChoice": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "active",
          "categoryId",
          "name"
        ],
        "type": "object"
      },
      "MarketingProductChoice": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "active",
          "name",
          "productId",
          "storeId"
        ],
        "type": "object"
      },
      "MarketingReminderServiceChoice": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "active",
          "id",
          "name",
          "storeId"
        ],
        "type": "object"
      },
      "MarketingTextingNumber": {
        "properties": {
          "phoneNumber": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "required": [
          "phoneNumber",
          "status"
        ],
        "type": "object"
      },
      "MarketingTextingResponse": {
        "properties": {
          "failureMessage": {
            "type": "string"
          },
          "forwardingPhone": {
            "type": "string"
          },
          "numbers": {
            "items": {
              "$ref": "#/components/schemas/MarketingTextingNumber"
            },
            "type": "array"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "numbers",
          "status"
        ],
        "type": "object"
      },
      "MarketingTriggerRecord": {
        "properties": {
          "conditionConfig": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "messageTemplate": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "scheduleCron": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "triggerId": {
            "format": "uuid",
            "type": "string"
          },
          "triggerType": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "conditionConfig",
          "createdAt",
          "messageTemplate",
          "orgId",
          "status",
          "triggerId",
          "triggerType",
          "updatedAt"
        ],
        "type": "object"
      },
      "MarketingTriggerUpsertRequest": {
        "properties": {
          "conditionConfig": {
            "type": "object"
          },
          "messageTemplate": {
            "type": "string"
          },
          "scheduleCron": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "triggerType": {
            "type": "string"
          }
        },
        "required": [
          "messageTemplate",
          "triggerType"
        ],
        "type": "object"
      },
      "MerchantApiResponseListGatewayMerchantResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/MerchantGatewayMerchantResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "MerchantApiResponseListMkonnektRequestAuditResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/MerchantMkonnektRequestAuditResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "MerchantApiResponseListStoreResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/MerchantStoreResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "MerchantApiResponseListTerminalResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/MerchantTerminalResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "MerchantApiResponseMkonnektConfigResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MerchantMkonnektConfigResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "MerchantApiResponsePaymentConfigResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MerchantPaymentConfigResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "MerchantApiResponseStoreResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MerchantStoreResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "MerchantApiResponseTerminalResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/MerchantTerminalResponse"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          },
          "meta": {
            "$ref": "#/components/schemas/MetaInfo"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "type": "object"
      },
      "MerchantAuthMeResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "aiAccess": {
            "type": "boolean"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "featurePolicy": {
            "$ref": "#/components/schemas/MerchantFeaturePolicyResponse"
          },
          "firstName": {
            "type": "string"
          },
          "impersonatedRole": {
            "$ref": "#/components/schemas/MerchantImpersonatedRoleResponse"
          },
          "lastLogin": {
            "format": "date-time",
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "organizations": {
            "items": {
              "$ref": "#/components/schemas/AuthUserOrganizationSummary"
            },
            "type": "array"
          },
          "permissions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "role": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "supportImpersonation": {
            "$ref": "#/components/schemas/MerchantSupportImpersonationResponse"
          },
          "tier": {
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "active",
          "aiAccess",
          "organizations",
          "permissions",
          "storeIds"
        ],
        "type": "object"
      },
      "MerchantCreateTerminalRequest": {
        "properties": {
          "terminalName": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "terminalName"
        ],
        "type": "object"
      },
      "MerchantDeviceDiagnosticsResponse": {
        "properties": {
          "availableRamBytes": {
            "format": "int64",
            "type": "integer"
          },
          "batteryCharging": {
            "type": "boolean"
          },
          "batteryPercent": {
            "format": "int32",
            "type": "integer"
          },
          "cardReaderConnected": {
            "type": "boolean"
          },
          "ipAddress": {
            "type": "string"
          },
          "latitude": {
            "format": "double",
            "type": "number"
          },
          "longitude": {
            "format": "double",
            "type": "number"
          },
          "networkType": {
            "type": "string"
          },
          "printerConnected": {
            "type": "boolean"
          },
          "scannerConnected": {
            "type": "boolean"
          },
          "screenResolution": {
            "type": "string"
          },
          "signalStrength": {
            "format": "int32",
            "type": "integer"
          },
          "storageTotalBytes": {
            "format": "int64",
            "type": "integer"
          },
          "storageUsedBytes": {
            "format": "int64",
            "type": "integer"
          },
          "timeZone": {
            "type": "string"
          },
          "uptimeMillis": {
            "format": "int64",
            "type": "integer"
          },
          "wifiSsid": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "MerchantFeaturePolicyResponse": {
        "properties": {
          "activeAddons": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "businessVertical": {
            "type": "string"
          },
          "enabledModuleKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "grantedFeatureKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "tier": {
            "type": "string"
          }
        },
        "required": [
          "activeAddons",
          "businessVertical",
          "enabledModuleKeys",
          "grantedFeatureKeys",
          "tier"
        ],
        "type": "object"
      },
      "MerchantGatewayMerchantResponse": {
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "gatewayMerchantId": {
            "type": "string"
          },
          "industry": {
            "type": "string"
          },
          "locationId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "routesToSimulator": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "transitStatus": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "gatewayMerchantId",
          "locationId",
          "name",
          "status",
          "storeId",
          "updatedAt"
        ],
        "type": "object"
      },
      "MerchantImpersonatedRoleResponse": {
        "properties": {
          "name": {
            "type": "string"
          },
          "roleId": {
            "format": "uuid",
            "type": "string"
          },
          "roleStoreId": {
            "format": "uuid",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "name",
          "roleId"
        ],
        "type": "object"
      },
      "MerchantImpersonationJobFunctionOption": {
        "properties": {
          "delegationLevel": {
            "format": "int32",
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "jobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "jobFunctionName": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          },
          "templateKey": {
            "type": "string"
          }
        },
        "required": [
          "jobFunctionId",
          "jobFunctionName",
          "scope"
        ],
        "type": "object"
      },
      "MerchantImpersonationOptionsResponse": {
        "properties": {
          "jobFunctions": {
            "items": {
              "$ref": "#/components/schemas/MerchantImpersonationJobFunctionOption"
            },
            "type": "array"
          },
          "stores": {
            "items": {
              "$ref": "#/components/schemas/MerchantImpersonationStoreOption"
            },
            "type": "array"
          },
          "users": {
            "items": {
              "$ref": "#/components/schemas/MerchantImpersonationUserOption"
            },
            "type": "array"
          }
        },
        "required": [
          "jobFunctions",
          "stores",
          "users"
        ],
        "type": "object"
      },
      "MerchantImpersonationSessionResponse": {
        "properties": {
          "actorAgentPortalUserId": {
            "format": "uuid",
            "type": "string"
          },
          "actorEmail": {
            "type": "string"
          },
          "actorSupportUserId": {
            "format": "uuid",
            "type": "string"
          },
          "endedAt": {
            "format": "date-time",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "sessionId": {
            "format": "uuid",
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          },
          "startedAt": {
            "format": "date-time",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "targetEmail": {
            "type": "string"
          },
          "targetJobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "targetMerchantUserId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "actorEmail",
          "expiresAt",
          "orgId",
          "reason",
          "sessionId",
          "startedAt",
          "targetEmail",
          "targetMerchantUserId"
        ],
        "type": "object"
      },
      "MerchantImpersonationStoreOption": {
        "properties": {
          "name": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "name",
          "storeId"
        ],
        "type": "object"
      },
      "MerchantImpersonationUserOption": {
        "properties": {
          "email": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "owner": {
            "type": "boolean"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "email",
          "owner",
          "userId"
        ],
        "type": "object"
      },
      "MerchantInvoiceOrdinarySavedMethodResponse": {
        "properties": {
          "cardBrand": {
            "type": "string"
          },
          "cardExpMonth": {
            "format": "int32",
            "type": "integer"
          },
          "cardExpYear": {
            "format": "int32",
            "type": "integer"
          },
          "cardLast4": {
            "type": "string"
          },
          "consentReference": {
            "type": "string"
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "MerchantInvoicePaymentProfileResponse": {
        "properties": {
          "attempts": {
            "items": {
              "$ref": "#/components/schemas/InvoiceSavedPaymentResponse"
            },
            "type": "array"
          },
          "checkoutSessionId": {
            "type": "string"
          },
          "methods": {
            "items": {
              "$ref": "#/components/schemas/InvoiceSavedPaymentMethodResponse"
            },
            "type": "array"
          },
          "ordinaryMethods": {
            "items": {
              "$ref": "#/components/schemas/MerchantInvoiceOrdinarySavedMethodResponse"
            },
            "type": "array"
          }
        },
        "required": [
          "attempts",
          "methods",
          "ordinaryMethods"
        ],
        "type": "object"
      },
      "MerchantMkonnektConfigResponse": {
        "properties": {
          "accountMode": {
            "type": "string"
          },
          "connectionStatus": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "lastError": {
            "type": "string"
          },
          "lastFailureAt": {
            "format": "date-time",
            "type": "string"
          },
          "lastSuccessAt": {
            "format": "date-time",
            "type": "string"
          },
          "lastTestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "onboardingStatus": {
            "type": "string"
          },
          "rcn": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "accountMode",
          "connectionStatus",
          "enabled",
          "onboardingStatus",
          "storeId"
        ],
        "type": "object"
      },
      "MerchantMkonnektRequestAuditResponse": {
        "properties": {
          "auditId": {
            "format": "uuid",
            "type": "string"
          },
          "bodyStatus": {
            "format": "int32",
            "type": "integer"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "httpStatus": {
            "format": "int32",
            "type": "integer"
          },
          "latencyMs": {
            "format": "int64",
            "type": "integer"
          },
          "operation": {
            "type": "string"
          },
          "outcome": {
            "$ref": "#/components/schemas/MkonnektPreviewOutcome"
          },
          "requestId": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "auditId",
          "createdAt",
          "latencyMs",
          "operation",
          "outcome",
          "requestId",
          "storeId"
        ],
        "type": "object"
      },
      "MerchantPaymentConfigRequest": {
        "properties": {
          "debitEnabled": {
            "type": "boolean"
          },
          "defaultPaymentType": {
            "type": "string"
          },
          "ebtEnabled": {
            "type": "boolean"
          },
          "getReceipt": {
            "type": "boolean"
          },
          "giftEnabled": {
            "type": "boolean"
          },
          "interfaceConfig": {
            "$ref": "#/components/schemas/PaymentInterfaceConfigDto"
          },
          "printReceipt": {
            "type": "string"
          },
          "proxyTimeout": {
            "format": "int32",
            "maximum": 300.0,
            "minimum": 1,
            "type": "integer"
          },
          "smartConnectConfig": {
            "$ref": "#/components/schemas/SmartConnectConfigDto"
          },
          "tipEnabled": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "MerchantPaymentConfigResponse": {
        "properties": {
          "configId": {
            "format": "uuid",
            "type": "string"
          },
          "debitEnabled": {
            "type": "boolean"
          },
          "defaultPaymentType": {
            "type": "string"
          },
          "ebtEnabled": {
            "type": "boolean"
          },
          "getReceipt": {
            "type": "boolean"
          },
          "giftEnabled": {
            "type": "boolean"
          },
          "interfaceConfig": {
            "$ref": "#/components/schemas/PaymentInterfaceConfigDto"
          },
          "isActive": {
            "type": "boolean"
          },
          "printReceipt": {
            "type": "string"
          },
          "proxyTimeout": {
            "format": "int32",
            "type": "integer"
          },
          "smartConnectConfig": {
            "$ref": "#/components/schemas/SmartConnectConfigDto"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "tipEnabled": {
            "type": "boolean"
          }
        },
        "required": [
          "debitEnabled",
          "ebtEnabled",
          "getReceipt",
          "giftEnabled",
          "isActive",
          "proxyTimeout",
          "tipEnabled"
        ],
        "type": "object"
      },
      "MerchantPaymentMethodReplaceRequest": {
        "properties": {
          "clientSecret": {
            "minLength": 1,
            "type": "string"
          },
          "hostedCard": {
            "minLength": 1,
            "type": "string"
          },
          "setupIntentId": {
            "minLength": 1,
            "type": "string"
          },
          "validate": {
            "default": false,
            "description": "When true, requests processor authorize-and-void validation before saving the card. Defaults to false; processors that can store independently skip a separate validation authorization unless requested at creation or confirmation. Processors that require verification to store a card always verify. Saving during a sale or checkout never adds a validation authorization.",
            "type": "boolean"
          }
        },
        "required": [
          "clientSecret",
          "hostedCard",
          "setupIntentId"
        ],
        "type": "object"
      },
      "MerchantPaymentMethodResponse": {
        "properties": {
          "cardBrand": {
            "type": "string"
          },
          "cardExpMonth": {
            "format": "int32",
            "type": "integer"
          },
          "cardExpYear": {
            "format": "int32",
            "type": "integer"
          },
          "cardLast4": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "customerReconfirmationRequired": {
            "default": false,
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "instrumentType": {
            "$ref": "#/components/schemas/SavedPaymentMethodInstrumentType"
          },
          "isDefault": {
            "type": "boolean"
          },
          "merchantInitiatedChargeEligible": {
            "type": "boolean"
          },
          "merchantInitiatedChargeIneligibilityCode": {
            "type": "string"
          },
          "purpose": {
            "$ref": "#/components/schemas/SavedPaymentMethodPurpose"
          },
          "status": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "id",
          "isDefault",
          "merchantInitiatedChargeEligible",
          "status",
          "updatedAt"
        ],
        "type": "object"
      },
      "MerchantPaymentProfileSetupSessionResponse": {
        "properties": {
          "expiresAt": {
            "type": "string"
          },
          "hostedUrl": {
            "type": "string"
          },
          "setupIntentId": {
            "type": "string"
          }
        },
        "required": [
          "hostedUrl",
          "setupIntentId"
        ],
        "type": "object"
      },
      "MerchantReceiptDeliveryResponse": {
        "properties": {
          "deliveryId": {
            "type": "string"
          },
          "deliveryState": {
            "type": "string"
          },
          "recipientMatches": {
            "type": "boolean"
          }
        },
        "required": [
          "deliveryId",
          "deliveryState"
        ],
        "type": "object"
      },
      "MerchantStoreResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "businessVertical": {
            "type": "string"
          },
          "cardSurchargePercent": {
            "type": "number"
          },
          "city": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "customerDisplayLoyaltySummaryEnabled": {
            "type": "boolean"
          },
          "dualPricingEnabled": {
            "type": "boolean"
          },
          "giftTenderEnabled": {
            "type": "boolean"
          },
          "loyaltyContactInputMode": {
            "type": "string"
          },
          "loyaltyPromptEnabled": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "onboardingCompleted": {
            "type": "boolean"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "receiptPrintMode": {
            "type": "string"
          },
          "receiptPromptEnabled": {
            "type": "boolean"
          },
          "state": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "tipEnabled": {
            "type": "boolean"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "zipCode": {
            "type": "string"
          }
        },
        "required": [
          "active",
          "customerDisplayLoyaltySummaryEnabled",
          "dualPricingEnabled",
          "giftTenderEnabled",
          "loyaltyContactInputMode",
          "loyaltyPromptEnabled",
          "onboardingCompleted",
          "receiptPrintMode",
          "receiptPromptEnabled",
          "tipEnabled"
        ],
        "type": "object"
      },
      "MerchantSupportImpersonationResponse": {
        "properties": {
          "actorAgentPortalUserId": {
            "format": "uuid",
            "type": "string"
          },
          "actorEmail": {
            "type": "string"
          },
          "actorSupportUserId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "orgName": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "sessionId": {
            "format": "uuid",
            "type": "string"
          },
          "startedAt": {
            "format": "date-time",
            "type": "string"
          },
          "store": {
            "$ref": "#/components/schemas/MerchantSupportStoreResponse"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          },
          "targetEmail": {
            "type": "string"
          },
          "targetMerchantUserId": {
            "format": "uuid",
            "type": "string"
          },
          "targetRoleId": {
            "format": "uuid",
            "type": "string"
          },
          "targetRoleName": {
            "type": "string"
          }
        },
        "required": [
          "actorEmail",
          "expiresAt",
          "orgId",
          "orgName",
          "reason",
          "sessionId",
          "startedAt",
          "targetEmail",
          "targetMerchantUserId"
        ],
        "type": "object"
      },
      "MerchantSupportStoreResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "businessVertical": {
            "type": "string"
          },
          "cardSurchargePercent": {
            "type": "number"
          },
          "city": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "dualPricingEnabled": {
            "type": "boolean"
          },
          "loyaltyContactInputMode": {
            "type": "string"
          },
          "loyaltyPromptEnabled": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "onboardingCompleted": {
            "type": "boolean"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "zipCode": {
            "type": "string"
          }
        },
        "required": [
          "active",
          "cardSurchargePercent",
          "createdAt",
          "currency",
          "dualPricingEnabled",
          "loyaltyContactInputMode",
          "loyaltyPromptEnabled",
          "name",
          "onboardingCompleted",
          "orgId",
          "storeId",
          "timezone",
          "updatedAt"
        ],
        "type": "object"
      },
      "MerchantTerminalResponse": {
        "properties": {
          "appVersion": {
            "type": "string"
          },
          "certExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "certSerialNumber": {
            "type": "string"
          },
          "deviceModel": {
            "type": "string"
          },
          "deviceStatus": {
            "type": "string"
          },
          "diagnostics": {
            "$ref": "#/components/schemas/MerchantDeviceDiagnosticsResponse"
          },
          "isActive": {
            "type": "boolean"
          },
          "lastHeartbeat": {
            "format": "date-time",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "osVersion": {
            "type": "string"
          },
          "serialNumber": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalName": {
            "type": "string"
          }
        },
        "required": [
          "deviceStatus",
          "isActive"
        ],
        "type": "object"
      },
      "MerchantUpdateTerminalRequest": {
        "properties": {
          "isActive": {
            "type": "boolean"
          },
          "terminalName": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "terminalName"
        ],
        "type": "object"
      },
      "MerchantUserOrganizationSummary": {
        "properties": {
          "name": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "orgId"
        ],
        "type": "object"
      },
      "MergeCategoryRequest": {
        "properties": {
          "targetCategoryId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "targetCategoryId"
        ],
        "type": "object"
      },
      "MergeHouseholdsRequest": {
        "properties": {
          "sourceHouseholdIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "minItems": 1,
            "type": "array"
          }
        },
        "required": [
          "sourceHouseholdIds"
        ],
        "type": "object"
      },
      "MetaInfo": {
        "properties": {
          "limit": {
            "format": "int32",
            "type": "integer"
          },
          "nextCursor": {
            "type": "string"
          },
          "page": {
            "format": "int32",
            "type": "integer"
          },
          "scheduleVersion": {
            "nullable": true,
            "type": "string"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "totalPages": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "MetricUsage": {
        "properties": {
          "currentCount": {
            "format": "int64",
            "type": "integer"
          },
          "metricType": {
            "type": "string"
          }
        },
        "required": [
          "currentCount",
          "metricType"
        ],
        "type": "object"
      },
      "MissingSupplier": {
        "properties": {
          "displayName": {
            "type": "string"
          },
          "normalizedName": {
            "type": "string"
          },
          "productCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "displayName",
          "normalizedName",
          "productCount"
        ],
        "type": "object"
      },
      "MkonnektCallbackReadinessResponse": {
        "properties": {
          "apiKeyConfigured": {
            "type": "boolean"
          },
          "callbackUrl": {
            "type": "string"
          },
          "checkedAt": {
            "format": "date-time",
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "ready": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "apiKeyConfigured",
          "checkedAt",
          "message",
          "ready",
          "status",
          "storeId"
        ],
        "type": "object"
      },
      "MkonnektConfigRequest": {
        "properties": {
          "accountMode": {
            "nullable": true,
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "rcn": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "enabled"
        ],
        "type": "object"
      },
      "MkonnektDiscountAuthDiagnosticRequest": {
        "properties": {
          "couponCodes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "id": {
            "minLength": 1,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Item"
            },
            "minItems": 1,
            "type": "array"
          },
          "mobileNumber": {
            "nullable": true,
            "type": "string"
          },
          "totalAmount": {
            "exclusiveMinimum": false,
            "minimum": 0,
            "type": "number"
          }
        },
        "required": [
          "couponCodes",
          "id",
          "items",
          "totalAmount"
        ],
        "type": "object"
      },
      "MkonnektDiscountAuthDiagnosticResponse": {
        "properties": {
          "config": {
            "$ref": "#/components/schemas/ManagementMkonnektConfigResponse"
          },
          "message": {
            "type": "string"
          },
          "requestId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "statusCode": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "success": {
            "type": "boolean"
          },
          "testedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "config",
          "message",
          "requestId",
          "status",
          "success",
          "testedAt"
        ],
        "type": "object"
      },
      "MkonnektPreviewOutcome": {
        "enum": [
          "APPLIED",
          "NO_DISCOUNT",
          "AUTH_REJECTED",
          "PROVIDER_REJECTED",
          "PROVIDER_UNAVAILABLE",
          "UNSUPPORTED_CONTRACT",
          "INVALID_PROVIDER_RESPONSE",
          "AMBIGUOUS_ITEM_MATCH",
          "CONFIG_REQUIRED",
          "FEATURE_DISABLED"
        ],
        "type": "string"
      },
      "MobileAcknowledgeCheckoutAttemptRequest": {
        "properties": {
          "cardEvidence": {
            "$ref": "#/components/schemas/MobileCheckoutReportedCardEvidence"
          },
          "cashAccepted": {
            "type": "boolean"
          },
          "dispatchStarted": {
            "type": "boolean"
          },
          "gatewayTransactionId": {
            "type": "string"
          }
        },
        "required": [
          "cashAccepted"
        ],
        "type": "object"
      },
      "MobileCancelCheckoutTicketRequest": {
        "properties": {
          "expectedQuoteId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "expectedQuoteId"
        ],
        "type": "object"
      },
      "MobileCheckoutAppliedDiscount": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "discountType": {
            "type": "string"
          },
          "opCompanyCode": {
            "type": "string"
          },
          "providerDiscountId": {
            "type": "string"
          },
          "upcCode": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "description",
          "discountType",
          "opCompanyCode",
          "providerDiscountId",
          "upcCode"
        ],
        "type": "object"
      },
      "MobileCheckoutAttemptResponse": {
        "properties": {
          "admittedAt": {
            "format": "date-time",
            "type": "string"
          },
          "amountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "attemptId": {
            "format": "uuid",
            "type": "string"
          },
          "cashReceivedMinor": {
            "format": "int64",
            "type": "integer"
          },
          "changeMinor": {
            "format": "int64",
            "type": "integer"
          },
          "checkoutScopeLeaseId": {
            "format": "uuid",
            "type": "string"
          },
          "checkoutScopeLeaseKey": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "executionMode": {
            "type": "string"
          },
          "gatewayTransactionId": {
            "type": "string"
          },
          "idempotencyKey": {
            "type": "string"
          },
          "paymentOrder": {
            "$ref": "#/components/schemas/MobileCheckoutPaymentOrderBinding"
          },
          "posOperationKey": {
            "type": "string"
          },
          "processedAmountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "quoteFingerprint": {
            "type": "string"
          },
          "quoteId": {
            "format": "uuid",
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "tenderKind": {
            "type": "string"
          },
          "ticketId": {
            "format": "uuid",
            "type": "string"
          },
          "ticketState": {
            "type": "string"
          }
        },
        "required": [
          "admittedAt",
          "amountMinor",
          "attemptId",
          "changeMinor",
          "checkoutScopeLeaseId",
          "checkoutScopeLeaseKey",
          "currency",
          "idempotencyKey",
          "posOperationKey",
          "processedAmountMinor",
          "quoteFingerprint",
          "quoteId",
          "state",
          "tenderKind",
          "ticketId",
          "ticketState"
        ],
        "type": "object"
      },
      "MobileCheckoutBottleDepositLineResponse": {
        "properties": {
          "depositAmount": {
            "type": "number"
          },
          "entryType": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "totalAmount": {
            "type": "number"
          }
        },
        "required": [
          "depositAmount",
          "entryType",
          "productId",
          "quantity",
          "totalAmount"
        ],
        "type": "object"
      },
      "MobileCheckoutBottleDepositSummaryResponse": {
        "properties": {
          "collectedAmount": {
            "type": "number"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/MobileCheckoutBottleDepositLineResponse"
            },
            "type": "array"
          },
          "netAmount": {
            "type": "number"
          },
          "reversedAmount": {
            "type": "number"
          }
        },
        "required": [
          "collectedAmount",
          "lines",
          "netAmount",
          "reversedAmount"
        ],
        "type": "object"
      },
      "MobileCheckoutCardAuthorizationResponse": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "authCode": {
            "type": "string"
          },
          "authorizationId": {
            "format": "uuid",
            "type": "string"
          },
          "cardType": {
            "type": "string"
          },
          "customerReceipt": {
            "type": "string"
          },
          "ebtApprovedAmount": {
            "type": "number"
          },
          "ebtBenefitType": {
            "type": "string"
          },
          "ebtCashBalance": {
            "type": "number"
          },
          "ebtFoodBalance": {
            "type": "number"
          },
          "emvAid": {
            "type": "string"
          },
          "emvAppName": {
            "type": "string"
          },
          "entryType": {
            "type": "string"
          },
          "feeAmount": {
            "type": "number"
          },
          "gatewayOperationId": {
            "type": "string"
          },
          "gatewayTransactionId": {
            "type": "string"
          },
          "lastFour": {
            "type": "string"
          },
          "merchantReceipt": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "paymentType": {
            "type": "string"
          },
          "processedAt": {
            "format": "date-time",
            "type": "string"
          },
          "processorReferenceId": {
            "type": "string"
          },
          "processorType": {
            "type": "string"
          },
          "resultCode": {
            "format": "int32",
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "statusCode": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalTransactionId": {
            "type": "string"
          },
          "tipAmount": {
            "type": "number"
          },
          "totalAmount": {
            "type": "number"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          },
          "transactionType": {
            "type": "string"
          }
        },
        "required": [
          "resultCode"
        ],
        "type": "object"
      },
      "MobileCheckoutCardSplitLeg": {
        "properties": {
          "authorizedAmount": {
            "format": "int64",
            "type": "integer"
          },
          "capturedAmountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "cardAmountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "executionNumber": {
            "format": "int32",
            "type": "integer"
          },
          "legId": {
            "type": "string"
          },
          "rootTransactionId": {
            "type": "string"
          },
          "transactionStatus": {
            "type": "string"
          }
        },
        "required": [
          "cardAmountMinor",
          "executionNumber",
          "legId"
        ],
        "type": "object"
      },
      "MobileCheckoutCardSplitResponse": {
        "properties": {
          "collectionExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "legs": {
            "items": {
              "$ref": "#/components/schemas/MobileCheckoutCardSplitLeg"
            },
            "type": "array"
          },
          "orderId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "collectionExpiresAt",
          "legs",
          "orderId",
          "status"
        ],
        "type": "object"
      },
      "MobileCheckoutPaymentOrderBinding": {
        "properties": {
          "authorizationRequestKey": {
            "type": "string"
          },
          "executionNumber": {
            "format": "int32",
            "type": "integer"
          },
          "legId": {
            "type": "string"
          },
          "orderId": {
            "type": "string"
          },
          "selectedTipAmountMinor": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "authorizationRequestKey",
          "executionNumber",
          "legId",
          "orderId",
          "selectedTipAmountMinor"
        ],
        "type": "object"
      },
      "MobileCheckoutPromotionAllocationComponentResponse": {
        "properties": {
          "discountAmount": {
            "type": "number"
          },
          "paidAmount": {
            "type": "number"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "roundingRank": {
            "format": "int32",
            "type": "integer"
          },
          "taxAmount": {
            "type": "number"
          },
          "transactionItemId": {
            "format": "uuid",
            "type": "string"
          },
          "upc": {
            "type": "string"
          }
        },
        "required": [
          "discountAmount",
          "paidAmount",
          "productId",
          "productName",
          "quantity",
          "roundingRank",
          "taxAmount",
          "transactionItemId"
        ],
        "type": "object"
      },
      "MobileCheckoutPromotionAllocationResponse": {
        "properties": {
          "allocationId": {
            "format": "uuid",
            "type": "string"
          },
          "allocationInstance": {
            "format": "int32",
            "type": "integer"
          },
          "components": {
            "items": {
              "$ref": "#/components/schemas/MobileCheckoutPromotionAllocationComponentResponse"
            },
            "type": "array"
          },
          "currency": {
            "type": "string"
          },
          "fixedTotal": {
            "type": "number"
          },
          "promotionId": {
            "format": "uuid",
            "type": "string"
          },
          "promotionName": {
            "type": "string"
          },
          "promotionType": {
            "type": "string"
          },
          "promotionVersionId": {
            "format": "uuid",
            "type": "string"
          },
          "savings": {
            "type": "number"
          }
        },
        "required": [
          "allocationId",
          "allocationInstance",
          "components",
          "currency",
          "fixedTotal",
          "promotionId",
          "promotionName",
          "promotionType",
          "promotionVersionId",
          "savings"
        ],
        "type": "object"
      },
      "MobileCheckoutQuotePreviewAmounts": {
        "properties": {
          "depositMinor": {
            "format": "int64",
            "type": "integer"
          },
          "discountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "feeMinor": {
            "format": "int64",
            "type": "integer"
          },
          "subtotalMinor": {
            "format": "int64",
            "type": "integer"
          },
          "taxMinor": {
            "format": "int64",
            "type": "integer"
          },
          "tipMinor": {
            "format": "int64",
            "type": "integer"
          },
          "totalMinor": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "depositMinor",
          "discountMinor",
          "feeMinor",
          "subtotalMinor",
          "taxMinor",
          "tipMinor",
          "totalMinor"
        ],
        "type": "object"
      },
      "MobileCheckoutQuotePreviewDiscount": {
        "properties": {
          "amountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "amountMinor",
          "name"
        ],
        "type": "object"
      },
      "MobileCheckoutQuotePreviewJurisdiction": {
        "properties": {
          "jurisdictionName": {
            "type": "string"
          },
          "jurisdictionType": {
            "type": "string"
          },
          "rate": {
            "type": "string"
          },
          "taxMinor": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "taxMinor"
        ],
        "type": "object"
      },
      "MobileCheckoutQuotePreviewLine": {
        "properties": {
          "enteredUnitPriceMinor": {
            "format": "int64",
            "type": "integer"
          },
          "lineRef": {
            "maxLength": 128,
            "minLength": 0,
            "type": "string"
          },
          "manualName": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "exclusiveMinimum": true,
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "lineRef",
          "quantity"
        ],
        "type": "object"
      },
      "MobileCheckoutQuotePreviewLineResult": {
        "properties": {
          "depositMinor": {
            "format": "int64",
            "type": "integer"
          },
          "discountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "discounts": {
            "items": {
              "$ref": "#/components/schemas/MobileCheckoutQuotePreviewDiscount"
            },
            "type": "array"
          },
          "grossMinor": {
            "format": "int64",
            "type": "integer"
          },
          "lineRef": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "netMinor": {
            "format": "int64",
            "type": "integer"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "taxMinor": {
            "format": "int64",
            "type": "integer"
          },
          "totalMinor": {
            "format": "int64",
            "type": "integer"
          },
          "unitPriceMinor": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "depositMinor",
          "discountMinor",
          "discounts",
          "grossMinor",
          "lineRef",
          "name",
          "netMinor",
          "quantity",
          "taxMinor",
          "totalMinor",
          "unitPriceMinor"
        ],
        "type": "object"
      },
      "MobileCheckoutQuotePreviewRequest": {
        "properties": {
          "basketRevision": {
            "format": "int64",
            "type": "integer"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/MobileCheckoutQuotePreviewLine"
            },
            "maxItems": 200,
            "minItems": 0,
            "type": "array"
          },
          "tenderIntent": {
            "maxLength": 32,
            "minLength": 0,
            "type": "string"
          },
          "tipMinor": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "basketRevision",
          "lines",
          "tenderIntent",
          "tipMinor"
        ],
        "type": "object"
      },
      "MobileCheckoutQuotePreviewResponse": {
        "properties": {
          "amounts": {
            "$ref": "#/components/schemas/MobileCheckoutQuotePreviewAmounts"
          },
          "basketRevision": {
            "format": "int64",
            "type": "integer"
          },
          "cardTotalMinor": {
            "format": "int64",
            "type": "integer"
          },
          "cashTotalMinor": {
            "format": "int64",
            "type": "integer"
          },
          "currency": {
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "dualPricingEnabled": {
            "type": "boolean"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/MobileCheckoutQuotePreviewLineResult"
            },
            "type": "array"
          },
          "pricedAt": {
            "format": "date-time",
            "type": "string"
          },
          "taxJurisdictions": {
            "items": {
              "$ref": "#/components/schemas/MobileCheckoutQuotePreviewJurisdiction"
            },
            "type": "array"
          },
          "tenderIntent": {
            "type": "string"
          },
          "tipEnabled": {
            "type": "boolean"
          }
        },
        "required": [
          "amounts",
          "basketRevision",
          "cardTotalMinor",
          "cashTotalMinor",
          "currency",
          "dualPricingEnabled",
          "expiresAt",
          "lines",
          "pricedAt",
          "taxJurisdictions",
          "tenderIntent",
          "tipEnabled"
        ],
        "type": "object"
      },
      "MobileCheckoutReportedCardEvidence": {
        "properties": {
          "authCode": {
            "type": "string"
          },
          "benefitType": {
            "type": "string"
          },
          "cardBrand": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "entryMode": {
            "type": "string"
          },
          "gatewayOperationId": {
            "type": "string"
          },
          "lastFour": {
            "type": "string"
          },
          "processorReferenceId": {
            "type": "string"
          },
          "reportedApprovedMinor": {
            "format": "int64",
            "type": "integer"
          },
          "reportedStatus": {
            "type": "string"
          }
        },
        "required": [
          "reportedStatus"
        ],
        "type": "object"
      },
      "MobileCheckoutTicketResponse": {
        "properties": {
          "amounts": {
            "$ref": "#/components/schemas/CheckoutMonetaryBreakdown"
          },
          "appliedPromotionCodes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "attempts": {
            "items": {
              "$ref": "#/components/schemas/MobileCheckoutAttemptResponse"
            },
            "type": "array"
          },
          "basketRevision": {
            "format": "int64",
            "type": "integer"
          },
          "bundleAllocations": {
            "items": {
              "$ref": "#/components/schemas/CheckoutBundleAllocation"
            },
            "type": "array"
          },
          "cardSplit": {
            "$ref": "#/components/schemas/MobileCheckoutCardSplitResponse"
          },
          "contractVersion": {
            "format": "int32",
            "type": "integer"
          },
          "currency": {
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/CheckoutQuotedLine"
            },
            "type": "array"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "paidMinor": {
            "format": "int64",
            "type": "integer"
          },
          "preparedAt": {
            "format": "date-time",
            "type": "string"
          },
          "quoteFingerprint": {
            "type": "string"
          },
          "quoteId": {
            "format": "uuid",
            "type": "string"
          },
          "receiptReady": {
            "type": "boolean"
          },
          "remainingMinor": {
            "format": "int64",
            "type": "integer"
          },
          "reviewReason": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "taxExemptions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "taxQuoteHash": {
            "type": "string"
          },
          "taxQuoteRevision": {
            "type": "string"
          },
          "tenderCaps": {
            "$ref": "#/components/schemas/CheckoutTenderCaps"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "ticketId": {
            "format": "uuid",
            "type": "string"
          },
          "transaction": {
            "$ref": "#/components/schemas/MobileCheckoutTransactionResponse"
          }
        },
        "required": [
          "amounts",
          "appliedPromotionCodes",
          "attempts",
          "basketRevision",
          "bundleAllocations",
          "contractVersion",
          "currency",
          "expiresAt",
          "lines",
          "orgId",
          "paidMinor",
          "preparedAt",
          "quoteFingerprint",
          "quoteId",
          "receiptReady",
          "remainingMinor",
          "state",
          "storeId",
          "taxExemptions",
          "taxQuoteHash",
          "taxQuoteRevision",
          "tenderCaps",
          "terminalId",
          "ticketId"
        ],
        "type": "object"
      },
      "MobileCheckoutTransactionItemResponse": {
        "properties": {
          "barcode": {
            "type": "string"
          },
          "discountAmount": {
            "type": "number"
          },
          "ebtEligible": {
            "type": "boolean"
          },
          "itemId": {
            "format": "uuid",
            "type": "string"
          },
          "lineTax": {
            "type": "number"
          },
          "lineTotal": {
            "type": "number"
          },
          "mkonnektDiscounts": {
            "items": {
              "$ref": "#/components/schemas/MobileCheckoutAppliedDiscount"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "unitPrice": {
            "type": "number"
          }
        },
        "required": [
          "quantity"
        ],
        "type": "object"
      },
      "MobileCheckoutTransactionResponse": {
        "properties": {
          "amountPaidCard": {
            "type": "number"
          },
          "amountPaidCash": {
            "type": "number"
          },
          "amountPaidGiftCard": {
            "type": "number"
          },
          "canRefund": {
            "type": "boolean"
          },
          "canVoid": {
            "type": "boolean"
          },
          "cardAuthorizations": {
            "items": {
              "$ref": "#/components/schemas/MobileCheckoutCardAuthorizationResponse"
            },
            "type": "array"
          },
          "changeDue": {
            "type": "number"
          },
          "customerFirstName": {
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "customerLastName": {
            "type": "string"
          },
          "customerReceipt": {
            "type": "string"
          },
          "datetime": {
            "format": "date-time",
            "type": "string"
          },
          "depositSummary": {
            "$ref": "#/components/schemas/MobileCheckoutBottleDepositSummaryResponse"
          },
          "discountTotal": {
            "type": "number"
          },
          "ebtApprovedAmount": {
            "type": "number"
          },
          "ebtBenefitType": {
            "type": "string"
          },
          "ebtCashBalance": {
            "type": "number"
          },
          "ebtFoodBalance": {
            "type": "number"
          },
          "feeAmount": {
            "type": "number"
          },
          "gatewayTransactionId": {
            "type": "string"
          },
          "giftCardRefundEligible": {
            "type": "boolean"
          },
          "giftCardRefundRemainingAmount": {
            "type": "number"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/MobileCheckoutTransactionItemResponse"
            },
            "type": "array"
          },
          "loyaltyDiscountAmount": {
            "type": "number"
          },
          "loyaltyPointsRedeemed": {
            "format": "int32",
            "type": "integer"
          },
          "loyaltyRewardName": {
            "type": "string"
          },
          "merchantReceipt": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "parentTransactionId": {
            "format": "uuid",
            "type": "string"
          },
          "paymentMethod": {
            "type": "string"
          },
          "paymentOperationId": {
            "type": "string"
          },
          "paymentTerminalTransactionId": {
            "type": "string"
          },
          "processorReferenceId": {
            "type": "string"
          },
          "promotionAllocations": {
            "items": {
              "$ref": "#/components/schemas/MobileCheckoutPromotionAllocationResponse"
            },
            "type": "array"
          },
          "settlementBatchId": {
            "type": "string"
          },
          "settlementBatchStatus": {
            "type": "string"
          },
          "settlementState": {
            "type": "string"
          },
          "settlementStatusText": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "subtotal": {
            "type": "number"
          },
          "taxApplied": {
            "type": "number"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalName": {
            "type": "string"
          },
          "tipAmount": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          },
          "transactionRef": {
            "format": "int32",
            "type": "integer"
          },
          "transactionType": {
            "type": "string"
          },
          "userFirstName": {
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          },
          "userLastName": {
            "type": "string"
          },
          "voidBlockedReason": {
            "type": "string"
          }
        },
        "required": [
          "canVoid",
          "cardAuthorizations",
          "giftCardRefundEligible",
          "promotionAllocations",
          "transactionRef"
        ],
        "type": "object"
      },
      "MobileDeviceEnrollmentCredential": {
        "properties": {
          "attestationId": {
            "type": "string"
          },
          "deviceId": {
            "type": "string"
          },
          "deviceToken": {
            "type": "string"
          },
          "expiresAtMillis": {
            "format": "int64",
            "type": "integer"
          },
          "issuedAtMillis": {
            "format": "int64",
            "type": "integer"
          },
          "locationId": {
            "type": "string"
          },
          "nextRefreshHintMillis": {
            "format": "int64",
            "type": "integer"
          },
          "organizationId": {
            "type": "string"
          },
          "tokenType": {
            "type": "string"
          }
        },
        "required": [
          "attestationId",
          "deviceId",
          "deviceToken",
          "expiresAtMillis",
          "issuedAtMillis",
          "organizationId",
          "tokenType"
        ],
        "type": "object"
      },
      "MobileDeviceEnrollmentRequest": {
        "properties": {
          "appPackage": {
            "minLength": 1,
            "type": "string"
          },
          "attestationNonce": {
            "minLength": 1,
            "type": "string"
          },
          "attestationToken": {
            "minLength": 1,
            "type": "string"
          },
          "deviceKey": {
            "type": "string"
          },
          "deviceModel": {
            "minLength": 1,
            "type": "string"
          },
          "installationId": {
            "minLength": 1,
            "type": "string"
          },
          "platform": {
            "type": "string"
          },
          "publicKeySpkiB64": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "appPackage",
          "attestationNonce",
          "attestationToken",
          "deviceModel",
          "installationId",
          "publicKeySpkiB64"
        ],
        "type": "object"
      },
      "MobileDeviceEnrollmentResponse": {
        "properties": {
          "credential": {
            "$ref": "#/components/schemas/MobileDeviceEnrollmentCredential"
          },
          "runtime": {
            "$ref": "#/components/schemas/MobilePaymentRuntimeResponse"
          }
        },
        "required": [
          "credential",
          "runtime"
        ],
        "type": "object"
      },
      "MobileManagerOverrideAuthorizeRequest": {
        "properties": {
          "action": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "idempotencyKey": {
            "minLength": 1,
            "type": "string"
          },
          "pin": {
            "minLength": 1,
            "type": "string"
          },
          "protectedId": {
            "format": "uuid",
            "type": "string"
          },
          "protectedType": {
            "type": "string"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "valueKind": {
            "type": "string"
          }
        },
        "required": [
          "action",
          "idempotencyKey",
          "pin",
          "protectedId",
          "protectedType",
          "reason"
        ],
        "type": "object"
      },
      "MobileManagerOverrideAuthorizeResponse": {
        "properties": {
          "action": {
            "type": "string"
          },
          "approvalId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "fingerprintVersion": {
            "format": "int32",
            "type": "integer"
          },
          "protectedId": {
            "format": "uuid",
            "type": "string"
          },
          "protectedType": {
            "type": "string"
          },
          "requestFingerprint": {
            "type": "string"
          }
        },
        "required": [
          "action",
          "approvalId",
          "expiresAt",
          "fingerprintVersion",
          "protectedId",
          "protectedType",
          "requestFingerprint"
        ],
        "type": "object"
      },
      "MobileManagerOverridePreflightRequest": {
        "properties": {
          "action": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "idempotencyKey": {
            "minLength": 1,
            "type": "string"
          },
          "protectedId": {
            "format": "uuid",
            "type": "string"
          },
          "protectedType": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "valueKind": {
            "type": "string"
          }
        },
        "required": [
          "action",
          "idempotencyKey",
          "protectedId",
          "protectedType"
        ],
        "type": "object"
      },
      "MobileManagerOverridePreflightResponse": {
        "properties": {
          "action": {
            "type": "string"
          },
          "approvalRequired": {
            "type": "boolean"
          },
          "explanation": {
            "type": "string"
          },
          "fingerprintVersion": {
            "format": "int32",
            "type": "integer"
          },
          "limitCurrency": {
            "type": "string"
          },
          "limitKind": {
            "type": "string"
          },
          "limitValue": {
            "type": "string"
          },
          "policyVersion": {
            "format": "int64",
            "type": "integer"
          },
          "protectedId": {
            "format": "uuid",
            "type": "string"
          },
          "protectedType": {
            "type": "string"
          },
          "requestFingerprint": {
            "type": "string"
          },
          "requiredDelegationBand": {
            "type": "string"
          }
        },
        "required": [
          "action",
          "approvalRequired",
          "explanation",
          "fingerprintVersion",
          "policyVersion",
          "protectedId",
          "protectedType",
          "requestFingerprint"
        ],
        "type": "object"
      },
      "MobilePaymentRuntimeResponse": {
        "properties": {
          "environment": {
            "type": "string"
          },
          "gatewayCloudProjectNumber": {
            "format": "int64",
            "type": "integer"
          },
          "gatewayLocationId": {
            "type": "string"
          },
          "gatewayMerchantId": {
            "type": "string"
          },
          "gatewayOrganizationId": {
            "type": "string"
          },
          "gatewayTerminalId": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "posTerminalId": {
            "format": "uuid",
            "type": "string"
          },
          "provider": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/MobilePaymentRuntimeStatus"
          }
        },
        "required": [
          "message",
          "status"
        ],
        "type": "object"
      },
      "MobilePaymentRuntimeStatus": {
        "enum": [
          "CONFIGURED",
          "UNAVAILABLE"
        ],
        "type": "string"
      },
      "MobilePrepareCheckoutRequest": {
        "properties": {
          "basketRevision": {
            "format": "int64",
            "type": "integer"
          },
          "checkoutStoreId": {
            "format": "uuid",
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "expectedQuoteId": {
            "format": "uuid",
            "type": "string"
          },
          "feeWaiverApprovalId": {
            "format": "uuid",
            "type": "string"
          },
          "gatewayCouponId": {
            "type": "string"
          },
          "idempotencyKey": {
            "type": "string"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/CheckoutLineIntent"
            },
            "type": "array"
          },
          "loyaltyRewardIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "mkonnektCustomerId": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "redeemedCodes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "requestedLoyaltyPoints": {
            "format": "int32",
            "type": "integer"
          },
          "tenderIntent": {
            "type": "string"
          },
          "tipMinor": {
            "format": "int64",
            "type": "integer"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          },
          "waiveFee": {
            "type": "boolean"
          }
        },
        "required": [
          "basketRevision",
          "checkoutStoreId",
          "idempotencyKey",
          "lines",
          "loyaltyRewardIds",
          "redeemedCodes",
          "requestedLoyaltyPoints",
          "tenderIntent",
          "tipMinor",
          "userId",
          "waiveFee"
        ],
        "type": "object"
      },
      "MobileRegisterCheckoutAttemptRequest": {
        "properties": {
          "cashReceivedMinor": {
            "format": "int64",
            "type": "integer"
          },
          "executionMode": {
            "type": "string"
          },
          "giftCardCode": {
            "type": "string"
          },
          "idempotencyKey": {
            "type": "string"
          },
          "paymentOrderLegId": {
            "type": "string"
          },
          "quoteFingerprint": {
            "type": "string"
          },
          "quoteId": {
            "format": "uuid",
            "type": "string"
          },
          "requestedAmountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "tenderKind": {
            "type": "string"
          }
        },
        "required": [
          "idempotencyKey",
          "quoteFingerprint",
          "quoteId",
          "requestedAmountMinor",
          "tenderKind"
        ],
        "type": "object"
      },
      "MobileReprepareCheckoutTicketRequest": {
        "properties": {
          "expectedQuoteId": {
            "format": "uuid",
            "type": "string"
          },
          "idempotencyKey": {
            "type": "string"
          },
          "tenderIntent": {
            "type": "string"
          }
        },
        "required": [
          "expectedQuoteId",
          "idempotencyKey",
          "tenderIntent"
        ],
        "type": "object"
      },
      "ModuleAssignmentProvenance": {
        "properties": {
          "assignedAt": {
            "format": "date-time",
            "type": "string"
          },
          "assignedByEmail": {
            "type": "string"
          },
          "assignmentEffect": {
            "type": "string"
          },
          "assignmentId": {
            "format": "uuid",
            "type": "string"
          },
          "assignmentReason": {
            "type": "string"
          },
          "moduleKey": {
            "type": "string"
          },
          "scopeId": {
            "format": "uuid",
            "type": "string"
          },
          "scopeKind": {
            "type": "string"
          }
        },
        "required": [
          "assignedAt",
          "assignmentEffect",
          "assignmentId",
          "assignmentReason",
          "moduleKey",
          "scopeId",
          "scopeKind"
        ],
        "type": "object"
      },
      "Money": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "currency": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency"
        ],
        "type": "object"
      },
      "MoneyResponse": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "currency": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "currency"
        ],
        "type": "object"
      },
      "MovementResponse": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "createdAt": {
            "type": "string"
          },
          "drawerId": {
            "format": "uuid",
            "type": "string"
          },
          "movementId": {
            "format": "uuid",
            "type": "string"
          },
          "movementType": {
            "type": "string"
          },
          "operationKey": {
            "format": "uuid",
            "type": "string"
          },
          "overrideUserId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "referenceId": {
            "format": "uuid",
            "type": "string"
          },
          "shiftAssignedId": {
            "format": "uuid",
            "type": "string"
          },
          "shiftId": {
            "format": "uuid",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "amount",
          "createdAt",
          "drawerId",
          "movementId",
          "movementType",
          "userId"
        ],
        "type": "object"
      },
      "MultipleChoiceField": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FormField"
          },
          {
            "properties": {
              "maxSelected": {
                "format": "int32",
                "type": "integer"
              },
              "minSelected": {
                "format": "int32",
                "type": "integer"
              },
              "options": {
                "items": {
                  "$ref": "#/components/schemas/FormOption"
                },
                "type": "array"
              }
            },
            "type": "object"
          }
        ],
        "required": [
          "id",
          "label",
          "options",
          "required",
          "sensitive"
        ],
        "type": "object"
      },
      "NeedsAttentionResponse": {
        "properties": {
          "amount": {
            "$ref": "#/components/schemas/MoneyResponse"
          },
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "insight": {
            "$ref": "#/components/schemas/AttentionInsightResponse"
          },
          "kind": {
            "type": "string"
          },
          "previousPeriodCount": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "count",
          "kind"
        ],
        "type": "object"
      },
      "NotificationDeliveryAuditResponse": {
        "properties": {
          "attemptCount": {
            "format": "int32",
            "type": "integer"
          },
          "channel": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "deliveredAt": {
            "format": "date-time",
            "type": "string"
          },
          "deliveryId": {
            "format": "uuid",
            "type": "string"
          },
          "lastError": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "nextAttemptAt": {
            "format": "date-time",
            "type": "string"
          },
          "notificationId": {
            "format": "uuid",
            "type": "string"
          },
          "openedAt": {
            "format": "date-time",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "provider": {
            "type": "string"
          },
          "providerMessageId": {
            "type": "string"
          },
          "readAt": {
            "format": "date-time",
            "type": "string"
          },
          "recipientRole": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "tokenId": {
            "format": "uuid",
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "attemptCount",
          "channel",
          "createdAt",
          "deliveryId",
          "message",
          "notificationId",
          "orgId",
          "status",
          "title",
          "type",
          "updatedAt"
        ],
        "type": "object"
      },
      "NotificationResponse": {
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "metadata": {
            "type": "string"
          },
          "notificationId": {
            "format": "uuid",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "read": {
            "type": "boolean"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "read"
        ],
        "type": "object"
      },
      "NumberField": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FormField"
          },
          {
            "properties": {
              "max": {
                "format": "double",
                "type": "number"
              },
              "min": {
                "format": "double",
                "type": "number"
              }
            },
            "type": "object"
          }
        ],
        "required": [
          "id",
          "label",
          "required",
          "sensitive"
        ],
        "type": "object"
      },
      "ObservedPaymentDeviceLinkDto": {
        "properties": {
          "capabilities": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "endpointHost": {
            "type": "string"
          },
          "endpointPort": {
            "format": "int32",
            "type": "integer"
          },
          "failureReason": {
            "type": "string"
          },
          "gatewayDeviceId": {
            "type": "string"
          },
          "paymentDeviceKind": {
            "type": "string"
          },
          "paymentDeviceModel": {
            "type": "string"
          },
          "paymentDeviceSerialNumber": {
            "type": "string"
          },
          "paymentDeviceType": {
            "type": "string"
          },
          "posAppVersion": {
            "type": "string"
          },
          "posDeviceSerialNumber": {
            "type": "string"
          },
          "posPlatform": {
            "type": "string"
          },
          "providerTerminalId": {
            "type": "string"
          },
          "readinessState": {
            "type": "string"
          },
          "routingKey": {
            "type": "string"
          }
        },
        "required": [
          "capabilities"
        ],
        "type": "object"
      },
      "OnboardGatewayRequest": {
        "properties": {
          "addressZip": {
            "type": "string"
          },
          "businessName": {
            "type": "string"
          },
          "contactEmail": {
            "type": "string"
          },
          "dba": {
            "type": "string"
          },
          "existingLocationId": {
            "type": "string"
          },
          "industryType": {
            "type": "string"
          },
          "mode": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "OnboardMerchantRequest": {
        "properties": {
          "createAccountAttempt": {
            "$ref": "#/components/schemas/CreateAccountAttemptReference"
          },
          "deferOwnerInvite": {
            "type": "boolean"
          },
          "gateway": {
            "$ref": "#/components/schemas/OnboardGatewayRequest"
          },
          "moduleProducts": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "org": {
            "$ref": "#/components/schemas/CreateOrgRequest"
          },
          "owner": {
            "$ref": "#/components/schemas/CreateSuperAdminRequest"
          },
          "selectedProducts": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "store": {
            "$ref": "#/components/schemas/CreateStoreRequest"
          }
        },
        "required": [
          "gateway",
          "moduleProducts",
          "org",
          "selectedProducts",
          "store"
        ],
        "type": "object"
      },
      "OnboardMerchantResponse": {
        "properties": {
          "gatewayLocation": {
            "$ref": "#/components/schemas/GatewayMerchantInfo"
          },
          "gatewayLocationId": {
            "type": "string"
          },
          "gatewayMode": {
            "type": "string"
          },
          "gatewayWebhookResponse": {
            "type": "string"
          },
          "org": {
            "$ref": "#/components/schemas/OrgResponse"
          },
          "ownerInviteQueued": {
            "type": "boolean"
          },
          "ownerInviteStatus": {
            "type": "string"
          },
          "ownerInviteTaskId": {
            "format": "uuid",
            "type": "string"
          },
          "selectedProducts": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "store": {
            "$ref": "#/components/schemas/ManagementStoreResponse"
          }
        },
        "required": [
          "gatewayMode",
          "org",
          "ownerInviteQueued",
          "selectedProducts",
          "store"
        ],
        "type": "object"
      },
      "OnboardingTaskResponse": {
        "properties": {
          "attemptCount": {
            "format": "int32",
            "type": "integer"
          },
          "completedAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "lastError": {
            "type": "string"
          },
          "nextAttemptAt": {
            "format": "date-time",
            "type": "string"
          },
          "ownerInviteEmail": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "taskId": {
            "format": "uuid",
            "type": "string"
          },
          "taskType": {
            "type": "string"
          }
        },
        "required": [
          "attemptCount",
          "createdAt",
          "status",
          "taskId",
          "taskType"
        ],
        "type": "object"
      },
      "OpenShiftRequestPayload": {
        "properties": {
          "endTime": {
            "type": "string"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "requestType": {
            "enum": [
              "open_shift"
            ],
            "type": "string"
          },
          "requestedDate": {
            "format": "date",
            "type": "string"
          },
          "roleKey": {
            "nullable": true,
            "type": "string"
          },
          "shiftBlockId": {
            "format": "uuid",
            "type": "string"
          },
          "startTime": {
            "type": "string"
          }
        },
        "required": [
          "endTime",
          "requestType",
          "requestedDate",
          "shiftBlockId",
          "startTime"
        ],
        "type": "object"
      },
      "OpenShiftResponse": {
        "properties": {
          "blockId": {
            "format": "uuid",
            "type": "string"
          },
          "date": {
            "format": "date",
            "type": "string"
          },
          "endTime": {
            "type": "string"
          },
          "neededCount": {
            "format": "int32",
            "type": "integer"
          },
          "roleKey": {
            "type": "string"
          },
          "startTime": {
            "type": "string"
          }
        },
        "required": [
          "blockId",
          "date",
          "endTime",
          "neededCount",
          "roleKey",
          "startTime"
        ],
        "type": "object"
      },
      "OrderResponse": {
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "currency": {
            "description": "Order currency, falling back to the store currency and then USD",
            "type": "string"
          },
          "customerName": {
            "nullable": true,
            "type": "string"
          },
          "externalOrderId": {
            "type": "string"
          },
          "fulfillmentType": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "integrationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "itemsJson": {
            "type": "string"
          },
          "origin": {
            "enum": [
              "delivery_platform",
              "online_order",
              "pos_terminal"
            ],
            "nullable": true,
            "type": "string"
          },
          "placedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "platform": {
            "type": "string"
          },
          "providerStatus": {
            "nullable": true,
            "type": "string"
          },
          "providerUpdatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "scheduledAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "enum": [
              "UNKNOWN",
              "RECEIVED",
              "PREPARING",
              "READY",
              "PICKED_UP",
              "DELIVERED",
              "CANCELLED"
            ],
            "type": "string"
          },
          "statusHistory": {
            "items": {
              "$ref": "#/components/schemas/OrderStatusHistoryResponse"
            },
            "type": "array"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "subtotalAmount": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "taxAmount": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "totalAmount": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "transactionId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "currency",
          "externalOrderId",
          "fulfillmentType",
          "id",
          "itemsJson",
          "platform",
          "status",
          "statusHistory",
          "storeId",
          "updatedAt"
        ],
        "type": "object"
      },
      "OrderStatusHistoryResponse": {
        "properties": {
          "changedAt": {
            "format": "date-time",
            "type": "string"
          },
          "changedBy": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "newStatus": {
            "enum": [
              "UNKNOWN",
              "RECEIVED",
              "PREPARING",
              "READY",
              "PICKED_UP",
              "DELIVERED",
              "CANCELLED"
            ],
            "type": "string"
          },
          "oldStatus": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "changedAt",
          "id",
          "newStatus"
        ],
        "type": "object"
      },
      "OrgAnalyticsOverview": {
        "properties": {
          "avgTransaction": {
            "type": "number"
          },
          "endDate": {
            "format": "date-time",
            "type": "string"
          },
          "netRevenue": {
            "type": "number"
          },
          "refundAmount": {
            "type": "number"
          },
          "refundCount": {
            "format": "int64",
            "type": "integer"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "totalDiscounts": {
            "type": "number"
          },
          "totalRevenue": {
            "type": "number"
          },
          "totalTax": {
            "type": "number"
          },
          "transactionCount": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "avgTransaction",
          "endDate",
          "netRevenue",
          "refundAmount",
          "refundCount",
          "startDate",
          "totalDiscounts",
          "totalRevenue",
          "totalTax",
          "transactionCount"
        ],
        "type": "object"
      },
      "OrgBillingSummary": {
        "properties": {
          "accountStatus": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "deviceLines": {
            "items": {
              "$ref": "#/components/schemas/DeviceLineResponse"
            },
            "type": "array"
          },
          "monthlyTotalCents": {
            "format": "int64",
            "type": "integer"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "orgName": {
            "type": "string"
          },
          "paymentTerms": {
            "type": "string"
          },
          "products": {
            "items": {
              "$ref": "#/components/schemas/OrgProductLine"
            },
            "type": "array"
          },
          "storeCount": {
            "format": "int64",
            "type": "integer"
          },
          "terminalCount": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "active",
          "deviceLines",
          "monthlyTotalCents",
          "products",
          "storeCount",
          "terminalCount"
        ],
        "type": "object"
      },
      "OrgIamAccessSourceResponse": {
        "properties": {
          "effect": {
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "permissionKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "reason": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "effect",
          "id",
          "name",
          "permissionKeys",
          "scope",
          "type"
        ],
        "type": "object"
      },
      "OrgIamCapabilityByScopeResponse": {
        "properties": {
          "canAddGroupAssignment": {
            "type": "boolean"
          },
          "canAssignJobFunction": {
            "type": "boolean"
          },
          "scope": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "required": [
          "canAddGroupAssignment",
          "canAssignJobFunction",
          "scope"
        ],
        "type": "object"
      },
      "OrgIamDirectAssignmentResponse": {
        "properties": {
          "assignmentId": {
            "format": "uuid",
            "type": "string"
          },
          "canRemove": {
            "type": "boolean"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "responsibilityNames": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "scope": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "required": [
          "assignmentId",
          "canRemove",
          "kind",
          "name",
          "reason",
          "responsibilityNames",
          "scope"
        ],
        "type": "object"
      },
      "OrgIamEffectivePermissionResponse": {
        "properties": {
          "allowed": {
            "type": "boolean"
          },
          "explanation": {
            "type": "string"
          },
          "permissionKey": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          },
          "sources": {
            "items": {
              "$ref": "#/components/schemas/OrgIamAccessSourceResponse"
            },
            "type": "array"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "required": [
          "allowed",
          "explanation",
          "permissionKey",
          "scope",
          "sources"
        ],
        "type": "object"
      },
      "OrgIamEffectiveResponsibilityResponse": {
        "properties": {
          "allowed": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          },
          "explanation": {
            "type": "string"
          },
          "grantedPermissionKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "key": {
            "type": "string"
          },
          "missingPermissionKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          },
          "sources": {
            "items": {
              "$ref": "#/components/schemas/OrgIamAccessSourceResponse"
            },
            "type": "array"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "required": [
          "allowed",
          "description",
          "explanation",
          "grantedPermissionKeys",
          "key",
          "missingPermissionKeys",
          "name",
          "scope",
          "sources"
        ],
        "type": "object"
      },
      "OrgIamPersonAccessResponse": {
        "properties": {
          "capabilitiesByScope": {
            "items": {
              "$ref": "#/components/schemas/OrgIamCapabilityByScopeResponse"
            },
            "type": "array"
          },
          "effectivePermissions": {
            "items": {
              "$ref": "#/components/schemas/OrgIamEffectivePermissionResponse"
            },
            "type": "array"
          },
          "effectiveResponsibilities": {
            "items": {
              "$ref": "#/components/schemas/OrgIamEffectiveResponsibilityResponse"
            },
            "type": "array"
          },
          "groupAssignments": {
            "items": {
              "$ref": "#/components/schemas/OrgIamDirectAssignmentResponse"
            },
            "type": "array"
          },
          "organizationJobFunction": {
            "$ref": "#/components/schemas/OrgOrganizationJobFunctionResponse"
          },
          "primaryJobFunctions": {
            "items": {
              "$ref": "#/components/schemas/OrgPrimaryJobFunctionResponse"
            },
            "type": "array"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "capabilitiesByScope",
          "effectivePermissions",
          "effectiveResponsibilities",
          "groupAssignments",
          "primaryJobFunctions",
          "userId"
        ],
        "type": "object"
      },
      "OrgIamResponsibilityPermissionResponse": {
        "properties": {
          "dangerous": {
            "type": "boolean"
          },
          "displayName": {
            "type": "string"
          },
          "key": {
            "type": "string"
          }
        },
        "required": [
          "dangerous",
          "displayName",
          "key"
        ],
        "type": "object"
      },
      "OrgIamResponsibilityResponse": {
        "properties": {
          "blockedBy": {
            "type": "string"
          },
          "blockedReason": {
            "type": "string"
          },
          "delegationBand": {
            "type": "string"
          },
          "delegationLevel": {
            "format": "int32",
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "grantable": {
            "type": "boolean"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "permissions": {
            "items": {
              "$ref": "#/components/schemas/OrgIamResponsibilityPermissionResponse"
            },
            "type": "array"
          },
          "storeScopeAllowed": {
            "type": "boolean"
          }
        },
        "required": [
          "delegationBand",
          "delegationLevel",
          "description",
          "grantable",
          "key",
          "name",
          "permissions",
          "storeScopeAllowed"
        ],
        "type": "object"
      },
      "OrgInheritedJobFunctionResponse": {
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "scope"
        ],
        "type": "object"
      },
      "OrgInviteResponse": {
        "properties": {
          "acceptedAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "inviteId": {
            "format": "uuid",
            "type": "string"
          },
          "jobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "jobFunctionLabel": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "OrgJobFunctionResponse": {
        "properties": {
          "delegationBand": {
            "type": "string"
          },
          "delegationLevel": {
            "format": "int32",
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "inheritedJobFunctionIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "inheritedJobFunctions": {
            "items": {
              "$ref": "#/components/schemas/OrgInheritedJobFunctionResponse"
            },
            "type": "array"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "templateKey": {
            "type": "string"
          }
        },
        "required": [
          "delegationBand",
          "delegationLevel",
          "id",
          "inheritedJobFunctionIds",
          "inheritedJobFunctions",
          "kind",
          "name",
          "scope",
          "status"
        ],
        "type": "object"
      },
      "OrgJobFunctionsResponse": {
        "properties": {
          "jobFunctions": {
            "items": {
              "$ref": "#/components/schemas/OrgJobFunctionResponse"
            },
            "type": "array"
          },
          "nextCursor": {
            "format": "uuid",
            "type": "string"
          },
          "policyVersion": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "jobFunctions",
          "policyVersion"
        ],
        "type": "object"
      },
      "OrgOrganizationJobFunctionResponse": {
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "jobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "jobFunctionName": {
            "type": "string"
          }
        },
        "required": [
          "jobFunctionId",
          "jobFunctionName"
        ],
        "type": "object"
      },
      "OrgOverrideResponse": {
        "properties": {
          "priceCents": {
            "format": "int64",
            "type": "integer"
          },
          "productKey": {
            "type": "string"
          },
          "tier": {
            "type": "string"
          }
        },
        "required": [
          "priceCents"
        ],
        "type": "object"
      },
      "OrgPeopleResponse": {
        "properties": {
          "directoryVersion": {
            "type": "string"
          },
          "nextCursor": {
            "format": "uuid",
            "type": "string"
          },
          "people": {
            "items": {
              "$ref": "#/components/schemas/OrgUserResponse"
            },
            "type": "array"
          },
          "policyVersion": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "directoryVersion",
          "people",
          "policyVersion"
        ],
        "type": "object"
      },
      "OrgPrimaryJobFunctionResponse": {
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "jobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "jobFunctionName": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "required": [
          "jobFunctionId",
          "jobFunctionName",
          "storeId",
          "storeName"
        ],
        "type": "object"
      },
      "OrgProductLine": {
        "properties": {
          "displayName": {
            "type": "string"
          },
          "isOverridden": {
            "type": "boolean"
          },
          "lineTotalCents": {
            "format": "int64",
            "type": "integer"
          },
          "priceCentsPerUnit": {
            "format": "int64",
            "type": "integer"
          },
          "productKey": {
            "type": "string"
          },
          "tier": {
            "type": "string"
          },
          "unitType": {
            "type": "string"
          },
          "units": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "isOverridden",
          "lineTotalCents",
          "priceCentsPerUnit",
          "units"
        ],
        "type": "object"
      },
      "OrgResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "ein": {
            "type": "string"
          },
          "hqLocation": {
            "type": "string"
          },
          "isDemo": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "timeOffset": {
            "format": "int32",
            "type": "integer"
          },
          "timeZone": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "active",
          "isDemo",
          "timeOffset"
        ],
        "type": "object"
      },
      "OrgUserLifecycleRequest": {
        "properties": {
          "global": {
            "type": "boolean"
          },
          "jobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "global",
          "reason",
          "storeId"
        ],
        "type": "object"
      },
      "OrgUserResponse": {
        "properties": {
          "accountSynchronization": {
            "$ref": "#/components/schemas/AccountStateSynchronizationState"
          },
          "active": {
            "type": "boolean"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastLogin": {
            "format": "date-time",
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "organizationJobFunction": {
            "$ref": "#/components/schemas/OrgOrganizationJobFunctionResponse"
          },
          "primaryJobFunctions": {
            "items": {
              "$ref": "#/components/schemas/OrgPrimaryJobFunctionResponse"
            },
            "type": "array"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "active",
          "displayName",
          "primaryJobFunctions",
          "userId"
        ],
        "type": "object"
      },
      "OutOfStockItemResponse": {
        "properties": {
          "averageDailySales": {
            "format": "double",
            "type": "number"
          },
          "averageWeeklySales": {
            "format": "double",
            "type": "number"
          },
          "barcode": {
            "type": "string"
          },
          "dateReachedZero": {
            "format": "date-time",
            "type": "string"
          },
          "daysOutOfStock": {
            "format": "int64",
            "type": "integer"
          },
          "estimatedLostSales": {
            "type": "number"
          },
          "lastPurchaseOrderId": {
            "format": "uuid",
            "type": "string"
          },
          "lastPurchaseOrderStatus": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "recommendedOrderQty": {
            "format": "int32",
            "type": "integer"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierName": {
            "type": "string"
          }
        },
        "required": [
          "productId"
        ],
        "type": "object"
      },
      "OutOfStockReportResponse": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/OutOfStockItemResponse"
            },
            "type": "array"
          }
        },
        "required": [
          "items"
        ],
        "type": "object"
      },
      "PageContext": {
        "properties": {
          "filters": {
            "additionalProperties": true,
            "type": "object"
          },
          "primaryResourceId": {
            "type": "string"
          },
          "routeId": {
            "type": "string"
          },
          "selectedResourceIds": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "timeframe": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "required": [
          "filters",
          "routeId",
          "selectedResourceIds"
        ],
        "type": "object"
      },
      "PaginatedResponseDepositLedgerResponse": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/DepositLedgerResponse"
            },
            "type": "array"
          },
          "page": {
            "format": "int32",
            "type": "integer"
          },
          "size": {
            "format": "int32",
            "type": "integer"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "totalPages": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "page",
          "size",
          "total",
          "totalPages"
        ],
        "type": "object"
      },
      "PaginatedResponseDepositRuleResponse": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/DepositRuleResponse"
            },
            "type": "array"
          },
          "page": {
            "format": "int32",
            "type": "integer"
          },
          "size": {
            "format": "int32",
            "type": "integer"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "totalPages": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "page",
          "size",
          "total",
          "totalPages"
        ],
        "type": "object"
      },
      "PaginatedResponseMovementResponse": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/MovementResponse"
            },
            "type": "array"
          },
          "page": {
            "format": "int32",
            "type": "integer"
          },
          "size": {
            "format": "int32",
            "type": "integer"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "totalPages": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "page",
          "size",
          "total",
          "totalPages"
        ],
        "type": "object"
      },
      "PaginatedResponseSnapshotResponse": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/SnapshotResponse"
            },
            "type": "array"
          },
          "page": {
            "format": "int32",
            "type": "integer"
          },
          "size": {
            "format": "int32",
            "type": "integer"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "totalPages": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "page",
          "size",
          "total",
          "totalPages"
        ],
        "type": "object"
      },
      "PairGatewayStoreRequest": {
        "properties": {
          "merchantId": {
            "type": "string"
          }
        },
        "required": [
          "merchantId"
        ],
        "type": "object"
      },
      "PayRateRequest": {
        "properties": {
          "effectiveFrom": {
            "format": "date",
            "type": "string"
          },
          "hourlyRateCents": {
            "exclusiveMinimum": true,
            "format": "int64",
            "maximum": 100000000.0,
            "minimum": 0,
            "type": "integer"
          },
          "overtimeRateCents": {
            "exclusiveMinimum": true,
            "format": "int64",
            "maximum": 100000000.0,
            "minimum": 0,
            "type": "integer"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "effectiveFrom",
          "hourlyRateCents"
        ],
        "type": "object"
      },
      "PaymentBreakdown": {
        "properties": {
          "card": {
            "type": "number"
          },
          "cash": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "PaymentDetail": {
        "properties": {
          "approvalCode": {
            "type": "string"
          },
          "cardBrand": {
            "type": "string"
          },
          "cardLast4": {
            "type": "string"
          },
          "feeAmount": {
            "type": "number"
          },
          "gatewayTransactionId": {
            "type": "string"
          }
        },
        "required": [
          "gatewayTransactionId"
        ],
        "type": "object"
      },
      "PaymentDeviceLinkDto": {
        "properties": {
          "blockingReason": {
            "type": "string"
          },
          "errorCode": {
            "$ref": "#/components/schemas/PaymentDeviceLinkErrorCode"
          },
          "expected": {
            "$ref": "#/components/schemas/ExpectedPaymentDeviceLinkDto"
          },
          "generation": {
            "format": "int64",
            "type": "integer"
          },
          "lastSeenAt": {
            "format": "date-time",
            "type": "string"
          },
          "lastValidatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "lifecycleStatus": {
            "$ref": "#/components/schemas/PaymentDeviceLinkLifecycleStatus"
          },
          "linkId": {
            "format": "uuid",
            "type": "string"
          },
          "observed": {
            "$ref": "#/components/schemas/ObservedPaymentDeviceLinkDto"
          },
          "operationalReadiness": {
            "$ref": "#/components/schemas/PaymentDeviceOperationalReadiness"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "pendingReason": {
            "$ref": "#/components/schemas/PaymentDeviceLinkPendingReason"
          },
          "ready": {
            "type": "boolean"
          },
          "recoveryState": {
            "$ref": "#/components/schemas/PaymentDeviceRecoveryState"
          },
          "registrationRequirements": {
            "items": {
              "$ref": "#/components/schemas/PaymentDeviceRegistrationRequirement"
            },
            "type": "array",
            "uniqueItems": true
          },
          "relinkPolicy": {
            "$ref": "#/components/schemas/PaymentDeviceRelinkPolicy"
          },
          "remediationAction": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "lifecycleStatus",
          "operationalReadiness",
          "ready",
          "recoveryState",
          "registrationRequirements",
          "relinkPolicy",
          "status"
        ],
        "type": "object"
      },
      "PaymentDeviceLinkErrorCode": {
        "enum": [
          "DEVICE_MISMATCH",
          "DEVICE_OFFLINE",
          "UNSUPPORTED_DEVICE",
          "INVALID_CONFIGURATION",
          "PROVIDER_REJECTED",
          "PROVIDER_UNAVAILABLE",
          "TIMEOUT",
          "INTERNAL_ERROR"
        ],
        "type": "string"
      },
      "PaymentDeviceLinkLifecycleStatus": {
        "enum": [
          "UNLINKED",
          "PENDING",
          "LINKED",
          "ERROR"
        ],
        "type": "string"
      },
      "PaymentDeviceLinkPendingReason": {
        "enum": [
          "RECONNECT_REQUESTED",
          "CONNECTING",
          "PROVIDER_SYNC",
          "RETRY_SCHEDULED"
        ],
        "type": "string"
      },
      "PaymentDeviceOperationalReadiness": {
        "enum": [
          "UNKNOWN",
          "READY",
          "OFFLINE",
          "DEGRADED",
          "BLOCKED"
        ],
        "type": "string"
      },
      "PaymentDeviceRecoveryState": {
        "enum": [
          "NOT_REQUIRED",
          "WAITING_FOR_DEVICE",
          "WAITING_FOR_PROVIDER",
          "RETRY_SCHEDULED",
          "MANUAL_AUTHORIZATION_REQUIRED",
          "FAILED"
        ],
        "type": "string"
      },
      "PaymentDeviceRegistrationRequirement": {
        "enum": [
          "STORE_AUTHORIZATION",
          "SDK_ENROLLMENT",
          "PROVIDER_TERMINAL_CLAIM",
          "APPLICATION_PROFILE",
          "RUNTIME_CONNECTION"
        ],
        "type": "string"
      },
      "PaymentDeviceRelinkPolicy": {
        "enum": [
          "AUTO_RELINK",
          "MANUAL_RELINK_REQUIRED"
        ],
        "type": "string"
      },
      "PaymentInterfaceConfigDto": {
        "additionalProperties": {
          "type": "string"
        },
        "properties": {
          "apiKey": {
            "type": "string"
          },
          "appIdentifier": {
            "type": "string"
          },
          "deviceType": {
            "$ref": "#/components/schemas/DeviceType"
          },
          "environment": {
            "type": "string"
          },
          "gatewayName": {
            "$ref": "#/components/schemas/GatewayName"
          }
        },
        "required": [
          "apiKey",
          "appIdentifier",
          "environment"
        ],
        "type": "object"
      },
      "PaymentMethodBreakdown": {
        "properties": {
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "paymentMethod": {
            "type": "string"
          },
          "recordType": {
            "type": "string"
          },
          "total": {
            "type": "string"
          }
        },
        "required": [
          "count",
          "paymentMethod",
          "recordType",
          "total"
        ],
        "type": "object"
      },
      "PaymentTokenAvailability": {
        "enum": [
          "USABLE",
          "ABSENT"
        ],
        "type": "string"
      },
      "PaymentTokenResponse": {
        "properties": {
          "availability": {
            "$ref": "#/components/schemas/PaymentTokenAvailability"
          },
          "cardBrand": {
            "type": "string"
          },
          "lastFour": {
            "type": "string"
          },
          "paymentMethodId": {
            "type": "string"
          },
          "tokenId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "availability"
        ],
        "type": "object"
      },
      "PeakAuthzTokenRequest": {
        "properties": {
          "audience": {
            "type": "string"
          },
          "impersonatedRoleId": {
            "format": "uuid",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "tenantId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "PeakAuthzTokenResponse": {
        "properties": {
          "accessToken": {
            "type": "string"
          },
          "audience": {
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "expiresInSeconds": {
            "format": "int64",
            "type": "integer"
          },
          "featurePolicy": {
            "$ref": "#/components/schemas/MerchantFeaturePolicyResponse"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "permissions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "policyVersion": {
            "format": "int64",
            "type": "integer"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "tokenType": {
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "accessToken",
          "audience",
          "expiresAt",
          "expiresInSeconds",
          "permissions",
          "policyVersion",
          "tokenType"
        ],
        "type": "object"
      },
      "PeakHoursResponse": {
        "properties": {
          "hour": {
            "format": "int32",
            "type": "integer"
          },
          "transactionCount": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "hour",
          "transactionCount"
        ],
        "type": "object"
      },
      "PeriodEntry": {
        "properties": {
          "discountsApplied": {
            "type": "number"
          },
          "hour": {
            "format": "int32",
            "type": "integer"
          },
          "netSales": {
            "type": "number"
          },
          "nonTaxedSales": {
            "type": "number"
          },
          "paymentBreakdown": {
            "$ref": "#/components/schemas/PaymentBreakdown"
          },
          "periodEnd": {
            "format": "date",
            "type": "string"
          },
          "periodStart": {
            "format": "date",
            "type": "string"
          },
          "taxCollected": {
            "type": "number"
          },
          "taxedSales": {
            "type": "number"
          },
          "totalSales": {
            "type": "number"
          },
          "transactionCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "transactionCount"
        ],
        "type": "object"
      },
      "PermissionsMatrixInheritedJobFunctionResponse": {
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "scope"
        ],
        "type": "object"
      },
      "PermissionsMatrixJobFunctionPeopleResponse": {
        "properties": {
          "directoryVersion": {
            "type": "string"
          },
          "jobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "nextCursor": {
            "format": "uuid",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "people": {
            "items": {
              "$ref": "#/components/schemas/PermissionsMatrixUserResponse"
            },
            "type": "array"
          },
          "permissions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "policyVersion": {
            "format": "int64",
            "type": "integer"
          },
          "scope": {
            "type": "string"
          }
        },
        "required": [
          "directoryVersion",
          "jobFunctionId",
          "orgId",
          "people",
          "permissions",
          "policyVersion",
          "scope"
        ],
        "type": "object"
      },
      "PermissionsMatrixJobFunctionResponse": {
        "properties": {
          "delegationBand": {
            "type": "string"
          },
          "delegationLevel": {
            "format": "int32",
            "type": "integer"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "inheritedJobFunctionIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "inheritedJobFunctions": {
            "items": {
              "$ref": "#/components/schemas/PermissionsMatrixInheritedJobFunctionResponse"
            },
            "type": "array"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "responsibilityKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "scope": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "templateKey": {
            "type": "string"
          }
        },
        "required": [
          "delegationBand",
          "delegationLevel",
          "id",
          "inheritedJobFunctionIds",
          "inheritedJobFunctions",
          "kind",
          "name",
          "responsibilityKeys",
          "scope",
          "status"
        ],
        "type": "object"
      },
      "PermissionsMatrixPermissionResponse": {
        "properties": {
          "action": {
            "type": "string"
          },
          "deniedByJobFunctionIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "grantedByJobFunctionIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "grantedByResponsibilityKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "grantedDirectlyByJobFunctionIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "key": {
            "type": "string"
          },
          "module": {
            "type": "string"
          },
          "resource": {
            "type": "string"
          }
        },
        "required": [
          "action",
          "deniedByJobFunctionIds",
          "grantedByJobFunctionIds",
          "grantedByResponsibilityKeys",
          "grantedDirectlyByJobFunctionIds",
          "key",
          "resource"
        ],
        "type": "object"
      },
      "PermissionsMatrixResponse": {
        "properties": {
          "jobFunctions": {
            "items": {
              "$ref": "#/components/schemas/PermissionsMatrixJobFunctionResponse"
            },
            "type": "array"
          },
          "nextCursor": {
            "format": "uuid",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "orgTier": {
            "type": "string"
          },
          "permissions": {
            "items": {
              "$ref": "#/components/schemas/PermissionsMatrixPermissionResponse"
            },
            "type": "array"
          },
          "policyVersion": {
            "format": "int64",
            "type": "integer"
          },
          "responsibilities": {
            "items": {
              "$ref": "#/components/schemas/PermissionsMatrixResponsibilityResponse"
            },
            "type": "array"
          },
          "tierFeatures": {
            "items": {
              "$ref": "#/components/schemas/PermissionsMatrixTierFeatureResponse"
            },
            "type": "array"
          }
        },
        "required": [
          "jobFunctions",
          "orgId",
          "orgTier",
          "permissions",
          "policyVersion",
          "responsibilities",
          "tierFeatures"
        ],
        "type": "object"
      },
      "PermissionsMatrixResponsibilityResponse": {
        "properties": {
          "description": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "permissionKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "description",
          "key",
          "name",
          "permissionKeys"
        ],
        "type": "object"
      },
      "PermissionsMatrixTierFeatureResponse": {
        "properties": {
          "entitledForOrgTier": {
            "type": "boolean"
          },
          "key": {
            "type": "string"
          },
          "tiers": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "entitledForOrgTier",
          "key",
          "tiers"
        ],
        "type": "object"
      },
      "PermissionsMatrixUserResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "email": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "active"
        ],
        "type": "object"
      },
      "PhoneField": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FormField"
          }
        ],
        "required": [
          "id",
          "label",
          "required",
          "sensitive"
        ],
        "type": "object"
      },
      "PipelineResponse": {
        "properties": {
          "agentId": {
            "format": "uuid",
            "type": "string"
          },
          "businessAddress": {
            "type": "string"
          },
          "businessEmail": {
            "type": "string"
          },
          "businessName": {
            "type": "string"
          },
          "businessPhone": {
            "type": "string"
          },
          "canRequestClientDeletion": {
            "type": "boolean"
          },
          "canResendOwnerWelcomeEmail": {
            "type": "boolean"
          },
          "cancelledBy": {
            "$ref": "#/components/schemas/ContributorInfo"
          },
          "clientDeletionBlockedReason": {
            "type": "string"
          },
          "contributors": {
            "items": {
              "$ref": "#/components/schemas/ContributorInfo"
            },
            "type": "array"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdBy": {
            "$ref": "#/components/schemas/ContributorInfo"
          },
          "editable": {
            "type": "boolean"
          },
          "notes": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "ownerEmail": {
            "type": "string"
          },
          "ownerFirstName": {
            "type": "string"
          },
          "ownerLastName": {
            "type": "string"
          },
          "ownerPhone": {
            "type": "string"
          },
          "pipelineId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "steps": {
            "additionalProperties": {
              "$ref": "#/components/schemas/PipelineStepInfo"
            },
            "type": "object"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "contributors",
          "steps"
        ],
        "type": "object"
      },
      "PipelineStatusCount": {
        "properties": {
          "count": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "count"
        ],
        "type": "object"
      },
      "PipelineStepInfo": {
        "properties": {
          "completedAt": {
            "type": "string"
          },
          "completedBy": {
            "type": "string"
          },
          "completedByEmail": {
            "type": "string"
          },
          "data": {
            "additionalProperties": true,
            "type": "object"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "PointTransactionResponse": {
        "properties": {
          "createdAt": {
            "type": "string"
          },
          "delta": {
            "format": "int32",
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "type": "string"
          },
          "transactionId": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "delta",
          "id",
          "status",
          "type"
        ],
        "type": "object"
      },
      "PointsAdjustmentReceipt": {
        "properties": {
          "points": {
            "format": "int32",
            "type": "integer"
          },
          "reason": {
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          },
          "resultingBalance": {
            "format": "int32",
            "type": "integer"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "points",
          "reason",
          "requestId",
          "resultingBalance",
          "status"
        ],
        "type": "object"
      },
      "PortalCheckoutPriceApprovalRequest": {
        "properties": {
          "currency": {
            "minLength": 1,
            "type": "string"
          },
          "idempotencyKey": {
            "maxLength": 128,
            "minLength": 0,
            "type": "string"
          },
          "name": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "exclusiveMinimum": true,
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          },
          "taxCategory": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "unitPrice": {
            "type": "number"
          }
        },
        "required": [
          "currency",
          "idempotencyKey",
          "quantity",
          "unitPrice"
        ],
        "type": "object"
      },
      "PortalCheckoutPriceApprovalResponse": {
        "properties": {
          "approvalId": {
            "format": "uuid",
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "taxCategory": {
            "type": "string"
          },
          "unitPrice": {
            "type": "number"
          }
        },
        "required": [
          "approvalId",
          "currency",
          "expiresAt",
          "name",
          "quantity",
          "taxCategory",
          "unitPrice"
        ],
        "type": "object"
      },
      "PortalTokenRequest": {
        "properties": {
          "gatewayMerchantId": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "gatewayMerchantId"
        ],
        "type": "object"
      },
      "PortalTokenResponse": {
        "properties": {
          "expiresAt": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          },
          "token": {
            "type": "string"
          }
        },
        "required": [
          "expiresAt",
          "scope",
          "token"
        ],
        "type": "object"
      },
      "PosJobFunction": {
        "enum": [
          "assistant_manager",
          "base_employee",
          "cashier",
          "head_cashier",
          "manager",
          "organization_affiliation",
          "organization_member",
          "organization_owner",
          "stock_person",
          "store_owner"
        ],
        "type": "string"
      },
      "PosLandingScreenRequest": {
        "properties": {
          "posLandingScreen": {
            "enum": [
              "sale",
              "appointments"
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "PosPermission": {
        "enum": [
          "account.organization.read",
          "account.organization.write",
          "invoicing.billing_codes.read",
          "invoicing.billing_codes.write",
          "invoicing.invoices.admin",
          "invoicing.invoices.read",
          "invoicing.invoices.write",
          "invoicing.payments.read",
          "invoicing.payments.write",
          "mgmt.agent_portal.read",
          "mgmt.agent_portal.write",
          "mgmt.agents.read",
          "mgmt.demos.create",
          "mgmt.demos.delete",
          "mgmt.demos.read",
          "mgmt.demos.use",
          "mgmt.gateway.create",
          "mgmt.gateway.org.create",
          "mgmt.gateway.org.read",
          "mgmt.gateway.org.update",
          "mgmt.gateway.read",
          "mgmt.gateway.update",
          "mgmt.merchant_impersonation.create",
          "mgmt.orgs.read",
          "mgmt.orgs.write",
          "mgmt.payment_configs.write",
          "mgmt.pos_overlay.create",
          "mgmt.pos_overlay.delete",
          "mgmt.pos_overlay.read",
          "mgmt.pos_overlay.update",
          "mgmt.pos_overlay.write",
          "mgmt.stores.read",
          "mgmt.stores.write",
          "mgmt.tax.read",
          "mgmt.tax.update",
          "mgmt.terminals.read",
          "mgmt.terminals.write",
          "org.activity.read",
          "org.admin",
          "org.advertisements.read",
          "org.advertisements.write",
          "org.ai.admin",
          "org.ai.read",
          "org.ai.write",
          "org.analytics.read",
          "org.categories.read",
          "org.categories.write",
          "org.customers.read",
          "org.customers.write",
          "org.integrations.read",
          "org.invites.read",
          "org.invites.write",
          "org.job_functions.read",
          "org.loyalty.read",
          "org.loyalty.write",
          "org.marketing.read",
          "org.marketing.write",
          "org.members.admin",
          "org.members.read",
          "org.members.write",
          "org.product.read",
          "org.product.write",
          "org.prolog.admin",
          "org.prolog.read",
          "org.promotions.read",
          "org.promotions.write",
          "org.read",
          "org.settings.admin",
          "org.settings.read",
          "org.settings.write",
          "org.suppliers.read",
          "org.suppliers.write",
          "org.utilization.read",
          "org.write",
          "pos_overlay.customers.read",
          "pos_overlay.customers.write",
          "pos_overlay.inventory.read",
          "pos_overlay.inventory.write",
          "pos_overlay.suppliers.read",
          "pos_overlay.suppliers.write",
          "product.peakpos.access",
          "purchasing.purchase_orders.read",
          "purchasing.purchase_orders.write",
          "reporting.reports.read",
          "service_workflow.appointment_payments.write",
          "service_workflow.appointments.read",
          "service_workflow.appointments.write",
          "service_workflow.catalog.read",
          "service_workflow.catalog.write",
          "service_workflow.checkins.read",
          "service_workflow.checkins.write",
          "service_workflow.customer_portal.read",
          "service_workflow.customer_portal.write",
          "service_workflow.engagement.read",
          "service_workflow.engagement.write",
          "service_workflow.forms.read",
          "service_workflow.forms.write",
          "service_workflow.gift_cards.read",
          "service_workflow.gift_cards.write",
          "service_workflow.loyalty.read",
          "service_workflow.loyalty.write",
          "service_workflow.memberships.read",
          "service_workflow.memberships.write",
          "service_workflow.reporting.read",
          "service_workflow.resources.read",
          "service_workflow.resources.write",
          "service_workflow.reviews.read",
          "service_workflow.reviews.write",
          "service_workflow.tickets.read",
          "service_workflow.tickets.write",
          "store.activity.read",
          "store.advertisements.read",
          "store.cash.admin",
          "store.cash.read",
          "store.cash.write",
          "store.compliance.admin",
          "store.compliance.read",
          "store.compliance.write",
          "store.consent.read",
          "store.consent.write",
          "store.customers.read",
          "store.customers.write",
          "store.discounts.admin",
          "store.discounts.read",
          "store.discounts.write",
          "store.gift_cards.read",
          "store.gift_cards.write",
          "store.inventory.adjust.write",
          "store.inventory.count.approve",
          "store.inventory.count.write",
          "store.inventory.read",
          "store.inventory.receive.write",
          "store.inventory.settings.write",
          "store.kds.admin",
          "store.kds.tickets.bump",
          "store.kds.tickets.view",
          "store.members.admin",
          "store.members.read",
          "store.members.write",
          "store.mkonnekt.read",
          "store.mkonnekt.write",
          "store.notifications.read",
          "store.notifications.write",
          "store.products.admin",
          "store.products.read",
          "store.products.write",
          "store.promotions.read",
          "store.promotions.write",
          "store.query.read",
          "store.query.write",
          "store.refunds.admin",
          "store.refunds.write",
          "store.reports.read",
          "store.reports.write",
          "store.returns.read",
          "store.serials.read",
          "store.serials.write",
          "store.settings.read",
          "store.settings.write",
          "store.shifts.admin",
          "store.shifts.read",
          "store.shifts.self.read",
          "store.shifts.self.write",
          "store.shifts.write",
          "store.tax.read",
          "store.tax.write",
          "store.terminals.admin",
          "store.terminals.read",
          "store.terminals.write",
          "store.transactions.admin",
          "store.transactions.read",
          "store.transactions.write",
          "store.transfers.read",
          "store.transfers.write",
          "tax.configuration.read",
          "tax.configuration.write"
        ],
        "type": "string"
      },
      "PreviewRow": {
        "properties": {
          "action": {
            "type": "string"
          },
          "afterValues": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "beforeValues": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "classification": {
            "type": "string"
          },
          "row": {
            "format": "int32",
            "type": "integer"
          },
          "valid": {
            "type": "boolean"
          },
          "values": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "required": [
          "afterValues",
          "beforeValues",
          "row",
          "valid",
          "values"
        ],
        "type": "object"
      },
      "PrimaryStoreResponse": {
        "properties": {
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "orgId",
          "storeId"
        ],
        "type": "object"
      },
      "ProcessorResponseDetails": {
        "properties": {
          "category": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "processor": {
            "type": "string"
          }
        },
        "required": [
          "category",
          "code",
          "processor"
        ],
        "type": "object"
      },
      "ProductActivationReadiness": {
        "properties": {
          "actions": {
            "items": {
              "$ref": "#/components/schemas/ActivationReadinessAction"
            },
            "type": "array"
          },
          "blockers": {
            "items": {
              "$ref": "#/components/schemas/ActivationReadinessItem"
            },
            "type": "array"
          },
          "label": {
            "type": "string"
          },
          "module": {
            "type": "string"
          },
          "required": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "warnings": {
            "items": {
              "$ref": "#/components/schemas/ActivationReadinessItem"
            },
            "type": "array"
          }
        },
        "required": [
          "actions",
          "blockers",
          "label",
          "module",
          "required",
          "status",
          "warnings"
        ],
        "type": "object"
      },
      "ProductDeletionStatus": {
        "enum": [
          "DELETED",
          "DELETION_PENDING"
        ],
        "type": "string"
      },
      "ProductDiscountType": {
        "enum": [
          "AMOUNT",
          "PERCENTAGE"
        ],
        "type": "string"
      },
      "ProductImageResponse": {
        "properties": {
          "altText": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "displayOrder": {
            "format": "int32",
            "type": "integer"
          },
          "heightPx": {
            "format": "int32",
            "type": "integer"
          },
          "imageId": {
            "format": "uuid",
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "uploadedBy": {
            "format": "uuid",
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "widthPx": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "displayOrder",
          "imageId",
          "productId"
        ],
        "type": "object"
      },
      "ProductImportBatchRequest": {
        "properties": {
          "createSupplierNames": {
            "description": "Preview missingSuppliers the merchant chose to create. Rows naming any other missing supplier import without a preferred supplier. Omitted: every missing supplier is created.",
            "items": {
              "description": "Preview missingSuppliers the merchant chose to create. Rows naming any other missing supplier import without a preferred supplier. Omitted: every missing supplier is created.",
              "type": "string"
            },
            "type": "array"
          },
          "token": {
            "type": "string"
          }
        },
        "required": [
          "token"
        ],
        "type": "object"
      },
      "ProductImportMultipartRequest": {
        "properties": {
          "file": {
            "description": "CSV or XLSX products and opening inventory. Missing named categories are created in the store's organization when the import is committed; the preview lists missing suppliers so the merchant chooses which to create. Preview creates nothing.",
            "format": "binary",
            "type": "string"
          }
        },
        "required": [
          "file"
        ],
        "type": "object"
      },
      "ProductLocationInventoryResponse": {
        "properties": {
          "barcode": {
            "type": "string"
          },
          "inventoryTracked": {
            "type": "boolean"
          },
          "locations": {
            "items": {
              "$ref": "#/components/schemas/ProductLocationStockResponse"
            },
            "type": "array"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "totalOnHand": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "locations",
          "productId",
          "productName",
          "totalOnHand"
        ],
        "type": "object"
      },
      "ProductLocationStockResponse": {
        "properties": {
          "canAdjust": {
            "type": "boolean"
          },
          "lastUpdatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "onHand": {
            "format": "int32",
            "type": "integer"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "reorderPoint": {
            "format": "int32",
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "required": [
          "canAdjust",
          "onHand",
          "productId",
          "productName",
          "status",
          "storeId",
          "storeName"
        ],
        "type": "object"
      },
      "ProductLookupRequest": {
        "properties": {
          "barcode": {
            "minLength": 1,
            "type": "string"
          },
          "requestSource": {
            "type": "string"
          }
        },
        "required": [
          "barcode"
        ],
        "type": "object"
      },
      "ProductLookupResponse": {
        "properties": {
          "barcode": {
            "type": "string"
          },
          "barcodeIdentity": {
            "type": "string"
          },
          "existingProduct": {
            "$ref": "#/components/schemas/ProductResponse"
          },
          "status": {
            "type": "string"
          },
          "suggestions": {
            "items": {
              "$ref": "#/components/schemas/ProductLookupSuggestionResponse"
            },
            "type": "array"
          }
        },
        "required": [
          "barcode",
          "barcodeIdentity",
          "status",
          "suggestions"
        ],
        "type": "object"
      },
      "ProductLookupSuggestionResponse": {
        "properties": {
          "brand": {
            "type": "string"
          },
          "cached": {
            "type": "boolean"
          },
          "category": {
            "type": "string"
          },
          "confidenceScore": {
            "type": "number"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "imageUrl": {
            "type": "string"
          },
          "lookedUpAt": {
            "format": "date-time",
            "type": "string"
          },
          "lookupSuggestionId": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "providerName": {
            "type": "string"
          },
          "providerRecordId": {
            "type": "string"
          },
          "providerUrl": {
            "type": "string"
          }
        },
        "required": [
          "cached",
          "confidenceScore",
          "expiresAt",
          "lookedUpAt",
          "lookupSuggestionId",
          "providerName"
        ],
        "type": "object"
      },
      "ProductOpeningRequest": {
        "properties": {
          "openingStock": {
            "$ref": "#/components/schemas/ProductOpeningStock"
          },
          "product": {
            "$ref": "#/components/schemas/CreateProductRequest"
          }
        },
        "required": [
          "product"
        ],
        "type": "object"
      },
      "ProductOpeningResponse": {
        "properties": {
          "error": {
            "type": "string"
          },
          "openingStockSkippedReason": {
            "type": "string"
          },
          "operationId": {
            "type": "string"
          },
          "product": {
            "$ref": "#/components/schemas/ProductResponse"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "operationId",
          "productId",
          "status"
        ],
        "type": "object"
      },
      "ProductOpeningStock": {
        "properties": {
          "quantity": {
            "format": "int32",
            "minimum": 1,
            "type": "integer"
          },
          "reason": {
            "maxLength": 1000,
            "minLength": 0,
            "type": "string"
          },
          "reference": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "unitCost": {
            "type": "number"
          }
        },
        "required": [
          "quantity"
        ],
        "type": "object"
      },
      "ProductPickerResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "available": {
            "type": "boolean"
          },
          "barcode": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string"
          },
          "inventoryTracked": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "price": {
            "type": "number"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "requiredAge": {
            "format": "int32",
            "type": "integer"
          },
          "requiresSerial": {
            "type": "boolean"
          },
          "sku": {
            "type": "string"
          },
          "stockQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "active",
          "available",
          "name",
          "productId",
          "requiresSerial",
          "storeId"
        ],
        "type": "object"
      },
      "ProductResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "alwaysTaxExempt": {
            "type": "boolean"
          },
          "barcode": {
            "type": "string"
          },
          "bottleDepositAmount": {
            "type": "number"
          },
          "cardPrice": {
            "type": "number"
          },
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "categoryName": {
            "type": "string"
          },
          "categoryPath": {
            "type": "string"
          },
          "containerQuantity": {
            "default": 1,
            "format": "int32",
            "type": "integer"
          },
          "cost": {
            "type": "number"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "deletionPending": {
            "default": false,
            "type": "boolean"
          },
          "deletionStatus": {
            "$ref": "#/components/schemas/ProductDeletionStatus",
            "nullable": true
          },
          "description": {
            "type": "string"
          },
          "ebtEligible": {
            "type": "boolean"
          },
          "effectiveTaxRate": {
            "type": "number"
          },
          "gatewayProductId": {
            "type": "string"
          },
          "gatewaySyncVersion": {
            "format": "int64",
            "nullable": true,
            "type": "integer"
          },
          "imageUrl": {
            "type": "string"
          },
          "inheritCategoryAgeRestriction": {
            "default": false,
            "type": "boolean"
          },
          "inventoryTracked": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "over18": {
            "type": "boolean"
          },
          "over21": {
            "type": "boolean"
          },
          "price": {
            "type": "number"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productType": {
            "type": "string"
          },
          "requiredAge": {
            "format": "int32",
            "type": "integer"
          },
          "requiresSerial": {
            "type": "boolean"
          },
          "saleAvailable": {
            "type": "boolean"
          },
          "saleUnavailableReason": {
            "type": "string"
          },
          "sku": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "taxRate": {
            "type": "number"
          },
          "unitCostCurrency": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "active",
          "alwaysTaxExempt",
          "bottleDepositAmount",
          "ebtEligible",
          "gatewayProductId",
          "over18",
          "over21",
          "requiresSerial",
          "saleAvailable",
          "unitCostCurrency"
        ],
        "type": "object"
      },
      "ProductSupplierResponse": {
        "properties": {
          "barcode": {
            "type": "string"
          },
          "cost": {
            "type": "number"
          },
          "isPreferred": {
            "type": "boolean"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierSku": {
            "type": "string"
          }
        },
        "required": [
          "isPreferred"
        ],
        "type": "object"
      },
      "PromotionResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "allowsOverlap": {
            "type": "boolean"
          },
          "appliesToAllStores": {
            "type": "boolean"
          },
          "bundleComponents": {
            "items": {
              "$ref": "#/components/schemas/BundlePromotionComponentResponse"
            },
            "type": "array"
          },
          "buyQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "categoryIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "codes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "currentVersionId": {
            "format": "uuid",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "discountValue": {
            "type": "number"
          },
          "endDate": {
            "format": "date-time",
            "type": "string"
          },
          "getQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "lifecycleStatus": {
            "type": "string"
          },
          "maxUsesPerTransaction": {
            "format": "int32",
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "productIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "promotionId": {
            "format": "uuid",
            "type": "string"
          },
          "promotionType": {
            "type": "string"
          },
          "rewardProductIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "storeIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "versionNumber": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "active",
          "allowsOverlap",
          "appliesToAllStores",
          "bundleComponents",
          "buyQuantity",
          "categoryIds",
          "codes",
          "getQuantity",
          "lifecycleStatus",
          "productIds",
          "rewardProductIds",
          "storeIds"
        ],
        "type": "object"
      },
      "PromotionVersionResponse": {
        "properties": {
          "components": {
            "items": {
              "$ref": "#/components/schemas/BundlePromotionComponentResponse"
            },
            "type": "array"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "effectiveFrom": {
            "format": "date-time",
            "type": "string"
          },
          "effectiveTo": {
            "format": "date-time",
            "type": "string"
          },
          "fixedPrice": {
            "type": "number"
          },
          "maxUsesPerTransaction": {
            "format": "int32",
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "promotionId": {
            "format": "uuid",
            "type": "string"
          },
          "promotionType": {
            "type": "string"
          },
          "promotionVersionId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "versionNumber": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "components",
          "createdAt",
          "currency",
          "effectiveFrom",
          "effectiveTo",
          "fixedPrice",
          "name",
          "promotionId",
          "promotionType",
          "promotionVersionId",
          "status",
          "storeId",
          "versionNumber"
        ],
        "type": "object"
      },
      "ProposalActionView": {
        "properties": {
          "actionKey": {
            "type": "string"
          },
          "authorizedScope": {
            "$ref": "#/components/schemas/ProposalScope"
          },
          "changes": {
            "items": {
              "$ref": "#/components/schemas/FieldChange"
            },
            "type": "array"
          },
          "command": {
            "type": "string"
          },
          "conflicts": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "consequences": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "dependsOn": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "details": {
            "items": {
              "$ref": "#/components/schemas/ProposalDetailSection"
            },
            "type": "array"
          },
          "groupKey": {
            "type": "string"
          },
          "permissions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "title": {
            "type": "string"
          },
          "warnings": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "actionKey",
          "authorizedScope",
          "changes",
          "command",
          "conflicts",
          "consequences",
          "dependsOn",
          "details",
          "permissions",
          "title",
          "warnings"
        ],
        "type": "object"
      },
      "ProposalCommandRequest": {
        "properties": {
          "clientCommandId": {
            "format": "uuid",
            "type": "string"
          },
          "expectedVersion": {
            "format": "int32",
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "clientCommandId",
          "expectedVersion"
        ],
        "type": "object"
      },
      "ProposalDetailSection": {
        "properties": {
          "label": {
            "type": "string"
          },
          "values": {
            "items": {
              "$ref": "#/components/schemas/DisplayValue"
            },
            "type": "array"
          }
        },
        "required": [
          "label",
          "values"
        ],
        "type": "object"
      },
      "ProposalExecutionView": {
        "properties": {
          "actionKey": {
            "type": "string"
          },
          "errorMessage": {
            "type": "string"
          },
          "proposalVersion": {
            "format": "int32",
            "type": "integer"
          },
          "result": {
            "additionalProperties": true,
            "type": "object"
          },
          "sequence": {
            "format": "int32",
            "type": "integer"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "actionKey",
          "proposalVersion",
          "sequence",
          "status"
        ],
        "type": "object"
      },
      "ProposalScope": {
        "properties": {
          "includedStoreCount": {
            "format": "int32",
            "type": "integer"
          },
          "includedStoreRefs": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "scope": {
            "type": "string"
          }
        },
        "required": [
          "includedStoreCount",
          "includedStoreRefs",
          "scope"
        ],
        "type": "object"
      },
      "ProposalState": {
        "enum": [
          "pending",
          "executing",
          "applied",
          "partially_applied",
          "denied",
          "conflicted",
          "failed",
          "closed"
        ],
        "type": "string"
      },
      "ProposalView": {
        "properties": {
          "actions": {
            "items": {
              "$ref": "#/components/schemas/ProposalActionView"
            },
            "type": "array"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "executeEnabled": {
            "type": "boolean"
          },
          "executions": {
            "items": {
              "$ref": "#/components/schemas/ProposalExecutionView"
            },
            "type": "array"
          },
          "proposalId": {
            "format": "uuid",
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/ProposalState"
          },
          "title": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "version": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "actions",
          "createdAt",
          "executeEnabled",
          "executions",
          "proposalId",
          "state",
          "title",
          "updatedAt",
          "version"
        ],
        "type": "object"
      },
      "PublicEmailMarketingChoiceRequest": {
        "properties": {
          "choice": {
            "type": "string"
          }
        },
        "required": [
          "choice"
        ],
        "type": "object"
      },
      "PublicEmailMarketingPreferenceLinkRequest": {
        "properties": {
          "email": {
            "type": "string"
          },
          "orgId": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "orgId"
        ],
        "type": "object"
      },
      "PublicInvoiceAutoPayStopResponse": {
        "properties": {
          "stopped": {
            "type": "boolean"
          }
        },
        "required": [
          "stopped"
        ],
        "type": "object"
      },
      "PublicRefundAttemptResponse": {
        "properties": {
          "idempotencyKey": {
            "type": "string"
          },
          "parentTransactionId": {
            "format": "uuid",
            "type": "string"
          },
          "refundTransactionId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "transaction": {
            "$ref": "#/components/schemas/TransactionResponse"
          }
        },
        "required": [
          "idempotencyKey",
          "parentTransactionId",
          "refundTransactionId",
          "status"
        ],
        "type": "object"
      },
      "ReadConversationRequest": {
        "properties": {
          "throughActivityVersion": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "throughActivityVersion"
        ],
        "type": "object"
      },
      "ReassignDrawerRequest": {
        "properties": {
          "terminalId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ReassignTerminalRequest": {
        "properties": {
          "targetStoreId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "targetStoreId"
        ],
        "type": "object"
      },
      "ReceiptData": {
        "properties": {
          "amountPaidCard": {
            "type": "string"
          },
          "amountPaidGiftCard": {
            "type": "string"
          },
          "appointmentDepositCredit": {
            "type": "string"
          },
          "authCode": {
            "type": "string"
          },
          "businessLogoUrl": {
            "type": "string"
          },
          "cardBrand": {
            "type": "string"
          },
          "cardTotal": {
            "type": "string"
          },
          "cashTotal": {
            "type": "string"
          },
          "confirmedPaidAmount": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "customerName": {
            "type": "string"
          },
          "customerReceipt": {
            "type": "string"
          },
          "date": {
            "format": "date",
            "type": "string"
          },
          "deposits": {
            "type": "string"
          },
          "digitalReceiptUrl": {
            "type": "string"
          },
          "discountTotal": {
            "type": "string"
          },
          "discounts": {
            "items": {
              "$ref": "#/components/schemas/ReceiptDiscount"
            },
            "type": "array"
          },
          "dualPricing": {
            "$ref": "#/components/schemas/InvoiceReceiptDualPricing"
          },
          "emvAid": {
            "type": "string"
          },
          "emvAppName": {
            "type": "string"
          },
          "emvTsi": {
            "type": "string"
          },
          "emvTvr": {
            "type": "string"
          },
          "entryType": {
            "type": "string"
          },
          "fee": {
            "type": "string"
          },
          "giftCardBalanceUrl": {
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/ReceiptItem"
            },
            "type": "array"
          },
          "lastFour": {
            "type": "string"
          },
          "loyaltyDiscountAmount": {
            "type": "string"
          },
          "loyaltyPointsEarned": {
            "format": "int32",
            "type": "integer"
          },
          "loyaltyPointsRedeemed": {
            "format": "int32",
            "type": "integer"
          },
          "loyaltyRewardName": {
            "type": "string"
          },
          "maskedGiftCardIdentifier": {
            "type": "string"
          },
          "parentTransactionId": {
            "type": "string"
          },
          "paymentConfirmation": {
            "type": "string"
          },
          "priorBookingFee": {
            "type": "string"
          },
          "priorPaymentCredit": {
            "type": "string"
          },
          "processorReferenceId": {
            "type": "string"
          },
          "receiptState": {
            "type": "string"
          },
          "remainingDueAmount": {
            "type": "string"
          },
          "reportedApprovedAmount": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeAddress": {
            "type": "string"
          },
          "storeName": {
            "type": "string"
          },
          "storePhone": {
            "type": "string"
          },
          "subtotal": {
            "type": "string"
          },
          "tax": {
            "type": "string"
          },
          "tenders": {
            "items": {
              "$ref": "#/components/schemas/ReceiptTender"
            },
            "type": "array"
          },
          "tip": {
            "type": "string"
          },
          "total": {
            "type": "string"
          },
          "transactionId": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "currency",
          "date",
          "items",
          "storeName",
          "subtotal",
          "tax",
          "total"
        ],
        "type": "object"
      },
      "ReceiptDiscount": {
        "properties": {
          "amount": {
            "type": "string"
          },
          "displayLabel": {
            "type": "string"
          },
          "providerType": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "displayLabel"
        ],
        "type": "object"
      },
      "ReceiptItem": {
        "properties": {
          "discountAmount": {
            "type": "string"
          },
          "discounts": {
            "items": {
              "$ref": "#/components/schemas/ReceiptDiscount"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          },
          "price": {
            "type": "string"
          },
          "qty": {
            "format": "int32",
            "type": "integer"
          },
          "unitPrice": {
            "type": "string"
          }
        },
        "required": [
          "discounts",
          "name",
          "price",
          "qty"
        ],
        "type": "object"
      },
      "ReceiptItemRequest": {
        "properties": {
          "name": {
            "type": "string"
          },
          "price": {
            "type": "string"
          },
          "qty": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "name",
          "price",
          "qty"
        ],
        "type": "object"
      },
      "ReceiptLinkResponse": {
        "properties": {
          "digitalReceiptUrl": {
            "type": "string"
          }
        },
        "required": [
          "digitalReceiptUrl"
        ],
        "type": "object"
      },
      "ReceiptTemplateConfigResponse": {
        "properties": {
          "closingLines": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "sections": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "templateId": {
            "format": "uuid",
            "type": "string"
          },
          "templateKey": {
            "type": "string"
          },
          "version": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "closingLines",
          "sections",
          "templateKey",
          "version"
        ],
        "type": "object"
      },
      "ReceiptTender": {
        "properties": {
          "amount": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "label"
        ],
        "type": "object"
      },
      "ReceiveAccountPurchaseOrderLineRequest": {
        "properties": {
          "lineId": {
            "format": "uuid",
            "type": "string"
          },
          "promotionalQuantity": {
            "type": "string"
          },
          "promotionalReason": {
            "type": "string"
          },
          "promotionalReasonDetails": {
            "type": "string"
          },
          "quantity": {
            "type": "string"
          }
        },
        "required": [
          "lineId",
          "quantity"
        ],
        "type": "object"
      },
      "ReceiveAccountPurchaseOrderRequest": {
        "properties": {
          "lines": {
            "items": {
              "$ref": "#/components/schemas/ReceiveAccountPurchaseOrderLineRequest"
            },
            "type": "array"
          }
        },
        "required": [
          "lines"
        ],
        "type": "object"
      },
      "ReceiveInventoryRequest": {
        "properties": {
          "expectedQuantityOnHand": {
            "description": "Required for new receipts; omission only permits replay of completed historical receipts.",
            "format": "int32",
            "type": "integer"
          },
          "idempotencyKey": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "promotionalQuantity": {
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          },
          "promotionalReason": {
            "type": "string"
          },
          "promotionalReasonDetails": {
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          },
          "unitCost": {
            "type": "number"
          }
        },
        "required": [
          "expectedQuantityOnHand",
          "productId",
          "promotionalQuantity",
          "quantity"
        ],
        "type": "object"
      },
      "ReceiveStockTransferRequest": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/ReceivedItem"
            },
            "maxItems": 100,
            "minItems": 1,
            "type": "array"
          },
          "reason": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string"
          }
        },
        "required": [
          "items",
          "reason"
        ],
        "type": "object"
      },
      "ReceivedItem": {
        "properties": {
          "itemId": {
            "format": "uuid",
            "type": "string"
          },
          "receivedQty": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "itemId",
          "receivedQty"
        ],
        "type": "object"
      },
      "RecentActivityResponse": {
        "properties": {
          "action": {
            "type": "string"
          },
          "actorEmail": {
            "type": "string"
          },
          "occurredAt": {
            "format": "date-time",
            "type": "string"
          },
          "product": {
            "type": "string"
          },
          "resourceId": {
            "type": "string"
          },
          "resourceType": {
            "type": "string"
          }
        },
        "required": [
          "action",
          "occurredAt",
          "product"
        ],
        "type": "object"
      },
      "RecordAdvertisementImpressionBatchRequest": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/AdvertisementImpressionBatchItem"
            },
            "type": "array"
          }
        },
        "required": [
          "items"
        ],
        "type": "object"
      },
      "RecordAdvertisementImpressionBatchResponse": {
        "properties": {
          "acceptedImpressionIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "rejectedImpressionIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "retryImpressionIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "acceptedImpressionIds",
          "rejectedImpressionIds",
          "retryImpressionIds"
        ],
        "type": "object"
      },
      "RecordAppointmentExternalPaymentRequest": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "currency": {
            "type": "string"
          },
          "expectedBalanceDue": {
            "description": "Balance shown in the checkout review. A fresh receipt is rejected if it changed; exact-key retries remain recoverable.",
            "type": "number"
          },
          "idempotencyKey": {
            "type": "string"
          },
          "occurredAt": {
            "format": "date-time",
            "type": "string"
          },
          "reference": {
            "type": "string"
          },
          "tender": {
            "$ref": "#/components/schemas/AppointmentExternalTender"
          }
        },
        "required": [
          "amount",
          "currency",
          "expectedBalanceDue",
          "idempotencyKey",
          "occurredAt",
          "reference",
          "tender"
        ],
        "type": "object"
      },
      "RecordConsentRequest": {
        "properties": {
          "consentMethod": {
            "minLength": 1,
            "type": "string"
          },
          "phone": {
            "minLength": 1,
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "consentMethod",
          "phone"
        ],
        "type": "object"
      },
      "RecordImpressionRequest": {
        "properties": {
          "deliveryToken": {
            "type": "string"
          },
          "displayedAt": {
            "format": "date-time",
            "type": "string"
          },
          "impressionId": {
            "format": "uuid",
            "type": "string"
          },
          "impressionType": {
            "type": "string"
          },
          "placement": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "RecordSavedPaymentMethodRequest": {
        "properties": {
          "brand": {
            "type": "string"
          },
          "expMonth": {
            "format": "int32",
            "type": "integer"
          },
          "expYear": {
            "format": "int32",
            "type": "integer"
          },
          "gatewayPaymentMethodId": {
            "type": "string"
          },
          "isDefault": {
            "type": "boolean"
          },
          "last4": {
            "type": "string"
          },
          "mandateId": {
            "type": "string"
          },
          "methodType": {
            "type": "string"
          }
        },
        "required": [
          "gatewayPaymentMethodId",
          "isDefault",
          "methodType"
        ],
        "type": "object"
      },
      "RecurringInvoiceResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "cadence": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "lastRunOn": {
            "format": "date",
            "type": "string"
          },
          "nextRunOn": {
            "format": "date",
            "type": "string"
          }
        },
        "required": [
          "active",
          "cadence",
          "createdAt",
          "customerId",
          "id",
          "nextRunOn"
        ],
        "type": "object"
      },
      "RecurringPaymentResponse": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "currency": {
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "lastChargeDate": {
            "type": "string"
          },
          "nextChargeDate": {
            "type": "string"
          },
          "recurringId": {
            "format": "uuid",
            "type": "string"
          },
          "schedule": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "tokenId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "RedeemPointsRequest": {
        "properties": {
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "pointsToRedeem": {
            "exclusiveMinimum": true,
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          },
          "sourceStoreId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "customerId",
          "pointsToRedeem",
          "requestId"
        ],
        "type": "object"
      },
      "RedeemPointsResponse": {
        "properties": {
          "discountAmount": {
            "type": "number"
          },
          "pointsRedeemed": {
            "format": "int32",
            "type": "integer"
          },
          "remainingPoints": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "discountAmount",
          "pointsRedeemed",
          "remainingPoints"
        ],
        "type": "object"
      },
      "RedemptionRate": {
        "properties": {
          "redemptionCount": {
            "format": "int64",
            "type": "integer"
          },
          "rewardName": {
            "type": "string"
          },
          "totalPointsSpent": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "redemptionCount",
          "rewardName",
          "totalPointsSpent"
        ],
        "type": "object"
      },
      "RefundEligibilityResponse": {
        "properties": {
          "currency": {
            "type": "string"
          },
          "eligible": {
            "type": "boolean"
          },
          "reason": {
            "type": "string"
          },
          "refundableAmount": {
            "type": "string"
          },
          "stateRefundableAmount": {
            "type": "string"
          }
        },
        "required": [
          "currency",
          "eligible",
          "refundableAmount",
          "stateRefundableAmount"
        ],
        "type": "object"
      },
      "RefundIntentRequest": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "expectedRefundableAmount": {
            "example": "100.0",
            "type": "string"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "RefundRateResponse": {
        "properties": {
          "endDate": {
            "format": "date-time",
            "type": "string"
          },
          "refundAmount": {
            "type": "number"
          },
          "refundCount": {
            "format": "int64",
            "type": "integer"
          },
          "refundRate": {
            "type": "number"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "totalAmount": {
            "type": "number"
          },
          "totalCount": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "endDate",
          "refundAmount",
          "refundCount",
          "refundRate",
          "startDate",
          "totalAmount",
          "totalCount"
        ],
        "type": "object"
      },
      "RefundReviewAlertResponse": {
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "occurredAt": {
            "format": "date-time",
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "resourceId": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "occurredAt",
          "outcome"
        ],
        "type": "object"
      },
      "RegisterDeviceRequest": {
        "properties": {
          "appFamily": {
            "pattern": "android_terminal|peak_mobile_android|peak_mobile_ios|peak_pos_ios|web|unknown",
            "type": "string"
          },
          "deviceInfo": {
            "type": "object"
          },
          "permissionState": {
            "pattern": "granted|denied|provisional|unknown",
            "type": "string"
          },
          "platform": {
            "minLength": 1,
            "pattern": "android|web|ios",
            "type": "string"
          },
          "provider": {
            "pattern": "fcm|apns|web_push",
            "type": "string"
          },
          "token": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "platform",
          "token"
        ],
        "type": "object"
      },
      "RegisterDrawerRequest": {
        "properties": {
          "overrideThreshold": {
            "type": "number"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "RelinkGatewayStoreRequest": {
        "properties": {
          "gatewayMerchantId": {
            "type": "string"
          }
        },
        "required": [
          "gatewayMerchantId"
        ],
        "type": "object"
      },
      "RemoveOrganizationMemberRequest": {
        "properties": {
          "reason": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "RemoveProposalActionRequest": {
        "properties": {
          "actionKey": {
            "minLength": 1,
            "type": "string"
          },
          "clientCommandId": {
            "format": "uuid",
            "type": "string"
          },
          "expectedVersion": {
            "format": "int32",
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "actionKey",
          "clientCommandId",
          "expectedVersion"
        ],
        "type": "object"
      },
      "RemoveStoreMemberRequest": {
        "properties": {
          "reason": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "RemoveTerminalRequest": {
        "properties": {
          "reason": {
            "maxLength": 1000,
            "minLength": 0,
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "ReplaceCategoryProviderCodeRequest": {
        "properties": {
          "providerCode": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ReplaceShiftAssignedRequest": {
        "properties": {
          "endDate": {
            "format": "date",
            "type": "string"
          },
          "expectedExistingRefs": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "expectedScheduleVersion": {
            "type": "string"
          },
          "shifts": {
            "items": {
              "$ref": "#/components/schemas/CreateShiftAssignedRequest"
            },
            "type": "array"
          },
          "startDate": {
            "format": "date",
            "type": "string"
          },
          "timeOffOverride": {
            "$ref": "#/components/schemas/TimeOffOverride",
            "nullable": true
          }
        },
        "required": [
          "endDate",
          "expectedExistingRefs",
          "expectedScheduleVersion",
          "shifts",
          "startDate"
        ],
        "type": "object"
      },
      "ReportEntry": {
        "properties": {
          "totalAmount": {
            "type": "string"
          },
          "totalUnits": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "totalAmount",
          "totalUnits"
        ],
        "type": "object"
      },
      "RequestInvoiceRefundRequest": {
        "properties": {
          "amount": {
            "$ref": "#/components/schemas/InvoiceMoney"
          },
          "creditNoteId": {
            "format": "uuid",
            "type": "string"
          },
          "expectedUpdatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "paymentIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "amount"
        ],
        "type": "object"
      },
      "RescheduleAppointmentRequest": {
        "properties": {
          "allowShiftOverride": {
            "nullable": true,
            "type": "boolean"
          },
          "merchantUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "occurrenceRef": {
            "nullable": true,
            "type": "string"
          },
          "resourceId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "staffProfileId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "startAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "startAt"
        ],
        "type": "object"
      },
      "ResolveAccountDiagnosticRequest": {
        "properties": {
          "reason": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "ResolveGiftCardRefundTaskRequest": {
        "properties": {
          "gatewayTransactionId": {
            "type": "string"
          },
          "verifiedOutcome": {
            "type": "string"
          }
        },
        "required": [
          "verifiedOutcome"
        ],
        "type": "object"
      },
      "ResolveTerminalReturnReviewTaskRequest": {
        "properties": {
          "evidenceNote": {
            "type": "string"
          },
          "verifiedOutcome": {
            "type": "string"
          }
        },
        "required": [
          "evidenceNote",
          "verifiedOutcome"
        ],
        "type": "object"
      },
      "ResolvedShift": {
        "properties": {
          "actualClosed": {
            "type": "boolean"
          },
          "assignedId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "attached": {
            "type": "boolean"
          },
          "breakMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "conflicts": {
            "items": {
              "$ref": "#/components/schemas/ScheduleConflict"
            },
            "type": "array"
          },
          "endAt": {
            "format": "date-time",
            "type": "string"
          },
          "firstName": {
            "nullable": true,
            "type": "string"
          },
          "hasActual": {
            "type": "boolean"
          },
          "isOverride": {
            "type": "boolean"
          },
          "lastName": {
            "nullable": true,
            "type": "string"
          },
          "linkedAppointmentCount": {
            "format": "int32",
            "type": "integer"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "occurrenceDate": {
            "format": "date",
            "type": "string"
          },
          "occurrenceRef": {
            "type": "string"
          },
          "roleKey": {
            "type": "string"
          },
          "roleName": {
            "nullable": true,
            "type": "string"
          },
          "seriesId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "shiftBlockId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "source": {
            "nullable": true,
            "type": "string"
          },
          "startAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "actualClosed",
          "attached",
          "breakMinutes",
          "conflicts",
          "endAt",
          "hasActual",
          "isOverride",
          "linkedAppointmentCount",
          "occurrenceDate",
          "occurrenceRef",
          "roleKey",
          "startAt",
          "status",
          "storeId",
          "timezone",
          "userId",
          "version"
        ],
        "type": "object"
      },
      "RetailDetail": {
        "properties": {
          "amountPaidCard": {
            "type": "number"
          },
          "amountPaidCash": {
            "type": "number"
          },
          "cashierUserId": {
            "type": "string"
          },
          "discountTotal": {
            "type": "number"
          },
          "storeId": {
            "type": "string"
          },
          "subtotal": {
            "type": "number"
          },
          "taxApplied": {
            "type": "number"
          },
          "terminalId": {
            "type": "string"
          },
          "tipAmount": {
            "type": "number"
          },
          "transactionRef": {
            "format": "int32",
            "type": "integer"
          },
          "transactionType": {
            "type": "string"
          }
        },
        "required": [
          "amountPaidCard",
          "amountPaidCash",
          "discountTotal",
          "storeId",
          "subtotal",
          "taxApplied",
          "tipAmount",
          "transactionRef",
          "transactionType"
        ],
        "type": "object"
      },
      "RetireCustomerAssetRequest": {
        "properties": {
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "RetireInvoiceCheckoutRequest": {
        "properties": {
          "sessionId": {
            "type": "string"
          }
        },
        "required": [
          "sessionId"
        ],
        "type": "object"
      },
      "RetryPendingCloudSyncPaymentDeviceLinksResponse": {
        "properties": {
          "attemptedTerminals": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "attemptedTerminals"
        ],
        "type": "object"
      },
      "ReturnCommandCashConfirmationRequest": {
        "properties": {
          "cashHandedOver": {
            "type": "boolean"
          }
        },
        "required": [
          "cashHandedOver"
        ],
        "type": "object"
      },
      "ReturnCommandItemRequest": {
        "properties": {
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "productId",
          "quantity"
        ],
        "type": "object"
      },
      "ReturnCommandRequest": {
        "properties": {
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/ReturnCommandItemRequest"
            },
            "type": "array"
          },
          "reason": {
            "type": "string"
          },
          "reasonNotes": {
            "type": "string"
          },
          "restocked": {
            "type": "boolean"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "items",
          "restocked",
          "transactionId"
        ],
        "type": "object"
      },
      "ReturnCommandResponse": {
        "properties": {
          "cashConfirmationRequired": {
            "type": "boolean"
          },
          "cashHandoffAdmitted": {
            "type": "boolean"
          },
          "cashHandoffGranted": {
            "type": "boolean"
          },
          "cashRefundAmount": {
            "type": "number"
          },
          "commandId": {
            "format": "uuid",
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/ReturnResponse"
            },
            "type": "array"
          },
          "status": {
            "type": "string"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "cashConfirmationRequired",
          "cashHandoffAdmitted",
          "cashHandoffGranted",
          "cashRefundAmount",
          "commandId",
          "currency",
          "items",
          "status",
          "transactionId"
        ],
        "type": "object"
      },
      "ReturnDetailResponse": {
        "properties": {
          "barcode": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "creditNoteId": {
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "dateReturned": {
            "format": "date-time",
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "reason": {
            "type": "string"
          },
          "reasonNotes": {
            "type": "string"
          },
          "refundAmount": {
            "type": "number"
          },
          "refundError": {
            "type": "string"
          },
          "refundStatus": {
            "type": "string"
          },
          "refundTransactionId": {
            "format": "uuid",
            "type": "string"
          },
          "restocked": {
            "type": "boolean"
          },
          "returnId": {
            "format": "uuid",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          },
          "userName": {
            "type": "string"
          }
        },
        "required": [
          "quantity",
          "refundStatus",
          "restocked"
        ],
        "type": "object"
      },
      "ReturnQuoteLineResponse": {
        "properties": {
          "itemId": {
            "format": "uuid",
            "type": "string"
          },
          "maximumQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "unavailableReason": {
            "type": "string"
          }
        },
        "required": [
          "itemId",
          "maximumQuantity"
        ],
        "type": "object"
      },
      "ReturnQuoteResponse": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/ReturnQuoteLineResponse"
            },
            "type": "array"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "items",
          "transactionId"
        ],
        "type": "object"
      },
      "ReturnResponse": {
        "properties": {
          "blindReturnKind": {
            "$ref": "#/components/schemas/BlindReturnKind"
          },
          "cardRefundAmount": {
            "type": "number"
          },
          "cashRefundAmount": {
            "type": "number"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "creditNoteId": {
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "dateReturned": {
            "format": "date-time",
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "reason": {
            "type": "string"
          },
          "reasonNotes": {
            "type": "string"
          },
          "refundAmount": {
            "type": "number"
          },
          "refundStatus": {
            "type": "string"
          },
          "refundTransactionId": {
            "format": "uuid",
            "type": "string"
          },
          "restocked": {
            "type": "boolean"
          },
          "returnId": {
            "format": "uuid",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "quantity",
          "refundStatus",
          "restocked"
        ],
        "type": "object"
      },
      "ReturnSelectionCommandRequest": {
        "properties": {
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/ReturnSelectionItemRequest"
            },
            "type": "array"
          },
          "reason": {
            "type": "string"
          },
          "reasonNotes": {
            "type": "string"
          },
          "restocked": {
            "type": "boolean"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "items",
          "restocked",
          "transactionId"
        ],
        "type": "object"
      },
      "ReturnSelectionItemRequest": {
        "properties": {
          "itemId": {
            "format": "uuid",
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "quantity"
        ],
        "type": "object"
      },
      "ReturnStatusResponse": {
        "properties": {
          "observedReturn": {
            "$ref": "#/components/schemas/ReturnResponse"
          }
        },
        "type": "object"
      },
      "ReviewEnhancementRequest": {
        "properties": {
          "decision": {
            "type": "string"
          },
          "reviewNote": {
            "type": "string"
          }
        },
        "required": [
          "decision"
        ],
        "type": "object"
      },
      "ReviewLotAllocationGapRequest": {
        "properties": {
          "allocationSlot": {
            "type": "string"
          },
          "ledgerId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "allocationSlot",
          "ledgerId",
          "reason"
        ],
        "type": "object"
      },
      "ReviewShiftRequestRequest": {
        "properties": {
          "decision": {
            "minLength": 1,
            "type": "string"
          },
          "expectedVersion": {
            "format": "int64",
            "type": "integer"
          },
          "timeOffOverride": {
            "$ref": "#/components/schemas/TimeOffOverride",
            "nullable": true
          }
        },
        "required": [
          "decision",
          "expectedVersion"
        ],
        "type": "object"
      },
      "RevokePaymentDeviceLinkRequest": {
        "properties": {
          "failureReason": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "RotateCredentialProfileRequestDto": {
        "properties": {
          "transactionKey": {
            "type": "string"
          },
          "transitDeviceId": {
            "type": "string"
          },
          "transitUserId": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "RowError": {
        "properties": {
          "field": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "row": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "field",
          "message",
          "row"
        ],
        "type": "object"
      },
      "RowWarning": {
        "properties": {
          "field": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "row": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "field",
          "message",
          "row"
        ],
        "type": "object"
      },
      "RunStatus": {
        "enum": [
          "pending",
          "running",
          "stop_requested",
          "stopped",
          "completed",
          "failed"
        ],
        "type": "string"
      },
      "RunView": {
        "properties": {
          "completedAt": {
            "format": "date-time",
            "type": "string"
          },
          "errorMessage": {
            "type": "string"
          },
          "inputVersion": {
            "format": "int64",
            "type": "integer"
          },
          "runId": {
            "format": "uuid",
            "type": "string"
          },
          "startedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/RunStatus"
          }
        },
        "required": [
          "inputVersion",
          "runId",
          "status"
        ],
        "type": "object"
      },
      "SalesReportResponse": {
        "properties": {
          "cashPayouts": {
            "$ref": "#/components/schemas/CashPayouts"
          },
          "periods": {
            "items": {
              "$ref": "#/components/schemas/PeriodEntry"
            },
            "type": "array"
          },
          "totals": {
            "$ref": "#/components/schemas/TotalsEntry"
          }
        },
        "type": "object"
      },
      "SaveBrandingRequest": {
        "properties": {
          "backgroundColor": {
            "type": "string"
          },
          "customDomain": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "iconUrl": {
            "type": "string"
          },
          "logoUrl": {
            "type": "string"
          },
          "primaryColor": {
            "type": "string"
          },
          "secondaryColor": {
            "type": "string"
          },
          "textColor": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "SaveCardRequest": {
        "properties": {
          "cardBrand": {
            "minLength": 1,
            "type": "string"
          },
          "lastFour": {
            "minLength": 1,
            "type": "string"
          },
          "paymentMethodId": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "cardBrand",
          "lastFour",
          "paymentMethodId"
        ],
        "type": "object"
      },
      "SaveCustomFieldAssetTypeRequest": {
        "properties": {
          "askInPublicBooking": {
            "type": "boolean"
          },
          "displayFieldKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "label": {
            "type": "string"
          },
          "pluralLabel": {
            "type": "string"
          }
        },
        "required": [
          "askInPublicBooking",
          "displayFieldKeys",
          "label",
          "pluralLabel"
        ],
        "type": "object"
      },
      "SaveCustomFieldSettingsAssetTypeRequest": {
        "properties": {
          "askInPublicBooking": {
            "type": "boolean"
          },
          "displayFieldKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "label": {
            "type": "string"
          },
          "pluralLabel": {
            "type": "string"
          }
        },
        "required": [
          "askInPublicBooking",
          "displayFieldKeys",
          "label",
          "pluralLabel"
        ],
        "type": "object"
      },
      "SaveGatewaySetupSelectionIntentRequest": {
        "properties": {
          "credentialProfileId": {
            "type": "string"
          },
          "credentialProfileSelectionMode": {
            "type": "string"
          },
          "credentialProfileVerificationRequest": {
            "$ref": "#/components/schemas/CreateCredentialProfileRequestDto"
          },
          "expectedCredentialProfileSelectionVersion": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "credentialProfileId",
          "credentialProfileSelectionMode",
          "expectedCredentialProfileSelectionVersion"
        ],
        "type": "object"
      },
      "SaveServiceReminderRuleRequest": {
        "properties": {
          "advanceNoticeDays": {
            "format": "int32",
            "type": "integer"
          },
          "intervalMonths": {
            "format": "int32",
            "type": "integer"
          },
          "messageTemplate": {
            "type": "string"
          },
          "serviceId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "advanceNoticeDays",
          "intervalMonths",
          "messageTemplate",
          "serviceId",
          "status",
          "storeId"
        ],
        "type": "object"
      },
      "SavedPaymentMethodInstrumentType": {
        "enum": [
          "CARD",
          "BANK_ACCOUNT"
        ],
        "type": "string"
      },
      "SavedPaymentMethodPurpose": {
        "enum": [
          "ORDINARY_PAYMENT",
          "INVOICE_ONLY",
          "UNKNOWN"
        ],
        "type": "string"
      },
      "SavedPaymentMethodResponse": {
        "properties": {
          "brand": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "expMonth": {
            "format": "int32",
            "type": "integer"
          },
          "expYear": {
            "format": "int32",
            "type": "integer"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "isDefault": {
            "type": "boolean"
          },
          "last4": {
            "type": "string"
          },
          "mandateId": {
            "type": "string"
          },
          "methodType": {
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "customerId",
          "id",
          "isDefault",
          "methodType"
        ],
        "type": "object"
      },
      "ScheduleConflict": {
        "properties": {
          "actual": {
            "$ref": "#/components/schemas/ShiftSnapshotProjection",
            "nullable": true
          },
          "blockId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "date": {
            "format": "date",
            "type": "string"
          },
          "expected": {
            "$ref": "#/components/schemas/ShiftSnapshotProjection",
            "nullable": true
          },
          "message": {
            "type": "string"
          },
          "occurrenceRefs": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "requestIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "type": {
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "date",
          "message",
          "occurrenceRefs",
          "requestIds",
          "type"
        ],
        "type": "object"
      },
      "ScheduleErrorDetails": {
        "properties": {
          "currentVersion": {
            "nullable": true,
            "type": "string"
          },
          "dates": {
            "items": {
              "format": "date",
              "type": "string"
            },
            "type": "array"
          },
          "occurrenceRefs": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "requestIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "total": {
            "format": "int32",
            "type": "integer"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "dates",
          "occurrenceRefs",
          "requestIds",
          "total",
          "truncated"
        ],
        "type": "object"
      },
      "ScheduledReportResponse": {
        "properties": {
          "configJson": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "frequency": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "lastSentAt": {
            "format": "date-time",
            "type": "string"
          },
          "latestRun": {
            "$ref": "#/components/schemas/ScheduledReportRunResponse"
          },
          "nextRunAt": {
            "format": "date-time",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "recipients": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "reportType": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "enabled",
          "frequency",
          "id",
          "nextRunAt",
          "orgId",
          "recipients",
          "reportType"
        ],
        "type": "object"
      },
      "ScheduledReportRunResponse": {
        "properties": {
          "completedAt": {
            "format": "date-time",
            "type": "string"
          },
          "reportId": {
            "format": "uuid",
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          },
          "runAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "reportId",
          "requestId",
          "runAt",
          "status"
        ],
        "type": "object"
      },
      "SellSerialNumberRequest": {
        "properties": {
          "transactionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "SellThroughItem": {
        "properties": {
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "sellThroughRate": {
            "type": "number"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierName": {
            "type": "string"
          },
          "unitsRemaining": {
            "format": "int32",
            "type": "integer"
          },
          "unitsSold": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "productId",
          "sellThroughRate",
          "unitsRemaining",
          "unitsSold"
        ],
        "type": "object"
      },
      "SellThroughReport": {
        "properties": {
          "endDate": {
            "format": "date-time",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/SellThroughItem"
            },
            "type": "array"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "endDate",
          "items",
          "startDate",
          "storeId"
        ],
        "type": "object"
      },
      "SendAccountPurchaseOrderRequest": {
        "properties": {
          "message": {
            "maxLength": 2000,
            "minLength": 0,
            "type": "string"
          },
          "subject": {
            "maxLength": 160,
            "minLength": 0,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SendMessageRequest": {
        "properties": {
          "attachmentRefs": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "maxItems": 10,
            "minItems": 0,
            "type": "array"
          },
          "clientCommandId": {
            "format": "uuid",
            "type": "string"
          },
          "pageContext": {
            "$ref": "#/components/schemas/PageContext"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "text": {
            "maxLength": 32000,
            "minLength": 0,
            "type": "string"
          }
        },
        "required": [
          "attachmentRefs",
          "clientCommandId"
        ],
        "type": "object"
      },
      "SendTerminalCommandRequest": {
        "properties": {
          "type": {
            "$ref": "#/components/schemas/DeviceCommandType"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "SerialNumberResponse": {
        "properties": {
          "canReturn": {
            "type": "boolean"
          },
          "canSell": {
            "type": "boolean"
          },
          "notes": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "receivedAt": {
            "format": "date-time",
            "type": "string"
          },
          "serialId": {
            "format": "uuid",
            "type": "string"
          },
          "serialNumber": {
            "type": "string"
          },
          "soldAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "canReturn",
          "canSell"
        ],
        "type": "object"
      },
      "ServiceBookingConfigurationSnapshot": {
        "properties": {
          "agreedBookingPriceAdjustmentRate": {
            "nullable": true,
            "type": "number"
          },
          "basePrice": {
            "type": "number"
          },
          "durationMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "lateCancellationFeeBaseAmount": {
            "nullable": true,
            "type": "number"
          },
          "lateCancellationFeeCustomerAmount": {
            "nullable": true,
            "type": "number"
          },
          "modifierIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "modifierTotal": {
            "type": "number"
          },
          "modifiers": {
            "items": {
              "$ref": "#/components/schemas/ServiceBookingSelectedModifier"
            },
            "type": "array"
          },
          "noShowFeeBaseAmount": {
            "nullable": true,
            "type": "number"
          },
          "noShowFeeCustomerAmount": {
            "nullable": true,
            "type": "number"
          },
          "priceCurrency": {
            "type": "string"
          },
          "serviceId": {
            "format": "uuid",
            "type": "string"
          },
          "serviceName": {
            "type": "string"
          },
          "totalPrice": {
            "type": "number"
          },
          "upfrontPaymentLabel": {
            "type": "string"
          }
        },
        "required": [
          "basePrice",
          "durationMinutes",
          "modifierIds",
          "modifierTotal",
          "modifiers",
          "priceCurrency",
          "serviceId",
          "serviceName",
          "totalPrice",
          "upfrontPaymentLabel"
        ],
        "type": "object"
      },
      "ServiceBookingEnhancementRequestSnapshot": {
        "properties": {
          "modifiers": {
            "items": {
              "$ref": "#/components/schemas/ServiceBookingSelectedModifier"
            },
            "type": "array"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "reviewNote": {
            "nullable": true,
            "type": "string"
          },
          "reviewedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "modifiers",
          "requestedAt",
          "status"
        ],
        "type": "object"
      },
      "ServiceBookingImageMultipartRequest": {
        "properties": {
          "file": {
            "description": "Service booking image to upload",
            "format": "binary",
            "type": "string"
          }
        },
        "required": [
          "file"
        ],
        "type": "object"
      },
      "ServiceBookingImageResponse": {
        "properties": {
          "imageUrl": {
            "type": "string"
          }
        },
        "required": [
          "imageUrl"
        ],
        "type": "object"
      },
      "ServiceBookingSelectedModifier": {
        "properties": {
          "description": {
            "nullable": true,
            "type": "string"
          },
          "durationMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "groupId": {
            "format": "uuid",
            "type": "string"
          },
          "groupName": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "price": {
            "type": "number"
          },
          "priceCurrency": {
            "type": "string"
          },
          "taxCategoryId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "durationMinutes",
          "groupId",
          "groupName",
          "id",
          "name",
          "price",
          "priceCurrency"
        ],
        "type": "object"
      },
      "ServiceReminderResponse": {
        "properties": {
          "assetDisplayName": {
            "type": "string"
          },
          "customerName": {
            "type": "string"
          },
          "dueAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "customerName",
          "dueAt",
          "id",
          "kind",
          "status"
        ],
        "type": "object"
      },
      "ServiceReminderRuleResponse": {
        "properties": {
          "advanceNoticeDays": {
            "format": "int32",
            "type": "integer"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "intervalMonths": {
            "format": "int32",
            "type": "integer"
          },
          "messageTemplate": {
            "type": "string"
          },
          "serviceId": {
            "format": "uuid",
            "type": "string"
          },
          "serviceName": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "advanceNoticeDays",
          "id",
          "intervalMonths",
          "messageTemplate",
          "serviceId",
          "serviceName",
          "status",
          "storeId"
        ],
        "type": "object"
      },
      "SetAgentBuyRateRequest": {
        "properties": {
          "effectiveFrom": {
            "format": "date",
            "type": "string"
          },
          "priceCents": {
            "format": "int64",
            "type": "integer"
          },
          "productKey": {
            "type": "string"
          },
          "tier": {
            "type": "string"
          }
        },
        "required": [
          "priceCents",
          "productKey"
        ],
        "type": "object"
      },
      "SetAgentMerchantPriceRequest": {
        "properties": {
          "price": {
            "type": "string"
          },
          "productKey": {
            "type": "string"
          },
          "tier": {
            "type": "string"
          }
        },
        "required": [
          "price",
          "productKey"
        ],
        "type": "object"
      },
      "SetAppointmentProviderRequest": {
        "properties": {
          "merchantUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "occurrenceRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "merchantUserId"
        ],
        "type": "object"
      },
      "SetMerchantUserPinRequest": {
        "properties": {
          "pin": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "SetOrgUserPinRequest": {
        "properties": {
          "pin": {
            "minLength": 1,
            "type": "string"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "pin",
          "reason",
          "storeId"
        ],
        "type": "object"
      },
      "SetOverrideRequest": {
        "properties": {
          "price": {
            "type": "string"
          },
          "tier": {
            "type": "string"
          }
        },
        "required": [
          "price"
        ],
        "type": "object"
      },
      "SetTerminalPriceRequest": {
        "properties": {
          "price": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "price",
          "reason"
        ],
        "type": "object"
      },
      "ShiftActivityResponse": {
        "properties": {
          "actualId": {
            "format": "uuid",
            "type": "string"
          },
          "breakMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "breaks": {
            "items": {
              "$ref": "#/components/schemas/ShiftBreakResponse"
            },
            "type": "array"
          },
          "clockIn": {
            "format": "date-time",
            "type": "string"
          },
          "clockOut": {
            "format": "date-time",
            "type": "string"
          },
          "missingClockOut": {
            "type": "boolean"
          },
          "paidBreakMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "timezone": {
            "type": "string"
          },
          "workedMinutes": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "actualId",
          "breakMinutes",
          "breaks",
          "clockIn",
          "missingClockOut",
          "paidBreakMinutes",
          "timezone",
          "workedMinutes"
        ],
        "type": "object"
      },
      "ShiftBlockResponse": {
        "properties": {
          "blockId": {
            "format": "uuid",
            "type": "string"
          },
          "color": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "dayOfWeek": {
            "format": "int32",
            "type": "integer"
          },
          "endTime": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "requiredCount": {
            "format": "int32",
            "type": "integer"
          },
          "roleKey": {
            "type": "string"
          },
          "startTime": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "dayOfWeek",
          "requiredCount"
        ],
        "type": "object"
      },
      "ShiftBreakRequest": {
        "properties": {
          "actualId": {
            "format": "uuid",
            "type": "string"
          },
          "attemptId": {
            "format": "uuid",
            "type": "string"
          },
          "breakId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "actualId",
          "attemptId",
          "breakId"
        ],
        "type": "object"
      },
      "ShiftBreakResponse": {
        "properties": {
          "breakId": {
            "format": "uuid",
            "type": "string"
          },
          "durationMinutes": {
            "format": "int64",
            "type": "integer"
          },
          "endedAt": {
            "format": "date-time",
            "type": "string"
          },
          "startedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "breakId",
          "durationMinutes",
          "startedAt"
        ],
        "type": "object"
      },
      "ShiftCapabilitiesResponse": {
        "properties": {
          "editAvailability": {
            "type": "boolean"
          },
          "editSchedule": {
            "type": "boolean"
          },
          "manageBlocks": {
            "type": "boolean"
          },
          "manageTemplates": {
            "type": "boolean"
          },
          "manageTimeOff": {
            "type": "boolean"
          },
          "overrideTimeOff": {
            "type": "boolean"
          },
          "requestJobFunctions": {
            "items": {
              "$ref": "#/components/schemas/ShiftRequestJobFunction"
            },
            "type": "array"
          },
          "reviewRequests": {
            "type": "boolean"
          },
          "viewTeam": {
            "type": "boolean"
          },
          "viewTimesheets": {
            "type": "boolean"
          }
        },
        "required": [
          "editAvailability",
          "editSchedule",
          "manageBlocks",
          "manageTemplates",
          "manageTimeOff",
          "overrideTimeOff",
          "requestJobFunctions",
          "reviewRequests",
          "viewTeam",
          "viewTimesheets"
        ],
        "type": "object"
      },
      "ShiftConflictResponse": {
        "properties": {
          "conflicts": {
            "items": {
              "$ref": "#/components/schemas/ScheduleConflict"
            },
            "type": "array"
          },
          "coverage": {
            "$ref": "#/components/schemas/CoverageSummary"
          },
          "warnings": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "conflicts",
          "coverage",
          "warnings"
        ],
        "type": "object"
      },
      "ShiftEndRule": {
        "properties": {
          "date": {
            "format": "date",
            "nullable": true,
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "weeks": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "ShiftPreferenceResponse": {
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "dayOfWeek": {
            "format": "int32",
            "type": "integer"
          },
          "endTime": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "preferenceId": {
            "format": "uuid",
            "type": "string"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "startTime": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "dayOfWeek",
          "priority"
        ],
        "type": "object"
      },
      "ShiftRequestJobFunction": {
        "properties": {
          "roleKey": {
            "type": "string"
          },
          "roleName": {
            "type": "string"
          }
        },
        "required": [
          "roleKey",
          "roleName"
        ],
        "type": "object"
      },
      "ShiftRequestResponse": {
        "properties": {
          "createdAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "endTime": {
            "nullable": true,
            "type": "string"
          },
          "firstName": {
            "nullable": true,
            "type": "string"
          },
          "lastName": {
            "nullable": true,
            "type": "string"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "requestType": {
            "type": "string"
          },
          "requestedDate": {
            "format": "date",
            "nullable": true,
            "type": "string"
          },
          "reviewedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "reviewedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "roleKey": {
            "nullable": true,
            "type": "string"
          },
          "shiftBlockId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "startTime": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "targetOccurrenceRef": {
            "nullable": true,
            "type": "string"
          },
          "timeOff": {
            "$ref": "#/components/schemas/TimeOffInput",
            "nullable": true
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "requestType",
          "version"
        ],
        "type": "object"
      },
      "ShiftRosterUserResponse": {
        "properties": {
          "accountSynchronization": {
            "$ref": "#/components/schemas/AccountStateSynchronizationState",
            "nullable": true
          },
          "active": {
            "type": "boolean"
          },
          "email": {
            "nullable": true,
            "type": "string"
          },
          "firstName": {
            "nullable": true,
            "type": "string"
          },
          "lastName": {
            "nullable": true,
            "type": "string"
          },
          "phone": {
            "nullable": true,
            "type": "string"
          },
          "roleKey": {
            "nullable": true,
            "type": "string"
          },
          "roleKeys": {
            "description": "Canonical effective assigned job-function IDs for this store; primary role is display only",
            "items": {
              "description": "Canonical effective assigned job-function IDs for this store; primary role is display only",
              "type": "string"
            },
            "type": "array"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "active",
          "roleKeys",
          "userId"
        ],
        "type": "object"
      },
      "ShiftRule": {
        "properties": {
          "breakMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "end": {
            "$ref": "#/components/schemas/ShiftEndRule"
          },
          "endTime": {
            "type": "string"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "roleKey": {
            "type": "string"
          },
          "shiftBlockId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "startDate": {
            "format": "date",
            "type": "string"
          },
          "startTime": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          },
          "weekdays": {
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "type": "array"
          }
        },
        "required": [
          "breakMinutes",
          "end",
          "endTime",
          "roleKey",
          "startDate",
          "startTime",
          "timezone",
          "userId",
          "weekdays"
        ],
        "type": "object"
      },
      "ShiftSeriesMutationResponse": {
        "properties": {
          "conflicts": {
            "items": {
              "$ref": "#/components/schemas/ScheduleConflict"
            },
            "type": "array"
          },
          "endedSeriesId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "series": {
            "$ref": "#/components/schemas/ShiftSeriesResponse"
          }
        },
        "required": [
          "conflicts",
          "series"
        ],
        "type": "object"
      },
      "ShiftSeriesResponse": {
        "properties": {
          "breakMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "end": {
            "$ref": "#/components/schemas/ShiftEndRule"
          },
          "endTime": {
            "type": "string"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "roleKey": {
            "type": "string"
          },
          "seriesId": {
            "format": "uuid",
            "type": "string"
          },
          "shiftBlockId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "startDate": {
            "format": "date",
            "type": "string"
          },
          "startTime": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          },
          "weekdays": {
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "type": "array"
          }
        },
        "required": [
          "breakMinutes",
          "end",
          "endTime",
          "roleKey",
          "seriesId",
          "startDate",
          "startTime",
          "timezone",
          "updatedAt",
          "userId",
          "weekdays"
        ],
        "type": "object"
      },
      "ShiftSnapshotProjection": {
        "properties": {
          "breakMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "endAt": {
            "format": "date-time",
            "type": "string"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "roleKey": {
            "type": "string"
          },
          "shiftBlockId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "startAt": {
            "format": "date-time",
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "breakMinutes",
          "endAt",
          "roleKey",
          "startAt",
          "timezone",
          "userId"
        ],
        "type": "object"
      },
      "ShiftStatusResponse": {
        "properties": {
          "actualId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "assignedId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "breakMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "breaks": {
            "items": {
              "$ref": "#/components/schemas/ShiftBreakResponse"
            },
            "type": "array"
          },
          "cashDrawerOpeningRequired": {
            "description": "Whether the authenticated terminal has a configured active drawer that requires opening for the active punch. Independent of the clock-out cash count requirement.",
            "type": "boolean"
          },
          "cashDrawerRequired": {
            "description": "Whether a drawer opened for the active punch requires a matching shift-close count before clock-out.",
            "type": "boolean"
          },
          "clockIn": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "clockedIn": {
            "type": "boolean"
          },
          "conflictStatus": {
            "nullable": true,
            "type": "string"
          },
          "durationMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "endAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "linkedAppointmentCount": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "occurrenceRef": {
            "nullable": true,
            "type": "string"
          },
          "overtimeMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "source": {
            "nullable": true,
            "type": "string"
          },
          "startAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "timezone": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "breakMinutes",
          "breaks",
          "cashDrawerOpeningRequired",
          "cashDrawerRequired",
          "clockedIn",
          "durationMinutes",
          "overtimeMinutes"
        ],
        "type": "object"
      },
      "ShiftTeamTodayResponse": {
        "properties": {
          "assignedWindow": {
            "$ref": "#/components/schemas/ShiftWindow",
            "nullable": true
          },
          "breakMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "clockState": {
            "type": "string"
          },
          "clockedInAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "clockedOutAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "firstName": {
            "nullable": true,
            "type": "string"
          },
          "lastName": {
            "nullable": true,
            "type": "string"
          },
          "occurrenceRef": {
            "nullable": true,
            "type": "string"
          },
          "roleKey": {
            "nullable": true,
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "breakMinutes",
          "clockState",
          "userId"
        ],
        "type": "object"
      },
      "ShiftTemplateInput": {
        "properties": {
          "breakMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "endTime": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "roleKey": {
            "nullable": true,
            "type": "string"
          },
          "startTime": {
            "type": "string"
          }
        },
        "required": [
          "breakMinutes",
          "endTime",
          "name",
          "startTime"
        ],
        "type": "object"
      },
      "ShiftTemplateResponse": {
        "properties": {
          "breakMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "endTime": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "roleKey": {
            "nullable": true,
            "type": "string"
          },
          "startTime": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "templateId": {
            "format": "uuid",
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "breakMinutes",
          "endTime",
          "name",
          "startTime",
          "storeId",
          "templateId",
          "version"
        ],
        "type": "object"
      },
      "ShiftTimesheetResponse": {
        "properties": {
          "actualId": {
            "format": "uuid",
            "type": "string"
          },
          "assignedId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "breakMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "clockIn": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "clockInAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "clockOut": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "clockOutAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "durationMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "firstName": {
            "nullable": true,
            "type": "string"
          },
          "hourlyRateCents": {
            "format": "int64",
            "nullable": true,
            "type": "integer"
          },
          "lastName": {
            "nullable": true,
            "type": "string"
          },
          "noShow": {
            "type": "boolean"
          },
          "overtimeMinutes": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "overtimeRateCents": {
            "format": "int64",
            "nullable": true,
            "type": "integer"
          },
          "overtimeWageCents": {
            "format": "int64",
            "nullable": true,
            "type": "integer"
          },
          "paidBreakMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "regularMinutes": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "roleKey": {
            "nullable": true,
            "type": "string"
          },
          "shiftDate": {
            "format": "date",
            "type": "string"
          },
          "source": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "totalWageCents": {
            "format": "int64",
            "nullable": true,
            "type": "integer"
          },
          "unpaidBreakMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "actualId",
          "breakMinutes",
          "durationMinutes",
          "noShow",
          "paidBreakMinutes",
          "shiftDate",
          "storeId",
          "unpaidBreakMinutes",
          "userId"
        ],
        "type": "object"
      },
      "ShiftWindow": {
        "properties": {
          "endAt": {
            "format": "date-time",
            "type": "string"
          },
          "startAt": {
            "format": "date-time",
            "type": "string"
          },
          "timezone": {
            "type": "string"
          }
        },
        "required": [
          "endAt",
          "startAt",
          "timezone"
        ],
        "type": "object"
      },
      "ShortTextField": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FormField"
          },
          {
            "properties": {
              "maxLength": {
                "format": "int32",
                "type": "integer"
              }
            },
            "type": "object"
          }
        ],
        "required": [
          "id",
          "label",
          "maxLength",
          "required",
          "sensitive"
        ],
        "type": "object"
      },
      "ShrinkageByCategoryBrandEntry": {
        "properties": {
          "brand": {
            "type": "string"
          },
          "categoryId": {
            "format": "uuid",
            "type": "string"
          },
          "categoryName": {
            "type": "string"
          },
          "costLoss": {
            "type": "number"
          },
          "retailLoss": {
            "type": "number"
          },
          "shrinkageRatePercent": {
            "type": "number"
          },
          "unitsLost": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "costLoss",
          "retailLoss",
          "shrinkageRatePercent",
          "unitsLost"
        ],
        "type": "object"
      },
      "ShrinkageByCategoryBrandReport": {
        "properties": {
          "endDate": {
            "format": "date-time",
            "type": "string"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/ShrinkageByCategoryBrandEntry"
            },
            "type": "array"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "entries",
          "storeId"
        ],
        "type": "object"
      },
      "ShrinkageByDayOfWeekEntry": {
        "properties": {
          "costLoss": {
            "type": "number"
          },
          "dayLabel": {
            "type": "string"
          },
          "dayOfWeek": {
            "format": "int32",
            "type": "integer"
          },
          "hourOfDay": {
            "format": "int32",
            "type": "integer"
          },
          "unexplainedCostLoss": {
            "type": "number"
          },
          "unitsLost": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "costLoss",
          "dayLabel",
          "dayOfWeek",
          "hourOfDay",
          "unexplainedCostLoss",
          "unitsLost"
        ],
        "type": "object"
      },
      "ShrinkageByDayShiftTimeReport": {
        "properties": {
          "byDayOfWeek": {
            "items": {
              "$ref": "#/components/schemas/ShrinkageByDayOfWeekEntry"
            },
            "type": "array"
          },
          "byShift": {
            "items": {
              "$ref": "#/components/schemas/ShrinkageByShiftEntry"
            },
            "type": "array"
          },
          "endDate": {
            "format": "date-time",
            "type": "string"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "byDayOfWeek",
          "byShift",
          "storeId"
        ],
        "type": "object"
      },
      "ShrinkageByEmployeeEntry": {
        "properties": {
          "adjustmentCount": {
            "format": "int64",
            "type": "integer"
          },
          "costImpact": {
            "type": "number"
          },
          "countVarianceCount": {
            "format": "int32",
            "type": "integer"
          },
          "employeeId": {
            "format": "uuid",
            "type": "string"
          },
          "employeeName": {
            "type": "string"
          },
          "retailImpact": {
            "type": "number"
          },
          "topReasons": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "unitsAdjusted": {
            "format": "int32",
            "type": "integer"
          },
          "voidRefundCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "adjustmentCount",
          "costImpact",
          "countVarianceCount",
          "employeeId",
          "retailImpact",
          "topReasons",
          "unitsAdjusted",
          "voidRefundCount"
        ],
        "type": "object"
      },
      "ShrinkageByEmployeeReport": {
        "properties": {
          "endDate": {
            "format": "date-time",
            "type": "string"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/ShrinkageByEmployeeEntry"
            },
            "type": "array"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "entries",
          "storeId"
        ],
        "type": "object"
      },
      "ShrinkageByLocationEntry": {
        "properties": {
          "costLoss": {
            "type": "number"
          },
          "inventoryValueAtCost": {
            "type": "number"
          },
          "retailLoss": {
            "type": "number"
          },
          "shrinkageRatePercent": {
            "type": "number"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          },
          "unitsLost": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "costLoss",
          "inventoryValueAtCost",
          "retailLoss",
          "shrinkageRatePercent",
          "storeId",
          "storeName",
          "unitsLost"
        ],
        "type": "object"
      },
      "ShrinkageByLocationReport": {
        "properties": {
          "endDate": {
            "format": "date-time",
            "type": "string"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/ShrinkageByLocationEntry"
            },
            "type": "array"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "entries",
          "orgId"
        ],
        "type": "object"
      },
      "ShrinkageByProductEntry": {
        "properties": {
          "adjustmentEntryCount": {
            "format": "int32",
            "type": "integer"
          },
          "costLoss": {
            "type": "number"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "recentCountsShort": {
            "format": "int32",
            "type": "integer"
          },
          "recentCountsTotal": {
            "format": "int32",
            "type": "integer"
          },
          "retailLoss": {
            "type": "number"
          },
          "shrinkageRatePercent": {
            "type": "number"
          },
          "unitsLost": {
            "format": "int32",
            "type": "integer"
          },
          "varianceEntryCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "adjustmentEntryCount",
          "costLoss",
          "productId",
          "productName",
          "recentCountsShort",
          "recentCountsTotal",
          "retailLoss",
          "shrinkageRatePercent",
          "unitsLost",
          "varianceEntryCount"
        ],
        "type": "object"
      },
      "ShrinkageByProductReport": {
        "properties": {
          "endDate": {
            "format": "date-time",
            "type": "string"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/ShrinkageByProductEntry"
            },
            "type": "array"
          },
          "sortedBy": {
            "$ref": "#/components/schemas/ShrinkageProductSort"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "entries",
          "sortedBy",
          "storeId"
        ],
        "type": "object"
      },
      "ShrinkageByReasonEntry": {
        "properties": {
          "costLoss": {
            "type": "number"
          },
          "percentOfTotal": {
            "type": "number"
          },
          "reason": {
            "type": "string"
          },
          "retailLoss": {
            "type": "number"
          },
          "units": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "costLoss",
          "percentOfTotal",
          "reason",
          "retailLoss",
          "units"
        ],
        "type": "object"
      },
      "ShrinkageByReasonReport": {
        "properties": {
          "endDate": {
            "format": "date-time",
            "type": "string"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/ShrinkageByReasonEntry"
            },
            "type": "array"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "entries",
          "storeId"
        ],
        "type": "object"
      },
      "ShrinkageByShiftEntry": {
        "properties": {
          "costLoss": {
            "type": "number"
          },
          "entryCount": {
            "format": "int64",
            "type": "integer"
          },
          "shiftName": {
            "type": "string"
          },
          "unexplainedCostLoss": {
            "type": "number"
          },
          "unitsLost": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "costLoss",
          "entryCount",
          "shiftName",
          "unexplainedCostLoss",
          "unitsLost"
        ],
        "type": "object"
      },
      "ShrinkageDashboardReport": {
        "properties": {
          "changeVsPreviousPeriodPercent": {
            "type": "number"
          },
          "documentedCostLoss": {
            "type": "number"
          },
          "endDate": {
            "format": "date-time",
            "type": "string"
          },
          "highestShrinkCategory": {
            "type": "string"
          },
          "shrinkageRatePercent": {
            "type": "number"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "topLossReason": {
            "type": "string"
          },
          "totalShrinkageCost": {
            "type": "number"
          },
          "totalShrinkageRetail": {
            "type": "number"
          },
          "unexplainedCostLoss": {
            "type": "number"
          },
          "unitsLost": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "documentedCostLoss",
          "shrinkageRatePercent",
          "storeId",
          "totalShrinkageCost",
          "totalShrinkageRetail",
          "unexplainedCostLoss",
          "unitsLost"
        ],
        "type": "object"
      },
      "ShrinkageProductSort": {
        "enum": [
          "COST_LOSS",
          "UNIT_LOSS",
          "SHRINKAGE_RATE",
          "VARIANCE_FREQUENCY",
          "ADJUSTMENT_FREQUENCY"
        ],
        "type": "string"
      },
      "ShrinkageTrendPoint": {
        "properties": {
          "costLoss": {
            "type": "number"
          },
          "date": {
            "format": "date",
            "type": "string"
          },
          "unexplainedCostLoss": {
            "type": "number"
          }
        },
        "required": [
          "costLoss",
          "date",
          "unexplainedCostLoss"
        ],
        "type": "object"
      },
      "ShrinkageTrendReport": {
        "properties": {
          "endDate": {
            "format": "date-time",
            "type": "string"
          },
          "points": {
            "items": {
              "$ref": "#/components/schemas/ShrinkageTrendPoint"
            },
            "type": "array"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "points",
          "storeId"
        ],
        "type": "object"
      },
      "SingleChoiceField": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FormField"
          },
          {
            "properties": {
              "display": {
                "type": "string"
              },
              "options": {
                "items": {
                  "$ref": "#/components/schemas/FormOption"
                },
                "type": "array"
              }
            },
            "type": "object"
          }
        ],
        "required": [
          "display",
          "id",
          "label",
          "options",
          "required",
          "sensitive"
        ],
        "type": "object"
      },
      "SlowMovingInventoryItem": {
        "properties": {
          "currentUnits": {
            "format": "int32",
            "type": "integer"
          },
          "daysSinceLastSale": {
            "format": "int64",
            "type": "integer"
          },
          "inventoryCost": {
            "type": "number"
          },
          "lastSaleDate": {
            "format": "date-time",
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "retailValue": {
            "type": "number"
          },
          "unitsSoldLast30Days": {
            "format": "int32",
            "type": "integer"
          },
          "unitsSoldLast60Days": {
            "format": "int32",
            "type": "integer"
          },
          "unitsSoldLast90Days": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "currentUnits",
          "inventoryCost",
          "productId",
          "retailValue",
          "unitsSoldLast30Days",
          "unitsSoldLast60Days",
          "unitsSoldLast90Days"
        ],
        "type": "object"
      },
      "SlowMovingInventoryReport": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/SlowMovingInventoryItem"
            },
            "type": "array"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "windowDays": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "storeId",
          "windowDays"
        ],
        "type": "object"
      },
      "SmartConnectConfigDto": {
        "properties": {
          "appPackageName": {
            "type": "string"
          },
          "mode": {
            "type": "string"
          },
          "nexgoSerialNumber": {
            "type": "string"
          },
          "port": {
            "format": "int32",
            "type": "integer"
          },
          "processorName": {
            "type": "string"
          },
          "receiptPreference": {
            "type": "boolean"
          },
          "terminalIp": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "SmsConversationDetailResponse": {
        "properties": {
          "canSend": {
            "type": "boolean"
          },
          "cannotSendReason": {
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "customerName": {
            "type": "string"
          },
          "customerPhone": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "lastDirection": {
            "type": "string"
          },
          "lastMessageAt": {
            "format": "date-time",
            "type": "string"
          },
          "lastMessagePreview": {
            "type": "string"
          },
          "messages": {
            "items": {
              "$ref": "#/components/schemas/SmsMessageResponse"
            },
            "type": "array"
          },
          "unreadCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "canSend",
          "customerPhone",
          "id",
          "lastDirection",
          "lastMessageAt",
          "lastMessagePreview",
          "messages",
          "unreadCount"
        ],
        "type": "object"
      },
      "SmsConversationSummaryResponse": {
        "properties": {
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "customerName": {
            "type": "string"
          },
          "customerPhone": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "lastDirection": {
            "type": "string"
          },
          "lastMessageAt": {
            "format": "date-time",
            "type": "string"
          },
          "lastMessagePreview": {
            "type": "string"
          },
          "unreadCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "customerPhone",
          "id",
          "lastDirection",
          "lastMessageAt",
          "lastMessagePreview",
          "unreadCount"
        ],
        "type": "object"
      },
      "SmsInvoiceLinkBinding": {
        "properties": {
          "invoiceId": {
            "format": "uuid",
            "type": "string"
          },
          "token": {
            "type": "string"
          }
        },
        "required": [
          "invoiceId",
          "token"
        ],
        "type": "object"
      },
      "SmsMarkReadRequest": {
        "properties": {
          "throughMessageId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "throughMessageId"
        ],
        "type": "object"
      },
      "SmsMessageResponse": {
        "properties": {
          "body": {
            "type": "string"
          },
          "conversationId": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "direction": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "ordinal": {
            "format": "int64",
            "type": "integer"
          },
          "sentByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "body",
          "conversationId",
          "createdAt",
          "direction",
          "id",
          "ordinal",
          "source",
          "status"
        ],
        "type": "object"
      },
      "SmsQuoteLinkBinding": {
        "properties": {
          "estimateId": {
            "format": "uuid",
            "type": "string"
          },
          "token": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "estimateId",
          "token",
          "version"
        ],
        "type": "object"
      },
      "SmsReadinessResponse": {
        "properties": {
          "canSend": {
            "type": "boolean"
          },
          "cannotSendReason": {
            "type": "string"
          },
          "storePhone": {
            "type": "string"
          }
        },
        "required": [
          "canSend"
        ],
        "type": "object"
      },
      "SmsReceiptRequest": {
        "properties": {
          "date": {
            "format": "date",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/ReceiptItemRequest"
            },
            "type": "array"
          },
          "loyaltyDiscountAmount": {
            "type": "string"
          },
          "loyaltyPointsRedeemed": {
            "format": "int32",
            "type": "integer"
          },
          "loyaltyRewardName": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "storeName": {
            "type": "string"
          },
          "subtotal": {
            "type": "string"
          },
          "tax": {
            "type": "string"
          },
          "total": {
            "type": "string"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "SmsStaffMessageRequest": {
        "properties": {
          "body": {
            "type": "string"
          },
          "conversationId": {
            "format": "uuid",
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "idempotencyKey": {
            "type": "string"
          },
          "invoiceLinks": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/SmsInvoiceLinkBinding"
            },
            "type": "array"
          },
          "phone": {
            "type": "string"
          },
          "quoteLinks": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/SmsQuoteLinkBinding"
            },
            "type": "array"
          }
        },
        "required": [
          "body",
          "idempotencyKey"
        ],
        "type": "object"
      },
      "SmsUnreadCountResponse": {
        "properties": {
          "conversationsWithUnread": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "conversationsWithUnread"
        ],
        "type": "object"
      },
      "SnapshotResponse": {
        "properties": {
          "approvedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "countedAmount": {
            "type": "number"
          },
          "countedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "drawerId": {
            "format": "uuid",
            "type": "string"
          },
          "expectedAmount": {
            "type": "number"
          },
          "kind": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "shiftAssignedId": {
            "format": "uuid",
            "type": "string"
          },
          "shiftId": {
            "format": "uuid",
            "type": "string"
          },
          "snapshotId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "varianceAmount": {
            "type": "number"
          }
        },
        "required": [
          "countedAmount",
          "countedByUserId",
          "createdAt",
          "drawerId",
          "expectedAmount",
          "kind",
          "snapshotId",
          "terminalId",
          "varianceAmount"
        ],
        "type": "object"
      },
      "SplitHouseholdRequest": {
        "properties": {
          "addressNormalized": {
            "type": "string"
          },
          "customerIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "minItems": 1,
            "type": "array"
          },
          "displayName": {
            "type": "string"
          }
        },
        "required": [
          "customerIds"
        ],
        "type": "object"
      },
      "SseEmitter": {
        "properties": {
          "timeout": {
            "format": "int64",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "StaffImportMultipartRequest": {
        "properties": {
          "file": {
            "description": "CSV file containing staff invites to send",
            "format": "binary",
            "type": "string"
          }
        },
        "required": [
          "file"
        ],
        "type": "object"
      },
      "StandardIamAccessEffect": {
        "enum": [
          "PERMIT",
          "DENY"
        ],
        "type": "string"
      },
      "StandardIamAccessPreview": {
        "properties": {
          "changes": {
            "items": {
              "$ref": "#/components/schemas/StandardIamAccessPreviewChange"
            },
            "type": "array"
          },
          "previewToken": {
            "type": "string"
          },
          "previewVersion": {
            "format": "int64",
            "type": "integer"
          },
          "warnings": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "changes",
          "previewToken",
          "previewVersion",
          "warnings"
        ],
        "type": "object"
      },
      "StandardIamAccessPreviewChange": {
        "properties": {
          "addedPermissionKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "addedResponsibilities": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "employeeName": {
            "type": "string"
          },
          "explanations": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "removedPermissionKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "removedResponsibilities": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "scope": {
            "$ref": "#/components/schemas/StandardIamScope"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "required": [
          "addedPermissionKeys",
          "addedResponsibilities",
          "employeeName",
          "explanations",
          "removedPermissionKeys",
          "removedResponsibilities",
          "scope"
        ],
        "type": "object"
      },
      "StandardIamAccessPreviewOperation": {
        "enum": [
          "ASSIGN_PRIMARY_JOB_FUNCTION",
          "ASSIGN_ORGANIZATION_JOB_FUNCTION",
          "ADD_GROUP_ASSIGNMENT",
          "REMOVE_GROUP_ASSIGNMENT",
          "REMOVE_ORGANIZATION_MEMBER",
          "REMOVE_STORE_MEMBER",
          "ARCHIVE_JOB_FUNCTION"
        ],
        "type": "string"
      },
      "StandardIamAccessPreviewRequest": {
        "properties": {
          "assignmentId": {
            "format": "uuid",
            "type": "string"
          },
          "assignmentKind": {
            "$ref": "#/components/schemas/StandardIamGroupAssignmentKind"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "jobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "operation": {
            "$ref": "#/components/schemas/StandardIamAccessPreviewOperation"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          },
          "replacementJobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "responsibilityKeys": {
            "items": {
              "enum": [
                "resp.employee_self_service",
                "resp.checkout",
                "resp.cash_operations",
                "resp.compliance_verification",
                "resp.compliance_override",
                "resp.refund_processing",
                "resp.refund_approval",
                "resp.discount_application",
                "resp.inventory_viewing",
                "resp.inventory_counting",
                "resp.inventory_adjustment",
                "resp.inventory_receiving",
                "resp.inventory_transfers",
                "resp.appointment_viewing",
                "resp.appointment_operations",
                "resp.team_scheduling",
                "resp.staff_management",
                "resp.store_administration",
                "resp.store_ownership",
                "resp.organization_membership",
                "resp.organization_ownership"
              ],
              "type": "string"
            },
            "type": "array",
            "uniqueItems": true
          },
          "scope": {
            "$ref": "#/components/schemas/StandardIamScope"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "operation",
          "reason"
        ],
        "type": "object"
      },
      "StandardIamAccessSource": {
        "properties": {
          "effect": {
            "$ref": "#/components/schemas/StandardIamAccessEffect"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "permissionKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "reason": {
            "type": "string"
          },
          "scope": {
            "$ref": "#/components/schemas/StandardIamScope"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/StandardIamAccessSourceType"
          }
        },
        "required": [
          "effect",
          "id",
          "name",
          "permissionKeys",
          "scope",
          "type"
        ],
        "type": "object"
      },
      "StandardIamAccessSourceType": {
        "enum": [
          "JOB_FUNCTION",
          "GROUP_ASSIGNMENT"
        ],
        "type": "string"
      },
      "StandardIamArchiveJobFunctionRequest": {
        "properties": {
          "previewToken": {
            "minLength": 1,
            "type": "string"
          },
          "previewVersion": {
            "format": "int64",
            "type": "integer"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          },
          "replacementJobFunctionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "previewToken",
          "previewVersion",
          "reason"
        ],
        "type": "object"
      },
      "StandardIamAssignOrganizationJobFunctionRequest": {
        "properties": {
          "jobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "previewToken": {
            "minLength": 1,
            "type": "string"
          },
          "previewVersion": {
            "format": "int64",
            "type": "integer"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "jobFunctionId",
          "previewToken",
          "previewVersion",
          "reason"
        ],
        "type": "object"
      },
      "StandardIamAssignPrimaryJobFunctionRequest": {
        "properties": {
          "jobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "previewToken": {
            "minLength": 1,
            "type": "string"
          },
          "previewVersion": {
            "format": "int64",
            "type": "integer"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "jobFunctionId",
          "previewToken",
          "previewVersion",
          "reason"
        ],
        "type": "object"
      },
      "StandardIamCapabilityByScope": {
        "properties": {
          "canAddGroupAssignment": {
            "type": "boolean"
          },
          "canAssignJobFunction": {
            "type": "boolean"
          },
          "scope": {
            "$ref": "#/components/schemas/StandardIamScope"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "required": [
          "canAddGroupAssignment",
          "canAssignJobFunction",
          "scope"
        ],
        "type": "object"
      },
      "StandardIamCreateGroupAssignmentRequest": {
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/StandardIamGroupAssignmentKind"
          },
          "previewToken": {
            "minLength": 1,
            "type": "string"
          },
          "previewVersion": {
            "format": "int64",
            "type": "integer"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          },
          "responsibilityKeys": {
            "items": {
              "enum": [
                "resp.employee_self_service",
                "resp.checkout",
                "resp.cash_operations",
                "resp.compliance_verification",
                "resp.compliance_override",
                "resp.refund_processing",
                "resp.refund_approval",
                "resp.discount_application",
                "resp.inventory_viewing",
                "resp.inventory_counting",
                "resp.inventory_adjustment",
                "resp.inventory_receiving",
                "resp.inventory_transfers",
                "resp.appointment_viewing",
                "resp.appointment_operations",
                "resp.team_scheduling",
                "resp.staff_management",
                "resp.store_administration",
                "resp.store_ownership",
                "resp.organization_membership",
                "resp.organization_ownership"
              ],
              "type": "string"
            },
            "minItems": 1,
            "type": "array",
            "uniqueItems": true
          },
          "scope": {
            "$ref": "#/components/schemas/StandardIamScope"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "previewToken",
          "previewVersion",
          "reason",
          "responsibilityKeys",
          "scope"
        ],
        "type": "object"
      },
      "StandardIamCreateJobFunctionRequest": {
        "properties": {
          "description": {
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          },
          "responsibilityKeys": {
            "items": {
              "enum": [
                "resp.employee_self_service",
                "resp.checkout",
                "resp.cash_operations",
                "resp.compliance_verification",
                "resp.compliance_override",
                "resp.refund_processing",
                "resp.refund_approval",
                "resp.discount_application",
                "resp.inventory_viewing",
                "resp.inventory_counting",
                "resp.inventory_adjustment",
                "resp.inventory_receiving",
                "resp.inventory_transfers",
                "resp.appointment_viewing",
                "resp.appointment_operations",
                "resp.team_scheduling",
                "resp.staff_management",
                "resp.store_administration",
                "resp.store_ownership",
                "resp.organization_membership",
                "resp.organization_ownership"
              ],
              "type": "string"
            },
            "minItems": 1,
            "type": "array",
            "uniqueItems": true
          },
          "scope": {
            "$ref": "#/components/schemas/StandardIamScope"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "name",
          "reason",
          "responsibilityKeys",
          "scope"
        ],
        "type": "object"
      },
      "StandardIamDelegationBand": {
        "enum": [
          "ORGANIZATION_AFFILIATION",
          "BASE_EMPLOYEE",
          "CASHIER",
          "STOCK_PERSON",
          "HEAD_CASHIER",
          "ASSISTANT_MANAGER",
          "MANAGER",
          "STORE_OWNER",
          "ORGANIZATION_OWNER"
        ],
        "type": "string"
      },
      "StandardIamDuplicateJobFunctionRequest": {
        "properties": {
          "description": {
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          },
          "scope": {
            "$ref": "#/components/schemas/StandardIamScope"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "name",
          "reason",
          "scope"
        ],
        "type": "object"
      },
      "StandardIamEffectivePermission": {
        "properties": {
          "allowed": {
            "type": "boolean"
          },
          "explanation": {
            "type": "string"
          },
          "permissionKey": {
            "type": "string"
          },
          "scope": {
            "$ref": "#/components/schemas/StandardIamScope"
          },
          "sources": {
            "items": {
              "$ref": "#/components/schemas/StandardIamAccessSource"
            },
            "type": "array"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "required": [
          "allowed",
          "explanation",
          "permissionKey",
          "scope",
          "sources"
        ],
        "type": "object"
      },
      "StandardIamEffectiveResponsibility": {
        "properties": {
          "allowed": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          },
          "explanation": {
            "type": "string"
          },
          "grantedPermissionKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "key": {
            "$ref": "#/components/schemas/StandardIamResponsibilityKey"
          },
          "missingPermissionKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          },
          "scope": {
            "$ref": "#/components/schemas/StandardIamScope"
          },
          "sources": {
            "items": {
              "$ref": "#/components/schemas/StandardIamAccessSource"
            },
            "type": "array"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "required": [
          "allowed",
          "description",
          "explanation",
          "grantedPermissionKeys",
          "key",
          "missingPermissionKeys",
          "name",
          "scope",
          "sources"
        ],
        "type": "object"
      },
      "StandardIamEmbeddedResponsibility": {
        "properties": {
          "delegationBand": {
            "$ref": "#/components/schemas/StandardIamDelegationBand"
          },
          "delegationLevel": {
            "format": "int32",
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "key": {
            "$ref": "#/components/schemas/StandardIamResponsibilityKey"
          },
          "name": {
            "type": "string"
          },
          "permissions": {
            "items": {
              "$ref": "#/components/schemas/StandardIamResponsibilityPermission"
            },
            "type": "array"
          },
          "storeScopeAllowed": {
            "type": "boolean"
          }
        },
        "required": [
          "delegationBand",
          "delegationLevel",
          "description",
          "key",
          "name",
          "permissions",
          "storeScopeAllowed"
        ],
        "type": "object"
      },
      "StandardIamGroupAssignment": {
        "properties": {
          "assignmentId": {
            "format": "uuid",
            "type": "string"
          },
          "canRemove": {
            "type": "boolean"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/StandardIamGroupAssignmentKind"
          },
          "name": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "responsibilityNames": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "scope": {
            "$ref": "#/components/schemas/StandardIamScope"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "required": [
          "assignmentId",
          "canRemove",
          "kind",
          "name",
          "reason",
          "responsibilityNames",
          "scope"
        ],
        "type": "object"
      },
      "StandardIamGroupAssignmentKind": {
        "enum": [
          "ADDITIONAL_ACCESS",
          "RESTRICTION"
        ],
        "type": "string"
      },
      "StandardIamInheritedJobFunction": {
        "properties": {
          "delegationBand": {
            "$ref": "#/components/schemas/StandardIamDelegationBand"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "delegationBand",
          "id",
          "name"
        ],
        "type": "object"
      },
      "StandardIamJobFunction": {
        "properties": {
          "assignedEmployeeCount": {
            "format": "int64",
            "type": "integer"
          },
          "canArchive": {
            "type": "boolean"
          },
          "canDuplicate": {
            "type": "boolean"
          },
          "canDuplicateAtOrganization": {
            "default": false,
            "type": "boolean"
          },
          "canEdit": {
            "type": "boolean"
          },
          "canHide": {
            "type": "boolean"
          },
          "canManageColor": {
            "type": "boolean"
          },
          "canRestore": {
            "type": "boolean"
          },
          "delegationBand": {
            "$ref": "#/components/schemas/StandardIamDelegationBand"
          },
          "description": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "inheritedJobFunctions": {
            "items": {
              "$ref": "#/components/schemas/StandardIamInheritedJobFunction"
            },
            "type": "array"
          },
          "kind": {
            "$ref": "#/components/schemas/StandardIamJobFunctionKind"
          },
          "name": {
            "type": "string"
          },
          "policyGraph": {
            "items": {
              "$ref": "#/components/schemas/StandardIamPolicyGraphEntry"
            },
            "type": "array"
          },
          "responsibilities": {
            "items": {
              "$ref": "#/components/schemas/StandardIamEmbeddedResponsibility"
            },
            "type": "array"
          },
          "responsibilityCoverage": {
            "items": {
              "$ref": "#/components/schemas/StandardIamResponsibilityCoverage"
            },
            "type": "array"
          },
          "roleKey": {
            "readOnly": true,
            "type": "string"
          },
          "scope": {
            "$ref": "#/components/schemas/StandardIamScope"
          },
          "status": {
            "$ref": "#/components/schemas/StandardIamJobFunctionStatus"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "assignedEmployeeCount",
          "canArchive",
          "canDuplicate",
          "canEdit",
          "canHide",
          "canManageColor",
          "canRestore",
          "delegationBand",
          "id",
          "inheritedJobFunctions",
          "kind",
          "name",
          "policyGraph",
          "responsibilities",
          "responsibilityCoverage",
          "roleKey",
          "scope",
          "status"
        ],
        "type": "object"
      },
      "StandardIamJobFunctionCollection": {
        "properties": {
          "canCreate": {
            "type": "boolean"
          },
          "canCreateAtOrganization": {
            "default": false,
            "type": "boolean"
          },
          "jobFunctions": {
            "items": {
              "$ref": "#/components/schemas/StandardIamJobFunction"
            },
            "type": "array"
          }
        },
        "required": [
          "canCreate",
          "jobFunctions"
        ],
        "type": "object"
      },
      "StandardIamJobFunctionKind": {
        "enum": [
          "PROTECTED",
          "CUSTOM"
        ],
        "type": "string"
      },
      "StandardIamJobFunctionStatus": {
        "enum": [
          "VISIBLE",
          "HIDDEN",
          "ARCHIVED"
        ],
        "type": "string"
      },
      "StandardIamOrganizationJobFunction": {
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "jobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "jobFunctionName": {
            "type": "string"
          }
        },
        "required": [
          "jobFunctionId",
          "jobFunctionName"
        ],
        "type": "object"
      },
      "StandardIamPeople": {
        "properties": {
          "directoryVersion": {
            "type": "string"
          },
          "nextCursor": {
            "format": "uuid",
            "type": "string"
          },
          "people": {
            "items": {
              "$ref": "#/components/schemas/StandardIamPersonSummary"
            },
            "type": "array"
          },
          "policyVersion": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "directoryVersion",
          "people",
          "policyVersion"
        ],
        "type": "object"
      },
      "StandardIamPersonAccess": {
        "properties": {
          "capabilitiesByScope": {
            "items": {
              "$ref": "#/components/schemas/StandardIamCapabilityByScope"
            },
            "type": "array"
          },
          "effectivePermissions": {
            "items": {
              "$ref": "#/components/schemas/StandardIamEffectivePermission"
            },
            "type": "array"
          },
          "effectiveResponsibilities": {
            "items": {
              "$ref": "#/components/schemas/StandardIamEffectiveResponsibility"
            },
            "type": "array"
          },
          "groupAssignments": {
            "items": {
              "$ref": "#/components/schemas/StandardIamGroupAssignment"
            },
            "type": "array"
          },
          "organizationJobFunction": {
            "$ref": "#/components/schemas/StandardIamOrganizationJobFunction"
          },
          "primaryJobFunctions": {
            "items": {
              "$ref": "#/components/schemas/StandardIamPrimaryJobFunction"
            },
            "type": "array"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "capabilitiesByScope",
          "effectivePermissions",
          "effectiveResponsibilities",
          "groupAssignments",
          "primaryJobFunctions",
          "userId"
        ],
        "type": "object"
      },
      "StandardIamPersonSummary": {
        "properties": {
          "accountSynchronization": {
            "$ref": "#/components/schemas/AccountStateSynchronizationState"
          },
          "active": {
            "type": "boolean"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastLogin": {
            "format": "date-time",
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "organizationJobFunction": {
            "$ref": "#/components/schemas/StandardIamOrganizationJobFunction"
          },
          "primaryJobFunctions": {
            "items": {
              "$ref": "#/components/schemas/StandardIamPrimaryJobFunction"
            },
            "type": "array"
          },
          "roleLabels": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "active",
          "displayName",
          "primaryJobFunctions",
          "roleLabels",
          "userId"
        ],
        "type": "object"
      },
      "StandardIamPolicyGraphEntry": {
        "properties": {
          "action": {
            "type": "string"
          },
          "effect": {
            "$ref": "#/components/schemas/StandardIamAccessEffect"
          },
          "policyId": {
            "format": "uuid",
            "type": "string"
          },
          "resource": {
            "type": "string"
          }
        },
        "required": [
          "action",
          "effect",
          "policyId",
          "resource"
        ],
        "type": "object"
      },
      "StandardIamPrimaryJobFunction": {
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "jobFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "jobFunctionName": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeName": {
            "type": "string"
          }
        },
        "required": [
          "jobFunctionId",
          "jobFunctionName",
          "storeId",
          "storeName"
        ],
        "type": "object"
      },
      "StandardIamRemoveGroupAssignmentRequest": {
        "properties": {
          "previewToken": {
            "minLength": 1,
            "type": "string"
          },
          "previewVersion": {
            "format": "int64",
            "type": "integer"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "previewToken",
          "previewVersion",
          "reason"
        ],
        "type": "object"
      },
      "StandardIamRemoveMemberRequest": {
        "properties": {
          "previewToken": {
            "minLength": 1,
            "type": "string"
          },
          "previewVersion": {
            "format": "int64",
            "type": "integer"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "previewToken",
          "previewVersion",
          "reason"
        ],
        "type": "object"
      },
      "StandardIamResponsibility": {
        "properties": {
          "blockedBy": {
            "$ref": "#/components/schemas/StandardIamResponsibilityBlockedBy"
          },
          "blockedReason": {
            "type": "string"
          },
          "delegationBand": {
            "$ref": "#/components/schemas/StandardIamDelegationBand"
          },
          "delegationLevel": {
            "format": "int32",
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "grantable": {
            "type": "boolean"
          },
          "key": {
            "$ref": "#/components/schemas/StandardIamResponsibilityKey"
          },
          "name": {
            "type": "string"
          },
          "permissions": {
            "items": {
              "$ref": "#/components/schemas/StandardIamResponsibilityPermission"
            },
            "type": "array"
          },
          "storeScopeAllowed": {
            "type": "boolean"
          }
        },
        "required": [
          "delegationBand",
          "delegationLevel",
          "description",
          "grantable",
          "key",
          "name",
          "permissions",
          "storeScopeAllowed"
        ],
        "type": "object"
      },
      "StandardIamResponsibilityBlockedBy": {
        "enum": [
          "PERMISSION_CEILING",
          "DELEGATION_LEVEL",
          "SCOPE",
          "MUTATION_AUTHORITY"
        ],
        "type": "string"
      },
      "StandardIamResponsibilityCoverage": {
        "properties": {
          "description": {
            "type": "string"
          },
          "grantedPermissionKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "key": {
            "$ref": "#/components/schemas/StandardIamResponsibilityKey"
          },
          "missingPermissionKeys": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "description",
          "grantedPermissionKeys",
          "key",
          "missingPermissionKeys",
          "name"
        ],
        "type": "object"
      },
      "StandardIamResponsibilityKey": {
        "enum": [
          "resp.employee_self_service",
          "resp.checkout",
          "resp.cash_operations",
          "resp.compliance_verification",
          "resp.compliance_override",
          "resp.refund_processing",
          "resp.refund_approval",
          "resp.discount_application",
          "resp.inventory_viewing",
          "resp.inventory_counting",
          "resp.inventory_adjustment",
          "resp.inventory_receiving",
          "resp.inventory_transfers",
          "resp.appointment_viewing",
          "resp.appointment_operations",
          "resp.team_scheduling",
          "resp.staff_management",
          "resp.store_administration",
          "resp.store_ownership",
          "resp.organization_membership",
          "resp.organization_ownership"
        ],
        "type": "string"
      },
      "StandardIamResponsibilityPermission": {
        "properties": {
          "dangerous": {
            "type": "boolean"
          },
          "displayName": {
            "type": "string"
          },
          "key": {
            "type": "string"
          }
        },
        "required": [
          "dangerous",
          "displayName",
          "key"
        ],
        "type": "object"
      },
      "StandardIamScope": {
        "enum": [
          "ORGANIZATION",
          "STORE"
        ],
        "type": "string"
      },
      "StandardIamUpdateJobFunctionRequest": {
        "properties": {
          "description": {
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          },
          "responsibilityKeys": {
            "items": {
              "enum": [
                "resp.employee_self_service",
                "resp.checkout",
                "resp.cash_operations",
                "resp.compliance_verification",
                "resp.compliance_override",
                "resp.refund_processing",
                "resp.refund_approval",
                "resp.discount_application",
                "resp.inventory_viewing",
                "resp.inventory_counting",
                "resp.inventory_adjustment",
                "resp.inventory_receiving",
                "resp.inventory_transfers",
                "resp.appointment_viewing",
                "resp.appointment_operations",
                "resp.team_scheduling",
                "resp.staff_management",
                "resp.store_administration",
                "resp.store_ownership",
                "resp.organization_membership",
                "resp.organization_ownership"
              ],
              "type": "string"
            },
            "minItems": 1,
            "type": "array",
            "uniqueItems": true
          }
        },
        "required": [
          "name",
          "reason",
          "responsibilityKeys"
        ],
        "type": "object"
      },
      "StandardIamVisibilityRequest": {
        "properties": {
          "reason": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "StationItemResponse": {
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "mappingId": {
            "format": "uuid",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "stationId": {
            "format": "uuid",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "mappingId",
          "orgId",
          "productId",
          "role",
          "stationId",
          "storeId",
          "updatedAt"
        ],
        "type": "object"
      },
      "StationResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "alertTone": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "displayColor": {
            "type": "string"
          },
          "dwellThresholdSeconds": {
            "format": "int32",
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "sortOrder": {
            "format": "int32",
            "type": "integer"
          },
          "stationId": {
            "format": "uuid",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "active",
          "createdAt",
          "displayColor",
          "dwellThresholdSeconds",
          "name",
          "orgId",
          "sortOrder",
          "stationId",
          "storeId",
          "updatedAt"
        ],
        "type": "object"
      },
      "StockTransferResponse": {
        "properties": {
          "canCancel": {
            "type": "boolean"
          },
          "canReceive": {
            "type": "boolean"
          },
          "canShip": {
            "type": "boolean"
          },
          "completedAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "fromStoreId": {
            "format": "uuid",
            "type": "string"
          },
          "fromStoreName": {
            "type": "string"
          },
          "initiatedBy": {
            "format": "uuid",
            "type": "string"
          },
          "itemCount": {
            "format": "int64",
            "type": "integer"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/TransferItemResponse"
            },
            "type": "array"
          },
          "notes": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "receivedBy": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "toStoreId": {
            "format": "uuid",
            "type": "string"
          },
          "toStoreName": {
            "type": "string"
          },
          "transferId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "canCancel",
          "canReceive",
          "canShip",
          "itemCount",
          "items"
        ],
        "type": "object"
      },
      "StockoutRiskItem": {
        "properties": {
          "averageDailySales": {
            "type": "number"
          },
          "daysOfSupply": {
            "type": "number"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "quantityOnHand": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "averageDailySales",
          "daysOfSupply",
          "productId",
          "quantityOnHand"
        ],
        "type": "object"
      },
      "StockoutRiskReport": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/StockoutRiskItem"
            },
            "type": "array"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "withinDays": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "storeId",
          "withinDays"
        ],
        "type": "object"
      },
      "StopRunRequest": {
        "properties": {
          "clientCommandId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "clientCommandId"
        ],
        "type": "object"
      },
      "StoreApprovalDiscountLimit": {
        "properties": {
          "currency": {
            "nullable": true,
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/ManagerOverrideValueKind"
          },
          "value": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "type": "object"
      },
      "StoreApprovalPolicyHistory": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/StoreApprovalPolicyHistoryItem"
            },
            "type": "array"
          },
          "page": {
            "format": "int32",
            "type": "integer"
          },
          "size": {
            "format": "int32",
            "type": "integer"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "totalPages": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "page",
          "size",
          "total",
          "totalPages"
        ],
        "type": "object"
      },
      "StoreApprovalPolicyHistoryItem": {
        "properties": {
          "cashierSelfRefundEnabled": {
            "type": "boolean"
          },
          "changedAt": {
            "format": "date-time",
            "type": "string"
          },
          "changedBy": {
            "type": "string"
          },
          "discountEscalationBand": {
            "$ref": "#/components/schemas/StandardIamDelegationBand"
          },
          "discountLimit": {
            "$ref": "#/components/schemas/StoreApprovalDiscountLimit",
            "nullable": true
          },
          "headCashierDiscountsEnabled": {
            "type": "boolean"
          },
          "headCashierRefundLimit": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "refundCurrency": {
            "type": "string"
          },
          "refundEscalationBand": {
            "$ref": "#/components/schemas/StandardIamDelegationBand"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "cashierSelfRefundEnabled",
          "changedAt",
          "changedBy",
          "discountEscalationBand",
          "headCashierDiscountsEnabled",
          "headCashierRefundLimit",
          "reason",
          "refundCurrency",
          "refundEscalationBand",
          "version"
        ],
        "type": "object"
      },
      "StoreApprovalPolicyResponse": {
        "properties": {
          "canUpdate": {
            "type": "boolean"
          },
          "cashierSelfRefundEnabled": {
            "type": "boolean"
          },
          "discountEscalationBand": {
            "$ref": "#/components/schemas/StandardIamDelegationBand"
          },
          "discountLimit": {
            "$ref": "#/components/schemas/StoreApprovalDiscountLimit",
            "nullable": true
          },
          "headCashierDiscountsEnabled": {
            "type": "boolean"
          },
          "headCashierRefundLimit": {
            "type": "string"
          },
          "refundCurrency": {
            "type": "string"
          },
          "refundEscalationBand": {
            "$ref": "#/components/schemas/StandardIamDelegationBand"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "canUpdate",
          "cashierSelfRefundEnabled",
          "discountEscalationBand",
          "headCashierDiscountsEnabled",
          "headCashierRefundLimit",
          "refundCurrency",
          "refundEscalationBand",
          "version"
        ],
        "type": "object"
      },
      "StoreBreakPolicyRequest": {
        "properties": {
          "breakMinutes": {
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          },
          "minWorkedMinutes": {
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          },
          "paid": {
            "type": "boolean"
          }
        },
        "required": [
          "breakMinutes",
          "minWorkedMinutes",
          "paid"
        ],
        "type": "object"
      },
      "StoreBreakPolicyResponse": {
        "properties": {
          "breakMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "minWorkedMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "paid": {
            "type": "boolean"
          },
          "policyId": {
            "format": "uuid",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "breakMinutes",
          "createdAt",
          "minWorkedMinutes",
          "paid",
          "policyId",
          "storeId",
          "updatedAt"
        ],
        "type": "object"
      },
      "StoreEmployeePayRateResponse": {
        "properties": {
          "hourlyRateCents": {
            "format": "int64",
            "type": "integer"
          },
          "overtimeRateCents": {
            "format": "int64",
            "type": "integer"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "hourlyRateCents",
          "userId"
        ],
        "type": "object"
      },
      "StoreScopedAccessResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "currency": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "timezone": {
            "type": "string"
          }
        },
        "required": [
          "active",
          "name",
          "orgId",
          "storeId"
        ],
        "type": "object"
      },
      "StoreSettingsResponse": {
        "properties": {
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "businessVertical": {
            "nullable": true,
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "onboardingCompleted": {
            "type": "boolean"
          },
          "phone": {
            "type": "string"
          },
          "posLandingScreen": {
            "nullable": true,
            "type": "string"
          },
          "receiptBusinessName": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "tipEnabled": {
            "type": "boolean"
          },
          "zipCode": {
            "type": "string"
          }
        },
        "required": [
          "onboardingCompleted",
          "tipEnabled"
        ],
        "type": "object"
      },
      "StoreShiftSettingsRequest": {
        "properties": {
          "dailyRegularMinutes": {
            "format": "int32",
            "maximum": 1440.0,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "dailyRegularMinutes"
        ],
        "type": "object"
      },
      "StoreShiftSettingsResponse": {
        "properties": {
          "dailyRegularMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "dailyRegularMinutes",
          "storeId",
          "updatedAt"
        ],
        "type": "object"
      },
      "SubmitInventoryCountEntryRequest": {
        "properties": {
          "countedQuantity": {
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          },
          "idempotencyKey": {
            "minLength": 1,
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "countedQuantity",
          "idempotencyKey",
          "productId",
          "reason"
        ],
        "type": "object"
      },
      "SubmitInventoryCountRecountRequest": {
        "properties": {
          "countedQuantity": {
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          },
          "idempotencyKey": {
            "minLength": 1,
            "type": "string"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "countedQuantity",
          "idempotencyKey",
          "reason"
        ],
        "type": "object"
      },
      "SupplierImportMultipartRequest": {
        "properties": {
          "file": {
            "description": "CSV file containing suppliers to import",
            "format": "binary",
            "type": "string"
          }
        },
        "required": [
          "file"
        ],
        "type": "object"
      },
      "SupplierResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "address": {
            "type": "string"
          },
          "contactEmail": {
            "type": "string"
          },
          "contactPhone": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "paymentTerms": {
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "active"
        ],
        "type": "object"
      },
      "SyncStatus": {
        "enum": [
          "IN_SYNC",
          "POS_ONLY",
          "CASH_ONLY",
          "CARD_CORRELATION_MISSING",
          "GATEWAY_BINDING_UNAVAILABLE",
          "SYNC_PENDING",
          "GATEWAY_UNREACHABLE",
          "ORPHAN_POS"
        ],
        "type": "string"
      },
      "TaxCategory": {
        "enum": [
          "TAXABLE",
          "NON_TAXABLE"
        ],
        "type": "string"
      },
      "TaxConfigResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "appliesToCategory": {
            "type": "string"
          },
          "effectiveFrom": {
            "type": "string"
          },
          "effectiveTo": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string"
          },
          "gatewayLocationId": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "jurisdictionCode": {
            "type": "string"
          },
          "jurisdictionName": {
            "type": "string"
          },
          "jurisdictionType": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "providerCategoryCode": {
            "type": "string"
          },
          "rateAmountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "rateBps": {
            "format": "int32",
            "type": "integer"
          },
          "rateType": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          },
          "scopeId": {
            "type": "string"
          },
          "snapshotExpiresAt": {
            "type": "string"
          },
          "snapshotResolvedAt": {
            "type": "string"
          },
          "snapshotStatus": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "sourceConfigId": {
            "type": "string"
          },
          "storeId": {
            "type": "string"
          },
          "taxBasis": {
            "type": "string"
          },
          "taxConfigRevision": {
            "type": "string"
          }
        },
        "required": [
          "active",
          "effectiveFrom",
          "id",
          "jurisdictionType",
          "priority",
          "rateType",
          "scope",
          "snapshotStatus",
          "source",
          "taxBasis"
        ],
        "type": "object"
      },
      "TaxConfigSnapshotResponse": {
        "properties": {
          "configs": {
            "items": {
              "$ref": "#/components/schemas/TaxConfigResponse"
            },
            "type": "array"
          },
          "expiresAt": {
            "type": "string"
          },
          "taxConfigRevision": {
            "type": "string"
          }
        },
        "required": [
          "configs",
          "expiresAt",
          "taxConfigRevision"
        ],
        "type": "object"
      },
      "TaxLineItem": {
        "properties": {
          "appliesToCategory": {
            "type": "string"
          },
          "jurisdictionCode": {
            "type": "string"
          },
          "jurisdictionName": {
            "type": "string"
          },
          "jurisdictionType": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "rate": {
            "type": "number"
          },
          "rateType": {
            "type": "string"
          },
          "taxBasis": {
            "type": "string"
          },
          "taxCollected": {
            "type": "number"
          },
          "taxableAmount": {
            "type": "number"
          },
          "transactionCount": {
            "format": "int64",
            "type": "integer"
          },
          "unallocatedRefundAmount": {
            "type": "number"
          }
        },
        "required": [
          "jurisdictionType",
          "rate",
          "rateType",
          "taxBasis",
          "taxCollected",
          "taxableAmount",
          "transactionCount"
        ],
        "type": "object"
      },
      "TaxPreviewDestination": {
        "properties": {
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "line1": {
            "type": "string"
          },
          "line2": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "TaxPreviewExemption": {
        "properties": {
          "customerId": {
            "type": "string"
          },
          "jurisdiction": {
            "type": "string"
          },
          "reasonCode": {
            "type": "string"
          }
        },
        "required": [
          "customerId",
          "jurisdiction",
          "reasonCode"
        ],
        "type": "object"
      },
      "TaxPreviewJurisdiction": {
        "properties": {
          "jurisdictionCode": {
            "type": "string"
          },
          "jurisdictionName": {
            "nullable": true,
            "type": "string"
          },
          "jurisdictionType": {
            "type": "string"
          },
          "rate": {
            "nullable": true,
            "type": "number"
          },
          "rateBps": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "taxMinor": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "jurisdictionCode",
          "jurisdictionType",
          "source",
          "taxMinor"
        ],
        "type": "object"
      },
      "TaxPreviewLine": {
        "properties": {
          "amountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "category": {
            "type": "string"
          },
          "categoryId": {
            "type": "string"
          },
          "lineRef": {
            "type": "string"
          },
          "productId": {
            "type": "string"
          },
          "qty": {
            "format": "int32",
            "type": "integer"
          },
          "taxExempt": {
            "type": "boolean"
          }
        },
        "required": [
          "amountMinor"
        ],
        "type": "object"
      },
      "TaxPreviewLineResult": {
        "properties": {
          "categoryId": {
            "nullable": true,
            "type": "string"
          },
          "jurisdictionBreakdown": {
            "items": {
              "$ref": "#/components/schemas/TaxPreviewJurisdiction"
            },
            "nullable": true,
            "type": "array"
          },
          "jurisdictionBreakdownAvailable": {
            "type": "boolean"
          },
          "lineRef": {
            "type": "string"
          },
          "taxMinor": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "jurisdictionBreakdownAvailable",
          "lineRef",
          "taxMinor"
        ],
        "type": "object"
      },
      "TaxPreviewRequest": {
        "properties": {
          "customerId": {
            "type": "string"
          },
          "destination": {
            "$ref": "#/components/schemas/TaxPreviewDestination"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/TaxPreviewLine"
            },
            "minItems": 1,
            "type": "array"
          },
          "situsMode": {
            "type": "string"
          }
        },
        "required": [
          "lines"
        ],
        "type": "object"
      },
      "TaxPreviewResponse": {
        "properties": {
          "exemptionsApplied": {
            "items": {
              "$ref": "#/components/schemas/TaxPreviewExemption"
            },
            "type": "array"
          },
          "jurisdictionBreakdown": {
            "items": {
              "$ref": "#/components/schemas/TaxPreviewJurisdiction"
            },
            "type": "array"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/TaxPreviewLineResult"
            },
            "type": "array"
          },
          "quoteExpiresAt": {
            "type": "string"
          },
          "quoteHash": {
            "type": "string"
          },
          "quoteRevision": {
            "type": "string"
          },
          "totalTaxMinor": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "exemptionsApplied",
          "jurisdictionBreakdown",
          "lines",
          "quoteExpiresAt",
          "quoteHash",
          "quoteRevision",
          "totalTaxMinor"
        ],
        "type": "object"
      },
      "TaxRateResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "code": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "effectiveFrom": {
            "format": "date",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "jurisdiction": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "rate": {
            "type": "number"
          },
          "scope": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "active",
          "code",
          "createdAt",
          "effectiveFrom",
          "id",
          "jurisdiction",
          "name",
          "rate",
          "scope",
          "updatedAt"
        ],
        "type": "object"
      },
      "TaxReportResponse": {
        "properties": {
          "from": {
            "format": "date-time",
            "type": "string"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "lineItems": {
            "items": {
              "$ref": "#/components/schemas/TaxLineItem"
            },
            "type": "array"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "to": {
            "format": "date-time",
            "type": "string"
          },
          "totalTaxCollected": {
            "type": "number"
          },
          "totalTaxableAmount": {
            "type": "number"
          },
          "unallocatedRefundTotal": {
            "type": "number"
          }
        },
        "required": [
          "from",
          "generatedAt",
          "lineItems",
          "storeId",
          "to",
          "totalTaxCollected",
          "totalTaxableAmount",
          "unallocatedRefundTotal"
        ],
        "type": "object"
      },
      "TaxSummaryResponse": {
        "properties": {
          "from": {
            "format": "date-time",
            "type": "string"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "jurisdictionCount": {
            "format": "int32",
            "type": "integer"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "to": {
            "format": "date-time",
            "type": "string"
          },
          "totalTaxCollected": {
            "type": "number"
          },
          "totalTaxableAmount": {
            "type": "number"
          },
          "unallocatedRefundTotal": {
            "type": "number"
          }
        },
        "required": [
          "from",
          "generatedAt",
          "jurisdictionCount",
          "storeId",
          "to",
          "totalTaxCollected",
          "totalTaxableAmount",
          "unallocatedRefundTotal"
        ],
        "type": "object"
      },
      "TaxType": {
        "enum": [
          "SALES_TAX",
          "VAT",
          "GST"
        ],
        "type": "string"
      },
      "TemplateImageMigrationResult": {
        "properties": {
          "imagesRemoved": {
            "format": "int32",
            "type": "integer"
          },
          "imagesStored": {
            "format": "int32",
            "type": "integer"
          },
          "templatesChanged": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "imagesRemoved",
          "imagesStored",
          "templatesChanged"
        ],
        "type": "object"
      },
      "TerminalDeprovisionOperationResponse": {
        "properties": {
          "blockedReason": {
            "type": "string"
          },
          "operationId": {
            "format": "uuid",
            "type": "string"
          },
          "removalRequested": {
            "type": "boolean"
          },
          "status": {
            "$ref": "#/components/schemas/TerminalDeprovisionStatus"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "operationId",
          "status",
          "terminalId"
        ],
        "type": "object"
      },
      "TerminalDeprovisionStatus": {
        "enum": [
          "QUIESCE_REQUESTED",
          "BLOCKED",
          "DEVICE_READY",
          "REVOKING",
          "FAILED",
          "COMPLETED",
          "CANCELLED"
        ],
        "type": "string"
      },
      "TerminalDeviceManufacturer": {
        "enum": [
          "nexgo",
          "landi",
          "samsung",
          "android",
          "apple_tap_to_pay",
          "other"
        ],
        "type": "string"
      },
      "TerminalPriceOverrideResponse": {
        "properties": {
          "priceCents": {
            "format": "int64",
            "type": "integer"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "priceCents",
          "terminalId"
        ],
        "type": "object"
      },
      "TerminalWithPaymentConfigResponse": {
        "properties": {
          "paymentConfig": {
            "$ref": "#/components/schemas/ManagementPaymentConfigResponse"
          },
          "terminal": {
            "$ref": "#/components/schemas/ManagementTerminalResponse"
          }
        },
        "type": "object"
      },
      "TextBlockField": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FormField"
          },
          {
            "properties": {
              "text": {
                "type": "string"
              }
            },
            "type": "object"
          }
        ],
        "required": [
          "id",
          "text"
        ],
        "type": "object"
      },
      "TicketItemResponse": {
        "properties": {
          "bumpedAt": {
            "format": "date-time",
            "type": "string"
          },
          "bumpedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "coursePhase": {
            "type": "string"
          },
          "isPrimaryStation": {
            "type": "boolean"
          },
          "modifiersJson": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "specialRequests": {
            "type": "string"
          },
          "stationId": {
            "format": "uuid",
            "type": "string"
          },
          "ticketItemId": {
            "format": "uuid",
            "type": "string"
          },
          "voidedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "coursePhase",
          "isPrimaryStation",
          "productId",
          "quantity",
          "stationId",
          "ticketItemId"
        ],
        "type": "object"
      },
      "TicketLifecycleActionRequest": {
        "properties": {
          "actorUserId": {
            "format": "uuid",
            "type": "string"
          },
          "stationId": {
            "format": "uuid",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "storeId"
        ],
        "type": "object"
      },
      "TicketResponse": {
        "properties": {
          "coursingMode": {
            "type": "string"
          },
          "expeditorNotes": {
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/TicketItemResponse"
            },
            "type": "array"
          },
          "openedAt": {
            "format": "date-time",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "origin": {
            "type": "string"
          },
          "partyId": {
            "format": "uuid",
            "type": "string"
          },
          "readyAt": {
            "format": "date-time",
            "type": "string"
          },
          "sentAt": {
            "format": "date-time",
            "type": "string"
          },
          "servedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "tabId": {
            "format": "uuid",
            "type": "string"
          },
          "tableId": {
            "format": "uuid",
            "type": "string"
          },
          "ticketId": {
            "format": "uuid",
            "type": "string"
          },
          "ticketNumber": {
            "format": "int32",
            "type": "integer"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "coursingMode",
          "items",
          "openedAt",
          "orgId",
          "origin",
          "status",
          "storeId",
          "ticketId",
          "ticketNumber"
        ],
        "type": "object"
      },
      "TierResponse": {
        "properties": {
          "features": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "tier": {
            "type": "string"
          }
        },
        "required": [
          "features",
          "tier"
        ],
        "type": "object"
      },
      "TimeOffDetails": {
        "properties": {
          "endDate": {
            "format": "date",
            "nullable": true,
            "type": "string"
          },
          "endTime": {
            "nullable": true,
            "type": "string"
          },
          "mode": {
            "type": "string"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "startDate": {
            "format": "date",
            "type": "string"
          },
          "startTime": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "mode",
          "startDate"
        ],
        "type": "object"
      },
      "TimeOffInput": {
        "properties": {
          "endDate": {
            "format": "date",
            "nullable": true,
            "type": "string"
          },
          "endTime": {
            "nullable": true,
            "type": "string"
          },
          "mode": {
            "type": "string"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "startDate": {
            "format": "date",
            "type": "string"
          },
          "startTime": {
            "nullable": true,
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "mode",
          "startDate",
          "userId"
        ],
        "type": "object"
      },
      "TimeOffOverride": {
        "properties": {
          "reason": {
            "type": "string"
          },
          "requestIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "reason",
          "requestIds"
        ],
        "type": "object"
      },
      "TimeOffResponse": {
        "properties": {
          "endAt": {
            "format": "date-time",
            "type": "string"
          },
          "endDate": {
            "format": "date",
            "nullable": true,
            "type": "string"
          },
          "endTime": {
            "nullable": true,
            "type": "string"
          },
          "mode": {
            "type": "string"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          },
          "reviewedAt": {
            "format": "date-time",
            "type": "string"
          },
          "reviewedBy": {
            "format": "uuid",
            "type": "string"
          },
          "startAt": {
            "format": "date-time",
            "type": "string"
          },
          "startDate": {
            "format": "date",
            "type": "string"
          },
          "startTime": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          },
          "version": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "endAt",
          "mode",
          "requestId",
          "reviewedAt",
          "reviewedBy",
          "startAt",
          "startDate",
          "status",
          "storeId",
          "timezone",
          "userId",
          "version"
        ],
        "type": "object"
      },
      "TimeOffShiftRequestPayload": {
        "properties": {
          "requestType": {
            "enum": [
              "time_off"
            ],
            "type": "string"
          },
          "timeOff": {
            "$ref": "#/components/schemas/TimeOffDetails"
          }
        },
        "required": [
          "requestType",
          "timeOff"
        ],
        "type": "object"
      },
      "TimezoneRequest": {
        "properties": {
          "timezone": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "timezone"
        ],
        "type": "object"
      },
      "TopCustomer": {
        "properties": {
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "totalPoints": {
            "format": "int64",
            "type": "integer"
          },
          "totalSpend": {
            "type": "number"
          },
          "visitCount": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "customerId",
          "totalPoints",
          "totalSpend",
          "visitCount"
        ],
        "type": "object"
      },
      "TopProductResponse": {
        "properties": {
          "name": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "totalQuantity": {
            "format": "int64",
            "type": "integer"
          },
          "totalRevenue": {
            "type": "number"
          }
        },
        "required": [
          "name",
          "totalQuantity",
          "totalRevenue"
        ],
        "type": "object"
      },
      "TotalsEntry": {
        "properties": {
          "discountsApplied": {
            "type": "number"
          },
          "netSales": {
            "type": "number"
          },
          "nonTaxedSales": {
            "type": "number"
          },
          "paymentBreakdown": {
            "$ref": "#/components/schemas/PaymentBreakdown"
          },
          "refundTotal": {
            "type": "number"
          },
          "taxCollected": {
            "type": "number"
          },
          "taxedSales": {
            "type": "number"
          },
          "totalSales": {
            "type": "number"
          },
          "transactionCount": {
            "format": "int32",
            "type": "integer"
          },
          "unallocatedRefundTotal": {
            "type": "number"
          }
        },
        "required": [
          "transactionCount"
        ],
        "type": "object"
      },
      "TransactionActionAvailability": {
        "properties": {
          "canRefund": {
            "type": "boolean"
          },
          "canVoid": {
            "type": "boolean"
          },
          "captureAvailable": {
            "type": "boolean"
          },
          "reasons": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "returnAvailable": {
            "type": "boolean"
          },
          "tipAdjustAvailable": {
            "type": "boolean"
          }
        },
        "required": [
          "canRefund",
          "canVoid",
          "captureAvailable",
          "reasons",
          "returnAvailable",
          "tipAdjustAvailable"
        ],
        "type": "object"
      },
      "TransactionDashboardError": {
        "properties": {
          "code": {
            "type": "string"
          },
          "correlationId": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "details": {
            "$ref": "#/components/schemas/ErrorDetails"
          },
          "fieldErrors": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "gatewayErrorCode": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "retryable": {
            "type": "boolean"
          },
          "status": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "TransactionDashboardResponse": {
        "properties": {
          "hourlySales": {
            "$ref": "#/components/schemas/TransactionDashboardSectionListHourlySalesResponse"
          },
          "paymentBreakdown": {
            "$ref": "#/components/schemas/TransactionDashboardSectionListPaymentMethodBreakdown"
          },
          "sales": {
            "$ref": "#/components/schemas/TransactionDashboardSectionTransactionDashboardSales"
          },
          "statusBreakdown": {
            "$ref": "#/components/schemas/TransactionDashboardSectionListTransactionStatusBreakdown"
          }
        },
        "required": [
          "hourlySales",
          "paymentBreakdown",
          "sales",
          "statusBreakdown"
        ],
        "type": "object"
      },
      "TransactionDashboardSales": {
        "properties": {
          "dailySales": {
            "items": {
              "$ref": "#/components/schemas/DailySalesResponse"
            },
            "type": "array"
          },
          "summary": {
            "$ref": "#/components/schemas/TransactionSummaryResponse"
          }
        },
        "required": [
          "dailySales",
          "summary"
        ],
        "type": "object"
      },
      "TransactionDashboardSectionListHourlySalesResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/HourlySalesResponse"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/TransactionDashboardError"
          }
        },
        "type": "object"
      },
      "TransactionDashboardSectionListPaymentMethodBreakdown": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/PaymentMethodBreakdown"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/TransactionDashboardError"
          }
        },
        "type": "object"
      },
      "TransactionDashboardSectionListTransactionStatusBreakdown": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TransactionStatusBreakdown"
            },
            "type": "array"
          },
          "error": {
            "$ref": "#/components/schemas/TransactionDashboardError"
          }
        },
        "type": "object"
      },
      "TransactionDashboardSectionTransactionDashboardSales": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/TransactionDashboardSales"
          },
          "error": {
            "$ref": "#/components/schemas/TransactionDashboardError"
          }
        },
        "type": "object"
      },
      "TransactionDetailResponse": {
        "properties": {
          "actionAvailability": {
            "$ref": "#/components/schemas/TransactionActionAvailability"
          },
          "amountPaidCard": {
            "type": "number"
          },
          "amountPaidCash": {
            "type": "number"
          },
          "amountPaidGiftCard": {
            "type": "number"
          },
          "cardAuthorizations": {
            "items": {
              "$ref": "#/components/schemas/CardAuthorizationResponse"
            },
            "type": "array"
          },
          "changeDue": {
            "type": "number"
          },
          "customerFirstName": {
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "customerLastName": {
            "type": "string"
          },
          "datetime": {
            "format": "date-time",
            "type": "string"
          },
          "discountTotal": {
            "type": "number"
          },
          "feeAmount": {
            "type": "number"
          },
          "gatewayTransactionId": {
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/TransactionItemDetailResponse"
            },
            "type": "array"
          },
          "loyaltyDiscountAmount": {
            "type": "number"
          },
          "loyaltyPointsEarned": {
            "format": "int32",
            "type": "integer"
          },
          "loyaltyPointsRedeemed": {
            "format": "int32",
            "type": "integer"
          },
          "loyaltyRewardName": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "parentTransactionId": {
            "format": "uuid",
            "type": "string"
          },
          "paymentMethod": {
            "type": "string"
          },
          "processorReferenceId": {
            "type": "string"
          },
          "promotionAllocations": {
            "items": {
              "$ref": "#/components/schemas/TransactionPromotionAllocationResponse"
            },
            "type": "array"
          },
          "refundEligibility": {
            "$ref": "#/components/schemas/RefundEligibilityResponse"
          },
          "returnCustomerId": {
            "format": "uuid",
            "type": "string"
          },
          "settlementBatchId": {
            "type": "string"
          },
          "settlementState": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "subtotal": {
            "type": "number"
          },
          "taxApplied": {
            "type": "number"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalName": {
            "type": "string"
          },
          "tipAdjustmentVersion": {
            "format": "int64",
            "nullable": true,
            "type": "integer"
          },
          "tipAmount": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          },
          "transactionRef": {
            "format": "int32",
            "type": "integer"
          },
          "transactionType": {
            "type": "string"
          },
          "userFirstName": {
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          },
          "userLastName": {
            "type": "string"
          }
        },
        "required": [
          "actionAvailability",
          "cardAuthorizations",
          "items",
          "promotionAllocations",
          "transactionRef"
        ],
        "type": "object"
      },
      "TransactionItemDetailResponse": {
        "properties": {
          "barcode": {
            "type": "string"
          },
          "discountAmount": {
            "type": "number"
          },
          "ebtEligible": {
            "type": "boolean"
          },
          "itemId": {
            "format": "uuid",
            "type": "string"
          },
          "lineTax": {
            "type": "number"
          },
          "lineTotal": {
            "type": "number"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "unitPrice": {
            "type": "number"
          }
        },
        "required": [
          "discountAmount",
          "ebtEligible",
          "itemId",
          "lineTax",
          "lineTotal",
          "productName",
          "quantity",
          "unitPrice"
        ],
        "type": "object"
      },
      "TransactionPromotionAllocationResponse": {
        "properties": {
          "allocationId": {
            "format": "uuid",
            "type": "string"
          },
          "allocationInstance": {
            "format": "int32",
            "type": "integer"
          },
          "components": {
            "items": {
              "$ref": "#/components/schemas/TransactionPromotionComponentResponse"
            },
            "type": "array"
          },
          "currency": {
            "type": "string"
          },
          "fixedTotal": {
            "type": "number"
          },
          "promotionId": {
            "format": "uuid",
            "type": "string"
          },
          "promotionName": {
            "type": "string"
          },
          "promotionType": {
            "type": "string"
          },
          "promotionVersionId": {
            "format": "uuid",
            "type": "string"
          },
          "savings": {
            "type": "number"
          }
        },
        "required": [
          "allocationId",
          "allocationInstance",
          "components",
          "currency",
          "fixedTotal",
          "promotionId",
          "promotionName",
          "promotionType",
          "promotionVersionId",
          "savings"
        ],
        "type": "object"
      },
      "TransactionPromotionComponentResponse": {
        "properties": {
          "discountAmount": {
            "type": "number"
          },
          "paidAmount": {
            "type": "number"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "roundingRank": {
            "format": "int32",
            "type": "integer"
          },
          "taxAmount": {
            "type": "number"
          },
          "transactionItemId": {
            "format": "uuid",
            "type": "string"
          },
          "upc": {
            "type": "string"
          }
        },
        "required": [
          "discountAmount",
          "paidAmount",
          "productId",
          "productName",
          "quantity",
          "roundingRank",
          "taxAmount",
          "transactionItemId"
        ],
        "type": "object"
      },
      "TransactionResponse": {
        "properties": {
          "actionAvailability": {
            "$ref": "#/components/schemas/TransactionActionAvailability"
          },
          "amountPaidCard": {
            "type": "number"
          },
          "amountPaidCash": {
            "type": "number"
          },
          "amountPaidGiftCard": {
            "type": "number"
          },
          "changeDue": {
            "type": "number"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "datetime": {
            "format": "date-time",
            "type": "string"
          },
          "discountTotal": {
            "type": "number"
          },
          "externalAuthProvider": {
            "type": "string"
          },
          "feeAmount": {
            "type": "number"
          },
          "gatewayTransactionId": {
            "type": "string"
          },
          "loyaltyDiscountAmount": {
            "type": "number"
          },
          "loyaltyPointsRedeemed": {
            "format": "int32",
            "type": "integer"
          },
          "loyaltyRewardName": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "parentTransactionId": {
            "format": "uuid",
            "type": "string"
          },
          "paymentMethod": {
            "type": "string"
          },
          "processorReferenceId": {
            "type": "string"
          },
          "receiptRenderedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "subtotal": {
            "type": "number"
          },
          "taxApplied": {
            "type": "number"
          },
          "terminalId": {
            "format": "uuid",
            "type": "string"
          },
          "terminalReason": {
            "type": "string"
          },
          "tipAmount": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          },
          "transactionRef": {
            "format": "int32",
            "type": "integer"
          },
          "transactionType": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          },
          "voidObservation": {
            "$ref": "#/components/schemas/CardVoidObservation"
          }
        },
        "required": [
          "actionAvailability",
          "transactionRef"
        ],
        "type": "object"
      },
      "TransactionStatusBreakdown": {
        "properties": {
          "category": {
            "type": "string"
          },
          "count": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "category",
          "count"
        ],
        "type": "object"
      },
      "TransactionSummaryResponse": {
        "properties": {
          "averageTransaction": {
            "type": "number"
          },
          "endDate": {
            "format": "date-time",
            "type": "string"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "totalDiscounts": {
            "type": "number"
          },
          "totalSales": {
            "type": "number"
          },
          "totalTax": {
            "type": "number"
          },
          "transactionCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "transactionCount"
        ],
        "type": "object"
      },
      "TransferInventoryRequest": {
        "properties": {
          "destinationStoreId": {
            "format": "uuid",
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "destinationStoreId",
          "productId",
          "quantity"
        ],
        "type": "object"
      },
      "TransferItem": {
        "properties": {
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "productId",
          "quantity"
        ],
        "type": "object"
      },
      "TransferItemResponse": {
        "properties": {
          "barcode": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "receivedQty": {
            "format": "int32",
            "type": "integer"
          },
          "remainingQuantity": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "quantity",
          "remainingQuantity"
        ],
        "type": "object"
      },
      "TriggerLogRecord": {
        "properties": {
          "customerId": {
            "format": "uuid",
            "type": "string"
          },
          "deliveryStatus": {
            "type": "string"
          },
          "logId": {
            "format": "uuid",
            "type": "string"
          },
          "messageSent": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "sentAt": {
            "format": "date-time",
            "type": "string"
          },
          "triggerId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "customerId",
          "deliveryStatus",
          "logId",
          "messageSent",
          "phoneNumber",
          "sentAt",
          "triggerId"
        ],
        "type": "object"
      },
      "TriggerResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "categoryId": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "orgId": {
            "type": "string"
          },
          "programId": {
            "type": "string"
          },
          "rewardIds": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "threshold": {
            "format": "double",
            "type": "number"
          },
          "triggerType": {
            "$ref": "#/components/schemas/TriggerType"
          }
        },
        "required": [
          "active",
          "id",
          "orgId",
          "programId",
          "rewardIds",
          "threshold",
          "triggerType"
        ],
        "type": "object"
      },
      "TriggerType": {
        "enum": [
          "TRANSACTION_AMOUNT",
          "CATEGORY_SPEND",
          "VISIT_COUNT",
          "PURCHASE_COUNT"
        ],
        "type": "string"
      },
      "UnifiedTransactionDto": {
        "properties": {
          "amount": {
            "$ref": "#/components/schemas/Money"
          },
          "authCode": {
            "type": "string"
          },
          "channel": {
            "$ref": "#/components/schemas/Channel"
          },
          "correlationIds": {
            "$ref": "#/components/schemas/CorrelationIds"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "customer": {
            "$ref": "#/components/schemas/CustomerLink"
          },
          "id": {
            "type": "string"
          },
          "payment": {
            "$ref": "#/components/schemas/PaymentDetail"
          },
          "paymentMethod": {
            "type": "string"
          },
          "processorReferenceId": {
            "type": "string"
          },
          "retail": {
            "$ref": "#/components/schemas/RetailDetail"
          },
          "status": {
            "type": "string"
          },
          "syncStatus": {
            "$ref": "#/components/schemas/SyncStatus"
          }
        },
        "required": [
          "amount",
          "channel",
          "correlationIds",
          "createdAt",
          "id",
          "status",
          "syncStatus"
        ],
        "type": "object"
      },
      "UnifiedTransactionsResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/UnifiedTransactionDto"
            },
            "type": "array"
          },
          "degraded": {
            "type": "boolean"
          },
          "degradedReason": {
            "type": "string"
          },
          "hasMore": {
            "type": "boolean"
          },
          "nextCursor": {
            "type": "string"
          }
        },
        "required": [
          "data",
          "degraded",
          "hasMore"
        ],
        "type": "object"
      },
      "UpdateAccountOrganizationLocationRequest": {
        "properties": {
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "line1": {
            "type": "string"
          },
          "line2": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "region": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateAccountPlanSettingsRequest": {
        "properties": {
          "assignedModules": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "businessVertical": {
            "type": "string"
          },
          "excludedModules": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "UpdateAccountProductRequest": {
        "properties": {
          "notes": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "tier": {
            "description": "Selected add-on tier. Null/omitted retains the existing tier. PeakForms defaults new or untiered entitlements to standard and repairs omitted legacy invalid tiers when removing access. Explicit blank or unsupported tiers, or activating unsupported stored tiers, are rejected.",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateAccountPurchaseOrderLineRequest": {
        "properties": {
          "description": {
            "type": "string"
          },
          "enforceSupplierAssociation": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "inventoryItemId": {
            "format": "uuid",
            "type": "string"
          },
          "orderedQuantity": {
            "type": "string"
          },
          "supplierSku": {
            "type": "string"
          },
          "unitCost": {
            "$ref": "#/components/schemas/AccountPurchaseOrderMoneyRequest"
          }
        },
        "required": [
          "description",
          "enforceSupplierAssociation",
          "inventoryItemId",
          "orderedQuantity",
          "unitCost"
        ],
        "type": "object"
      },
      "UpdateAccountPurchaseOrderRequest": {
        "properties": {
          "currency": {
            "type": "string"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/UpdateAccountPurchaseOrderLineRequest"
            },
            "type": "array"
          },
          "notes": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "currency",
          "lines",
          "storeId",
          "supplierId"
        ],
        "type": "object"
      },
      "UpdateActionInboxTaskRequest": {
        "properties": {
          "assignedTo": {
            "format": "uuid",
            "type": "string"
          },
          "dueAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateAdvertisementRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "adType": {
            "minLength": 1,
            "type": "string"
          },
          "contentType": {
            "type": "string"
          },
          "dailyEndTime": {
            "format": "time-local",
            "type": "string"
          },
          "dailyStartTime": {
            "format": "time-local",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "endDate": {
            "format": "date",
            "type": "string"
          },
          "fullScreen": {
            "type": "boolean"
          },
          "imageFit": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string"
          },
          "linkUrl": {
            "type": "string"
          },
          "placement": {
            "minLength": 1,
            "type": "string"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "showSpecialOffer": {
            "type": "boolean"
          },
          "startDate": {
            "format": "date",
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "targetGroupIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "targetStoreIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "active",
          "adType",
          "placement",
          "priority",
          "targetGroupIds",
          "targetStoreIds"
        ],
        "type": "object"
      },
      "UpdateAgentPortalUserRequest": {
        "properties": {
          "role": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "role"
        ],
        "type": "object"
      },
      "UpdateAppointmentCheckoutItemsRequest": {
        "properties": {
          "expectedRevision": {
            "format": "int64",
            "type": "integer"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/AppointmentCheckoutItemRequest"
            },
            "type": "array"
          }
        },
        "required": [
          "expectedRevision",
          "items"
        ],
        "type": "object"
      },
      "UpdateAppointmentDetailsRequest": {
        "properties": {
          "clearCustomerAsset": {
            "type": "boolean"
          },
          "customFieldValues": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "customerAssetId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "clearCustomerAsset",
          "customFieldValues"
        ],
        "type": "object"
      },
      "UpdateAppointmentEnhancementsRequest": {
        "properties": {
          "customerConsentConfirmed": {
            "type": "boolean"
          },
          "expectedDurationMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "expectedTotalPrice": {
            "type": "number"
          },
          "expectedUpdatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "modifierIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "customerConsentConfirmed",
          "expectedDurationMinutes",
          "expectedTotalPrice",
          "expectedUpdatedAt",
          "modifierIds"
        ],
        "type": "object"
      },
      "UpdateCategoryRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "over18": {
            "type": "boolean"
          },
          "over21": {
            "type": "boolean"
          },
          "parentId": {
            "format": "uuid",
            "type": "string"
          },
          "provider": {
            "maxLength": 64,
            "minLength": 0,
            "type": "string"
          },
          "providerCode": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "slug": {
            "minLength": 1,
            "type": "string"
          },
          "sortOrder": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "active",
          "name",
          "slug"
        ],
        "type": "object"
      },
      "UpdateCloseoutExceptionRequest": {
        "properties": {
          "assignToMe": {
            "type": "boolean"
          },
          "disposition": {
            "type": "string"
          },
          "expectedVersion": {
            "format": "int64",
            "type": "integer"
          },
          "notes": {
            "type": "string"
          },
          "ownerUserId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "assignToMe"
        ],
        "type": "object"
      },
      "UpdateConversationRequest": {
        "properties": {
          "clientCommandId": {
            "format": "uuid",
            "type": "string"
          },
          "expectedSyncVersion": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/ConversationStatus"
          },
          "title": {
            "maxLength": 120,
            "minLength": 0,
            "type": "string"
          }
        },
        "required": [
          "clientCommandId",
          "expectedSyncVersion"
        ],
        "type": "object"
      },
      "UpdateCredentialProfileRequestDto": {
        "properties": {
          "acceptsAch": {
            "type": "boolean"
          },
          "acceptsCardNotPresent": {
            "type": "boolean"
          },
          "acceptsCardPresent": {
            "type": "boolean"
          },
          "credentialPayload": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "integrationDepth": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "processorPlatform": {
            "type": "string"
          },
          "processorType": {
            "type": "string"
          },
          "transactionKey": {
            "type": "string"
          },
          "transitDeviceId": {
            "type": "string"
          },
          "transitMerchantId": {
            "type": "string"
          },
          "transitUserId": {
            "type": "string"
          },
          "transitVNumber": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateCustomFieldDefinitionRequest": {
        "properties": {
          "helpText": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "options": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "required": {
            "type": "boolean"
          },
          "searchable": {
            "type": "boolean"
          },
          "serviceIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "showInPublicBooking": {
            "type": "boolean"
          },
          "sortOrder": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "label",
          "options",
          "required",
          "searchable",
          "serviceIds",
          "showInPublicBooking",
          "sortOrder"
        ],
        "type": "object"
      },
      "UpdateCustomFieldSettingsDefinitionRequest": {
        "properties": {
          "helpText": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "options": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "required": {
            "type": "boolean"
          },
          "searchable": {
            "type": "boolean"
          },
          "serviceIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "showInPublicBooking": {
            "type": "boolean"
          },
          "sortOrder": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "label",
          "options",
          "required",
          "searchable",
          "serviceIds",
          "showInPublicBooking",
          "sortOrder"
        ],
        "type": "object"
      },
      "UpdateCustomerRequest": {
        "properties": {
          "billingAddress": {
            "type": "string"
          },
          "businessName": {
            "description": "Optional business identity. Omission or null retains the stored name; clearFields containing businessName clears it.",
            "nullable": true,
            "type": "string"
          },
          "clearFields": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "uniqueItems": true
          },
          "dateOfBirth": {
            "format": "date",
            "type": "string"
          },
          "defaultCurrency": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "emailMarketingConsentRequestAuthorized": {
            "type": "boolean"
          },
          "expectedUpdatedAt": {
            "description": "Optional exact updatedAt value from the loaded customer. Omission or null preserves legacy unconditional updates. A stale value rejects the entire write with 409 CUSTOMER_PROFILE_CHANGED and the current authorized customer; preserve the timestamp string without rounding.",
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "licenseExpiry": {
            "format": "date",
            "type": "string"
          },
          "licenseNumber": {
            "type": "string"
          },
          "licenseState": {
            "type": "string"
          },
          "loyaltyId": {
            "type": "string"
          },
          "paymentTerms": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          }
        },
        "required": [
          "clearFields",
          "emailMarketingConsentRequestAuthorized"
        ],
        "type": "object"
      },
      "UpdateEmployeeDepartmentRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "name": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateFormTemplateRequest": {
        "properties": {
          "definition": {
            "$ref": "#/components/schemas/FormDefinition"
          },
          "expectedRevision": {
            "description": "Revision last read by the editor",
            "format": "int64",
            "minimum": 1,
            "type": "integer"
          },
          "frequency": {
            "enum": [
              "every_appointment",
              "once",
              "once_per_version"
            ],
            "type": "string"
          },
          "validForDays": {
            "format": "int32",
            "maximum": 3650.0,
            "minimum": 1,
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "definition",
          "expectedRevision",
          "frequency"
        ],
        "type": "object"
      },
      "UpdateGatewayLocationRequestDto": {
        "properties": {
          "addressCity": {
            "type": "string"
          },
          "addressLine1": {
            "type": "string"
          },
          "addressState": {
            "type": "string"
          },
          "addressZip": {
            "type": "string"
          },
          "businessName": {
            "type": "string"
          },
          "contactEmail": {
            "type": "string"
          },
          "dba": {
            "type": "string"
          },
          "externalId": {
            "type": "string"
          },
          "industryType": {
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "UpdateGatewayMerchantRequest": {
        "properties": {
          "payload": {
            "additionalProperties": true,
            "type": "object"
          }
        },
        "type": "object"
      },
      "UpdateGatewayMerchantStatusRequest": {
        "properties": {
          "payload": {
            "additionalProperties": true,
            "type": "object"
          }
        },
        "type": "object"
      },
      "UpdateGatewayOrganizationRequest": {
        "properties": {
          "contactEmail": {
            "type": "string"
          },
          "contactName": {
            "type": "string"
          },
          "contactPhone": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "externalId": {
            "type": "string"
          },
          "legalName": {
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "UpdateGatewaySettlementRequest": {
        "properties": {
          "autoSettleTime": {
            "minLength": 1,
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "timezone": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "autoSettleTime",
          "enabled",
          "timezone"
        ],
        "type": "object"
      },
      "UpdateGatewayTaxConfigRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "appliesToCategory": {
            "type": "string"
          },
          "effectiveFrom": {
            "type": "string"
          },
          "effectiveTo": {
            "type": "string"
          },
          "jurisdictionCode": {
            "type": "string"
          },
          "jurisdictionName": {
            "type": "string"
          },
          "jurisdictionType": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "rateAmountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "rateBps": {
            "format": "int32",
            "type": "integer"
          },
          "rateType": {
            "type": "string"
          },
          "taxBasis": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateGeofenceRequest": {
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "fenceName": {
            "type": "string"
          },
          "latitude": {
            "format": "double",
            "type": "number"
          },
          "longitude": {
            "format": "double",
            "type": "number"
          },
          "radiusMeters": {
            "format": "double",
            "type": "number"
          }
        },
        "type": "object"
      },
      "UpdateHouseholdMemberRequest": {
        "properties": {
          "primary": {
            "type": "boolean"
          },
          "relationship": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateHouseholdRequest": {
        "properties": {
          "addressNormalized": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "primaryCustomerId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateInventoryCountPolicyRequest": {
        "properties": {
          "approvalRequired": {
            "type": "boolean"
          },
          "recountThresholdCost": {
            "type": "string"
          },
          "recountThresholdUnits": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "approvalRequired"
        ],
        "type": "object"
      },
      "UpdateInventoryThresholdsRequest": {
        "properties": {
          "parLevel": {
            "format": "int32",
            "type": "integer"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "reorderPoint": {
            "format": "int32",
            "type": "integer"
          },
          "reorderQty": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "UpdateInvoiceConfigurationTemplateRequest": {
        "properties": {
          "config": {
            "$ref": "#/components/schemas/InvoiceConfigurationTemplateConfig"
          },
          "expectedVersion": {
            "format": "int64",
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "config",
          "expectedVersion",
          "name"
        ],
        "type": "object"
      },
      "UpdateLossPreventionIncidentReviewRequest": {
        "properties": {
          "ownerUserId": {
            "format": "uuid",
            "type": "string"
          },
          "resolutionNote": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "UpdateOrderStatusRequest": {
        "properties": {
          "changedBy": {
            "type": "string"
          },
          "status": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "UpdateOrgRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "ein": {
            "type": "string"
          },
          "hqLocation": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "timeOffset": {
            "format": "int32",
            "type": "integer"
          },
          "timeZone": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateOrgUserRequest": {
        "properties": {
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "reason",
          "storeId"
        ],
        "type": "object"
      },
      "UpdatePipelineRequest": {
        "properties": {
          "ein": {
            "type": "string"
          },
          "hqLocation": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "orgName": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateProductRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "alwaysTaxExempt": {
            "type": "boolean"
          },
          "barcode": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "bottleDepositAmount": {
            "type": "number"
          },
          "categoryId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "clearCategory": {
            "type": "boolean"
          },
          "containerQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "cost": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "ebtEligible": {
            "type": "boolean"
          },
          "expectedGatewayProductId": {
            "nullable": true,
            "type": "string"
          },
          "expectedGatewaySyncVersion": {
            "exclusiveMinimum": true,
            "format": "int64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "inheritCategoryAgeRestriction": {
            "type": "boolean"
          },
          "name": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "over18": {
            "type": "boolean"
          },
          "over21": {
            "type": "boolean"
          },
          "price": {
            "type": "number"
          },
          "productType": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string"
          },
          "requiresSerial": {
            "type": "boolean"
          },
          "sku": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "taxRate": {
            "deprecated": true,
            "description": "Ignored compatibility input. Category tax determines all effective and charged rates.",
            "type": "number"
          },
          "unitCostCurrency": {
            "type": "string"
          }
        },
        "required": [
          "clearCategory",
          "cost",
          "name",
          "price",
          "productType"
        ],
        "type": "object"
      },
      "UpdatePromotionRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "allowsOverlap": {
            "type": "boolean"
          },
          "appliesToAllStores": {
            "type": "boolean"
          },
          "bundleComponents": {
            "items": {
              "$ref": "#/components/schemas/BundlePromotionComponentRequest"
            },
            "type": "array"
          },
          "buyQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "categoryIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "codes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "currency": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "discountValue": {
            "type": "number"
          },
          "endDate": {
            "format": "date-time",
            "type": "string"
          },
          "getQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "maxUsesPerTransaction": {
            "format": "int32",
            "type": "integer"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "productIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "promotionType": {
            "minLength": 1,
            "type": "string"
          },
          "rewardProductIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "storeIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "active",
          "appliesToAllStores",
          "buyQuantity",
          "endDate",
          "getQuantity",
          "name",
          "promotionType",
          "startDate"
        ],
        "type": "object"
      },
      "UpdateRuleRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "appliesToAll": {
            "type": "boolean"
          },
          "depositAmount": {
            "format": "double",
            "type": "number"
          },
          "name": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateScheduledReportRequest": {
        "properties": {
          "configJson": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "frequency": {
            "type": "string"
          },
          "recipients": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "reportType": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateShiftAssignedRequest": {
        "properties": {
          "breakMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "date": {
            "format": "date",
            "type": "string"
          },
          "endTime": {
            "type": "string"
          },
          "expectedVersion": {
            "type": "string"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "roleKey": {
            "type": "string"
          },
          "shiftBlockId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "startTime": {
            "type": "string"
          },
          "timeOffOverride": {
            "$ref": "#/components/schemas/TimeOffOverride",
            "nullable": true
          },
          "timezone": {
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "breakMinutes",
          "date",
          "endTime",
          "expectedVersion",
          "roleKey",
          "startTime",
          "timezone",
          "userId"
        ],
        "type": "object"
      },
      "UpdateShiftBlockRequest": {
        "properties": {
          "color": {
            "minLength": 1,
            "type": "string"
          },
          "dayOfWeek": {
            "format": "int32",
            "maximum": 6,
            "minimum": 0,
            "type": "integer"
          },
          "endTime": {
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "requiredCount": {
            "format": "int32",
            "minimum": 1,
            "type": "integer"
          },
          "roleKey": {
            "minLength": 1,
            "type": "string"
          },
          "startTime": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "color",
          "dayOfWeek",
          "endTime",
          "name",
          "requiredCount",
          "roleKey",
          "startTime"
        ],
        "type": "object"
      },
      "UpdateShiftPreferenceRequest": {
        "properties": {
          "dayOfWeek": {
            "format": "int32",
            "maximum": 6,
            "minimum": 0,
            "type": "integer"
          },
          "endTime": {
            "minLength": 1,
            "type": "string"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "startTime": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "dayOfWeek",
          "endTime",
          "priority",
          "startTime"
        ],
        "type": "object"
      },
      "UpdateShiftRequestRequest": {
        "properties": {
          "endTime": {
            "nullable": true,
            "type": "string"
          },
          "expectedVersion": {
            "format": "int64",
            "type": "integer"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "requestType": {
            "minLength": 1,
            "type": "string"
          },
          "requestedDate": {
            "format": "date",
            "nullable": true,
            "type": "string"
          },
          "roleKey": {
            "nullable": true,
            "type": "string"
          },
          "shiftBlockId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "startTime": {
            "nullable": true,
            "type": "string"
          },
          "targetOccurrenceRef": {
            "nullable": true,
            "type": "string"
          },
          "timeOff": {
            "$ref": "#/components/schemas/TimeOffDetails",
            "nullable": true
          }
        },
        "required": [
          "expectedVersion",
          "requestType"
        ],
        "type": "object"
      },
      "UpdateShiftSeriesRequest": {
        "properties": {
          "expectedUpdatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "fromDate": {
            "format": "date",
            "type": "string"
          },
          "rule": {
            "$ref": "#/components/schemas/ShiftRule"
          },
          "timeOffOverride": {
            "$ref": "#/components/schemas/TimeOffOverride",
            "nullable": true
          }
        },
        "required": [
          "expectedUpdatedAt",
          "fromDate",
          "rule"
        ],
        "type": "object"
      },
      "UpdateShiftTemplateRequest": {
        "properties": {
          "breakMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "endTime": {
            "type": "string"
          },
          "expectedVersion": {
            "format": "int64",
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "roleKey": {
            "nullable": true,
            "type": "string"
          },
          "startTime": {
            "type": "string"
          }
        },
        "required": [
          "breakMinutes",
          "endTime",
          "expectedVersion",
          "name",
          "startTime"
        ],
        "type": "object"
      },
      "UpdateStationRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "alertTone": {
            "type": "string"
          },
          "displayColor": {
            "pattern": "^#[0-9a-fA-F]{6}$",
            "type": "string"
          },
          "dwellThresholdSeconds": {
            "format": "int32",
            "minimum": 30.0,
            "type": "integer"
          },
          "name": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "sortOrder": {
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "UpdateStoreApprovalPolicyRequest": {
        "properties": {
          "cashierSelfRefundEnabled": {
            "type": "boolean"
          },
          "discountEscalationBand": {
            "$ref": "#/components/schemas/StandardIamDelegationBand"
          },
          "discountLimit": {
            "$ref": "#/components/schemas/StoreApprovalDiscountLimit",
            "nullable": true
          },
          "expectedVersion": {
            "format": "int64",
            "type": "integer"
          },
          "headCashierDiscountsEnabled": {
            "type": "boolean"
          },
          "headCashierRefundLimit": {
            "minLength": 1,
            "type": "string"
          },
          "reason": {
            "minLength": 1,
            "type": "string"
          },
          "refundCurrency": {
            "minLength": 1,
            "type": "string"
          },
          "refundEscalationBand": {
            "$ref": "#/components/schemas/StandardIamDelegationBand"
          }
        },
        "required": [
          "cashierSelfRefundEnabled",
          "discountEscalationBand",
          "expectedVersion",
          "headCashierDiscountsEnabled",
          "headCashierRefundLimit",
          "reason",
          "refundCurrency",
          "refundEscalationBand"
        ],
        "type": "object"
      },
      "UpdateStorePhoneRequest": {
        "properties": {
          "phone": {
            "type": "string"
          }
        },
        "required": [
          "phone"
        ],
        "type": "object"
      },
      "UpdateStoreRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "cardSurchargePercent": {
            "type": "number"
          },
          "city": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "customerDisplayLoyaltySummaryEnabled": {
            "type": "boolean"
          },
          "dualPricingEnabled": {
            "type": "boolean"
          },
          "dualPricingLabelPriceMode": {
            "type": "string"
          },
          "dualPricingManualEntryMode": {
            "type": "string"
          },
          "fnsNumber": {
            "type": "string"
          },
          "giftTenderEnabled": {
            "type": "boolean"
          },
          "loyaltyContactInputMode": {
            "type": "string"
          },
          "loyaltyPromptEnabled": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "rcn": {
            "type": "string"
          },
          "receiptPrintMode": {
            "type": "string"
          },
          "receiptPromptEnabled": {
            "type": "boolean"
          },
          "receiptReturnPolicyText": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "tipEnabled": {
            "type": "boolean"
          },
          "zipCode": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateSupplierRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "address": {
            "type": "string"
          },
          "contactEmail": {
            "format": "email",
            "type": "string"
          },
          "contactPhone": {
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "paymentTerms": {
            "type": "string"
          }
        },
        "required": [
          "active",
          "name"
        ],
        "type": "object"
      },
      "UpdateTaxConfigRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "appliesToCategory": {
            "type": "string"
          },
          "effectiveFrom": {
            "type": "string"
          },
          "effectiveTo": {
            "type": "string"
          },
          "jurisdictionCode": {
            "type": "string"
          },
          "jurisdictionName": {
            "type": "string"
          },
          "jurisdictionType": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "rateAmountMinor": {
            "format": "int64",
            "type": "integer"
          },
          "rateBps": {
            "format": "int32",
            "type": "integer"
          },
          "rateType": {
            "type": "string"
          },
          "taxBasis": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateTextingForwardingRequest": {
        "properties": {
          "forwardingPhone": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateTierRequest": {
        "properties": {
          "reason": {
            "type": "string"
          },
          "tier": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "tier"
        ],
        "type": "object"
      },
      "UpdateTimeOffRequest": {
        "properties": {
          "endDate": {
            "format": "date",
            "nullable": true,
            "type": "string"
          },
          "endTime": {
            "nullable": true,
            "type": "string"
          },
          "expectedVersion": {
            "format": "int64",
            "type": "integer"
          },
          "mode": {
            "type": "string"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "startDate": {
            "format": "date",
            "type": "string"
          },
          "startTime": {
            "nullable": true,
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "expectedVersion",
          "mode",
          "startDate",
          "userId"
        ],
        "type": "object"
      },
      "UpdateUpsellRequest": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "minTriggerQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "scriptText": {
            "type": "string"
          },
          "suggestedProductId": {
            "format": "uuid",
            "type": "string"
          },
          "triggerProductId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "active",
          "minTriggerQuantity",
          "priority",
          "suggestedProductId",
          "triggerProductId"
        ],
        "type": "object"
      },
      "UpdateUserRequest": {
        "properties": {
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpsellCartItemRequest": {
        "properties": {
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "productId",
          "quantity"
        ],
        "type": "object"
      },
      "UpsellRecommendationRequest": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/UpsellCartItemRequest"
            },
            "type": "array"
          }
        },
        "required": [
          "items"
        ],
        "type": "object"
      },
      "UpsellRecommendationResponse": {
        "properties": {
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "scriptText": {
            "type": "string"
          },
          "suggestedProductId": {
            "format": "uuid",
            "type": "string"
          },
          "triggerProductId": {
            "format": "uuid",
            "type": "string"
          },
          "upsellId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "priority"
        ],
        "type": "object"
      },
      "UpsellResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "minTriggerQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "priority": {
            "format": "int32",
            "type": "integer"
          },
          "scriptText": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "suggestedProductId": {
            "format": "uuid",
            "type": "string"
          },
          "triggerProductId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "upsellId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "active",
          "minTriggerQuantity",
          "priority"
        ],
        "type": "object"
      },
      "UpsertAccountOrganizationProfileRequest": {
        "properties": {
          "defaultCurrency": {
            "type": "string"
          },
          "ein": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "legalName": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "taxId": {
            "type": "string"
          },
          "website": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpsertEmployeeProfileRequest": {
        "properties": {
          "addressLine1": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "city": {
            "maxLength": 128,
            "minLength": 0,
            "type": "string"
          },
          "departmentId": {
            "format": "uuid",
            "type": "string"
          },
          "emergencyContactName": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "emergencyContactPhone": {
            "maxLength": 64,
            "minLength": 0,
            "type": "string"
          },
          "employmentType": {
            "type": "string"
          },
          "joiningDate": {
            "format": "date",
            "type": "string"
          },
          "mobile": {
            "maxLength": 64,
            "minLength": 0,
            "type": "string"
          },
          "postalCode": {
            "maxLength": 32,
            "minLength": 0,
            "type": "string"
          },
          "publicBookingPhotoUrl": {
            "maxLength": 2048,
            "minLength": 0,
            "nullable": true,
            "type": "string"
          },
          "publicBookingTitle": {
            "maxLength": 128,
            "minLength": 0,
            "nullable": true,
            "type": "string"
          },
          "state": {
            "maxLength": 128,
            "minLength": 0,
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpsertInvoiceDefaultsRequest": {
        "properties": {
          "acceptedPaymentMethods": {
            "items": {
              "enum": [
                "CARD",
                "ACH",
                "CASH_CHECK"
              ],
              "nullable": true,
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "allowPartialPayments": {
            "nullable": true,
            "type": "boolean"
          },
          "depositPercent": {
            "type": "number"
          },
          "dueDaysOffset": {
            "format": "int32",
            "type": "integer"
          },
          "footerNotes": {
            "type": "string"
          },
          "industryTemplateKey": {
            "type": "string"
          },
          "paymentSchedule": {
            "items": {
              "$ref": "#/components/schemas/InvoiceDefaultPaymentStage"
            },
            "nullable": true,
            "type": "array"
          },
          "termsOfService": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpsertInvoiceFxRateRequest": {
        "properties": {
          "asOf": {
            "format": "date",
            "type": "string"
          },
          "baseCurrency": {
            "minLength": 1,
            "type": "string"
          },
          "quoteCurrency": {
            "minLength": 1,
            "type": "string"
          },
          "rate": {
            "type": "number"
          }
        },
        "required": [
          "asOf",
          "baseCurrency",
          "quoteCurrency",
          "rate"
        ],
        "type": "object"
      },
      "UpsertInvoiceReminderConfigRequest": {
        "properties": {
          "channelPreference": {
            "type": "string"
          },
          "offsets": {
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "type": "array"
          }
        },
        "required": [
          "channelPreference",
          "offsets"
        ],
        "type": "object"
      },
      "UpsertInvoiceTemplateRequest": {
        "properties": {
          "industry": {
            "type": "string"
          },
          "isDefault": {
            "description": "Does not select an invoice default. Choose invoice layouts through invoice settings.",
            "type": "boolean"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "payload": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "isDefault",
          "name",
          "payload"
        ],
        "type": "object"
      },
      "UserResponse": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "aiAccess": {
            "type": "boolean"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastLogin": {
            "format": "date-time",
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "organizations": {
            "items": {
              "$ref": "#/components/schemas/MerchantUserOrganizationSummary"
            },
            "type": "array"
          },
          "permissions": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "role": {
            "type": "string"
          },
          "storeId": {
            "format": "uuid",
            "type": "string"
          },
          "storeIds": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "tier": {
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "active",
          "aiAccess",
          "organizations",
          "permissions"
        ],
        "type": "object"
      },
      "UtilizationResponse": {
        "properties": {
          "metrics": {
            "items": {
              "$ref": "#/components/schemas/MetricUsage"
            },
            "type": "array"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "metrics",
          "orgId"
        ],
        "type": "object"
      },
      "ValidateAgentInviteRequest": {
        "properties": {
          "token": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "token"
        ],
        "type": "object"
      },
      "ValidateInviteRequest": {
        "properties": {
          "token": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "token"
        ],
        "type": "object"
      },
      "VarianceResponse": {
        "properties": {
          "counted": {
            "type": "boolean"
          },
          "countedAmount": {
            "type": "number"
          },
          "currentClosingSnapshotId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "currentOpeningUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "drawerId": {
            "format": "uuid",
            "type": "string"
          },
          "exceedsThreshold": {
            "type": "boolean"
          },
          "expectedAmount": {
            "type": "number"
          },
          "shiftAssignedId": {
            "format": "uuid",
            "type": "string"
          },
          "shiftId": {
            "format": "uuid",
            "type": "string"
          },
          "shiftOpen": {
            "type": "boolean"
          },
          "threshold": {
            "type": "number"
          },
          "varianceAmount": {
            "type": "number"
          }
        },
        "required": [
          "counted",
          "currentClosingSnapshotId",
          "drawerId",
          "exceedsThreshold",
          "expectedAmount",
          "shiftOpen",
          "threshold"
        ],
        "type": "object"
      },
      "VendorCostAdjustmentApplyEntry": {
        "properties": {
          "previewVersion": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "previewVersion",
          "productId"
        ],
        "type": "object"
      },
      "VendorCostAdjustmentApplyRequest": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "direction": {
            "type": "string"
          },
          "mode": {
            "type": "string"
          },
          "reference": {
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "updates": {
            "items": {
              "$ref": "#/components/schemas/VendorCostAdjustmentApplyEntry"
            },
            "type": "array"
          }
        },
        "required": [
          "amount",
          "direction",
          "mode",
          "supplierId",
          "updates"
        ],
        "type": "object"
      },
      "VendorCostAdjustmentApplyResponse": {
        "properties": {
          "updatedCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "updatedCount"
        ],
        "type": "object"
      },
      "VendorCostAdjustmentPreviewRequest": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "direction": {
            "type": "string"
          },
          "mode": {
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "amount",
          "direction",
          "mode",
          "supplierId"
        ],
        "type": "object"
      },
      "VendorCostAdjustmentPreviewResponse": {
        "properties": {
          "amount": {
            "type": "number"
          },
          "direction": {
            "type": "string"
          },
          "invalidCount": {
            "format": "int32",
            "type": "integer"
          },
          "mode": {
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/VendorCostAdjustmentPreviewRow"
            },
            "type": "array"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "totalCount": {
            "format": "int32",
            "type": "integer"
          },
          "validCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "amount",
          "direction",
          "invalidCount",
          "mode",
          "rows",
          "supplierId",
          "totalCount",
          "validCount"
        ],
        "type": "object"
      },
      "VendorCostAdjustmentPreviewRow": {
        "properties": {
          "barcode": {
            "nullable": true,
            "type": "string"
          },
          "newCost": {
            "nullable": true,
            "type": "number"
          },
          "newMargin": {
            "nullable": true,
            "type": "number"
          },
          "newPrice": {
            "nullable": true,
            "type": "number"
          },
          "oldMargin": {
            "nullable": true,
            "type": "number"
          },
          "oldPrice": {
            "type": "number"
          },
          "oldProductCost": {
            "type": "number"
          },
          "oldSupplierCost": {
            "nullable": true,
            "type": "number"
          },
          "previewVersion": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierName": {
            "type": "string"
          },
          "supplierSku": {
            "nullable": true,
            "type": "string"
          },
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "oldPrice",
          "oldProductCost",
          "previewVersion",
          "productId",
          "productName",
          "supplierId",
          "supplierName",
          "valid"
        ],
        "type": "object"
      },
      "VendorCostAdjustmentVendorResponse": {
        "properties": {
          "productCount": {
            "format": "int32",
            "type": "integer"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierName": {
            "type": "string"
          }
        },
        "required": [
          "productCount",
          "supplierId",
          "supplierName"
        ],
        "type": "object"
      },
      "VerifyAgeRequest": {
        "properties": {
          "checkType": {
            "minLength": 1,
            "type": "string"
          },
          "checkoutKey": {
            "maxLength": 255,
            "minLength": 0,
            "type": "string"
          },
          "clientAttemptId": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string"
          },
          "idDob": {
            "format": "date",
            "type": "string"
          },
          "idExpiry": {
            "format": "date",
            "type": "string"
          },
          "idType": {
            "type": "string"
          },
          "productId": {
            "format": "uuid",
            "type": "string"
          },
          "rawScanData": {
            "maxLength": 16384,
            "minLength": 0,
            "type": "string"
          },
          "transactionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "checkType",
          "checkoutKey",
          "clientAttemptId",
          "productId"
        ],
        "type": "object"
      },
      "WithdrawShiftRequest": {
        "properties": {
          "expectedVersion": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "expectedVersion"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "FirebaseBearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "Firebase ID token issued after sign-in. Firebase authentication also requires X-Firebase-AppCheck."
      },
      "FirebaseAppCheck": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Firebase-AppCheck",
        "description": "Firebase App Check token required together with the Firebase ID token. App Check tokens are issued only to PeakPOS apps; arbitrary third-party server clients cannot obtain them."
      },
      "PeakAuthorization": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Peak-Authorization",
        "description": "Send Bearer followed by the Peak authorization token obtained from the auth token endpoint for your audience."
      }
    }
  },
  "info": {
    "title": "Peak POS API",
    "version": "1.0.0",
    "description": "REST API for PeakPOS merchants, partners and agents. Requests carry the Peak authorization token issued after sign-in.",
    "contact": {
      "name": "PeakPOS support",
      "email": "support@peakpos.co",
      "url": "https://docs.peakpos.co/developers"
    }
  },
  "openapi": "3.1.0",
  "paths": {
    "/ai/api/v1/orgs/{orgId}/ai/conversations": {
      "get": {
        "operationId": "listConversations",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "default": "active",
              "enum": [
                "active",
                "archived"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseConversationListPage"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AiAiAssistant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createConversation",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateConversationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCommandAcceptance"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AiAiAssistant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/ai/api/v1/orgs/{orgId}/ai/conversations/{id}": {
      "delete": {
        "operationId": "deleteConversation",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteCommandRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseConversationSummary"
                }
              }
            },
            "description": "Accepted"
          },
          "204": {
            "description": "No Content"
          }
        },
        "tags": [
          "AiAiAssistant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "getConversation",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseConversationDetail"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AiAiAssistant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "patch": {
        "operationId": "updateConversation",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateConversationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCommandAcceptance"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AiAiAssistant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/ai/api/v1/orgs/{orgId}/ai/conversations/{id}/attachments": {
      "post": {
        "operationId": "createAttachmentUpload",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AttachmentUploadRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAttachmentView"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AiAiAssistant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/ai/api/v1/orgs/{orgId}/ai/conversations/{id}/attachments/{attachmentId}": {
      "delete": {
        "operationId": "deleteAttachment",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "attachmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteCommandRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "tags": [
          "AiAiAssistant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/ai/api/v1/orgs/{orgId}/ai/conversations/{id}/attachments/{attachmentId}/content": {
      "put": {
        "operationId": "uploadAttachmentContent",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "attachmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/octet-stream": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAttachmentView"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AiAiAssistant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/ai/api/v1/orgs/{orgId}/ai/conversations/{id}/items": {
      "get": {
        "operationId": "listConversationItems",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "If-None-Match",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseConversationItemsPage"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AiAiAssistant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/ai/api/v1/orgs/{orgId}/ai/conversations/{id}/messages": {
      "post": {
        "operationId": "sendMessage",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-PostHog-Session-Id",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendMessageRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCommandAcceptance"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AiAiAssistant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/ai/api/v1/orgs/{orgId}/ai/conversations/{id}/proposals/{proposalId}/actions/remove": {
      "post": {
        "operationId": "removeProposalAction",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "proposalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveProposalActionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCommandAcceptance"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AiAiAssistant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/ai/api/v1/orgs/{orgId}/ai/conversations/{id}/proposals/{proposalId}/deny": {
      "post": {
        "operationId": "denyProposal",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "proposalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProposalCommandRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCommandAcceptance"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AiAiAssistant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/ai/api/v1/orgs/{orgId}/ai/conversations/{id}/proposals/{proposalId}/execute": {
      "post": {
        "operationId": "executeProposal",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "proposalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProposalCommandRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCommandAcceptance"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AiAiAssistant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/ai/api/v1/orgs/{orgId}/ai/conversations/{id}/read": {
      "post": {
        "operationId": "markConversationRead",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReadConversationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCommandAcceptance"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AiAiAssistant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/ai/api/v1/orgs/{orgId}/ai/conversations/{id}/stop": {
      "post": {
        "operationId": "stopRun",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StopRunRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCommandAcceptance"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AiAiAssistant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/ai/api/v1/orgs/{orgId}/ai/stream": {
      "get": {
        "operationId": "stream",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/event-stream": {
                "schema": {
                  "$ref": "#/components/schemas/SseEmitter"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AiAiAssistant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/auth/.well-known/jwks.json": {
      "get": {
        "operationId": "getPeakAuthzJwks",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AuthAuth"
        ],
        "security": []
      }
    },
    "/auth/account/me": {
      "get": {
        "operationId": "getAccountAuthMe",
        "parameters": [
          {
            "in": "query",
            "name": "tenantId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountAuthMeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AuthAuth"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": []
          }
        ]
      }
    },
    "/auth/account/token": {
      "post": {
        "operationId": "exchangeAccountPeakAuthzToken",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PeakAuthzTokenRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePeakAuthzTokenResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AuthAuth"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": []
          }
        ]
      }
    },
    "/auth/agent/me": {
      "get": {
        "operationId": "getAgentAuthMe",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAgentAuthMeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AuthAuth"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": []
          }
        ]
      }
    },
    "/auth/agent/token": {
      "post": {
        "operationId": "exchangeAgentPeakAuthzToken",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PeakAuthzTokenRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePeakAuthzTokenResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AuthAuth"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": []
          }
        ]
      }
    },
    "/auth/merchant/change-password": {
      "post": {
        "operationId": "changeMerchantAuthPassword",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePasswordRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AuthAuth"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": []
          }
        ]
      }
    },
    "/auth/merchant/me": {
      "get": {
        "operationId": "getMerchantAuthMe",
        "parameters": [
          {
            "in": "query",
            "name": "orgId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "impersonatedRoleId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMerchantAuthMeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AuthAuth"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": []
          }
        ]
      }
    },
    "/auth/merchant/token": {
      "post": {
        "operationId": "exchangeMerchantPeakAuthzToken",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PeakAuthzTokenRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePeakAuthzTokenResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AuthAuth"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": []
          }
        ]
      }
    },
    "/customer/api/v1/public/email-marketing/confirm/{token}": {
      "get": {
        "operationId": "getEmailMarketingConfirmation",
        "parameters": [
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "CustomerPublicEmailMarketing"
        ],
        "security": []
      },
      "post": {
        "operationId": "confirmEmailMarketingChoice",
        "parameters": [
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublicEmailMarketingChoiceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "CustomerPublicEmailMarketing"
        ],
        "security": []
      }
    },
    "/customer/api/v1/public/email-marketing/preferences/link": {
      "post": {
        "operationId": "requestEmailMarketingPreferenceLink",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublicEmailMarketingPreferenceLinkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMapStringString"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "CustomerPublicEmailMarketing"
        ],
        "security": []
      }
    },
    "/customer/api/v1/public/email-marketing/preferences/{token}": {
      "get": {
        "operationId": "getEmailMarketingPreference",
        "parameters": [
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "CustomerPublicEmailMarketing"
        ],
        "security": []
      },
      "post": {
        "operationId": "updateEmailMarketingPreference",
        "parameters": [
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublicEmailMarketingChoiceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "CustomerPublicEmailMarketing"
        ],
        "security": []
      }
    },
    "/customer/api/v1/public/email-marketing/unsubscribe/{token}": {
      "post": {
        "operationId": "oneClickUnsubscribeEmailMarketing",
        "parameters": [
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "CustomerPublicEmailMarketing"
        ],
        "security": []
      }
    },
    "/customer/api/v1/public/invoice-autopay/stop/{token}": {
      "post": {
        "operationId": "stop",
        "parameters": [
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePublicInvoiceAutoPayStopResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "CustomerPublicInvoiceAutoPayStop"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/customer/api/v1/public/sms-consent/{token}/{phone}/check": {
      "get": {
        "operationId": "check",
        "parameters": [
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "phone",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "type": "boolean"
                  },
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "CustomerPublicSmsConsent"
        ],
        "security": []
      }
    },
    "/kitchen/api/v1/orgs/{orgId}/kitchen/station-items/bulk-import": {
      "post": {
        "operationId": "bulkImport",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseBulkImportResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "KitchenStationItem"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ],
        "servers": [
          {
            "url": "https://api.peakpos.co"
          }
        ]
      }
    },
    "/kitchen/api/v1/orgs/{orgId}/kitchen/stations": {
      "get": {
        "operationId": "kitchenList",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListStationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "KitchenStation"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ],
        "servers": [
          {
            "url": "https://api.peakpos.co"
          }
        ]
      },
      "post": {
        "operationId": "kitchenCreate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateStationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "KitchenStation"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ],
        "servers": [
          {
            "url": "https://api.peakpos.co"
          }
        ]
      }
    },
    "/kitchen/api/v1/orgs/{orgId}/kitchen/stations/{stationId}": {
      "delete": {
        "operationId": "kitchenDeactivate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "stationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMapStringObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "KitchenStation"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ],
        "servers": [
          {
            "url": "https://api.peakpos.co"
          }
        ]
      },
      "get": {
        "operationId": "kitchenGet",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "stationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "KitchenStation"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ],
        "servers": [
          {
            "url": "https://api.peakpos.co"
          }
        ]
      },
      "patch": {
        "operationId": "kitchenUpdate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "stationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "KitchenStation"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ],
        "servers": [
          {
            "url": "https://api.peakpos.co"
          }
        ]
      }
    },
    "/kitchen/api/v1/orgs/{orgId}/kitchen/stations/{stationId}/items": {
      "get": {
        "operationId": "kitchenList_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "stationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListStationItemResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "KitchenStationItem"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ],
        "servers": [
          {
            "url": "https://api.peakpos.co"
          }
        ]
      },
      "post": {
        "operationId": "kitchenCreate_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "stationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateStationItemRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStationItemResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "KitchenStationItem"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ],
        "servers": [
          {
            "url": "https://api.peakpos.co"
          }
        ]
      }
    },
    "/kitchen/api/v1/orgs/{orgId}/kitchen/stations/{stationId}/items/{mappingId}": {
      "delete": {
        "operationId": "kitchenDelete",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "stationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "mappingId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMapStringObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "KitchenStationItem"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ],
        "servers": [
          {
            "url": "https://api.peakpos.co"
          }
        ]
      }
    },
    "/kitchen/api/v1/orgs/{orgId}/kitchen/tickets": {
      "get": {
        "operationId": "listActiveTickets",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "store_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "station_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListTicketResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "KitchenTicket"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ],
        "servers": [
          {
            "url": "https://api.peakpos.co"
          }
        ]
      }
    },
    "/kitchen/api/v1/orgs/{orgId}/kitchen/tickets/stream": {
      "get": {
        "operationId": "streamTickets",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "store_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "station_id",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Last-Event-ID",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/event-stream": {
                "schema": {
                  "$ref": "#/components/schemas/SseEmitter"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "KitchenTicketStream"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ],
        "servers": [
          {
            "url": "https://api.peakpos.co"
          }
        ]
      }
    },
    "/kitchen/api/v1/orgs/{orgId}/kitchen/tickets/{ticketId}": {
      "get": {
        "operationId": "kitchenGet_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ticketId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTicketResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "KitchenTicket"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ],
        "servers": [
          {
            "url": "https://api.peakpos.co"
          }
        ]
      }
    },
    "/kitchen/api/v1/orgs/{orgId}/kitchen/tickets/{ticketId}/items/{ticketItemId}/bump": {
      "patch": {
        "operationId": "bumpItem",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ticketId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ticketItemId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketLifecycleActionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTicketResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "KitchenTicket"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ],
        "servers": [
          {
            "url": "https://api.peakpos.co"
          }
        ]
      }
    },
    "/kitchen/api/v1/orgs/{orgId}/kitchen/tickets/{ticketId}/reopen": {
      "patch": {
        "operationId": "reopen",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ticketId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketLifecycleActionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTicketResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "KitchenTicket"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ],
        "servers": [
          {
            "url": "https://api.peakpos.co"
          }
        ]
      }
    },
    "/kitchen/api/v1/orgs/{orgId}/kitchen/tickets/{ticketId}/serve": {
      "patch": {
        "operationId": "serve",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ticketId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketLifecycleActionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTicketResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "KitchenTicket"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ],
        "servers": [
          {
            "url": "https://api.peakpos.co"
          }
        ]
      }
    },
    "/management/api/v1/accounts": {
      "get": {
        "operationId": "listAccounts",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAccountSummaryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAccount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/accounts/{orgId}/custom-fields": {
      "get": {
        "operationId": "getCustomFieldAdminSchema",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldAdminSchemaResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementCustomFieldAdmin"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/accounts/{orgId}/custom-fields/asset-types": {
      "post": {
        "operationId": "createCustomFieldAssetType",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveCustomFieldAssetTypeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldAdminAssetTypeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementCustomFieldAdmin"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/accounts/{orgId}/custom-fields/asset-types/{id}": {
      "put": {
        "operationId": "updateCustomFieldAssetType",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveCustomFieldAssetTypeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldAdminAssetTypeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementCustomFieldAdmin"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/accounts/{orgId}/custom-fields/asset-types/{id}/archive": {
      "post": {
        "operationId": "archiveCustomFieldAssetType",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldAdminAssetTypeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementCustomFieldAdmin"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/accounts/{orgId}/custom-fields/asset-types/{id}/restore": {
      "post": {
        "operationId": "restoreCustomFieldAssetType",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldAdminAssetTypeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementCustomFieldAdmin"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/accounts/{orgId}/custom-fields/definitions": {
      "post": {
        "operationId": "createCustomFieldDefinition",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomFieldDefinitionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldAdminDefinitionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementCustomFieldAdmin"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/accounts/{orgId}/custom-fields/definitions/{id}": {
      "put": {
        "operationId": "updateCustomFieldDefinition",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomFieldDefinitionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldAdminDefinitionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementCustomFieldAdmin"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/accounts/{orgId}/custom-fields/definitions/{id}/archive": {
      "post": {
        "operationId": "archiveCustomFieldDefinition",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldAdminDefinitionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementCustomFieldAdmin"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/accounts/{orgId}/custom-fields/definitions/{id}/restore": {
      "post": {
        "operationId": "restoreCustomFieldDefinition",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldAdminDefinitionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementCustomFieldAdmin"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/accounts/{orgId}/custom-fields/service-options": {
      "get": {
        "operationId": "getCustomFieldAdminServiceOptions",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCustomFieldAdminServiceOptionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementCustomFieldAdmin"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/accounts/{orgId}/diagnostics/{code}/resolve": {
      "post": {
        "operationId": "resolveDiagnostic",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveAccountDiagnosticRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountOverviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAccount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/accounts/{orgId}/feature-resolution": {
      "post": {
        "operationId": "resolveFeatures",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FeatureResolutionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseFeatureResolutionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAccount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/accounts/{orgId}/overview": {
      "get": {
        "operationId": "listOverview",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountOverviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAccount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/accounts/{orgId}/plan-settings": {
      "get": {
        "operationId": "getPlanSettings",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountPlanSettingsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAccount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updatePlanSettings",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountPlanSettingsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountPlanSettingsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAccount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/accounts/{orgId}/products": {
      "get": {
        "operationId": "managementListProducts",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAccountProductResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAccount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/accounts/{orgId}/products/{productKey}": {
      "put": {
        "operationId": "updateProduct",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "productKey",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountProductRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountProductResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAccount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/accounts/{orgId}/stores/{storeId}/plan-settings": {
      "get": {
        "operationId": "getStorePlanSettings",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountPlanSettingsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAccount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateStorePlanSettings",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountPlanSettingsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountPlanSettingsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAccount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/admin/fleet/{orgId}/devices": {
      "get": {
        "operationId": "listDevices",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListDeviceFleetEntry"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementDeviceFleet"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/admin/fleet/{orgId}/devices/{terminalId}": {
      "get": {
        "operationId": "getDevice",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDeviceFleetEntry"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementDeviceFleet"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/admin/fleet/{orgId}/devices/{terminalId}/app-restart": {
      "post": {
        "operationId": "restartApp",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCommandResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementDeviceFleet"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/admin/fleet/{orgId}/devices/{terminalId}/force-logout": {
      "post": {
        "operationId": "forceLogout",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCommandResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementDeviceFleet"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/admin/fleet/{orgId}/devices/{terminalId}/restart": {
      "post": {
        "operationId": "restartDevice",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCommandResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementDeviceFleet"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/admin/geofences": {
      "post": {
        "operationId": "createGeofence",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGeofenceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGeofenceResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGeofence"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/admin/geofences/org/{orgId}": {
      "get": {
        "operationId": "listGeofences",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListGeofenceResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGeofence"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/admin/geofences/violations/org/{orgId}": {
      "get": {
        "operationId": "listViolations",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListGeofenceViolationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGeofence"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/admin/geofences/{geofenceId}": {
      "delete": {
        "operationId": "deleteGeofence",
        "parameters": [
          {
            "in": "path",
            "name": "geofenceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGeofence"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateGeofence",
        "parameters": [
          {
            "in": "path",
            "name": "geofenceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGeofenceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGeofenceResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGeofence"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/billing-products": {
      "get": {
        "operationId": "billingProducts",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListBillingProductResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/invites/accept": {
      "post": {
        "operationId": "acceptInvite",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptAgentInviteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": []
          }
        ]
      }
    },
    "/management/api/v1/agent/invites/validate": {
      "post": {
        "operationId": "validateInvite",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateAgentInviteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAgentUserInviteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": []
      }
    },
    "/management/api/v1/agent/invoices": {
      "get": {
        "operationId": "myInvoices",
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int64",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAgentSelfInvoiceSummary"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortalBilling"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/invoices/{invoiceId}": {
      "get": {
        "operationId": "myInvoice",
        "parameters": [
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAgentSelfInvoiceDetailResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortalBilling"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/managed-agents/{agentId}": {
      "get": {
        "operationId": "managedAgent",
        "parameters": [
          {
            "in": "path",
            "name": "agentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAgentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/managed-agents/{agentId}/buy-rates": {
      "get": {
        "operationId": "managedAgentBuyRates",
        "parameters": [
          {
            "in": "path",
            "name": "agentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAgentBuyRateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "setManagedAgentBuyRate",
        "parameters": [
          {
            "in": "path",
            "name": "agentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetAgentBuyRateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAgentBuyRateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/managed-agents/{agentId}/merchants": {
      "get": {
        "operationId": "managedAgentMerchants",
        "parameters": [
          {
            "in": "path",
            "name": "agentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "linkStatus",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAgentMerchantResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/managed-agents/{agentId}/users": {
      "get": {
        "operationId": "managedUsers",
        "parameters": [
          {
            "in": "path",
            "name": "agentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAgentPortalUserResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/managed-agents/{agentId}/users/invites": {
      "get": {
        "operationId": "managedInvites",
        "parameters": [
          {
            "in": "path",
            "name": "agentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAgentUserInviteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createManagedInvite",
        "parameters": [
          {
            "in": "path",
            "name": "agentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAgentUserInviteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAgentUserInviteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/managed-agents/{agentId}/users/invites/{inviteId}": {
      "delete": {
        "operationId": "deleteManagedInvite",
        "parameters": [
          {
            "in": "path",
            "name": "agentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inviteId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/managed-agents/{agentId}/users/invites/{inviteId}/revoke": {
      "post": {
        "operationId": "revokeManagedInvite",
        "parameters": [
          {
            "in": "path",
            "name": "agentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inviteId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/managed-agents/{agentId}/users/{agentPortalUserId}": {
      "delete": {
        "operationId": "deactivateManagedUser",
        "parameters": [
          {
            "in": "path",
            "name": "agentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "agentPortalUserId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAgentPortalUserResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateManagedUser",
        "parameters": [
          {
            "in": "path",
            "name": "agentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "agentPortalUserId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAgentPortalUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAgentPortalUserResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/managed-agents/{agentId}/users/{agentPortalUserId}/activate": {
      "post": {
        "operationId": "activateManagedUser",
        "parameters": [
          {
            "in": "path",
            "name": "agentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "agentPortalUserId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAgentPortalUserResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/managed-agents/{parentAgentId}/sub-agents": {
      "post": {
        "operationId": "createManagedSubAgent",
        "parameters": [
          {
            "in": "path",
            "name": "parentAgentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAgentSubAgentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAgentSubAgentSummary"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/me": {
      "get": {
        "operationId": "me",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAgentMeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/merchants": {
      "get": {
        "operationId": "merchants",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAgentMerchantSummary"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/merchants/{orgId}/activation-readiness": {
      "get": {
        "operationId": "merchantActivationReadiness",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseActivationReadinessResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/merchants/{orgId}/prices": {
      "get": {
        "operationId": "merchantPrices",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAgentMerchantPricesResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortalBilling"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "setMerchantPrice",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetAgentMerchantPriceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAgentMerchantPricesResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortalBilling"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/merchants/{orgId}/users/{userId}/mfa/reset": {
      "post": {
        "operationId": "resetMerchantUserTotp",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/onboarding/merchants": {
      "post": {
        "operationId": "createMerchant",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OnboardMerchantRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOnboardMerchantResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/rates": {
      "get": {
        "operationId": "myRates",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAgentRatesResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortalBilling"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/sub-agents": {
      "get": {
        "operationId": "subAgents",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAgentSubAgentSummary"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createSubAgent",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAgentSubAgentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAgentSubAgentSummary"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/sub-agents/scan": {
      "post": {
        "operationId": "scanSubAgents",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAgentSubAgentScanResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/agent/tree": {
      "get": {
        "operationId": "tree",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAgentTreeNode"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementAgentPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/billing/orgs/{orgId}/device-prices/{terminalId}": {
      "put": {
        "operationId": "setDevicePrice",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetTerminalPriceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTerminalPriceOverrideResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementBilling"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/billing/orgs/{orgId}/overrides": {
      "get": {
        "operationId": "listOverrides",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListOrgOverrideResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementBilling"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/billing/orgs/{orgId}/overrides/{productKey}": {
      "put": {
        "operationId": "setOverride",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "productKey",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetOverrideRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOrgOverrideResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementBilling"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/billing/products": {
      "get": {
        "operationId": "listProducts_1",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListBillingProductResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementBilling"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/demo-orgs": {
      "get": {
        "operationId": "managementList",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListDemoOrgResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementDemoOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "managementCreate",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDemoOrgRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDemoOrgResponse"
                }
              }
            },
            "description": "Accepted"
          }
        },
        "tags": [
          "ManagementDemoOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/demo-orgs/{orgId}": {
      "delete": {
        "operationId": "managementDelete",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementDemoOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "managementGet",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDemoOrgResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementDemoOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/demo-orgs/{orgId}/catalog": {
      "get": {
        "operationId": "catalog",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementDemoOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/demo-orgs/{orgId}/dashboard": {
      "get": {
        "operationId": "managementDashboard",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementDemoOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/demo-orgs/{orgId}/restock": {
      "post": {
        "operationId": "restock",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementDemoOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/demo-orgs/{orgId}/seed-staff": {
      "post": {
        "operationId": "seedStaff",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementDemoOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/demo-orgs/{orgId}/sell": {
      "post": {
        "operationId": "managementSell",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": true,
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementDemoOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/merchants": {
      "get": {
        "operationId": "managementList_1",
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementApiResponseListGatewayMerchantResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayMerchant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "managementCreate_1",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGatewayMerchantRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayMerchantResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayMerchant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/merchants/{merchantId}": {
      "get": {
        "operationId": "managementGet_1",
        "parameters": [
          {
            "in": "path",
            "name": "merchantId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "agentId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayMerchantResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayMerchant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "managementUpdate",
        "parameters": [
          {
            "in": "path",
            "name": "merchantId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "agentId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewayMerchantRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayMerchantResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayMerchant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/merchants/{merchantId}/settlement": {
      "get": {
        "operationId": "managementGet_2",
        "parameters": [
          {
            "in": "path",
            "name": "merchantId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "agentId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewaySettlementResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewaySettlement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "managementUpdate_1",
        "parameters": [
          {
            "in": "path",
            "name": "merchantId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "agentId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewaySettlementRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewaySettlementResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewaySettlement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/merchants/{merchantId}/status": {
      "patch": {
        "operationId": "updateStatus",
        "parameters": [
          {
            "in": "path",
            "name": "merchantId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "agentId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewayMerchantStatusRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayMerchantResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayMerchant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/organizations/{orgId}": {
      "get": {
        "operationId": "managementGet_3",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayOrganizationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "managementUpdate_2",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewayOrganizationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayOrganizationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/organizations/{orgId}/credential-profiles": {
      "get": {
        "operationId": "listCredentialProfiles",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListGatewayCredentialProfileResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createCredentialProfile",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCredentialProfileRequestDto"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayCredentialProfileResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/organizations/{orgId}/credential-profiles/{profileId}": {
      "put": {
        "operationId": "updateCredentialProfile",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "profileId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCredentialProfileRequestDto"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayCredentialProfileResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/organizations/{orgId}/credential-profiles/{profileId}/deactivate": {
      "post": {
        "operationId": "deactivateGatewayCredentialProfile",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "profileId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayCredentialProfileResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/organizations/{orgId}/credential-profiles/{profileId}/default": {
      "patch": {
        "operationId": "managementSetDefault",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "profileId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayOrganizationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/organizations/{orgId}/credential-profiles/{profileId}/default-if-unset": {
      "patch": {
        "operationId": "setDefaultIfUnset",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "profileId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayOrganizationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/organizations/{orgId}/credential-profiles/{profileId}/rotate": {
      "post": {
        "operationId": "rotate_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "profileId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RotateCredentialProfileRequestDto"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayCredentialProfileResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/organizations/{orgId}/location-assignments": {
      "get": {
        "operationId": "getGatewayLocationAssignments",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayLocationAssignmentsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/organizations/{orgId}/locations": {
      "post": {
        "operationId": "managementCreateLocation",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGatewayLocationRequestDto"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayMerchantResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/organizations/{orgId}/locations/by-external-id/{externalId}": {
      "get": {
        "operationId": "getLocationByExternalId",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "externalId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayMerchantResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/organizations/{orgId}/locations/{locationId}": {
      "get": {
        "operationId": "getLocation",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "locationId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayMerchantResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "managementUpdateLocation",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "locationId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewayLocationRequestDto"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayMerchantResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/organizations/{orgId}/merchants/{merchantId}/assign-credential-profile": {
      "post": {
        "operationId": "assign",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "merchantId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignCredentialProfileRequestDto"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayMerchantAssignmentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/organizations/{orgId}/online-location": {
      "post": {
        "operationId": "provisionOnlineLocation",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayOnlineLocationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/organizations/{orgId}/provision": {
      "post": {
        "operationId": "provision",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayOrganizationProvisionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/provisioning/jobs": {
      "get": {
        "operationId": "managementList_2",
        "parameters": [
          {
            "in": "query",
            "name": "merchantId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayProvisioningJobListResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayProvisioning"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "managementCreate_2",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGatewayProvisioningJobRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayProvisioningJobResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayProvisioning"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/provisioning/jobs/{jobId}": {
      "get": {
        "operationId": "managementGet_4",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "merchantId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayProvisioningJobResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayProvisioning"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/gateway/provisioning/jobs/{jobId}/retry": {
      "post": {
        "operationId": "managementRetry",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "merchantId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayProvisioningJobResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayProvisioning"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/merchant-impersonation-sessions": {
      "post": {
        "operationId": "managementCreate_3",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateMerchantImpersonationSessionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMerchantImpersonationSessionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementMerchantImpersonationSession"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/merchant-impersonation-sessions/options": {
      "get": {
        "operationId": "options",
        "parameters": [
          {
            "in": "query",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMerchantImpersonationOptionsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementMerchantImpersonationSession"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/onboarding/merchants": {
      "post": {
        "operationId": "managementCreate_4",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OnboardMerchantRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOnboardMerchantResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementMerchantOnboarding"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/onboarding/pipelines": {
      "get": {
        "operationId": "listPipelines",
        "parameters": [
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListPipelineResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOnboardingPipeline"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createPipeline",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePipelineRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePipelineResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOnboardingPipeline"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/onboarding/pipelines/counts": {
      "get": {
        "operationId": "countByStatus",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListPipelineStatusCount"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOnboardingPipeline"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/onboarding/pipelines/{pipelineId}": {
      "delete": {
        "operationId": "deletePipeline",
        "parameters": [
          {
            "in": "path",
            "name": "pipelineId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePipelineRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOnboardingPipeline"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "getPipeline",
        "parameters": [
          {
            "in": "path",
            "name": "pipelineId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePipelineResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOnboardingPipeline"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "patch": {
        "operationId": "updateDraft",
        "parameters": [
          {
            "in": "path",
            "name": "pipelineId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePipelineRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePipelineResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOnboardingPipeline"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/onboarding/pipelines/{pipelineId}/cancel": {
      "post": {
        "operationId": "cancelPipeline",
        "parameters": [
          {
            "in": "path",
            "name": "pipelineId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePipelineResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOnboardingPipeline"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/onboarding/pipelines/{pipelineId}/create-account/begin": {
      "post": {
        "operationId": "beginCreateAccount",
        "parameters": [
          {
            "in": "path",
            "name": "pipelineId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BeginCreateAccountRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePipelineResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOnboardingPipeline"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/onboarding/pipelines/{pipelineId}/gateway-setup/activate": {
      "post": {
        "operationId": "activateGatewaySetup",
        "parameters": [
          {
            "in": "path",
            "name": "pipelineId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteStepRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePipelineResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOnboardingPipeline"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/onboarding/pipelines/{pipelineId}/gateway-setup/selection": {
      "post": {
        "operationId": "saveGatewaySetupSelectionIntent",
        "parameters": [
          {
            "in": "path",
            "name": "pipelineId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveGatewaySetupSelectionIntentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePipelineResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOnboardingPipeline"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/onboarding/pipelines/{pipelineId}/steps/{stepName}/complete": {
      "post": {
        "operationId": "completeStep",
        "parameters": [
          {
            "in": "path",
            "name": "pipelineId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "stepName",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteStepRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePipelineResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOnboardingPipeline"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/onboarding/pipelines/{pipelineId}/welcome-email/resend": {
      "post": {
        "operationId": "resendOwnerWelcomeEmail",
        "parameters": [
          {
            "in": "path",
            "name": "pipelineId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOnboardingPipeline"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs": {
      "get": {
        "operationId": "listOrgs",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListOrgResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}": {
      "delete": {
        "operationId": "deactivateOrg",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "getOrg",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOrgResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateOrg",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrgRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOrgResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/activate": {
      "post": {
        "operationId": "activateOrg",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/activation-readiness": {
      "get": {
        "operationId": "getActivationReadiness",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseActivationReadinessResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/deactivate": {
      "post": {
        "operationId": "deactivateOrgExplicit",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/iam/job-functions": {
      "get": {
        "operationId": "listJobFunctions",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "scope",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOrgJobFunctionsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/iam/people": {
      "get": {
        "operationId": "listPeople",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "userState",
            "required": false,
            "schema": {
              "default": "ALL",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOrgPeopleResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/iam/people/{userId}/access": {
      "get": {
        "operationId": "getPersonAccess",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOrgIamPersonAccessResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/iam/people/{userId}/organization-job-function": {
      "post": {
        "operationId": "assignOrganizationJobFunction",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignOrganizationJobFunctionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOrgIamPersonAccessResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/iam/people/{userId}/remove": {
      "post": {
        "operationId": "removeOrganizationMember",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveOrganizationMemberRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/iam/people/{userId}/stores/{storeId}/primary-job-function": {
      "post": {
        "operationId": "assignPrimaryJobFunction",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignPrimaryJobFunctionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOrgIamPersonAccessResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/iam/people/{userId}/stores/{storeId}/remove": {
      "post": {
        "operationId": "removeStoreMember",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveStoreMemberRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/iam/responsibilities": {
      "get": {
        "operationId": "listResponsibilities",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListOrgIamResponsibilityResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/invites": {
      "get": {
        "operationId": "listOrgInvites",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 100,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListOrgInviteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createOrgInvite",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "inviteId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrgInviteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOrgInviteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/invites/{inviteId}": {
      "delete": {
        "operationId": "deleteOrgInvite",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inviteId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/invites/{inviteId}/deliver": {
      "post": {
        "operationId": "deliverOrgInvite",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inviteId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOrgInviteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/invites/{inviteId}/revoke": {
      "post": {
        "operationId": "revokeOrgInvite",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "inviteId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/onboarding-tasks": {
      "get": {
        "operationId": "listOnboardingTasks",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListOnboardingTaskResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/onboarding-tasks/{taskId}/retry": {
      "post": {
        "operationId": "retryOnboardingTask",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "taskId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/owners/{userId}": {
      "delete": {
        "operationId": "deactivateOwner",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountStateLifecycleResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/owners/{userId}/activate": {
      "post": {
        "operationId": "activateOwner",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountStateLifecycleResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/permissions": {
      "get": {
        "operationId": "getPermissionsMatrix",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "scope",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePermissionsMatrixResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementPermissions"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/permissions/job-functions/{jobFunctionId}/people": {
      "get": {
        "operationId": "getPermissionsJobFunctionPeople",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "jobFunctionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePermissionsMatrixJobFunctionPeopleResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementPermissions"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores": {
      "get": {
        "operationId": "listStores",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementApiResponseListStoreResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementStore"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createStore",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateStoreRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementApiResponseStoreResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementStore"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}": {
      "delete": {
        "operationId": "deactivateStore",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementStore"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "getStore",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementApiResponseStoreResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementStore"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateStore",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStoreRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementApiResponseStoreResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementStore"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/activate": {
      "post": {
        "operationId": "activateStore",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementStore"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/mkonnekt/audit": {
      "get": {
        "operationId": "managementGetAudit",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementApiResponseListMkonnektRequestAuditResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementMkonnektManagement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/mkonnekt/config": {
      "get": {
        "operationId": "managementGetConfig",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementApiResponseMkonnektConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementMkonnektManagement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateConfig",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MkonnektConfigRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementApiResponseMkonnektConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementMkonnektManagement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/mkonnekt/diagnostics/callback-readiness": {
      "get": {
        "operationId": "getCallbackReadiness",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMkonnektCallbackReadinessResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementMkonnektManagement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/mkonnekt/diagnostics/discount-auth": {
      "post": {
        "operationId": "runDiscountAuthDiagnostic",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MkonnektDiscountAuthDiagnosticRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMkonnektDiscountAuthDiagnosticResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementMkonnektManagement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/tax-configs": {
      "get": {
        "operationId": "managementList_3",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListGatewayTaxConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTaxConfig"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "managementCreate_6",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGatewayTaxConfigRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayTaxConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTaxConfig"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/tax-configs/{taxConfigId}": {
      "delete": {
        "operationId": "managementDelete_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "taxConfigId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTaxConfig"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "managementUpdate_3",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "taxConfigId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGatewayTaxConfigRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayTaxConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTaxConfig"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals": {
      "get": {
        "operationId": "listTerminals",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "includeDisabled",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementApiResponseListTerminalResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createTerminal",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ManagementCreateTerminalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementApiResponseTerminalResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/payment-device-links/retry-pending-cloud-sync": {
      "post": {
        "operationId": "retryPendingCloudSyncPaymentDeviceLinks",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseRetryPendingCloudSyncPaymentDeviceLinksResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}": {
      "delete": {
        "operationId": "deleteTerminal",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "getTerminal",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTerminalWithPaymentConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateTerminal",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ManagementUpdateTerminalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementApiResponseTerminalResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/commands": {
      "post": {
        "operationId": "sendCommand",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendTerminalCommandRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCommandResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/deprovision": {
      "post": {
        "operationId": "startTerminalDeprovision",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTerminalDeprovisionOperationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/deprovision/force": {
      "post": {
        "operationId": "forceTerminalDeprovision",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTerminalDeprovisionOperationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/deprovision/{operationId}": {
      "get": {
        "operationId": "getTerminalDeprovisionOperation",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "operationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTerminalDeprovisionOperationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/deprovision/{operationId}/cancel": {
      "post": {
        "operationId": "cancelTerminalDeprovision",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "operationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CancelTerminalDeprovisionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTerminalDeprovisionOperationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/disable": {
      "post": {
        "operationId": "createOrgsStoresTerminalsDisable",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/onboarding-tokens": {
      "post": {
        "operationId": "generateOnboardingToken",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGenerateOnboardingTokenResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/onboarding-tokens/{tokenId}/confirm": {
      "post": {
        "operationId": "confirmOnboardingToken",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tokenId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/payment-config": {
      "get": {
        "operationId": "managementGetPaymentConfig",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementApiResponsePaymentConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "savePaymentConfig",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ManagementPaymentConfigRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementApiResponsePaymentConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/payment-device-link": {
      "get": {
        "operationId": "getPaymentDeviceLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePaymentDeviceLinkDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/payment-device-link/authorize-relink": {
      "post": {
        "operationId": "authorizePaymentDeviceRelink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePaymentDeviceLinkDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/payment-device-link/clear": {
      "post": {
        "operationId": "clearPaymentDeviceLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePaymentDeviceLinkDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/payment-device-link/revalidate": {
      "post": {
        "operationId": "revalidatePaymentDeviceLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCommandResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/payment-device-link/revoke": {
      "post": {
        "operationId": "revokePaymentDeviceLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RevokePaymentDeviceLinkRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePaymentDeviceLinkDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/reactivate": {
      "post": {
        "operationId": "createOrgsStoresTerminalsReactivate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementApiResponseTerminalResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/reassign": {
      "post": {
        "operationId": "reassignTerminal",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReassignTerminalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementApiResponseTerminalResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/remove": {
      "post": {
        "operationId": "removeTerminal",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveTerminalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTerminalDeprovisionOperationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/revoke": {
      "post": {
        "operationId": "revokeTerminal",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/superadmin": {
      "post": {
        "operationId": "createSuperAdmin",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSuperAdminRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOnboardingTaskResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/tax-rates": {
      "get": {
        "operationId": "managementList_4",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListTaxRateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTaxRate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/terminals": {
      "get": {
        "operationId": "listOrgTerminals",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "includeDisabled",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementApiResponseListTerminalResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrgTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/tier": {
      "get": {
        "operationId": "managementGetOrgTier",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTierResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTier"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateOrgTier",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTierRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTierResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementTier"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/users/{userId}": {
      "delete": {
        "operationId": "deactivateOrgUser",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountStateLifecycleResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/users/{userId}/activate": {
      "post": {
        "operationId": "activateOrgUser",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountStateLifecycleResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementOrg"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/users/{userId}/pin": {
      "put": {
        "operationId": "setPin",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetMerchantUserPinRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementMerchantUserPin"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/orgs/{orgId}/utilization": {
      "get": {
        "operationId": "managementGetUtilization",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementUtilization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/stores": {
      "get": {
        "operationId": "listAllStores",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementApiResponseListStoreResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGlobalStore"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/stores/{storeId}/gateway-auth": {
      "get": {
        "operationId": "managementList_5",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListGatewayStoreAuthResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayStoreAuth"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "bind",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BindGatewayStoreRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayStoreBindResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayStoreAuth"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/stores/{storeId}/gateway-auth/pair": {
      "put": {
        "operationId": "pair",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PairGatewayStoreRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayStoreBindResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayStoreAuth"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/management/api/v1/stores/{storeId}/gateway-auth/relink": {
      "put": {
        "operationId": "relink",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RelinkGatewayStoreRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayStoreBindResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "ManagementGatewayStoreAuth"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/gift-cards": {
      "get": {
        "operationId": "listGiftCardsByOrg",
        "parameters": [
          {
            "in": "query",
            "name": "orgId",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListGiftCardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCard"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createGiftCard",
        "parameters": [
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGiftCardRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGiftCardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCard"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/gift-cards/batches": {
      "post": {
        "operationId": "createBatch",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchGiftCardRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseBatchGenerationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCard"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/gift-cards/code/{code}": {
      "get": {
        "operationId": "getGiftCardByCode",
        "parameters": [
          {
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGiftCardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCard"
        ],
        "security": []
      }
    },
    "/merchant/api/gift-cards/{id}": {
      "get": {
        "operationId": "getGiftCard",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGiftCardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCard"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/gift-cards/{id}/disable": {
      "patch": {
        "operationId": "disableGiftCard",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGiftCardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCard"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/orders": {
      "get": {
        "operationId": "listOrders",
        "parameters": [
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "view",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "fulfillmentType",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "platform",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListOrderResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createOrder",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrderRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOrderResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/orders/{orderId}/status": {
      "patch": {
        "operationId": "updateOrderStatus",
        "parameters": [
          {
            "in": "path",
            "name": "orderId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrderStatusRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOrderResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/accounts/{orgId}/invoicing/customers/{customerId}/payment-methods": {
      "get": {
        "operationId": "merchantList",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListSavedPaymentMethodResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSavedPaymentMethod"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "record",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordSavedPaymentMethodRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSavedPaymentMethodResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSavedPaymentMethod"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/accounts/{orgId}/invoicing/customers/{customerId}/payment-methods/{methodId}/default": {
      "post": {
        "operationId": "merchantSetDefault",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "methodId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSavedPaymentMethodResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSavedPaymentMethod"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/accounts/{orgId}/invoicing/payment-methods/{id}": {
      "delete": {
        "operationId": "merchantDelete",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUnit"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSavedPaymentMethod"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/gateway/merchants": {
      "get": {
        "operationId": "listByStore",
        "parameters": [
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantApiResponseListGatewayMerchantResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGatewayMerchant"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/invites/accept": {
      "post": {
        "operationId": "accept",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInviteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUserResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvite"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": []
          }
        ]
      }
    },
    "/merchant/api/v1/invites/validate": {
      "post": {
        "operationId": "validate",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateInviteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInviteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvite"
        ],
        "security": []
      }
    },
    "/merchant/api/v1/orders": {
      "get": {
        "operationId": "listV1Orders",
        "parameters": [
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "view",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "fulfillmentType",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "platform",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListOrderResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createV1Order",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrderRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOrderResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orders/{orderId}/status": {
      "patch": {
        "operationId": "updateV1OrderStatus",
        "parameters": [
          {
            "in": "path",
            "name": "orderId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrderStatusRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOrderResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/action-inbox": {
      "get": {
        "operationId": "merchantList_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "source",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "taskType",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListActionInboxTaskResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantActionInbox"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/action-inbox/{taskId}": {
      "patch": {
        "operationId": "merchantUpdate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "taskId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateActionInboxTaskRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseActionInboxTaskResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantActionInbox"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/action-inbox/{taskId}/complete": {
      "post": {
        "operationId": "complete",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "taskId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveGiftCardRefundTaskRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseActionInboxTaskResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantActionInbox"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/action-inbox/{taskId}/dismiss": {
      "post": {
        "operationId": "dismiss",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "taskId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseActionInboxTaskResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantActionInbox"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/action-inbox/{taskId}/resolve-terminal-return": {
      "post": {
        "operationId": "resolveTerminalReturnReview",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "taskId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveTerminalReturnReviewTaskRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseActionInboxTaskResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTerminalReturnReview"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/activity-log": {
      "get": {
        "operationId": "merchantList_2",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListActivityLogResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgActivityLog"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/advertisements": {
      "get": {
        "operationId": "merchantList_3",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "placement",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "active",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAdvertisementResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAdvertisement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "merchantCreate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAdvertisementRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAdvertisementResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAdvertisement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/advertisements/analytics": {
      "get": {
        "operationId": "analytics",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "adId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAdvertisementAnalyticsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAdvertisement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/advertisements/images": {
      "post": {
        "operationId": "uploadImage",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAdvertisementImageUploadResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAdvertisement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/advertisements/impressions/batch": {
      "post": {
        "operationId": "recordImpressionBatch",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordAdvertisementImpressionBatchRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseRecordAdvertisementImpressionBatchResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAdvertisement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/advertisements/target-groups": {
      "get": {
        "operationId": "listTargetGroups",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAdvertisementStoreGroupResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAdvertisement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createTargetGroup",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdvertisementStoreGroupRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAdvertisementStoreGroupResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAdvertisement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/advertisements/target-groups/{groupId}": {
      "delete": {
        "operationId": "deleteTargetGroup",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "groupId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAdvertisement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateTargetGroup",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "groupId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdvertisementStoreGroupRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAdvertisementStoreGroupResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAdvertisement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/advertisements/{adId}": {
      "delete": {
        "operationId": "merchantDelete_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "adId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAdvertisement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "merchantGet",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "adId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAdvertisementResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAdvertisement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "merchantUpdate_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "adId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAdvertisementRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAdvertisementResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAdvertisement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/advertisements/{adId}/impressions": {
      "post": {
        "operationId": "recordImpression",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "adId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "Required when impressionId is absent",
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordImpressionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAdvertisement"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/analytics/gift-cards/metrics": {
      "get": {
        "operationId": "getGiftCardMetrics",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGiftCardMetrics"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAnalytics"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/analytics/loyalty/customer-segments": {
      "get": {
        "operationId": "getCustomerSegments",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCustomerSegment"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAnalytics"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/analytics/loyalty/enrollment-trends": {
      "get": {
        "operationId": "getEnrollmentTrends",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListEnrollmentTrend"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAnalytics"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/analytics/loyalty/redemption-rates": {
      "get": {
        "operationId": "getRedemptionRates",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListRedemptionRate"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAnalytics"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/analytics/loyalty/top-customers": {
      "get": {
        "operationId": "getTopCustomers",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 10,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListTopCustomer"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAnalytics"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/analytics/overview": {
      "get": {
        "operationId": "getOverview",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOrgAnalyticsOverview"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAnalytics"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/analytics/payment-methods": {
      "get": {
        "operationId": "getPaymentMethods",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListPaymentMethodBreakdown"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAnalytics"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/analytics/peak-hours": {
      "get": {
        "operationId": "getPeakHours",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListPeakHoursResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAnalytics"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/analytics/refund-rates": {
      "get": {
        "operationId": "getRefundRates",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseRefundRateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAnalytics"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/analytics/top-products": {
      "get": {
        "operationId": "getTopProducts",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 10,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListTopProductResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAnalytics"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/branding": {
      "delete": {
        "operationId": "delete_2",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgBranding"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "merchantGet_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseBrandingResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgBranding"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "save",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveBrandingRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseBrandingResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgBranding"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/branding/images/{imageKind}": {
      "post": {
        "operationId": "uploadImage_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "imageKind",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseBrandingImageUploadResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgBranding"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/categories": {
      "get": {
        "operationId": "merchantList_4",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCategoryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "merchantCreate_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCategoryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCategoryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/categories/active": {
      "get": {
        "operationId": "listActiveCategories",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCategoryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/categories/import": {
      "post": {
        "operationId": "importCategories",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "dryRun",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/CategoryImportMultipartRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseImportResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategoryImport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/categories/import-template": {
      "get": {
        "operationId": "downloadTemplate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "mode",
            "required": false,
            "schema": {
              "default": "CREATE_ONLY",
              "enum": [
                "CREATE_ONLY",
                "UPDATE_EXISTING"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategoryImport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/categories/import/updates": {
      "post": {
        "operationId": "importCategoryUpdates",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "dryRun",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "confirmUpdates",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/CategoryImportMultipartRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseImportResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategoryImport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/categories/tree": {
      "get": {
        "operationId": "listTree",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCategoryTreeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/categories/{categoryId}": {
      "delete": {
        "operationId": "delete_3",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "categoryId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "merchantGet_2",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "categoryId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCategoryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "merchantUpdate_2",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "categoryId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCategoryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCategoryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/categories/{categoryId}/dependencies": {
      "get": {
        "operationId": "dependencies",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "categoryId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCategoryDependenciesResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/categories/{categoryId}/merge": {
      "post": {
        "operationId": "merge",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "categoryId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MergeCategoryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCategoryMergeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/categories/{categoryId}/provider-code/{provider}": {
      "get": {
        "operationId": "providerCode",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "categoryId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "provider",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCategoryProviderCodeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "replaceProviderCode",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "categoryId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "provider",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReplaceCategoryProviderCodeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCategoryProviderCodeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/custom-field-settings": {
      "get": {
        "operationId": "getCustomFieldSettings",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldSettingsSchemaResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomFieldSettings"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/custom-field-settings/asset-types": {
      "post": {
        "operationId": "createCustomFieldSettingsAssetType",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveCustomFieldSettingsAssetTypeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldSettingsAssetTypeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomFieldSettings"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/custom-field-settings/asset-types/{id}": {
      "put": {
        "operationId": "updateCustomFieldSettingsAssetType",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveCustomFieldSettingsAssetTypeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldSettingsAssetTypeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomFieldSettings"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/custom-field-settings/asset-types/{id}/archive": {
      "post": {
        "operationId": "archiveCustomFieldSettingsAssetType",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldSettingsAssetTypeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomFieldSettings"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/custom-field-settings/asset-types/{id}/restore": {
      "post": {
        "operationId": "restoreCustomFieldSettingsAssetType",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldSettingsAssetTypeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomFieldSettings"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/custom-field-settings/definitions": {
      "post": {
        "operationId": "createCustomFieldSettingsDefinition",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomFieldSettingsDefinitionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldSettingsDefinitionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomFieldSettings"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/custom-field-settings/definitions/{id}": {
      "put": {
        "operationId": "updateCustomFieldSettingsDefinition",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomFieldSettingsDefinitionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldSettingsDefinitionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomFieldSettings"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/custom-field-settings/definitions/{id}/archive": {
      "post": {
        "operationId": "archiveCustomFieldSettingsDefinition",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldSettingsDefinitionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomFieldSettings"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/custom-field-settings/definitions/{id}/restore": {
      "post": {
        "operationId": "restoreCustomFieldSettingsDefinition",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldSettingsDefinitionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomFieldSettings"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/custom-field-settings/service-options": {
      "get": {
        "operationId": "getCustomFieldSettingsServiceOptions",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCustomFieldSettingsServiceOptionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomFieldSettings"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/custom-fields": {
      "get": {
        "operationId": "schema",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomFieldSchemaResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomField"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers": {
      "get": {
        "operationId": "merchantList_5",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "gatewaySynced",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "recent",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCustomerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "merchantCreate_2",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomerRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/create-operations/{operationKey}": {
      "get": {
        "description": "Returns the immutable committed customer-create outcome for this organization and key. A missing outcome is not proof that an in-flight create did not commit; replay the original request with the same key.",
        "operationId": "getCustomerCreateOperation",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "operationKey",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/import": {
      "post": {
        "operationId": "importCustomers",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "dryRun",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/CustomerImportMultipartRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseImportResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerImport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/import-template": {
      "get": {
        "operationId": "downloadTemplate_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerImport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/lookup": {
      "get": {
        "operationId": "lookup",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "phone",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "loyaltyId",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCustomerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/picker": {
      "get": {
        "description": "Searches customers in the authorized organization. Empty search returns bounded suggestions; exact normalized email, phone, and loyalty ID matches rank before name matches. Page and size are scoped to the organization and search query.",
        "operationId": "listCustomerPickerOptions",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCustomerPickerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}": {
      "delete": {
        "operationId": "delete_4",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "merchantGet_3",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "description": "Updates the customer profile. Optional expectedUpdatedAt must be the exact timestamp returned by the loaded customer; omission or null preserves legacy unconditional updates. A stale precondition returns 409 CUSTOMER_PROFILE_CHANGED with the current authorized CustomerResponse in data and no write.",
        "operationId": "merchantUpdate_3",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomerRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/analytics": {
      "get": {
        "operationId": "analytics_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "timezone",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomerAnalyticsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/assets": {
      "get": {
        "operationId": "listAssets",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "includeRetired",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCustomerAssetResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerCustomField"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createAsset",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomerAssetRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomerAssetResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerCustomField"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/assets/{assetId}": {
      "delete": {
        "operationId": "deleteAsset",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "assetId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUnit"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerCustomField"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateAsset",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "assetId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomFieldValuesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomerAssetResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerCustomField"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/assets/{assetId}/reactivate": {
      "post": {
        "operationId": "reactivateAsset",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "assetId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomerAssetResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerCustomField"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/assets/{assetId}/retire": {
      "post": {
        "operationId": "retireAsset",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "assetId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RetireCustomerAssetRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomerAssetResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerCustomField"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/custom-fields": {
      "get": {
        "operationId": "values",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCustomFieldValueResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerCustomField"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateValues",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomFieldValuesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCustomFieldValueResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerCustomField"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/identifiers": {
      "get": {
        "operationId": "identifiers",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCustomerIdentifierResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/notes": {
      "patch": {
        "operationId": "updateNotes",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {}
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/payment-profile": {
      "get": {
        "operationId": "list_6",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListMerchantPaymentMethodResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerPaymentProfile"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/payment-profile/methods/{paymentMethodId}": {
      "delete": {
        "operationId": "remove",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "paymentMethodId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerPaymentProfile"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/payment-profile/methods/{paymentMethodId}/default": {
      "post": {
        "operationId": "setDefault_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "paymentMethodId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMerchantPaymentMethodResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerPaymentProfile"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/payment-profile/methods/{paymentMethodId}/replace": {
      "post": {
        "operationId": "replace",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "paymentMethodId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MerchantPaymentMethodReplaceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMerchantPaymentMethodResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerPaymentProfile"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/payment-profile/setup-link": {
      "post": {
        "operationId": "sendPaymentProfileSetupLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomerPaymentProfileSetupLinkResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/payment-profile/setup-session": {
      "post": {
        "operationId": "issueSetupSession",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "replacementPaymentMethodId",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "validate",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMerchantPaymentProfileSetupSessionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerPaymentProfile"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/payment-tokens": {
      "get": {
        "operationId": "listTokens",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListPaymentTokenResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantPaymentToken"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createOrgsCustomersPaymentTokens",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveCardRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePaymentTokenResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantPaymentToken"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/payment-tokens/{paymentMethodId}": {
      "delete": {
        "operationId": "deletePaymentMethod",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "paymentMethodId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantPaymentToken"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/points": {
      "post": {
        "operationId": "adjustPoints",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdjustPointsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/customers/{customerId}/points/adjustments/{requestId}": {
      "get": {
        "operationId": "pointsAdjustmentReceipt",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePointsAdjustmentReceipt"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/daily-brief": {
      "get": {
        "operationId": "brief",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDailyBriefResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantDailyBrief"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/daily-brief/subscription": {
      "get": {
        "operationId": "subscription",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDailyBriefSubscriptionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantDailyBrief"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateSubscription",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DailyBriefSubscriptionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDailyBriefSubscriptionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantDailyBrief"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/devices": {
      "delete": {
        "operationId": "unregister",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "token",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "registrationGeneration",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantDeviceToken"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "list_7",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListDeviceTokenResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantDeviceToken"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "register",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterDeviceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDeviceTokenResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantDeviceToken"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/employee-departments": {
      "get": {
        "operationId": "listEmployeeDepartments",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListEmployeeDepartmentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantEmployeeDepartment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createEmployeeDepartment",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEmployeeDepartmentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseEmployeeDepartmentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantEmployeeDepartment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/employee-departments/{departmentId}": {
      "delete": {
        "operationId": "deleteEmployeeDepartment",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "departmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantEmployeeDepartment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateEmployeeDepartment",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "departmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEmployeeDepartmentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseEmployeeDepartmentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantEmployeeDepartment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/employees/export": {
      "get": {
        "operationId": "exportEmployeeBundle",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sections",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/zip": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Export employee data as a versioned CSV bundle",
        "tags": [
          "MerchantEmployeeTransfer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/feature-resolution": {
      "post": {
        "operationId": "resolve",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMapStringObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantFeatureResolution"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/forms/deliveries": {
      "post": {
        "operationId": "resend",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormTargetRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseFormDeliveryResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantFormRequests"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/forms/links": {
      "post": {
        "operationId": "createLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormTargetRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseFormLinkResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantFormRequests"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/forms/requests": {
      "get": {
        "operationId": "list_8",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "customerId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "appointmentId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListFormRequestView"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantFormRequests"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "merchantCreate_3",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseFormRequestView"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantFormRequests"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/forms/requests/{id}/revoke": {
      "post": {
        "operationId": "revoke",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseFormRequestView"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantFormRequests"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/forms/submissions/{id}": {
      "get": {
        "operationId": "submission",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseFormSubmissionDetail"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantFormRequests"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/forms/submissions/{id}/pdf": {
      "get": {
        "operationId": "pdf",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/pdf": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantFormRequests"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/forms/templates": {
      "get": {
        "operationId": "listFormTemplates",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListFormTemplateSummary"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantForms"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createFormTemplate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFormTemplateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseFormTemplateDetail"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantForms"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/forms/templates/{id}": {
      "get": {
        "operationId": "getFormTemplate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseFormTemplateDetail"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantForms"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateFormTemplate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFormTemplateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseFormTemplateDetail"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantForms"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/forms/templates/{id}/archive": {
      "post": {
        "operationId": "archiveFormTemplate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormTemplateRevisionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseFormTemplateDetail"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantForms"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/forms/templates/{id}/duplicate": {
      "post": {
        "operationId": "duplicateFormTemplate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseFormTemplateDetail"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantForms"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/forms/templates/{id}/publish": {
      "post": {
        "operationId": "publishFormTemplate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormTemplateRevisionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseFormTemplateDetail"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantForms"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/forms/templates/{id}/services": {
      "put": {
        "operationId": "assignFormTemplateServices",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignFormTemplateServicesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseFormTemplateDetail"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantForms"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/forms/templates/{id}/versions/{versionId}": {
      "get": {
        "operationId": "getFormTemplateVersion",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseFormTemplateVersionView"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantForms"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/gateway/portal-token": {
      "post": {
        "operationId": "mint",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PortalTokenRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePortalTokenResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantPortalToken"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/gift-cards": {
      "get": {
        "operationId": "listOrgGiftCards",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListGiftCardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCard"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createOrgGiftCard",
        "parameters": [
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGiftCardRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGiftCardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCard"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/gift-cards/batches": {
      "post": {
        "operationId": "createOrgGiftCardBatch",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchGiftCardRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseBatchGenerationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCard"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/gift-cards/code/{code}": {
      "get": {
        "operationId": "getOrgGiftCardByCode",
        "parameters": [
          {
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGiftCardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCard"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/gift-cards/import": {
      "post": {
        "operationId": "importGiftCards",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "dryRun",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/GiftCardImportMultipartRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseImportResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCardImport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/gift-cards/import-template": {
      "get": {
        "operationId": "downloadTemplate_2",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCardImport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/gift-cards/{id}": {
      "get": {
        "operationId": "getOrgGiftCard",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGiftCardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCard"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/gift-cards/{id}/disable": {
      "patch": {
        "operationId": "disableOrgGiftCard",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGiftCardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCard"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/historical-payments/appointments/{appointmentId}/policy-payments/{paymentId}/reconcile": {
      "post": {
        "operationId": "booking",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "paymentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseHistoricalPaymentRepairResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantHistoricalPaymentRepair"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/historical-payments/invoices/{invoiceId}/attempts/{requestId}/reconcile": {
      "post": {
        "operationId": "invoice",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseHistoricalPaymentRepairResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantHistoricalPaymentRepair"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/households": {
      "get": {
        "operationId": "list_9",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListHouseholdSummaryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerHousehold"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "merchantCreate_4",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateHouseholdRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseHouseholdDetailResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerHousehold"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/households/{householdId}": {
      "get": {
        "operationId": "merchantGet_4",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "householdId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseHouseholdDetailResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerHousehold"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "update_4",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "householdId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateHouseholdRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseHouseholdDetailResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerHousehold"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/households/{householdId}/loyalty": {
      "get": {
        "operationId": "loyaltyRollup",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "householdId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseHouseholdLoyaltyRollupResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerHousehold"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/households/{householdId}/members": {
      "post": {
        "operationId": "addMember",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "householdId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddHouseholdMemberRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseHouseholdDetailResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerHousehold"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/households/{householdId}/members/{customerId}": {
      "delete": {
        "operationId": "removeMember",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "householdId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseHouseholdDetailResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerHousehold"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "patch": {
        "operationId": "updateMember",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "householdId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateHouseholdMemberRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseHouseholdDetailResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerHousehold"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/households/{householdId}/merge": {
      "post": {
        "operationId": "merge_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "householdId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MergeHouseholdsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseHouseholdDetailResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerHousehold"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/households/{householdId}/split": {
      "post": {
        "operationId": "split",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "householdId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SplitHouseholdRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseHouseholdDetailResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerHousehold"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/iam/access-previews": {
      "post": {
        "operationId": "createIamAccessPreview",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StandardIamAccessPreviewRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStandardIamAccessPreview"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/iam/job-functions": {
      "get": {
        "operationId": "listIamJobFunctions",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "capabilityStoreId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStandardIamJobFunctionCollection"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createIamJobFunction",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StandardIamCreateJobFunctionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStandardIamJobFunction"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/iam/job-functions/{id}": {
      "get": {
        "operationId": "getIamJobFunction",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "capabilityStoreId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStandardIamJobFunction"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateIamJobFunction",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StandardIamUpdateJobFunctionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStandardIamJobFunction"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/iam/job-functions/{id}/archive": {
      "post": {
        "operationId": "archiveIamJobFunction",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StandardIamArchiveJobFunctionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStandardIamJobFunction"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/iam/job-functions/{id}/duplicate": {
      "post": {
        "operationId": "duplicateIamJobFunction",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StandardIamDuplicateJobFunctionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStandardIamJobFunction"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/iam/job-functions/{id}/hide": {
      "post": {
        "operationId": "hideIamJobFunction",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StandardIamVisibilityRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStandardIamJobFunction"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/iam/job-functions/{id}/restore": {
      "post": {
        "operationId": "restoreIamJobFunction",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StandardIamVisibilityRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStandardIamJobFunction"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/iam/people": {
      "get": {
        "operationId": "listIamPeople",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "userState",
            "required": false,
            "schema": {
              "default": "ACTIVE",
              "enum": [
                "ACTIVE",
                "ALL"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStandardIamPeople"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/iam/people/{userId}/access": {
      "get": {
        "operationId": "getIamPersonAccess",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStandardIamPersonAccess"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/iam/people/{userId}/group-assignments": {
      "post": {
        "operationId": "createIamGroupAssignment",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StandardIamCreateGroupAssignmentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStandardIamPersonAccess"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/iam/people/{userId}/group-assignments/{assignmentId}/remove": {
      "post": {
        "operationId": "removeIamGroupAssignment",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "assignmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StandardIamRemoveGroupAssignmentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStandardIamPersonAccess"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/iam/people/{userId}/organization-job-function": {
      "put": {
        "operationId": "assignIamOrganizationJobFunction",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StandardIamAssignOrganizationJobFunctionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStandardIamPersonAccess"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/iam/people/{userId}/remove": {
      "post": {
        "operationId": "removeIamOrganizationMember",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StandardIamRemoveMemberRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/iam/people/{userId}/stores/{storeId}/primary-job-function": {
      "put": {
        "operationId": "assignIamPrimaryJobFunction",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StandardIamAssignPrimaryJobFunctionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStandardIamPersonAccess"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/iam/people/{userId}/stores/{storeId}/remove": {
      "post": {
        "operationId": "removeIamStoreMember",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StandardIamRemoveMemberRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/iam/responsibilities": {
      "get": {
        "operationId": "listIamResponsibilities",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListStandardIamResponsibility"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStandardIam"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations": {
      "get": {
        "operationId": "list_10",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListIntegrationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegration"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/runtime/sync": {
      "post": {
        "operationId": "syncAll",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/runtime/{integrationId}/quickbooks/config": {
      "get": {
        "operationId": "quickBooksConfig",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateQuickBooksConfig",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/runtime/{integrationId}/quickbooks/customers/create": {
      "post": {
        "operationId": "createQuickBooksCustomer",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/runtime/{integrationId}/quickbooks/customers/link": {
      "post": {
        "operationId": "linkQuickBooksCustomer",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/runtime/{integrationId}/quickbooks/customers/review": {
      "get": {
        "operationId": "quickBooksCustomerReviews",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/runtime/{integrationId}/quickbooks/customers/summary": {
      "get": {
        "operationId": "quickBooksCustomerSummary",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/runtime/{integrationId}/quickbooks/customers/{customerId}/candidates": {
      "get": {
        "operationId": "quickBooksCustomerCandidates",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/runtime/{integrationId}/quickbooks/failures": {
      "get": {
        "operationId": "quickBooksFailures",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/runtime/{integrationId}/quickbooks/items": {
      "get": {
        "operationId": "quickBooksItems",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/runtime/{integrationId}/quickbooks/items/create": {
      "post": {
        "operationId": "createQuickBooksItems",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/runtime/{integrationId}/quickbooks/items/link": {
      "post": {
        "operationId": "linkQuickBooksItem",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/runtime/{integrationId}/quickbooks/modules": {
      "get": {
        "operationId": "quickBooksModules",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/runtime/{integrationId}/quickbooks/references": {
      "get": {
        "operationId": "quickBooksReferences",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/runtime/{integrationId}/quickbooks/retry": {
      "post": {
        "operationId": "retryQuickBooksFailures",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/runtime/{integrationId}/sync": {
      "post": {
        "operationId": "syncOne",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/{integrationId}": {
      "get": {
        "operationId": "get_5",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseIntegrationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegration"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/{integrationId}/gusto/export": {
      "post": {
        "operationId": "exportGustoPayroll",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GustoPayrollSelection"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGustoPayroll"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/{integrationId}/gusto/options": {
      "get": {
        "operationId": "getGustoPayrollOptions",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGustoPayroll"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/{integrationId}/gusto/timesheets": {
      "get": {
        "operationId": "getGustoPayrollTimesheets",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListShiftTimesheetResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGustoPayroll"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/{provider}/authorize": {
      "get": {
        "operationId": "authorize",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "provider",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseIntegrationAuthorizationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationOAuth"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/{provider}/readiness": {
      "get": {
        "operationId": "readiness",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "provider",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseIntegrationProviderReadinessResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationOAuth"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/integrations/{provider}/{integrationId}/disconnect": {
      "post": {
        "operationId": "disconnect",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "provider",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "integrationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantIntegrationOAuth"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/inventory/products/{productId}/locations": {
      "get": {
        "operationId": "getProductLocationStock",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "productId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseProductLocationInventoryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgInventory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invites": {
      "get": {
        "operationId": "list_11",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListInviteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgInvite"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_5",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "inviteId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInviteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInviteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgInvite"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invites/capabilities": {
      "get": {
        "operationId": "capabilities",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeIds",
            "required": false,
            "schema": {
              "default": "",
              "items": {
                "format": "uuid",
                "type": "string"
              },
              "type": "array"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInviteReadCapabilitiesResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgInvite"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invites/{id}": {
      "delete": {
        "operationId": "delete_5",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgInvite"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invites/{id}/deliver": {
      "post": {
        "operationId": "deliver",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInviteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgInvite"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invites/{id}/revoke": {
      "post": {
        "operationId": "revoke_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgInvite"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/accounting/export": {
      "get": {
        "operationId": "listExports",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListInvoiceAccountingExportResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceAccountingExport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "requestExport",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInvoiceAccountingExportRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceAccountingExportResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceAccountingExport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/accounting/export/preview": {
      "get": {
        "operationId": "previewExport",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "periodStart",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "periodEnd",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceAccountingExport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/autopay-defaults": {
      "get": {
        "operationId": "defaults",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceAutoPayDefaultsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceAutoPay"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "setDefaults",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InvoiceAutoPayDefaultsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceAutoPayDefaultsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceAutoPay"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/billing-codes": {
      "get": {
        "operationId": "list_12",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBillingCode"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "merchantCreate_6",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBillingCode"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/billing-codes/{codeId}": {
      "delete": {
        "operationId": "delete_6",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "codeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBillingCode"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "patch": {
        "operationId": "update_5",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "codeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBillingCode"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/configuration-templates": {
      "get": {
        "operationId": "list_13",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListInvoiceConfigurationTemplateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceConfigurationTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_7",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInvoiceConfigurationTemplateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceConfigurationTemplateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceConfigurationTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/configuration-templates/starters": {
      "get": {
        "operationId": "starters",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListInvoiceConfigurationTemplateStarterResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceConfigurationTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/configuration-templates/{templateId}": {
      "delete": {
        "operationId": "delete_7",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "templateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "expectedVersion",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseBoolean"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceConfigurationTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "get_6",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "templateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceConfigurationTemplateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceConfigurationTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "update_6",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "templateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateInvoiceConfigurationTemplateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceConfigurationTemplateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceConfigurationTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/credit-notes": {
      "get": {
        "operationId": "list_14",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCreditNoteListResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCreditNote"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/credit-notes/{id}": {
      "get": {
        "operationId": "get_7",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCreditNoteDetailResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCreditNote"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/credit-notes/{id}/lines": {
      "get": {
        "operationId": "listLines",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCreditNoteLineResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCreditNote"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/customers/{customerId}/autopay": {
      "get": {
        "operationId": "customer",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceCustomerAutoPayResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceAutoPay"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "customer_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InvoiceCustomerAutoPayRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceCustomerAutoPayResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceAutoPay"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/customers/{customerId}/sms/consent": {
      "get": {
        "operationId": "consent",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListInvoiceSmsConsentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceSms"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/customers/{customerId}/sms/opt-in": {
      "post": {
        "operationId": "optIn",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InvoiceSmsOptInRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUnit"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceSms"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/customers/{customerId}/sms/opt-out": {
      "post": {
        "operationId": "optOut",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InvoiceSmsOptInRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUnit"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceSms"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/estimates": {
      "get": {
        "operationId": "listAccountEstimates",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAccountEstimateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createAccountEstimate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountCreateEstimateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountEstimateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/estimates/unassigned": {
      "get": {
        "operationId": "listUnassignedAccountEstimates",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAccountEstimateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/estimates/{estimateId}": {
      "delete": {
        "operationId": "deleteAccountEstimateDraft",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "estimateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantQuoteLifecycle"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "getAccountEstimate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "estimateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountEstimateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "patch": {
        "operationId": "updateAccountEstimate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "estimateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountUpdateEstimateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountEstimateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/estimates/{estimateId}/approve": {
      "post": {
        "operationId": "approveAccountEstimate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "estimateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountEstimateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/estimates/{estimateId}/assign-store": {
      "post": {
        "operationId": "assignAccountEstimateStore",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "estimateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountEstimateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/estimates/{estimateId}/composer-link": {
      "post": {
        "operationId": "createAccountEstimateComposerLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "estimateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountEstimateViewLinkResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/estimates/{estimateId}/convert": {
      "post": {
        "operationId": "convertAccountEstimate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "estimateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountConvertEstimateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/estimates/{estimateId}/decline": {
      "post": {
        "operationId": "declineAccountEstimate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "estimateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountEstimateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/estimates/{estimateId}/lines": {
      "get": {
        "operationId": "listAccountEstimateLines",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "estimateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAccountEstimateLineResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "addAccountEstimateLine",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "estimateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountEstimateLineRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountEstimateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/estimates/{estimateId}/lines/{lineId}": {
      "delete": {
        "operationId": "deleteAccountEstimateLine",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "estimateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "lineId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountEstimateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "patch": {
        "operationId": "updateAccountEstimateLine",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "estimateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "lineId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountEstimateLineRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountEstimateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/estimates/{estimateId}/send": {
      "post": {
        "operationId": "sendAccountEstimate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "estimateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountSendEstimateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountEstimateDeliveryQueuedResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/estimates/{estimateId}/view-link": {
      "post": {
        "operationId": "createAccountEstimateViewLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "estimateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountEstimateViewLinkResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/estimates/{estimateId}/withdraw": {
      "post": {
        "operationId": "withdrawAccountEstimate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "estimateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantQuoteLifecycle"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/fx/rates": {
      "post": {
        "operationId": "recordRate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertInvoiceFxRateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUnit"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceFx"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/fx/rates/latest": {
      "get": {
        "operationId": "latestRate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "base",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "quote",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceFxRateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceFx"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoice-defaults": {
      "get": {
        "operationId": "get_8",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceDefaultsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceDefaults"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "upsert",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertInvoiceDefaultsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceDefaultsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceDefaults"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoice-reminder-config": {
      "get": {
        "operationId": "get_9",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceReminderConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceReminderConfig"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "upsert_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertInvoiceReminderConfigRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceReminderConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceReminderConfig"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices": {
      "get": {
        "operationId": "listAccountInvoices",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "overdue",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "outstanding",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAccountInvoiceResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createAccountInvoice",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/create-receipt": {
      "get": {
        "operationId": "lookupAccountInvoiceCreateReceipt",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "clientInvoiceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountInvoiceCreateReceiptResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/draft-preview": {
      "post": {
        "operationId": "previewAccountInvoiceDraft",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "invoiceId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountCreateDraftInvoiceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountInvoiceDraftPreviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/audit": {
      "get": {
        "operationId": "list_15",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListInvoiceAuditEventResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceAudit"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/autopay": {
      "get": {
        "operationId": "get_10",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceAutoPayResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceAutoPay"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "set",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InvoiceAutoPayOverrideRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceAutoPayResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceAutoPay"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/composer-link": {
      "post": {
        "operationId": "createAccountInvoiceComposerLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountInvoiceComposerLinkResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/credit-notes": {
      "get": {
        "operationId": "listForInvoice",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCreditNoteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCreditNote"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "issue",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueCreditNoteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCreditNoteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCreditNote"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/deliveries/{deliveryId}/retry": {
      "post": {
        "operationId": "retryInvoiceDelivery",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "deliveryId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/issue": {
      "post": {
        "operationId": "issueInvoice",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/issue-and-send": {
      "post": {
        "operationId": "issueAndSendInvoice",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/lines": {
      "post": {
        "operationId": "addInvoiceLine",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/payment-attempts": {
      "get": {
        "operationId": "readInvoicePaymentAttempts",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/payment-attempts/{attemptKey}/complete": {
      "post": {
        "operationId": "completeInvoicePaymentAttempt",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "attemptKey",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/payment-link": {
      "post": {
        "operationId": "createInvoicePaymentLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/payment-profile": {
      "get": {
        "operationId": "get_11",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMerchantInvoicePaymentProfileResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceSavedPayment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/payment-profile/bind-card": {
      "post": {
        "operationId": "bindCard",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BindInvoiceSavedCardRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseBoundInvoiceSavedCardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceSavedPayment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/payment-profile/charge": {
      "post": {
        "operationId": "charge",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InvoiceMerchantSavedPaymentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceSavedPaymentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceSavedPayment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/payment-profile/retire-checkout": {
      "post": {
        "operationId": "retireCheckout",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RetireInvoiceCheckoutRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMapStringBoolean"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceSavedPayment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/payment-profile/saved-card/{requestId}/reconcile": {
      "post": {
        "operationId": "reconcileSavedCard",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMapStringString"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceSavedPayment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/payments": {
      "get": {
        "operationId": "readInvoicePayments",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "recordInvoicePayment",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/refunds": {
      "get": {
        "operationId": "list_16",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListInvoiceRefundResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceRefund"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "request",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestInvoiceRefundRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceRefundResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceRefund"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/refunds/{refundId}/retry": {
      "post": {
        "operationId": "merchantRetry",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "refundId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceRefundResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceRefund"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/reopen": {
      "post": {
        "operationId": "reopenInvoice",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/schedule-preview": {
      "post": {
        "operationId": "previewAccountInvoiceSchedule",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountUpsertScheduleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountInvoiceSchedulePreviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/send": {
      "post": {
        "operationId": "sendInvoice",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/invoices/{invoiceId}/void": {
      "post": {
        "operationId": "voidInvoice",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "invoiceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/line-categories": {
      "get": {
        "operationId": "listAccountInvoiceLineCategories",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCategoryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/recurring-invoices": {
      "get": {
        "operationId": "listRecurring",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListRecurringInvoiceResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceAutopayRecurring"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createRecurring",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRecurringInvoiceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseRecurringInvoiceResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceAutopayRecurring"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/recurring-invoices/{id}": {
      "delete": {
        "operationId": "deactivateRecurring",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUnit"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceAutopayRecurring"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/smart-prompts/deposit": {
      "get": {
        "operationId": "depositPrompt",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceDepositSuggestionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceSmartPrompt"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/sms/config": {
      "get": {
        "operationId": "smsConfig",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceSmsConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceSms"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "upsertSmsConfig",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InvoiceSmsConfigRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceSmsConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceSms"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/templates": {
      "get": {
        "operationId": "list_17",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListInvoiceTemplateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/templates/defaults/{kind}": {
      "delete": {
        "operationId": "resetDefaultDocumentTemplate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "kind",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUnit"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/templates/migrate-image-assets": {
      "post": {
        "operationId": "migrateImageAssets",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTemplateImageMigrationResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/templates/{key}": {
      "delete": {
        "operationId": "delete_8",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUnit"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "upsert_2",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertInvoiceTemplateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceTemplateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/templates/{templateId}/default": {
      "post": {
        "operationId": "setDefaultDocumentTemplate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "templateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDocumentTemplateActivationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInvoiceTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/invoicing/{accountPath}": {
      "delete": {
        "operationId": "deleteOrgsInvoicing",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "accountPath",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "read",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "accountPath",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "patch": {
        "operationId": "patchOrgsInvoicing",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "accountPath",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "post",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "accountPath",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "put",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "accountPath",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountInvoicingWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/loyalty/customers/{customerId}": {
      "get": {
        "operationId": "getCustomerLoyalty",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomerLoyaltyResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/loyalty/customers/{customerId}/read-link": {
      "get": {
        "operationId": "getLoyaltyReadLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLoyaltyReadLinkStateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyaltyReadLink"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "issueLoyaltyReadLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLoyaltyReadLinkStateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyaltyReadLink"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/loyalty/customers/{customerId}/read-link/regenerate": {
      "post": {
        "operationId": "regenerateLoyaltyReadLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoyaltyReadLinkCommandRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLoyaltyReadLinkStateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyaltyReadLink"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/loyalty/customers/{customerId}/read-link/revoke": {
      "post": {
        "operationId": "revokeLoyaltyReadLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoyaltyReadLinkCommandRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLoyaltyReadLinkStateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyaltyReadLink"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/loyalty/customers/{customerId}/welcome-sms": {
      "post": {
        "operationId": "resendLoyaltyWelcomeSms",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLoyaltyWelcomeSmsQueuedResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyaltyMessaging"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/loyalty/messaging": {
      "get": {
        "operationId": "getLoyaltyMessagingSettings",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLoyaltyMessagingSettingsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyaltyMessaging"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "saveLoyaltyMessagingSettings",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoyaltyMessagingSettingsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLoyaltyMessagingSettingsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyaltyMessaging"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/loyalty/messaging/test-sms": {
      "post": {
        "operationId": "sendLoyaltyWelcomeTestSms",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoyaltyWelcomeTestSmsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLoyaltyWelcomeSmsQueuedResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyaltyMessaging"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/loyalty/programs": {
      "get": {
        "operationId": "getPrograms",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListLoyaltyProgramResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createProgram",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoyaltyProgramRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLoyaltyProgramResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/loyalty/programs/{programId}": {
      "delete": {
        "operationId": "deleteProgram",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "programId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "getProgram",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "programId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLoyaltyProgramResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateProgram",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "programId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoyaltyProgramRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLoyaltyProgramResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/loyalty/programs/{programId}/rewards": {
      "get": {
        "operationId": "getRewards",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "programId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListLoyaltyRewardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createReward",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "programId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoyaltyRewardRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLoyaltyRewardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/loyalty/programs/{programId}/rewards/{rewardId}": {
      "delete": {
        "operationId": "deleteReward",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "programId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "rewardId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateReward",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "programId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "rewardId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoyaltyRewardRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLoyaltyRewardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/loyalty/programs/{programId}/tiers": {
      "get": {
        "operationId": "getTiers",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "programId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListLoyaltyTierResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createTier",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "programId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoyaltyTierRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLoyaltyTierResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/loyalty/programs/{programId}/tiers/{tierId}": {
      "delete": {
        "operationId": "deleteTier",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "programId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateTier",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "programId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoyaltyTierRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLoyaltyTierResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/loyalty/programs/{programId}/triggers": {
      "get": {
        "operationId": "getTriggers",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "programId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListTriggerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createTrigger",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "programId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTriggerRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTriggerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/loyalty/programs/{programId}/triggers/{triggerId}": {
      "delete": {
        "operationId": "deleteTrigger",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "programId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "triggerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "getTrigger",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "programId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "triggerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTriggerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateTrigger",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "programId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "triggerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTriggerRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTriggerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/loyalty/redeem": {
      "post": {
        "operationId": "redeemPoints",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RedeemPointsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseRedeemPointsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/loyalty/redemptions/{requestId}": {
      "get": {
        "operationId": "redemptionStatus",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseRedeemPointsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLoyalty"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/marketing/catalog/purchase-categories": {
      "get": {
        "operationId": "purchaseCategories",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 100,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListMarketingCategoryChoice"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMarketingCatalog"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/marketing/catalog/purchase-products": {
      "get": {
        "operationId": "purchaseProducts",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 100,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListMarketingProductChoice"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMarketingCatalog"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/marketing/catalog/reminder-services": {
      "get": {
        "operationId": "reminderServices",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListMarketingReminderServiceChoice"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMarketingCatalog"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/marketing/texting": {
      "get": {
        "operationId": "getTexting",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMarketingTextingResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMarketingTexting"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/marketing/texting/forwarding": {
      "put": {
        "operationId": "updateForwarding",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTextingForwardingRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMarketingTextingResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMarketingTexting"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/marketing/triggers": {
      "get": {
        "operationId": "listTriggers",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListMarketingTriggerRecord"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMarketingTrigger"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createTrigger_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MarketingTriggerUpsertRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMarketingTriggerRecord"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMarketingTrigger"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/marketing/triggers/{triggerId}": {
      "delete": {
        "operationId": "deleteTrigger_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "triggerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMarketingTrigger"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateTrigger_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "triggerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MarketingTriggerUpsertRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMarketingTriggerRecord"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMarketingTrigger"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/marketing/triggers/{triggerId}/history": {
      "get": {
        "operationId": "getHistory",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "triggerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListTriggerLogRecord"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMarketingTrigger"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/marketing/triggers/{triggerId}/preview": {
      "get": {
        "operationId": "previewTrigger",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "triggerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMapStringLong"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMarketingTrigger"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/notifications": {
      "get": {
        "operationId": "list_18",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListNotificationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantNotification"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_8",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNotificationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseNotificationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantNotification"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/notifications/delivery-audit": {
      "get": {
        "operationId": "deliveryAudit",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListNotificationDeliveryAuditResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantNotification"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/notifications/read-all": {
      "post": {
        "operationId": "markAllRead",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantNotification"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/notifications/unread-count": {
      "get": {
        "operationId": "unreadCount",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLong"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantNotification"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/notifications/{notificationId}": {
      "delete": {
        "operationId": "delete_9",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "notificationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantNotification"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "get_12",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "notificationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseNotificationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantNotification"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/notifications/{notificationId}/read": {
      "post": {
        "operationId": "markRead",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "notificationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseNotificationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantNotification"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/organization": {
      "get": {
        "operationId": "get_13",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountOrganizationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/organization/locations": {
      "post": {
        "operationId": "merchantCreateLocation",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccountOrganizationLocationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountOrganizationLocationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/organization/locations/{id}": {
      "delete": {
        "operationId": "deleteLocation",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "patch": {
        "operationId": "merchantUpdateLocation",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountOrganizationLocationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountOrganizationLocationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/organization/locations/{id}/primary": {
      "post": {
        "operationId": "setPrimary",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountOrganizationLocationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/organization/profile": {
      "put": {
        "operationId": "upsertProfile",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertAccountOrganizationProfileRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountOrganizationProfileResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountOrganization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/pay-rates": {
      "get": {
        "operationId": "listStoreEmployeePayRates",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "asOf",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListStoreEmployeePayRateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantEmployeePayRate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/primary-store": {
      "get": {
        "operationId": "resolve_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePrimaryStoreResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantPrimaryStore"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/products/{productId}/images": {
      "get": {
        "operationId": "listImages",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "productId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListProductImageResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProductImage"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "uploadAdditional",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "productId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "altText",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseProductImageResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProductImage"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/products/{productId}/images/{imageId}": {
      "delete": {
        "operationId": "deleteImage",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "productId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "imageId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProductImage"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/products/{productId}/images/{imageId}/alt-text": {
      "put": {
        "operationId": "updateAltText",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "productId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "imageId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "altText",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseProductImageResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProductImage"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/products/{productId}/images/{imageId}/primary": {
      "put": {
        "operationId": "setPrimary_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "productId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "imageId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseProductImageResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProductImage"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/products/{productId}/images/{imageId}/reorder": {
      "put": {
        "operationId": "reorder",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "productId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "imageId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "displayOrder",
            "required": true,
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseProductImageResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProductImage"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/promotions": {
      "get": {
        "operationId": "list_19",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListPromotionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantPromotion"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_9",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePromotionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePromotionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantPromotion"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/promotions/active": {
      "get": {
        "operationId": "listActive",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListPromotionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantPromotion"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/promotions/{promotionId}": {
      "delete": {
        "operationId": "delete_10",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "promotionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantPromotion"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "get_14",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "promotionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePromotionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantPromotion"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "update_7",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "promotionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePromotionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePromotionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantPromotion"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/promotions/{promotionId}/archive": {
      "post": {
        "operationId": "archive",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "promotionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePromotionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantPromotion"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/promotions/{promotionId}/restore": {
      "post": {
        "operationId": "restore",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "promotionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePromotionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantPromotion"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/promotions/{promotionId}/toggle": {
      "post": {
        "operationId": "toggle",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "promotionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePromotionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantPromotion"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/promotions/{promotionId}/versions": {
      "get": {
        "operationId": "versions",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "promotionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListPromotionVersionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantPromotion"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/purchasing/purchase-orders": {
      "get": {
        "operationId": "list_20",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "supplier",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAccountPurchaseOrderResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountPurchaseOrder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_10",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccountPurchaseOrderRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountPurchaseOrderResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountPurchaseOrder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/purchasing/purchase-orders/{id}": {
      "get": {
        "operationId": "get_15",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountPurchaseOrderResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountPurchaseOrder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "patch": {
        "operationId": "update_8",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountPurchaseOrderRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountPurchaseOrderResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountPurchaseOrder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/purchasing/purchase-orders/{id}/lines": {
      "get": {
        "operationId": "listLines_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAccountPurchaseOrderLineResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountPurchaseOrder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/purchasing/purchase-orders/{id}/receive": {
      "post": {
        "operationId": "receive",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReceiveAccountPurchaseOrderRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountPurchaseOrderResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountPurchaseOrder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/purchasing/purchase-orders/{id}/send": {
      "post": {
        "operationId": "send",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendAccountPurchaseOrderRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountPurchaseOrderSendResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountPurchaseOrder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/purchasing/purchase-orders/{id}/submit": {
      "post": {
        "operationId": "submit",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountPurchaseOrderResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountPurchaseOrder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/receipt-templates": {
      "get": {
        "operationId": "list_21",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListInvoiceTemplateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReceiptTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/receipt-templates/migrate-image-assets": {
      "post": {
        "operationId": "migrateReceiptImageAssets",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTemplateImageMigrationResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReceiptTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/receipt-templates/{key}": {
      "delete": {
        "operationId": "delete_11",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUnit"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReceiptTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "upsert_3",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertInvoiceTemplateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInvoiceTemplateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReceiptTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/receipt-templates/{templateId}/default": {
      "post": {
        "operationId": "activateReceiptTemplate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "templateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDocumentTemplateActivationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReceiptTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/reporting/audit-events": {
      "get": {
        "operationId": "listAuditEvents",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "product",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "format": "int64",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int64",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "detection",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "outcome",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAuditEventResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountReporting"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/reporting/audit-events/export": {
      "post": {
        "operationId": "recordAuditExport",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuditExportRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUnit"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountReporting"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/reporting/chart-of-accounts": {
      "get": {
        "operationId": "chartOfAccounts",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListChartAccountResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountReporting"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/reporting/dashboard": {
      "get": {
        "operationId": "merchantDashboard",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "windowDays",
            "required": false,
            "schema": {
              "default": 7,
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDashboardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountReporting"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/reporting/refund-review-alerts": {
      "get": {
        "operationId": "listRefundReviewAlerts",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListRefundReviewAlertResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountReporting"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/reporting/refund-review-alerts/{alertId}/dismiss": {
      "post": {
        "operationId": "dismissRefundReviewAlert",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "alertId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUnit"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountReporting"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/reports/customers": {
      "get": {
        "operationId": "listCustomerReport",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "report",
            "required": false,
            "schema": {
              "default": "TOP_CUSTOMERS",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomerReportResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerReporting"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/reports/customers/export": {
      "get": {
        "operationId": "exportCustomerReport",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "report",
            "required": false,
            "schema": {
              "default": "TOP_CUSTOMERS",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "default": "csv",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseString"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerReporting"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/reports/customers/{reportKey}": {
      "get": {
        "operationId": "getCustomerReport",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "reportKey",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCustomerReportResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCustomerReporting"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/reports/inventory-shrinkage/by-location": {
      "get": {
        "operationId": "listInventoryShrinkageByLocation",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShrinkageByLocationReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgInventoryShrinkage"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/reports/scheduled": {
      "get": {
        "operationId": "list_22",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListScheduledReportResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantScheduledReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_11",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateScheduledReportRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseScheduledReportResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantScheduledReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/reports/scheduled/{id}": {
      "delete": {
        "operationId": "delete_12",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantScheduledReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "update_9",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateScheduledReportRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseScheduledReportResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantScheduledReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/reports/scheduled/{id}/run": {
      "post": {
        "operationId": "runNow",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseScheduledReportRunResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantScheduledReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/serial-numbers": {
      "get": {
        "operationId": "list_23",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListSerialNumberResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgSerialNumber"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_12",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSerialNumberRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSerialNumberResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgSerialNumber"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/serial-numbers/lookup/{serial}": {
      "get": {
        "operationId": "getBySerial",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "serial",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSerialNumberResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgSerialNumber"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/serial-numbers/{serialId}": {
      "get": {
        "operationId": "get_16",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "serialId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSerialNumberResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgSerialNumber"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/serial-numbers/{serialId}/return": {
      "post": {
        "operationId": "markReturned",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "serialId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSerialNumberResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgSerialNumber"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/serial-numbers/{serialId}/sell": {
      "post": {
        "operationId": "merchantSell",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "serialId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SellSerialNumberRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSerialNumberResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgSerialNumber"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-reminder-rules": {
      "get": {
        "operationId": "list_24",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListServiceReminderRuleResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantServiceReminder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_13",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveServiceReminderRuleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseServiceReminderRuleResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantServiceReminder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-reminder-rules/{ruleId}": {
      "delete": {
        "operationId": "delete_13",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ruleId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUnit"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantServiceReminder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "update_10",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ruleId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveServiceReminderRuleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseServiceReminderRuleResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantServiceReminder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-reminders": {
      "get": {
        "operationId": "recent",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListServiceReminderResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantServiceReminder"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointment-booking-staff": {
      "get": {
        "operationId": "listAppointmentBookingStaff",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAppointmentBookingStaffResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments": {
      "get": {
        "operationId": "listServiceWorkflowAppointments",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAppointmentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createServiceWorkflowAppointment",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAppointmentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/availability": {
      "get": {
        "operationId": "getServiceWorkflowAppointmentAvailability",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "serviceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "merchantUserId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "resourceId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "timezone",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "modifierIds",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "durationMinutes",
            "required": false,
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "excludeAppointmentId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAvailabilitySlotResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/create-operations/{operationKey}": {
      "get": {
        "description": "Reads a committed booking by its original idempotency key. A missing receipt does not prove an in-flight booking failed.",
        "operationId": "getServiceWorkflowAppointmentCreateOperation",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "operationKey",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/notification-eligibility": {
      "get": {
        "operationId": "getAppointmentNotificationEligibility",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "appointmentId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "customerId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "customerEmail",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "customerPhone",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentNotificationEligibility"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAppointmentNotification"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}": {
      "patch": {
        "operationId": "rescheduleServiceWorkflowAppointment",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RescheduleAppointmentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/checkout": {
      "get": {
        "operationId": "getAppointmentCheckout",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentCheckoutReviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/checkout/close-zero-balance": {
      "post": {
        "operationId": "closeZeroBalanceAppointment",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentCheckoutReviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/checkout/external-payments": {
      "post": {
        "operationId": "recordAppointmentExternalPayment",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordAppointmentExternalPaymentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentCheckoutReviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/checkout/external-payments/{paymentId}/correction": {
      "post": {
        "operationId": "correctAppointmentExternalPayment",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "paymentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CorrectAppointmentExternalPaymentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentCheckoutReviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/checkout/intent": {
      "post": {
        "operationId": "attachAppointmentCheckoutIntent",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AttachAppointmentCheckoutIntentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentCheckoutReviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/checkout/items": {
      "put": {
        "operationId": "updateAppointmentCheckoutItems",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAppointmentCheckoutItemsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentCheckoutReviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/checkout/leave-unpaid": {
      "post": {
        "operationId": "leaveAppointmentUnpaid",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentCheckoutReviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/checkout/payment-link": {
      "post": {
        "operationId": "createAppointmentPaymentLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentCheckoutPaymentLinkResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/checkout/saved-cards": {
      "get": {
        "operationId": "listAppointmentChargeableCards",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAppointmentChargeableCardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "chargeAppointmentSavedCard",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppointmentChargeSavedCardRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentSavedCardPaymentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/checkout/saved-cards/{requestId}": {
      "get": {
        "operationId": "getAppointmentSavedCardPayment",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentSavedCardPaymentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/checkout/terminal": {
      "post": {
        "operationId": "prepareAppointmentTerminalCheckout",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentTerminalCheckoutResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/checkout/terminal/reconcile": {
      "post": {
        "operationId": "reconcileAppointmentTerminalCheckout",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentCheckoutReviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/deposit/book-without-payment": {
      "post": {
        "description": "Keep a merchant-created booking whose upfront payment was declined or never entered, without collecting it. Rejected with 409 once a charge is in flight or money was collected; a repeat after success returns the appointment.",
        "operationId": "bookAppointmentWithoutUpfrontPayment",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/deposit/card-setup": {
      "get": {
        "operationId": "getVerifiedAppointmentDepositCardSetup",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseHostedCardEntryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "startAppointmentDepositCardSetup",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseHostedCardEntryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/deposit/collect": {
      "post": {
        "operationId": "collectAppointmentDeposit",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/deposit/payment-methods": {
      "get": {
        "operationId": "listAppointmentDepositPaymentMethods",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAppointmentSavedPaymentMethodResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/details": {
      "get": {
        "operationId": "getServiceWorkflowAppointmentDetails",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentDetailsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateServiceWorkflowAppointmentDetails",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAppointmentDetailsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentDetailsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/enhancement-request": {
      "post": {
        "operationId": "reviewAppointmentEnhancementRequest",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReviewEnhancementRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/enhancements": {
      "put": {
        "operationId": "updateAppointmentEnhancements",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAppointmentEnhancementsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/events": {
      "get": {
        "operationId": "listServiceWorkflowAppointmentEvents",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAppointmentEventResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/extend": {
      "post": {
        "description": "Extend only the occupied end of an in-service appointment (the final service line for multi-service bookings). Keeps starts, quoted durations, buffers and prices unchanged. Requires the current expectedEndAt; stale requests return 409.",
        "operationId": "extendServiceWorkflowAppointment",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExtendAppointmentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/notification-history": {
      "get": {
        "operationId": "listServiceWorkflowAppointmentNotificationHistory",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAppointmentEventResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/provider": {
      "put": {
        "operationId": "setAppointmentProvider",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetAppointmentProviderRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAppointmentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/appointments/{appointmentId}/provider-options": {
      "get": {
        "operationId": "getAppointmentProviderOptions",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "appointmentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListAppointmentProviderOptionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/engagement/marketing/campaigns": {
      "post": {
        "operationId": "campaignCommand",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/engagement/marketing/campaigns/{campaignId}/schedule": {
      "post": {
        "operationId": "campaignCommand_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "campaignId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/engagement/marketing/campaigns/{campaignId}/send": {
      "post": {
        "operationId": "campaignCommand_2",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "campaignId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/engagement/marketing/segments": {
      "post": {
        "operationId": "campaignCommand_3",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/service-catalog/services": {
      "post": {
        "operationId": "createCatalogResource",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/service-catalog/services/images": {
      "post": {
        "operationId": "uploadServiceBookingImage",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/ServiceBookingImageMultipartRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseServiceBookingImageResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantServiceBookingImage"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/store-resources": {
      "post": {
        "operationId": "createCatalogResource_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/service-workflow/{workflowPath}": {
      "delete": {
        "operationId": "delete_14",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workflowPath",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "read_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workflowPath",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "patch": {
        "operationId": "patch",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workflowPath",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "post_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workflowPath",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "put_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "workflowPath",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountServiceWorkflow"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/staff/import": {
      "post": {
        "operationId": "importStaff",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "dryRun",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "mode",
            "required": false,
            "schema": {
              "default": "invite",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/StaffImportMultipartRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseImportResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStaffImport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/staff/import-template": {
      "get": {
        "operationId": "downloadTemplate_3",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "mode",
            "required": false,
            "schema": {
              "default": "invite",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStaffImport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/staff/import/availability": {
      "post": {
        "operationId": "importAvailability",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "dryRun",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/StaffImportMultipartRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseImportResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStaffImport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/staff/import/schedule": {
      "post": {
        "operationId": "importSchedule",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "dryRun",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/StaffImportMultipartRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseImportResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStaffImport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stock-transfers": {
      "get": {
        "operationId": "list_25",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListStockTransferResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStockTransfer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_14",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateStockTransferRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStockTransferResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStockTransfer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stock-transfers/destinations": {
      "get": {
        "operationId": "destinations",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sourceStoreId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListDestinationStore"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStockTransfer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stock-transfers/{transferId}": {
      "get": {
        "operationId": "get_17",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "transferId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStockTransferResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStockTransfer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stock-transfers/{transferId}/cancel": {
      "post": {
        "operationId": "cancel",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "transferId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStockTransferResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStockTransfer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stock-transfers/{transferId}/receive": {
      "post": {
        "operationId": "receive_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "transferId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReceiveStockTransferRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStockTransferResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStockTransfer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stock-transfers/{transferId}/ship": {
      "post": {
        "operationId": "ship",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "transferId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStockTransferResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStockTransfer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores": {
      "get": {
        "operationId": "list_26",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantApiResponseListStoreResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStore"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}": {
      "get": {
        "operationId": "get_18",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantApiResponseStoreResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStore"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "update_11",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStorePhoneRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantApiResponseStoreResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStore"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/access-context": {
      "get": {
        "operationId": "listOrgsStoresAccessContext",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStoreScopedAccessResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStore"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/batches": {
      "get": {
        "operationId": "listBatches",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayBatchPageResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBatch"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/batches/current/close": {
      "get": {
        "operationId": "getCurrentClose",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "accountCloseContract",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayBatchCloseResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBatch"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/batches/current/close/{idempotencyKey}": {
      "get": {
        "operationId": "getCloseStatus",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "idempotencyKey",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "accountCloseContract",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayBatchCloseResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBatch"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/batches/manual-close": {
      "post": {
        "operationId": "manualClose",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GatewayManualCloseRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayBatchCloseResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBatch"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/batches/{gatewayBatchId}": {
      "get": {
        "operationId": "getBatch",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "gatewayBatchId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayBatchResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBatch"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/closeout-candidates": {
      "get": {
        "operationId": "listOrgsStoresCashCloseoutCandidates",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCloseoutCandidateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/closeouts": {
      "get": {
        "operationId": "listCloseouts",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "drawerId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "shiftId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCloseoutCursorPage"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/closeouts/eligible-owners": {
      "get": {
        "operationId": "listEligibleExceptionOwners",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListEligibleOwnerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/closeouts/export": {
      "get": {
        "operationId": "exportCloseouts",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "drawerId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "shiftId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCloseoutResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/closeouts/{closeoutId}/exception": {
      "patch": {
        "operationId": "updateCloseoutException",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "closeoutId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCloseoutExceptionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCloseoutResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/closeouts/{closeoutId}/timeline": {
      "get": {
        "operationId": "listCloseoutTimeline",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "closeoutId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCloseoutTimelineEventResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/commands/recovery": {
      "get": {
        "operationId": "getOrgsStoresCashCommandsRecovery",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCashCommandResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/drawers": {
      "get": {
        "operationId": "listOrgsStoresCashDrawers",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListDrawerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "registerDrawer",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterDrawerRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDrawerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/drawers/{drawerId}": {
      "delete": {
        "operationId": "deactivateDrawer",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "drawerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDrawerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "getDrawer",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "drawerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDrawerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/drawers/{drawerId}/closeouts": {
      "post": {
        "operationId": "createCloseout",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "drawerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCloseoutRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCloseoutResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/drawers/{drawerId}/commands": {
      "get": {
        "operationId": "listOrgsStoresCashDrawersCommands",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "drawerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCashCommandResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/drawers/{drawerId}/commands/by-operation-key/{operationKey}": {
      "get": {
        "operationId": "getOrgsStoresCashDrawersCommandsByOperationKey",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "drawerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "operationKey",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCashCommandResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/drawers/{drawerId}/commands/preflight": {
      "post": {
        "operationId": "createOrgsStoresCashDrawersCommandsPreflight",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "drawerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CashCommandIntent"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCashCommandResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/drawers/{drawerId}/commands/{operationKey}/acknowledge": {
      "post": {
        "operationId": "acknowledgeOrgsStoresCashDrawersCommand",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "drawerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "operationKey",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCashCommandResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/drawers/{drawerId}/commands/{operationKey}/cancel": {
      "post": {
        "operationId": "cancelOrgsStoresCashDrawersCommand",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "drawerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "operationKey",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCashCommandResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/drawers/{drawerId}/commands/{operationKey}/execute": {
      "post": {
        "operationId": "createOrgsStoresCashDrawersCommandsExecute",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "drawerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "operationKey",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExecuteCashCommandRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCashCommandResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/drawers/{drawerId}/movements": {
      "get": {
        "operationId": "listMovements",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "drawerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedResponseMovementResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/drawers/{drawerId}/reassign": {
      "post": {
        "operationId": "reassignDrawer",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "drawerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReassignDrawerRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDrawerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/drawers/{drawerId}/snapshots": {
      "get": {
        "operationId": "listSnapshots",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "drawerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedResponseSnapshotResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/drawers/{drawerId}/variance": {
      "get": {
        "operationId": "listOrgsStoresCashDrawersVariance",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "drawerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "shiftId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVarianceResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/movements/{movementId}": {
      "get": {
        "operationId": "getMovement",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "movementId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMovementResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cash/snapshots/{snapshotId}": {
      "get": {
        "operationId": "getSnapshot",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "snapshotId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSnapshotResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCashDrawer"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/checkout-intents/customers/enroll": {
      "post": {
        "operationId": "enrollCheckoutCustomer",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckoutCustomerEnrollRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCheckoutCustomerEnrollmentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCheckoutIntent"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/checkout-intents/customers/lookup": {
      "get": {
        "operationId": "lookupCheckoutCustomer",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "mode",
            "required": true,
            "schema": {
              "maxLength": 32,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "query",
            "required": true,
            "schema": {
              "maxLength": 320,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCheckoutCustomerLookupResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCheckoutIntent"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/checkout-intents/customers/{customerId}/loyalty": {
      "get": {
        "operationId": "getCheckoutCustomerLoyalty",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCheckoutLoyaltySummaryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCheckoutIntent"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/checkout-intents/gift-cards/balance": {
      "post": {
        "operationId": "getCheckoutGiftCardBalance",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckoutGiftCardBalanceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCheckoutGiftCardBalanceResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCheckoutIntent"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/checkout-intents/gift-cards/config": {
      "get": {
        "operationId": "getCheckoutGiftCardConfig",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCheckoutGiftCardConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCheckoutIntent"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/checkout-intents/price-approvals": {
      "post": {
        "operationId": "approveCheckoutPrice",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PortalCheckoutPriceApprovalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePortalCheckoutPriceApprovalResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCheckoutIntent"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/checkout-intents/quote": {
      "post": {
        "operationId": "quoteCheckoutIntent",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckoutQuoteIntentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCheckoutIntentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCheckoutIntent"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/checkout-intents/{intentId}": {
      "get": {
        "operationId": "getCheckoutIntent",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "intentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCheckoutIntentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCheckoutIntent"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/checkout-intents/{intentId}/cancel": {
      "post": {
        "operationId": "cancelCheckoutIntent",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "intentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCheckoutIntentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCheckoutIntent"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/checkout-intents/{intentId}/hosted-session": {
      "post": {
        "operationId": "createCheckoutIntentHostedSession",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "intentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HostedCheckoutSessionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseHostedCheckoutSessionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCheckoutIntent"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/checkout-intents/{intentId}/release-authorization": {
      "post": {
        "operationId": "releaseCheckoutAuthorization",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "intentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCheckoutIntentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCheckoutIntent"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/checkout-intents/{intentId}/submit": {
      "post": {
        "operationId": "submitCheckoutIntent",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "intentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckoutSubmitRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCheckoutIntentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCheckoutIntent"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cnp-payments/hosted-card-entry": {
      "post": {
        "operationId": "createHostedCardEntry",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HostedCardEntryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseHostedCardEntryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCnpPayment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cnp-payments/hosted-card-entry/{setupIntentId}": {
      "get": {
        "operationId": "reconcileHostedCardEntry",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "setupIntentId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseHostedCardEntryStatusResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCnpPayment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/cnp-payments/{transactionId}/capture": {
      "post": {
        "operationId": "captureKeyedAuthorization",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "transactionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CnpCaptureRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCnpPaymentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCnpPayment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/gateway/fraud": {
      "get": {
        "operationId": "getGatewayFraudPortal",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "windowDays",
            "required": false,
            "schema": {
              "default": 30,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayFraudPortalResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGatewayFraudPortal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/gift-card-issuances": {
      "post": {
        "operationId": "start",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GiftCardIssuanceSagaRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGiftCardIssuanceSagaResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCardIssuanceSaga"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/gift-card-issuances/by-gift-card/{giftCardId}": {
      "get": {
        "operationId": "forGiftCard",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "giftCardId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGiftCardIssuanceSagaResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCardIssuanceSaga"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/gift-card-issuances/{sagaId}": {
      "get": {
        "operationId": "status",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sagaId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGiftCardIssuanceSagaResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCardIssuanceSaga"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/gift-card-issuances/{sagaId}/paid": {
      "post": {
        "operationId": "paid",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sagaId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GiftCardIssuanceSagaPaymentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGiftCardIssuanceSagaResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCardIssuanceSaga"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/gift-card-issuances/{sagaId}/resend": {
      "post": {
        "operationId": "resend_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sagaId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GiftCardIssuanceResendRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGiftCardIssuanceSagaResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCardIssuanceSaga"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/gift-card-issuances/{sagaId}/retry": {
      "post": {
        "operationId": "retry_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sagaId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGiftCardIssuanceSagaResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantGiftCardIssuanceSaga"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/mobile/checkout-quotes/preview": {
      "post": {
        "operationId": "previewMobileCheckoutQuote",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MobileCheckoutQuotePreviewRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMobileCheckoutQuotePreviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMobileCheckoutQuotePreview"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/mobile/checkout-tickets": {
      "post": {
        "operationId": "prepareMobileCheckoutTicket",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "posTerminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MobilePrepareCheckoutRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMobileCheckoutTicketResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMobileCheckoutTicket"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/mobile/checkout-tickets/{ticketId}": {
      "get": {
        "operationId": "getMobileCheckoutTicket",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ticketId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMobileCheckoutTicketResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMobileCheckoutTicket"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/mobile/checkout-tickets/{ticketId}/attempts": {
      "post": {
        "operationId": "registerMobileCheckoutAttempt",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ticketId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "managerApprovalId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MobileRegisterCheckoutAttemptRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMobileCheckoutAttemptResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMobileCheckoutTicket"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/mobile/checkout-tickets/{ticketId}/attempts/{attemptId}/acknowledgements": {
      "post": {
        "operationId": "acknowledgeMobileCheckoutAttempt",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ticketId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "attemptId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MobileAcknowledgeCheckoutAttemptRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMobileCheckoutTicketResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMobileCheckoutTicket"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/mobile/checkout-tickets/{ticketId}/cancel": {
      "post": {
        "operationId": "cancelMobileCheckoutTicket",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ticketId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MobileCancelCheckoutTicketRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMobileCheckoutTicketResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMobileCheckoutTicket"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/mobile/checkout-tickets/{ticketId}/quotes": {
      "post": {
        "operationId": "replaceMobileCheckoutTicketQuote",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ticketId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MobilePrepareCheckoutRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMobileCheckoutTicketResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMobileCheckoutTicket"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/mobile/checkout-tickets/{ticketId}/reprepare": {
      "post": {
        "operationId": "reprepareMobileCheckoutTicket",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ticketId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MobileReprepareCheckoutTicketRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMobileCheckoutTicketResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMobileCheckoutTicket"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/mobile/manager-overrides/authorize": {
      "post": {
        "operationId": "authorizeMobileManagerOverride",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "posTerminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MobileManagerOverrideAuthorizeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMobileManagerOverrideAuthorizeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMobileManagerOverride"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/mobile/manager-overrides/preflight": {
      "post": {
        "operationId": "preflightMobileManagerOverride",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "posTerminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MobileManagerOverridePreflightRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMobileManagerOverridePreflightResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMobileManagerOverride"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/mobile/payment-runtime": {
      "get": {
        "operationId": "getMobilePaymentRuntime",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "posTerminalId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "platform",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMobilePaymentRuntimeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMobilePaymentRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/mobile/payment-runtime/enroll": {
      "post": {
        "operationId": "enrollMobilePaymentRuntime",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MobileDeviceEnrollmentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMobileDeviceEnrollmentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMobilePaymentRuntime"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/receipt-template": {
      "get": {
        "operationId": "active",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCanonicalDocumentTemplate"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReceiptTemplatePresentation"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/receipts/deliveries/{channel}/{idempotencyKey}": {
      "get": {
        "operationId": "receiptDeliveryStatus",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "channel",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "idempotencyKey",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMerchantReceiptDeliveryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReceipt"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/receipts/email": {
      "post": {
        "operationId": "sendEmailReceipt",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailReceiptRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReceipt"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/receipts/sms": {
      "post": {
        "operationId": "sendSmsReceipt",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SmsReceiptRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReceipt"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/receipts/{transactionId}": {
      "get": {
        "operationId": "getReceipt",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "transactionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseReceiptData"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReceipt"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/receipts/{transactionId}/link": {
      "get": {
        "operationId": "hostedReceiptLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "transactionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseReceiptLinkResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReceipt"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/recurring-payments": {
      "get": {
        "operationId": "list_27",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListRecurringPaymentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantRecurringPayment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_15",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRecurringPaymentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseRecurringPaymentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantRecurringPayment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/recurring-payments/{recurringId}": {
      "get": {
        "operationId": "get_19",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "recurringId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseRecurringPaymentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantRecurringPayment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/recurring-payments/{recurringId}/cancel": {
      "post": {
        "operationId": "cancel_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "recurringId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseRecurringPaymentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantRecurringPayment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/sms-conversations": {
      "get": {
        "operationId": "list_28",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "customerId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "unreadOnly",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "beforeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListSmsConversationSummaryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSmsConversation"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/sms-conversations/messages": {
      "post": {
        "operationId": "send_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SmsStaffMessageRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSmsMessageResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSmsConversation"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/sms-conversations/messages/{messageId}/retry": {
      "post": {
        "operationId": "retry_2",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "messageId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSmsMessageResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSmsConversation"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/sms-conversations/readiness": {
      "get": {
        "operationId": "readiness_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "phone",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "customerId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSmsReadinessResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSmsConversation"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/sms-conversations/unread-count": {
      "get": {
        "operationId": "unreadCount_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSmsUnreadCountResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSmsConversation"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/sms-conversations/{id}": {
      "get": {
        "operationId": "detail",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSmsConversationDetailResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSmsConversation"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/sms-conversations/{id}/messages": {
      "get": {
        "operationId": "messages",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "beforeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListSmsMessageResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSmsConversation"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/sms-conversations/{id}/read": {
      "post": {
        "operationId": "markRead_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SmsMarkReadRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSmsConversation"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/terminals": {
      "get": {
        "operationId": "list_29",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantApiResponseListTerminalResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_16",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MerchantCreateTerminalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantApiResponseTerminalResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}": {
      "delete": {
        "operationId": "delete_15",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "get_20",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantApiResponseTerminalResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "update_12",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MerchantUpdateTerminalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantApiResponseTerminalResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/heartbeat": {
      "post": {
        "operationId": "heartbeat",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/payment-config": {
      "get": {
        "operationId": "merchantGetPaymentConfig",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantApiResponsePaymentConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updatePaymentConfig",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MerchantPaymentConfigRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantApiResponsePaymentConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/terminals/{terminalId}/regenerate-secret": {
      "post": {
        "operationId": "regenerateSecret",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "terminalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantApiResponseTerminalResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTerminal"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/transactions": {
      "get": {
        "operationId": "list_30",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "customerId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "paymentMethod",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListTransactionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTransaction"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/transactions/category-sales": {
      "get": {
        "operationId": "getCategorySales",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCategorySalesResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTransaction"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/transactions/daily-sales": {
      "get": {
        "operationId": "getDailySales",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListDailySalesResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTransaction"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/transactions/dashboard": {
      "get": {
        "operationId": "getDashboard",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "salesStartDate",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "salesEndDate",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTransactionDashboardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTransactionDashboard"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/transactions/hourly-sales": {
      "get": {
        "operationId": "getHourlySales",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListHourlySalesResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTransaction"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/transactions/payment-breakdown": {
      "get": {
        "operationId": "getPaymentBreakdown",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListPaymentMethodBreakdown"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTransaction"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/transactions/peak-hours": {
      "get": {
        "operationId": "getPeakHours_1",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListPeakHoursResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTransaction"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/transactions/status-breakdown": {
      "get": {
        "operationId": "getStatusBreakdown",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListTransactionStatusBreakdown"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTransaction"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/transactions/summary": {
      "get": {
        "operationId": "getSummary",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTransactionSummaryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTransaction"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/transactions/{id}": {
      "get": {
        "operationId": "get_21",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTransactionDetailResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTransaction"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/transactions/{id}/void": {
      "post": {
        "operationId": "voidTx",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTransactionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTransaction"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/transactions/{id}/void-status": {
      "get": {
        "operationId": "getOrgsStoresTransactionsVoidStatus",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCardVoidObservation"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTransaction"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/transactions/{transactionId}/enrich": {
      "post": {
        "operationId": "enrich",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "transactionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GatewayTransactionEnrichRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayActionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTransaction"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/transactions/{transactionId}/refund": {
      "post": {
        "operationId": "createOrgsStoresTransactionsRefund",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "transactionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Peak-Client-Version",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RefundIntentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePublicRefundAttemptResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTransaction"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/transactions/{transactionId}/refund-attempts/{idempotencyKey}": {
      "get": {
        "operationId": "getOrgsStoresTransactionsRefundAttempt",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "transactionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "idempotencyKey",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponsePublicRefundAttemptResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTransaction"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/transactions/{transactionId}/tip-adjust": {
      "get": {
        "operationId": "tipAdjustStatus",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "transactionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayActionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTransaction"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "tipAdjust",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "transactionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GatewayTipAdjustRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseGatewayActionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTransaction"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/users/{userId}": {
      "put": {
        "operationId": "update_13",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUserResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantUser"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/stores/{storeId}/users/{userId}/pin": {
      "put": {
        "operationId": "changePin",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePinRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantUserPin"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/suppliers": {
      "get": {
        "operationId": "list_31",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListSupplierResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSupplier"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_17",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSupplierRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSupplierResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSupplier"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/suppliers/import": {
      "post": {
        "operationId": "importSuppliers",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "dryRun",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/SupplierImportMultipartRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseImportResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSupplierImport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/suppliers/import-template": {
      "get": {
        "operationId": "downloadTemplate_4",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSupplierImport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/suppliers/{supplierId}": {
      "delete": {
        "operationId": "delete_16",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSupplier"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "get_22",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSupplierResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSupplier"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "update_14",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSupplierRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSupplierResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSupplier"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/suppliers/{supplierId}/products": {
      "get": {
        "operationId": "merchantListProducts",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListProductSupplierResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSupplier"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "addProduct",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddProductSupplierRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseProductSupplierResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSupplier"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/suppliers/{supplierId}/products/{productId}": {
      "delete": {
        "operationId": "removeProduct",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "productId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSupplier"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/tax/tax-exemptions": {
      "get": {
        "operationId": "listAccountTaxExemptions",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountTax"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createAccountTaxExemption",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {}
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountTax"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/tax/tax-exemptions/{id}": {
      "delete": {
        "operationId": "deleteAccountTaxExemption",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountTax"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "getAccountTaxExemption",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountTax"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "patch": {
        "operationId": "updateAccountTaxExemption",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {}
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountTax"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "replaceAccountTaxExemption",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {}
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountTax"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/tax/tax-rates": {
      "get": {
        "operationId": "listAccountTaxRates",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountTax"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/tax/tax-rates/{id}": {
      "get": {
        "operationId": "getAccountTaxRate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantAccountTax"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/tier": {
      "get": {
        "operationId": "merchantGetOrgTier",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTierResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTier"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/transactions": {
      "get": {
        "operationId": "listUnifiedTransactions",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "channel",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "customerId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "terminalId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUnifiedTransactionsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantUnifiedTransactions"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/users/{userId}": {
      "put": {
        "operationId": "update_15",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrgUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUserResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgUser"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/users/{userId}/activate": {
      "post": {
        "operationId": "activate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrgUserLifecycleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountStateLifecycleResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgUser"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/users/{userId}/deactivate": {
      "post": {
        "operationId": "merchantDeactivate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrgUserLifecycleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAccountStateLifecycleResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgUser"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/users/{userId}/pay-rate": {
      "get": {
        "operationId": "getEmployeePayRateHistory",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "storeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListEmployeePayRateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantEmployeePayRate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "appendEmployeePayRate",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PayRateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseEmployeePayRateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantEmployeePayRate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/users/{userId}/pin": {
      "put": {
        "operationId": "setPinByAdministrator",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetOrgUserPinRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOrgUser"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/users/{userId}/profile": {
      "get": {
        "operationId": "getEmployeeProfile",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseEmployeeProfileResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantEmployeeProfile"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "upsertEmployeeProfile",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertEmployeeProfileRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseEmployeeProfileResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantEmployeeProfile"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/orgs/{orgId}/utilization": {
      "get": {
        "operationId": "merchantGetUtilization",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUtilizationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantUtilization"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/activity-log": {
      "get": {
        "operationId": "list_32",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListActivityLogResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreActivityLog"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/activity-log/actions": {
      "get": {
        "operationId": "getActions",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListString"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreActivityLog"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/activity-log/entity-types": {
      "get": {
        "operationId": "getEntityTypes",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListString"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreActivityLog"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/activity-log/user/{userId}": {
      "get": {
        "operationId": "listByUser",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListActivityLogResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreActivityLog"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/activity-log/{logId}": {
      "get": {
        "operationId": "get_23",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "logId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseActivityLogResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreActivityLog"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/approval-policy": {
      "get": {
        "operationId": "getStoreApprovalPolicy",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStoreApprovalPolicyResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreApprovalPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateStoreApprovalPolicy",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStoreApprovalPolicyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStoreApprovalPolicyResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreApprovalPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/approval-policy/history": {
      "get": {
        "operationId": "listStoreApprovalPolicyHistory",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStoreApprovalPolicyHistory"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreApprovalPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/break-policies": {
      "get": {
        "operationId": "listStoreBreakPolicies",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListStoreBreakPolicyResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreBreakPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createStoreBreakPolicy",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StoreBreakPolicyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStoreBreakPolicyResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreBreakPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/break-policies/{policyId}": {
      "delete": {
        "operationId": "deleteStoreBreakPolicy",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "policyId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUnit"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreBreakPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateStoreBreakPolicy",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "policyId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StoreBreakPolicyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStoreBreakPolicyResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreBreakPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/category-tax-policies": {
      "get": {
        "operationId": "list_33",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCategoryTaxPolicyResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategoryTaxPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_18",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryTaxPolicyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCategoryTaxPolicyResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategoryTaxPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/category-tax-policies/activate": {
      "post": {
        "deprecated": true,
        "description": "Retired mode operation. Reports the existing synchronization signal without changing tax rules, mode, or snapshots.",
        "operationId": "activate_1",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCategoryTaxPolicyActivationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategoryTaxPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/category-tax-policies/effective-rates": {
      "get": {
        "operationId": "listStoresCategoryTaxPoliciesEffectiveRates",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCategoryTaxEffectiveRatesResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategoryTaxPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/category-tax-policies/readiness": {
      "get": {
        "operationId": "readiness_2",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCategoryTaxPolicyReadinessResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategoryTaxPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/category-tax-policies/refresh": {
      "post": {
        "operationId": "refresh",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCategoryTaxPolicyMutationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategoryTaxPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/category-tax-policies/rollback": {
      "post": {
        "deprecated": true,
        "description": "Retired mode operation. Reports the existing synchronization signal; legacy product-tax behavior cannot be restored.",
        "operationId": "rollback",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCategoryTaxPolicyActivationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategoryTaxPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/category-tax-policies/{ruleId}": {
      "delete": {
        "operationId": "delete_17",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ruleId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCategoryTaxPolicyMutationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategoryTaxPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "update_16",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ruleId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryTaxPolicyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCategoryTaxPolicyResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCategoryTaxPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/checkout-tax-categories": {
      "get": {
        "operationId": "listCheckoutTaxCategories",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCheckoutTaxCategoryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTaxPreview"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/compliance": {
      "get": {
        "operationId": "list_34",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListComplianceCheckResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCompliance"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/compliance/override": {
      "post": {
        "operationId": "override",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComplianceOverrideRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseComplianceCheckResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCompliance"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/compliance/policies": {
      "get": {
        "operationId": "listPolicies",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCompliancePolicyRuleResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCompliance"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/compliance/policy/{productId}": {
      "get": {
        "operationId": "resolvePolicy",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "productId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "fallbackRequiredAge",
            "required": false,
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCompliancePolicyResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCompliance"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/compliance/summary": {
      "get": {
        "operationId": "summary",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseComplianceSummaryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCompliance"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/compliance/transaction/{transactionId}": {
      "get": {
        "operationId": "listByTransaction",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "transactionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListComplianceCheckResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCompliance"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/compliance/verify-age": {
      "post": {
        "operationId": "verifyAge",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VerifyAgeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseComplianceCheckResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCompliance"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/compliance/{checkId}": {
      "get": {
        "operationId": "get_24",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "checkId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseComplianceCheckResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCompliance"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/compliance/{checkId}/transaction": {
      "post": {
        "operationId": "attachTransaction",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "checkId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComplianceAttachTransactionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseComplianceCheckResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantCompliance"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/consent": {
      "post": {
        "operationId": "createStoresConsent",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordConsentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseConsentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantConsent"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/consent/{phone}": {
      "delete": {
        "operationId": "revokeConsent",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "phone",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantConsent"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "checkConsent",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "phone",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseConsentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantConsent"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/consent/{phone}/history": {
      "get": {
        "operationId": "getConsentHistory",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "phone",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListConsentHistoryEntryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantConsent"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/deposits/ledger": {
      "get": {
        "operationId": "listLedger",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedResponseDepositLedgerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBottleDeposit"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/deposits/report": {
      "get": {
        "operationId": "report",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": true,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": true,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDepositReportResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBottleDeposit"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/deposits/rules": {
      "get": {
        "operationId": "listRules",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedResponseDepositRuleResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBottleDeposit"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createRule",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRuleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDepositRuleResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBottleDeposit"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/deposits/rules/{ruleId}": {
      "delete": {
        "operationId": "deleteRule",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ruleId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBottleDeposit"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "getRule",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ruleId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDepositRuleResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBottleDeposit"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateRule",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ruleId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRuleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDepositRuleResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBottleDeposit"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/discounts": {
      "post": {
        "operationId": "createManualCoupon_1",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateManualCouponRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseManualCouponResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantManualCoupon"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/employee-job-function-colors": {
      "get": {
        "operationId": "listEmployeeJobFunctionColors",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListEmployeeJobFunctionColorResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantEmployeeJobFunctionColor"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/employee-job-function-colors/{roleKey}": {
      "put": {
        "operationId": "setEmployeeJobFunctionColor",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "roleKey",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmployeeJobFunctionColorRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseEmployeeJobFunctionColorResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantEmployeeJobFunctionColor"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/employees/capabilities": {
      "get": {
        "description": "Returns effective employee-management capabilities for this store.",
        "operationId": "getEmployeeCapabilities",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseEmployeeCapabilitiesResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantEmployeeCapabilities"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/expiry-alerts": {
      "get": {
        "operationId": "listStoresExpiryAlerts",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListExpiryAlertResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantExpiryAlert"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/expiry-alerts/current": {
      "get": {
        "operationId": "listStoresCurrentExpiryAlerts",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCurrentExpiryAlertResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantExpiryAlert"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/expiry-alerts/current/{id}/acknowledge": {
      "post": {
        "operationId": "createStoresCurrentExpiryAlertsAcknowledge",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantExpiryAlert"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/expiry-alerts/pending": {
      "get": {
        "operationId": "listPending",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListExpiryAlertResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantExpiryAlert"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/expiry-alerts/{id}/acknowledge": {
      "post": {
        "operationId": "createStoresExpiryAlertsAcknowledge",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantExpiryAlert"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/export/batches": {
      "get": {
        "operationId": "exportBatches",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "default": "csv",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/export/inventory": {
      "get": {
        "operationId": "exportInventory",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "default": "csv",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/export/members": {
      "get": {
        "operationId": "exportMembers",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "default": "csv",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/export/sales": {
      "get": {
        "operationId": "exportSales",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "default": "csv",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "groupBy",
            "required": false,
            "schema": {
              "default": "day",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/export/transactions": {
      "get": {
        "operationId": "exportTransactions",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "default": "csv",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory": {
      "get": {
        "operationId": "list_35",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListInventoryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/adjust": {
      "post": {
        "operationId": "adjust",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdjustInventoryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/count-policy": {
      "get": {
        "operationId": "getInventoryCountPolicy",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryCountPolicyResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryCountPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateInventoryCountPolicy",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateInventoryCountPolicyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryCountPolicyResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryCountPolicy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/count-sessions": {
      "get": {
        "operationId": "listStoresInventoryCountSessions",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListInventoryCountSessionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryCount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createStoresInventoryCountSessions",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInventoryCountSessionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryCountSessionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryCount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/count-sessions/{sessionId}": {
      "get": {
        "operationId": "getStoresInventoryCountSessions",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sessionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryCountSessionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryCount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/count-sessions/{sessionId}/approve": {
      "post": {
        "operationId": "createStoresInventoryCountSessionsApprove",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sessionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DecideInventoryCountApprovalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryCountApprovalResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryCount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/count-sessions/{sessionId}/close": {
      "post": {
        "operationId": "createStoresInventoryCountSessionsClose",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sessionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CloseInventoryCountSessionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryCountSessionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryCount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/count-sessions/{sessionId}/entries": {
      "get": {
        "operationId": "listStoresInventoryCountSessionsEntries",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sessionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListInventoryCountEntryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryCount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createStoresInventoryCountSessionsEntries",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sessionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitInventoryCountEntryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryCountEntryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryCount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/count-sessions/{sessionId}/entries/{entryId}/recount": {
      "post": {
        "operationId": "createStoresInventoryCountSessionsEntriesRecount",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sessionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "entryId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitInventoryCountRecountRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryCountRecountResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryCount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/count-sessions/{sessionId}/reject": {
      "post": {
        "operationId": "createStoresInventoryCountSessionsReject",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sessionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DecideInventoryCountApprovalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryCountApprovalResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryCount"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/count-sessions/{sessionId}/variance-report": {
      "get": {
        "operationId": "getInventoryCountVarianceReport",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sessionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryCountVarianceReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryCountVarianceReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/cycle-count-schedules": {
      "get": {
        "operationId": "listInventoryCycleCountSchedules",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListInventoryCycleCountScheduleResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryCycleCountSchedule"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createInventoryCycleCountSchedule",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInventoryCycleCountScheduleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryCycleCountScheduleResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryCycleCountSchedule"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/cycle-count-schedules/{scheduleId}": {
      "delete": {
        "operationId": "deactivateInventoryCycleCountSchedule",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "scheduleId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryCycleCountScheduleResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryCycleCountSchedule"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/low-stock": {
      "get": {
        "operationId": "listLowStock",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListLowStockResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/low-stock-reorder-report": {
      "get": {
        "operationId": "lowStockReorderReport",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLowStockReorderReportResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/page": {
      "get": {
        "operationId": "page",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 100,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "default": "",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "default": "",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryPageResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/receive": {
      "post": {
        "operationId": "receive_2",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReceiveInventoryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/thresholds": {
      "put": {
        "operationId": "updateThresholds",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateInventoryThresholdsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/transfer": {
      "post": {
        "operationId": "transfer",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransferInventoryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/{id}": {
      "get": {
        "operationId": "getStock",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/inventory/{id}/history": {
      "get": {
        "operationId": "getHistory_1",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListInventoryHistoryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventory"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/invites": {
      "get": {
        "operationId": "listStoreInvites",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListInviteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreInvite"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_19",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "inviteId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInviteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInviteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreInvite"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/invites/{id}": {
      "delete": {
        "operationId": "delete_18",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreInvite"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/invites/{id}/deliver": {
      "post": {
        "operationId": "deliver_1",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInviteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreInvite"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/invites/{id}/revoke": {
      "post": {
        "operationId": "revoke_2",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreInvite"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/lots": {
      "get": {
        "operationId": "list_36",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "productId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListLotResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLot"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/lots/allocation-gaps": {
      "get": {
        "operationId": "allocationGaps",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListLotAllocationGapRecord"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLot"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/lots/allocation-gaps/review": {
      "post": {
        "operationId": "reviewAllocationGap",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReviewLotAllocationGapRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLotAllocationGapRecord"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLot"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/lots/expiring-soon": {
      "get": {
        "operationId": "expiringSoon",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "expirationBefore",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListLotResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLot"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/lots/receipts": {
      "post": {
        "operationId": "create_20",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLotRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLotResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLot"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/lots/{lotId}": {
      "get": {
        "operationId": "get_25",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "lotId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "productId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLotResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLot"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/lots/{lotId}/correct": {
      "post": {
        "operationId": "correct",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "lotId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CorrectLotRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLotResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLot"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/manual-coupons": {
      "post": {
        "operationId": "createManualCoupon",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateManualCouponRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseManualCouponResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantManualCoupon"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/mkonnekt/audit": {
      "get": {
        "operationId": "merchantGetAudit",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantApiResponseListMkonnektRequestAuditResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMkonnekt"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/mkonnekt/config": {
      "get": {
        "operationId": "merchantGetConfig",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantApiResponseMkonnektConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantMkonnekt"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/onboarding/complete": {
      "post": {
        "operationId": "completeOnboarding",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStoreSettingsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOnboarding"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/onboarding/status": {
      "get": {
        "operationId": "getOnboardingStatus",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStoreSettingsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantOnboarding"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products": {
      "get": {
        "operationId": "list_37",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListProductResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_21",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseProductResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/barcode/{barcode}": {
      "get": {
        "description": "Looks up an active product by barcode. Set includeInactive only for product management to resolve an existing inactive owner; deleted products are excluded.",
        "operationId": "getByBarcode",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "barcode",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "includeInactive",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseProductResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/bulk-age-restriction": {
      "post": {
        "operationId": "bulkUpdateAgeRestriction",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkAgeRestrictionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseBulkAgeRestrictionResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/bulk-delete": {
      "post": {
        "operationId": "bulkDelete",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteProductsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseBulkDeleteProductsResponse"
                }
              }
            },
            "description": "All product deletions confirmed."
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseBulkDeleteProductsResponse"
                }
              }
            },
            "description": "Product deletions accepted; pending product ids are returned separately."
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/bulk-ebt": {
      "patch": {
        "operationId": "bulkUpdateEbtEligible",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkEbtUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/bulk-price/apply": {
      "post": {
        "operationId": "applyBulkPriceUpdate",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkPriceUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseBulkPriceUpdateApplyResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/bulk-price/preview": {
      "post": {
        "operationId": "previewBulkPriceUpdate",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkPriceUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseBulkPriceUpdatePreviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/export": {
      "get": {
        "description": "Exports every active product in the authorized store catalog, independently of search or pagination. Qty is current on-hand stock, not an inventory report or an opening-stock delta.",
        "operationId": "export",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/csv": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProductCatalogExport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/import": {
      "post": {
        "operationId": "importProducts",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "dryRun",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "mode",
            "required": false,
            "schema": {
              "default": "CREATE_ONLY",
              "enum": [
                "CREATE_ONLY",
                "UPDATE_EXISTING"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "confirmUpdates",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/ProductImportMultipartRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseImportResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBulkImport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/import-batch": {
      "post": {
        "operationId": "importBatch",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductImportBatchRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseImportResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBulkImport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/import-template": {
      "get": {
        "operationId": "downloadTemplate_5",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "mode",
            "required": false,
            "schema": {
              "default": "CREATE_ONLY",
              "enum": [
                "CREATE_ONLY",
                "UPDATE_EXISTING"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "default": "csv",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantBulkImport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/lookup-suggestions": {
      "post": {
        "operationId": "lookupSuggestions",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductLookupRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseProductLookupResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/opening-operations": {
      "post": {
        "description": "Atomically binds a store-local barcode and immutable opening intent, including the verified human subject, before Gateway effects. Competing barcode intents are rejected before admission. Retry uncertain delivery with the same key and identical body; pending is not failure. Only server status failed proves no effects and releases its barcode for a corrected new-key attempt. Same-key requests replay the original terminal result; later rejection never erases an earlier unknown outcome. A different explicit attempt may proceed independently for an available barcode.",
        "operationId": "createWithOpeningStock",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductOpeningRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseProductOpeningResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/opening-operations/{operationId}": {
      "get": {
        "operationId": "openingStockStatus",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "operationId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseProductOpeningResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/picker": {
      "get": {
        "description": "Searches the authorized store catalog. Empty search returns bounded suggestions; exact normalized barcode, preferred-supplier SKU, and name matches rank before partial name matches. Set includeUnavailable only for catalog-management workflows. Cursors are opaque and valid only for the same store and search context.",
        "operationId": "listProductPickerOptions",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "includeUnavailable",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListProductPickerResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/types": {
      "get": {
        "operationId": "getTypes",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListString"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/vendor-cost-adjustments/apply": {
      "post": {
        "operationId": "applyVendorCostAdjustment",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VendorCostAdjustmentApplyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVendorCostAdjustmentApplyResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantVendorCostAdjustment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/vendor-cost-adjustments/preview": {
      "post": {
        "operationId": "previewVendorCostAdjustment",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VendorCostAdjustmentPreviewRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVendorCostAdjustmentPreviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantVendorCostAdjustment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/vendor-cost-adjustments/vendors": {
      "get": {
        "operationId": "listVendorCostAdjustmentVendors",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListVendorCostAdjustmentVendorResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantVendorCostAdjustment"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/{id}": {
      "delete": {
        "operationId": "delete_19",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDeleteProductResponse"
                }
              }
            },
            "description": "Product deletion confirmed."
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDeleteProductResponse"
                }
              }
            },
            "description": "Product deletion accepted and still pending confirmation."
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "get_26",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "forEdit",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseProductResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "update_17",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseProductResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/{id}/custom-fields": {
      "get": {
        "operationId": "customFieldValues",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCustomFieldValueResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateCustomFieldValues",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomFieldValuesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListCustomFieldValueResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantProduct"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/products/{productId}/images": {
      "post": {
        "operationId": "uploadAndSetPrimary",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "productId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "uploadId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseProductImageResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreProductImage"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/cash-payouts": {
      "get": {
        "operationId": "cashPayouts",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseCashPayoutReportResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/dashboard": {
      "get": {
        "operationId": "dashboard_1",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "period",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMapStringObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/dashboard/stream": {
      "get": {
        "operationId": "dashboardStream",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/event-stream": {
                "schema": {
                  "$ref": "#/components/schemas/SseEmitter"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/dashboard/totals": {
      "get": {
        "operationId": "dashboardTotals",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "period",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMapStringObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory": {
      "get": {
        "operationId": "inventory",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-accuracy": {
      "get": {
        "operationId": "getInventoryAccuracyReport",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "locationId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "categoryId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "departmentId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "brand",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "countType",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryAccuracyReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryAccuracyReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-audit-trail": {
      "get": {
        "operationId": "listInventoryAuditTrail",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "productId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "employeeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "changeType",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryAuditTrailReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryAuditTrail"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-audit-trail/{ledgerId}/approve": {
      "post": {
        "operationId": "approveInventoryAuditTrailEntry",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ledgerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryAuditTrail"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-audit-trail/{ledgerId}/loss-reason": {
      "patch": {
        "operationId": "categorizeInventoryAuditTrailLoss",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ledgerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CategorizeInventoryLossRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryAuditTrail"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-movement/{productId}": {
      "get": {
        "operationId": "getInventoryMovementReport",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "productId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryMovementReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryMovementReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-performance/aging": {
      "get": {
        "operationId": "getInventoryPerformanceAging",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryAgingReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryPerformance"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-performance/dead-stock": {
      "get": {
        "operationId": "listInventoryPerformanceDeadStock",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDeadStockReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryPerformance"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-performance/sell-through": {
      "get": {
        "operationId": "listInventoryPerformanceSellThrough",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": true,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": true,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSellThroughReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryPerformance"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-performance/slow-moving": {
      "get": {
        "operationId": "listInventoryPerformanceSlowMoving",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "windowDays",
            "required": false,
            "schema": {
              "default": 30,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSlowMovingInventoryReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryPerformance"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-performance/stockout-risk": {
      "get": {
        "operationId": "listInventoryPerformanceStockoutRisk",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "withinDays",
            "required": false,
            "schema": {
              "default": 7,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStockoutRiskReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryPerformance"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-performance/value-at-risk": {
      "get": {
        "operationId": "getInventoryPerformanceValueAtRisk",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryValueAtRiskReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryPerformance"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-shrinkage": {
      "get": {
        "operationId": "listInventoryShrinkage",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "employeeId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "productId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "reason",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "adjustmentType",
            "required": false,
            "schema": {
              "enum": [
                "COUNT_VARIANCE",
                "MANUAL_ADJUSTMENT"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryDiscrepancyReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryDiscrepancy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-shrinkage/by-category": {
      "get": {
        "operationId": "listInventoryShrinkageByCategory",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShrinkageByCategoryBrandReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryDiscrepancy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-shrinkage/by-day-shift-time": {
      "get": {
        "operationId": "listInventoryShrinkageByDayShiftTime",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShrinkageByDayShiftTimeReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryDiscrepancy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-shrinkage/by-employee": {
      "get": {
        "operationId": "listInventoryShrinkageByEmployee",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShrinkageByEmployeeReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryDiscrepancy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-shrinkage/by-product": {
      "get": {
        "operationId": "listInventoryShrinkageByProduct",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sortBy",
            "required": false,
            "schema": {
              "default": "COST_LOSS",
              "enum": [
                "COST_LOSS",
                "UNIT_LOSS",
                "SHRINKAGE_RATE",
                "VARIANCE_FREQUENCY",
                "ADJUSTMENT_FREQUENCY"
              ],
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShrinkageByProductReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryDiscrepancy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-shrinkage/by-reason": {
      "get": {
        "operationId": "listInventoryShrinkageByReason",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShrinkageByReasonReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryDiscrepancy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-shrinkage/dashboard": {
      "get": {
        "operationId": "getInventoryShrinkageDashboard",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShrinkageDashboardReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryDiscrepancy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-shrinkage/trend": {
      "get": {
        "operationId": "listInventoryShrinkageTrend",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShrinkageTrendReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryDiscrepancy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/inventory-shrinkage/{ledgerId}": {
      "get": {
        "operationId": "getInventoryShrinkageEntry",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "ledgerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseInventoryDiscrepancyEntry"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantInventoryDiscrepancy"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/loss-prevention": {
      "get": {
        "operationId": "lossPrevention",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "category",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "approvalState",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLossPreventionReportResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/loss-prevention/incidents": {
      "get": {
        "operationId": "lossPreventionIncidents",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "category",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "approvalState",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLossPreventionIncidentReportResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/loss-prevention/incidents/{incidentKey}/review": {
      "patch": {
        "operationId": "updateLossPreventionIncidentReview",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "incidentKey",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLossPreventionIncidentReviewRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseLossPreventionIncidentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/members": {
      "get": {
        "operationId": "members",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/out-of-stock": {
      "get": {
        "operationId": "outOfStock",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseOutOfStockReportResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/sales": {
      "get": {
        "operationId": "sales",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "groupBy",
            "required": false,
            "schema": {
              "default": "day",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseSalesReportResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/reports/top-products": {
      "get": {
        "operationId": "topProducts",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 10,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseObject"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/returns": {
      "get": {
        "operationId": "list_38",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListReturnDetailResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReturn"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_22",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateReturnRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseReturnResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReturn"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/returns/commands": {
      "get": {
        "operationId": "listCommands",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "transactionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListReturnCommandResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReturn"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "submitCommand",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReturnCommandRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseReturnCommandResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReturn"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/returns/commands/{commandId}": {
      "get": {
        "operationId": "getCommand",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "commandId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseReturnCommandResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReturn"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/returns/commands/{commandId}/cash-confirmation": {
      "post": {
        "operationId": "confirmCommandCash",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "commandId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReturnCommandCashConfirmationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseReturnCommandResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReturn"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/returns/commands/{commandId}/cash/admission": {
      "post": {
        "operationId": "admitCommandCash",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "commandId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseReturnCommandResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReturn"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/returns/quote": {
      "get": {
        "operationId": "quote",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "transactionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseReturnQuoteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReturn"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/returns/selection-commands": {
      "post": {
        "operationId": "submitSelectionCommand",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReturnSelectionCommandRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseReturnCommandResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReturn"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/returns/status": {
      "get": {
        "description": "Read an accepted blind return by its original Idempotency-Key without resuming any effects. An absent observedReturn means no scoped return was observed, not proof of failure.",
        "operationId": "getStatusByKey",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseReturnStatusResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReturn"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/returns/{id}": {
      "get": {
        "operationId": "get_27",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseReturnDetailResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantReturn"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/settings": {
      "get": {
        "operationId": "getSettings",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStoreSettingsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSettings"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/settings/checkout-behavior": {
      "put": {
        "operationId": "updateCheckoutBehavior",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckoutBehaviorRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStoreSettingsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSettings"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/settings/pos-landing-screen": {
      "put": {
        "operationId": "updatePosLandingScreen",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PosLandingScreenRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStoreSettingsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSettings"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/settings/timezone": {
      "put": {
        "operationId": "updateTimezone",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TimezoneRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStoreSettingsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantSettings"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/assigned": {
      "get": {
        "operationId": "listAssigned",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListResolvedShift"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createAssigned",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateShiftAssignedRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseResolvedShift"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/assigned/replace-range": {
      "put": {
        "operationId": "replaceAssigned",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReplaceShiftAssignedRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListResolvedShift"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/assigned/roster": {
      "get": {
        "operationId": "listAssignedRoster",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListShiftRosterUserResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/assigned/{occurrenceRef}": {
      "delete": {
        "operationId": "deleteAssigned",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "occurrenceRef",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "expectedVersion",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "getAssigned",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "occurrenceRef",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseResolvedShift"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateAssigned",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "occurrenceRef",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateShiftAssignedRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseResolvedShift"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/blocks": {
      "get": {
        "operationId": "listBlocks",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListShiftBlockResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createBlock",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateShiftBlockRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftBlockResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/blocks/{blockId}": {
      "delete": {
        "operationId": "deleteBlock",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "blockId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateBlock",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "blockId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateShiftBlockRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftBlockResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/capabilities": {
      "get": {
        "description": "Returns effective shift capabilities for this store.",
        "operationId": "getShiftCapabilities",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftCapabilitiesResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/conflicts": {
      "get": {
        "operationId": "detectConflicts",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftConflictResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/me/activity": {
      "get": {
        "operationId": "getMyActivity",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListShiftActivityResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/me/assigned": {
      "get": {
        "operationId": "listMyAssigned",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListResolvedShift"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/me/blocks": {
      "get": {
        "description": "Coverage templates visible to all schedule members.",
        "operationId": "listMyBlocks",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListShiftBlockResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/me/breaks/end": {
      "post": {
        "operationId": "endMyBreak",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftBreakRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftStatusResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/me/breaks/start": {
      "post": {
        "operationId": "startMyBreak",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftBreakRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftStatusResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/me/clock-in": {
      "post": {
        "operationId": "clockInMe",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClockInRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftStatusResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/me/clock-out": {
      "post": {
        "description": "Clocks out the active punch only after any drawer opened for that punch has a matching shift_close snapshot. A configured drawer that was never opened for the punch does not require a cash count; clients cannot bypass the server policy.",
        "operationId": "clockOutMe",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClockOutRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftStatusResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/me/preferences": {
      "get": {
        "operationId": "listMyPreferences",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListShiftPreferenceResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "upsertMyPreference",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateShiftPreferenceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftPreferenceResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/me/preferences/{preferenceId}": {
      "delete": {
        "operationId": "deleteMyPreference",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "preferenceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/me/punch-attempts/{attemptId}": {
      "get": {
        "operationId": "getPunchAttempt",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "attemptId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftStatusResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/me/requests": {
      "get": {
        "operationId": "listMyRequests",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListShiftRequestResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createMyRequest",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateShiftRequestRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftRequestResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/me/requests/{requestId}": {
      "put": {
        "operationId": "updateMyRequest",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateShiftRequestRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftRequestResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/me/requests/{requestId}/withdraw": {
      "post": {
        "operationId": "withdrawMyRequest",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WithdrawShiftRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftRequestResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/me/status": {
      "get": {
        "description": "Returns the server-owned cashDrawerRequired decision for the active punch using verified terminal claims and existing drawer shift assignments.",
        "operationId": "getMyStatus",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftStatusResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/open-shifts": {
      "get": {
        "description": "Coverage block occurrences in the date range that still need people; employees claim one with an open_shift request.",
        "operationId": "listOpenShifts",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListOpenShiftResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/preferences": {
      "get": {
        "operationId": "listPreferences",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListShiftPreferenceResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createPreference",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateShiftPreferenceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftPreferenceResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/preferences/{preferenceId}": {
      "delete": {
        "operationId": "deletePreference",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "preferenceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updatePreference",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "preferenceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateShiftPreferenceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftPreferenceResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/requests": {
      "get": {
        "operationId": "listRequests",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "requestType",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListShiftRequestResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/requests/batch-review": {
      "post": {
        "operationId": "batchReviewShiftRequests",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "$ref": "#/components/schemas/BatchReviewShiftRequest"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListBatchReviewShiftResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/requests/pending": {
      "get": {
        "operationId": "listPendingRequests",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListShiftRequestResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/requests/{requestId}": {
      "get": {
        "operationId": "getRequest",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftRequestResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/requests/{requestId}/review": {
      "post": {
        "operationId": "reviewRequest",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReviewShiftRequestRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftRequestResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/schedule/auto/apply": {
      "post": {
        "description": "Creates the previewed shifts in one transaction; 409 SCHEDULE_CHANGED when the schedule changed since the preview.",
        "operationId": "applyAutoSchedule",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplyAutoScheduleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListResolvedShift"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/schedule/auto/preview": {
      "post": {
        "description": "Proposes shifts that fill coverage blocks from employee availability, job functions, approved time off and existing shifts. Writes nothing.",
        "operationId": "previewAutoSchedule",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AutoScheduleRangeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseAutoSchedulePreviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/series": {
      "post": {
        "operationId": "createSeries",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateShiftSeriesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftSeriesMutationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShiftSeries"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/series/{seriesId}": {
      "delete": {
        "operationId": "deleteSeries",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "seriesId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "expectedUpdatedAt",
            "required": true,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "fromDate",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseDeleteShiftSeriesResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShiftSeries"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "getSeries",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "seriesId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftSeriesResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShiftSeries"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateSeries",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "seriesId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateShiftSeriesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftSeriesMutationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShiftSeries"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/settings": {
      "get": {
        "operationId": "getStoreShiftSettings",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStoreShiftSettingsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreShiftSetting"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateStoreShiftSettings",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StoreShiftSettingsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseStoreShiftSettingsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantStoreShiftSetting"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/team-today": {
      "get": {
        "operationId": "listTeamToday",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListShiftTeamTodayResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/templates": {
      "get": {
        "operationId": "listShiftTemplates",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListShiftTemplateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShiftTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "createShiftTemplate",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShiftTemplateInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftTemplateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShiftTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/templates/{templateId}": {
      "delete": {
        "operationId": "deleteShiftTemplate",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "templateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "expectedVersion",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShiftTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "updateShiftTemplate",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "templateId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateShiftTemplateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseShiftTemplateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShiftTemplate"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/time-off": {
      "get": {
        "operationId": "list_39",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "userId",
            "required": false,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListTimeOffResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTimeOff"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_23",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TimeOffInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTimeOffResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTimeOff"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/time-off/{requestId}": {
      "delete": {
        "operationId": "withdraw",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "expectedVersion",
            "required": true,
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTimeOff"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "get_28",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTimeOffResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTimeOff"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "update_18",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTimeOffRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTimeOffResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTimeOff"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/timesheets": {
      "get": {
        "operationId": "listTimesheets",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListShiftTimesheetResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/shifts/timesheets/export": {
      "get": {
        "operationId": "exportTimesheets",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/csv": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantShift"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/tax-configs": {
      "get": {
        "operationId": "list_40",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListTaxConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTaxConfig"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_24",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTaxConfigRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTaxConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTaxConfig"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/tax-configs/active": {
      "get": {
        "operationId": "listActive_1",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListTaxConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTaxConfig"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/tax-configs/snapshot": {
      "get": {
        "operationId": "snapshot",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTaxConfigSnapshotResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTaxConfig"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/tax-configs/{taxConfigId}": {
      "delete": {
        "operationId": "delete_20",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "taxConfigId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUnit"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTaxConfig"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "get_29",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "taxConfigId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTaxConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTaxConfig"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "update_19",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "taxConfigId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTaxConfigRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTaxConfigResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTaxConfig"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/tax-preview": {
      "post": {
        "operationId": "previewStoreTax",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TaxPreviewRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTaxPreviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTaxPreview"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/tax-reports": {
      "get": {
        "operationId": "getTaxReport",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTaxReportResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTaxReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/tax-reports/summary": {
      "get": {
        "operationId": "getTaxSummary",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "startDate",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "endDate",
            "required": true,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseTaxSummaryResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantTaxReport"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/upsells": {
      "get": {
        "operationId": "list_41",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "default": 20,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListUpsellResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantUpsell"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "post": {
        "operationId": "create_25",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUpsellRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUpsellResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantUpsell"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/upsells/recommendations": {
      "post": {
        "operationId": "recommendations",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsellRecommendationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseListUpsellRecommendationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantUpsell"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/upsells/{upsellId}": {
      "delete": {
        "operationId": "delete_21",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "upsellId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseVoid"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantUpsell"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "get": {
        "operationId": "get_30",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "upsellId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUpsellResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantUpsell"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      },
      "put": {
        "operationId": "update_20",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "upsellId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUpsellRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUpsellResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantUpsell"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/stores/{storeId}/upsells/{upsellId}/toggle": {
      "post": {
        "operationId": "toggle_1",
        "parameters": [
          {
            "in": "path",
            "name": "storeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "upsellId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseUpsellResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantUpsell"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/wallet/apple/loyalty/{orgId}/{customerId}": {
      "post": {
        "operationId": "createAppleLoyaltyPass",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Firebase-AppCheck",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/octet-stream": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLegacyLoyaltyWallet"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/wallet/google/loyalty/{orgId}/{customerId}": {
      "post": {
        "operationId": "createGoogleLoyaltyPass",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Firebase-AppCheck",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMapStringString"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantLegacyLoyaltyWallet"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/wallet/landing/{customerId}": {
      "get": {
        "operationId": "loyaltyLanding",
        "parameters": [
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "summary": "Retired anonymous wallet issuer; always returns 404 without issuing credentials",
        "tags": [
          "MerchantLegacyLoyaltyWallet"
        ],
        "security": []
      }
    },
    "/merchant/api/v1/wallet/link/giftcard/{orgId}/{giftCardId}": {
      "get": {
        "operationId": "giftCardLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "giftCardId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMapStringString"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantWalletLink"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    },
    "/merchant/api/v1/wallet/link/loyalty/{orgId}/{customerId}": {
      "get": {
        "operationId": "loyaltyLink",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "customerId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseMapStringString"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MerchantWalletLink"
        ],
        "security": [
          {
            "FirebaseBearer": [],
            "FirebaseAppCheck": [],
            "PeakAuthorization": []
          }
        ]
      }
    }
  },
  "tags": [
    {
      "name": "AiAiAssistant"
    },
    {
      "name": "AuthAuth"
    },
    {
      "name": "CustomerPublicEmailMarketing"
    },
    {
      "name": "CustomerPublicInvoiceAutoPayStop"
    },
    {
      "name": "CustomerPublicSmsConsent"
    },
    {
      "name": "KitchenStation"
    },
    {
      "name": "KitchenStationItem"
    },
    {
      "name": "KitchenTicket"
    },
    {
      "name": "KitchenTicketStream"
    },
    {
      "name": "ManagementAccount"
    },
    {
      "name": "ManagementAgentPortal"
    },
    {
      "name": "ManagementAgentPortalBilling"
    },
    {
      "name": "ManagementBilling"
    },
    {
      "name": "ManagementCustomFieldAdmin"
    },
    {
      "name": "ManagementDemoOrg"
    },
    {
      "name": "ManagementDeviceFleet"
    },
    {
      "name": "ManagementGatewayMerchant"
    },
    {
      "name": "ManagementGatewayOrganization"
    },
    {
      "name": "ManagementGatewayProvisioning"
    },
    {
      "name": "ManagementGatewaySettlement"
    },
    {
      "name": "ManagementGatewayStoreAuth"
    },
    {
      "name": "ManagementGeofence"
    },
    {
      "name": "ManagementGlobalStore"
    },
    {
      "name": "ManagementMerchantImpersonationSession"
    },
    {
      "name": "ManagementMerchantOnboarding"
    },
    {
      "name": "ManagementMerchantUserPin"
    },
    {
      "name": "ManagementMkonnektManagement"
    },
    {
      "name": "ManagementOnboardingPipeline"
    },
    {
      "name": "ManagementOrg"
    },
    {
      "name": "ManagementOrgTerminal"
    },
    {
      "name": "ManagementPermissions"
    },
    {
      "name": "ManagementStore"
    },
    {
      "name": "ManagementTaxConfig"
    },
    {
      "name": "ManagementTaxRate"
    },
    {
      "name": "ManagementTerminal"
    },
    {
      "name": "ManagementTier"
    },
    {
      "name": "ManagementUtilization"
    },
    {
      "name": "MerchantAccountInvoicingWorkflow"
    },
    {
      "name": "MerchantAccountOrganization"
    },
    {
      "name": "MerchantAccountPurchaseOrder"
    },
    {
      "name": "MerchantAccountReporting"
    },
    {
      "name": "MerchantAccountServiceWorkflow"
    },
    {
      "name": "MerchantAccountTax"
    },
    {
      "name": "MerchantActionInbox"
    },
    {
      "name": "MerchantAdvertisement"
    },
    {
      "name": "MerchantAnalytics"
    },
    {
      "name": "MerchantAppointmentNotification"
    },
    {
      "name": "MerchantBatch"
    },
    {
      "name": "MerchantBillingCode"
    },
    {
      "name": "MerchantBottleDeposit"
    },
    {
      "name": "MerchantBulkImport"
    },
    {
      "name": "MerchantCashDrawer"
    },
    {
      "name": "MerchantCategory"
    },
    {
      "name": "MerchantCategoryImport"
    },
    {
      "name": "MerchantCategoryTaxPolicy"
    },
    {
      "name": "MerchantCheckoutIntent"
    },
    {
      "name": "MerchantCnpPayment"
    },
    {
      "name": "MerchantCompliance"
    },
    {
      "name": "MerchantConsent"
    },
    {
      "name": "MerchantCreditNote"
    },
    {
      "name": "MerchantCustomField"
    },
    {
      "name": "MerchantCustomFieldSettings"
    },
    {
      "name": "MerchantCustomer"
    },
    {
      "name": "MerchantCustomerCustomField"
    },
    {
      "name": "MerchantCustomerHousehold"
    },
    {
      "name": "MerchantCustomerImport"
    },
    {
      "name": "MerchantCustomerPaymentProfile"
    },
    {
      "name": "MerchantCustomerReporting"
    },
    {
      "name": "MerchantDailyBrief"
    },
    {
      "name": "MerchantDeviceToken"
    },
    {
      "name": "MerchantEmployeeCapabilities"
    },
    {
      "name": "MerchantEmployeeDepartment"
    },
    {
      "name": "MerchantEmployeeJobFunctionColor"
    },
    {
      "name": "MerchantEmployeePayRate"
    },
    {
      "name": "MerchantEmployeeProfile"
    },
    {
      "name": "MerchantEmployeeTransfer"
    },
    {
      "name": "MerchantExpiryAlert"
    },
    {
      "name": "MerchantFeatureResolution"
    },
    {
      "name": "MerchantFormRequests"
    },
    {
      "name": "MerchantForms"
    },
    {
      "name": "MerchantGatewayFraudPortal"
    },
    {
      "name": "MerchantGatewayMerchant"
    },
    {
      "name": "MerchantGiftCard"
    },
    {
      "name": "MerchantGiftCardImport"
    },
    {
      "name": "MerchantGiftCardIssuanceSaga"
    },
    {
      "name": "MerchantGustoPayroll"
    },
    {
      "name": "MerchantHistoricalPaymentRepair"
    },
    {
      "name": "MerchantIntegration"
    },
    {
      "name": "MerchantIntegrationOAuth"
    },
    {
      "name": "MerchantIntegrationRuntime"
    },
    {
      "name": "MerchantInventory"
    },
    {
      "name": "MerchantInventoryAccuracyReport"
    },
    {
      "name": "MerchantInventoryAuditTrail"
    },
    {
      "name": "MerchantInventoryCount"
    },
    {
      "name": "MerchantInventoryCountPolicy"
    },
    {
      "name": "MerchantInventoryCountVarianceReport"
    },
    {
      "name": "MerchantInventoryCycleCountSchedule"
    },
    {
      "name": "MerchantInventoryDiscrepancy"
    },
    {
      "name": "MerchantInventoryMovementReport"
    },
    {
      "name": "MerchantInventoryPerformance"
    },
    {
      "name": "MerchantInvite"
    },
    {
      "name": "MerchantInvoiceAccountingExport"
    },
    {
      "name": "MerchantInvoiceAudit"
    },
    {
      "name": "MerchantInvoiceAutoPay"
    },
    {
      "name": "MerchantInvoiceAutopayRecurring"
    },
    {
      "name": "MerchantInvoiceConfigurationTemplate"
    },
    {
      "name": "MerchantInvoiceDefaults"
    },
    {
      "name": "MerchantInvoiceFx"
    },
    {
      "name": "MerchantInvoiceRefund"
    },
    {
      "name": "MerchantInvoiceReminderConfig"
    },
    {
      "name": "MerchantInvoiceSavedPayment"
    },
    {
      "name": "MerchantInvoiceSmartPrompt"
    },
    {
      "name": "MerchantInvoiceSms"
    },
    {
      "name": "MerchantInvoiceTemplate"
    },
    {
      "name": "MerchantLegacyLoyaltyWallet"
    },
    {
      "name": "MerchantLot"
    },
    {
      "name": "MerchantLoyalty"
    },
    {
      "name": "MerchantLoyaltyMessaging"
    },
    {
      "name": "MerchantLoyaltyReadLink"
    },
    {
      "name": "MerchantManualCoupon"
    },
    {
      "name": "MerchantMarketingCatalog"
    },
    {
      "name": "MerchantMarketingTexting"
    },
    {
      "name": "MerchantMarketingTrigger"
    },
    {
      "name": "MerchantMkonnekt"
    },
    {
      "name": "MerchantMobileCheckoutQuotePreview"
    },
    {
      "name": "MerchantMobileCheckoutTicket"
    },
    {
      "name": "MerchantMobileManagerOverride"
    },
    {
      "name": "MerchantMobilePaymentRuntime"
    },
    {
      "name": "MerchantNotification"
    },
    {
      "name": "MerchantOnboarding"
    },
    {
      "name": "MerchantOrder"
    },
    {
      "name": "MerchantOrgActivityLog"
    },
    {
      "name": "MerchantOrgBranding"
    },
    {
      "name": "MerchantOrgInventory"
    },
    {
      "name": "MerchantOrgInventoryShrinkage"
    },
    {
      "name": "MerchantOrgInvite"
    },
    {
      "name": "MerchantOrgSerialNumber"
    },
    {
      "name": "MerchantOrgUser"
    },
    {
      "name": "MerchantPaymentToken"
    },
    {
      "name": "MerchantPortalToken"
    },
    {
      "name": "MerchantPrimaryStore"
    },
    {
      "name": "MerchantProduct"
    },
    {
      "name": "MerchantProductCatalogExport"
    },
    {
      "name": "MerchantProductImage"
    },
    {
      "name": "MerchantPromotion"
    },
    {
      "name": "MerchantQuoteLifecycle"
    },
    {
      "name": "MerchantReceipt"
    },
    {
      "name": "MerchantReceiptTemplate"
    },
    {
      "name": "MerchantReceiptTemplatePresentation"
    },
    {
      "name": "MerchantRecurringPayment"
    },
    {
      "name": "MerchantReturn"
    },
    {
      "name": "MerchantSavedPaymentMethod"
    },
    {
      "name": "MerchantScheduledReport"
    },
    {
      "name": "MerchantServiceBookingImage"
    },
    {
      "name": "MerchantServiceReminder"
    },
    {
      "name": "MerchantSettings"
    },
    {
      "name": "MerchantShift"
    },
    {
      "name": "MerchantShiftSeries"
    },
    {
      "name": "MerchantShiftTemplate"
    },
    {
      "name": "MerchantSmsConversation"
    },
    {
      "name": "MerchantStaffImport"
    },
    {
      "name": "MerchantStandardIam"
    },
    {
      "name": "MerchantStockTransfer"
    },
    {
      "name": "MerchantStore"
    },
    {
      "name": "MerchantStoreActivityLog"
    },
    {
      "name": "MerchantStoreApprovalPolicy"
    },
    {
      "name": "MerchantStoreBreakPolicy"
    },
    {
      "name": "MerchantStoreInvite"
    },
    {
      "name": "MerchantStoreProductImage"
    },
    {
      "name": "MerchantStoreReport"
    },
    {
      "name": "MerchantStoreShiftSetting"
    },
    {
      "name": "MerchantSupplier"
    },
    {
      "name": "MerchantSupplierImport"
    },
    {
      "name": "MerchantTaxConfig"
    },
    {
      "name": "MerchantTaxPreview"
    },
    {
      "name": "MerchantTaxReport"
    },
    {
      "name": "MerchantTerminal"
    },
    {
      "name": "MerchantTerminalReturnReview"
    },
    {
      "name": "MerchantTier"
    },
    {
      "name": "MerchantTimeOff"
    },
    {
      "name": "MerchantTransaction"
    },
    {
      "name": "MerchantTransactionDashboard"
    },
    {
      "name": "MerchantUnifiedTransactions"
    },
    {
      "name": "MerchantUpsell"
    },
    {
      "name": "MerchantUser"
    },
    {
      "name": "MerchantUserPin"
    },
    {
      "name": "MerchantUtilization"
    },
    {
      "name": "MerchantVendorCostAdjustment"
    },
    {
      "name": "MerchantWalletLink"
    }
  ],
  "servers": [
    {
      "url": "https://api.peakpos.co"
    },
    {
      "url": "https://staging-api.peakpos.co"
    }
  ],
  "security": [
    {
      "FirebaseBearer": [],
      "FirebaseAppCheck": [],
      "PeakAuthorization": []
    }
  ]
}
