[
  {
    "label": "health",
    "method": "GET",
    "path": "/health",
    "status": 200,
    "body": {
      "isHealthy": true,
      "degraded": false,
      "services": {
        "memory": {
          "status": "up",
          "usage": {
            "heapUsed": 474,
            "heapTotal": 530,
            "rss": 479,
            "usedPercentage": 46
          },
          "message": "Memory usage is normal"
        },
        "database": {
          "status": "up",
          "responseTime": 3,
          "message": "MongoDB reachable"
        },
        "keydb": {
          "status": "up",
          "responseTime": 2,
          "message": "KeyDB replied PONG (ready)"
        },
        "s3": {
          "status": "up",
          "responseTime": 185,
          "message": "S3 reachable"
        }
      },
      "version": "0.132.0",
      "uptime": 8441.764562833,
      "timestamp": "2026-09-19T10:08:20.445Z",
      "responseTime": 186
    }
  },
  {
    "label": "anonymous identity",
    "method": "GET",
    "path": "/profile/whoami",
    "status": 200,
    "body": "Anonymous User"
  },
  {
    "label": "staff signin",
    "method": "POST",
    "path": "/profile/user/signin",
    "status": 201,
    "body": {
      "user": {
        "_id": "6aae40bc28eaa92a3d2a0981",
        "datatype": "user",
        "pk": "ck-local-mu83iwh3|user",
        "sk": "6aae40bc28eaa92a3d2a0981",
        "name": "f_admin",
        "version": 1,
        "data": {
          "firstName": "Ada",
          "lastName": "Okafor",
          "email": "ada.mu83iwh3@example.invalid",
          "username": "ada.mu83iwh3@example.invalid",
          "groups": [
            "ConfigAdmin",
            "ContentAdmin",
            "User"
          ],
          "lockout": null,
          "account": null,
          "permissions": {
            "content": [
              "read",
              "create",
              "update",
              "delete",
              "review",
              "approve"
            ],
            "component": [
              "view",
              "add",
              "remove",
              "configure"
            ]
          },
          "roles": [
            "ConfigAdmin",
            "ContentAdmin",
            "User",
            "Owner"
          ],
          "audit": {
            "lastLogin": "2026-09-19T10:08:14.762Z",
            "meta": {
              "ip": "::1",
              "host": "localhost:3300",
              "country": null,
              "city": null,
              "state": null,
              "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/153.0.0.0 Safari/537.36"
            }
          },
          "meta": {
            "onboarding": {
              "welcomedAt": "2026-09-19T08:00:57.178Z"
            }
          }
        },
        "createdate": "2026-09-19T07:58:52.472Z",
        "modifydate": "2026-09-19T10:08:14.764Z",
        "search": "Ada Okafor ada mu83iwh3 example invalid ada mu83iwh3 example invalid d8031614dc6297ab f206a11d8d245dabeeeda419ee48f801b1ad5aef8c9b5df8c8defb53fa4392ca Local Ze dajwMtdKo4JAF1xS SmW ConfigAdmin ContentAdmin User read create update delete review approve view add remove configure ConfigAdmin ContentAdmin User eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 eyJlbWFpbCI6ImFkYS5tdTgzaXdoM0BleGFtcGxlLmludmFsaWQiLCJleHBpcmVzIjoxNzg5ODA4MzMyNjg3LCJwayI6ImNrLWxvY2FsLW11ODNpd2gzfHVzZXIiLCJvcmdJZCI6ImNrLWxvY2FsLW11ODNpd2gzIiwiZGF0YSI6eyJlbWFpbCI6ImFkYS5tdTgzaXdoM0BleGFtcGxlLmludmFsaWQiLCJ1c2VybmFtZSI6ImFkYS5tdTgzaXdoM0BleGFtcGxlLmludmFsaWQifSwiaWF0IjoxNzg5ODA0NzMyLCJleHAiOjE3ODk4MDgzMzIsImF1ZCI6InVzZXIiLCJpc3MiOiJhcHBlbmdpbmUifQ Dsyw2fxN6wjSxQSyliUzLtaatj14sPPIseLJIk fCho",
        "modified_by": "system",
        "state": "draft"
      },
      "orgId": "ck-local-mu83iwh3",
      "rootOrg": "fundu",
      "sharedOrg": "localhost"
    }
  },
  {
    "label": "staff identity",
    "method": "GET",
    "path": "/profile/whoami",
    "status": 200,
    "body": "Anonymous User"
  },
  {
    "label": "definition lookup before create",
    "method": "GET",
    "path": "/repository/find-by-attribute/reservation_definition/data.name/tutorial-api-consultation?p=1&ps=2",
    "status": 200,
    "body": {
      "total": 0,
      "datatype": "reservation_definition",
      "pageSize": 2,
      "page": 1,
      "sort": "modifydate",
      "sortType": -1,
      "lastPage": 1,
      "hasNext": false,
      "fromCache": false,
      "data": []
    }
  },
  {
    "label": "create exact course definition",
    "method": "PUT",
    "path": "/repository/create",
    "status": 200,
    "body": {
      "datatype": "reservation_definition",
      "data": {
        "name": "tutorial-api-consultation",
        "title": "Tutorial API design consultation",
        "type": "service",
        "status": "active",
        "services": [
          {
            "name": "Design consultation",
            "duration": 30,
            "price": 0,
            "breakAfter": 0
          }
        ],
        "officeDays": [
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday"
        ],
        "officeHours": {
          "timezone": "America/Chicago",
          "startTime": "09:00",
          "endTime": "17:00"
        },
        "spots": 1,
        "venueData": {
          "type": "physical",
          "name": "Tutorial design room",
          "address": "Training venue"
        },
        "notificationTemplate": []
      },
      "author": "ada.mu83iwh3@example.invalid",
      "name": "tutorial-api-consultation",
      "created_by": "ada.mu83iwh3@example.invalid",
      "state": "draft",
      "pk": "ck-local-mu83iwh3|reservation_definition",
      "createdate": "2026-09-19T10:10:46.603Z",
      "modifydate": "2026-09-19T10:10:46.603Z",
      "version": 0,
      "sk": "6aae5fa628eaa92a3d2a0b1b",
      "search": "tutorial api consultation Tutorial API design consultation service active Design consultation 30 0 0 Monday Tuesday Wednesday Thursday Friday America Chicago 09 00 17 00 1 physical Tutorial design room Training venue",
      "id": "6aae5fa628eaa92a3d2a0b1b"
    }
  },
  {
    "label": "fresh definition raw read",
    "method": "GET",
    "path": "/repository/get/reservation_definition/6aae5fa628eaa92a3d2a0b1b",
    "status": 200,
    "body": {
      "_id": "6aae5fa628eaa92a3d2a0b1b",
      "datatype": "reservation_definition",
      "data": {
        "name": "tutorial-api-consultation",
        "title": "Tutorial API design consultation",
        "type": "service",
        "status": "active",
        "services": [
          {
            "name": "Design consultation",
            "duration": 30,
            "price": 0,
            "breakAfter": 0
          }
        ],
        "officeDays": [
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday"
        ],
        "officeHours": {
          "timezone": "America/Chicago",
          "startTime": "09:00",
          "endTime": "17:00"
        },
        "spots": 1,
        "venueData": {
          "type": "physical",
          "name": "Tutorial design room",
          "address": "Training venue"
        },
        "notificationTemplate": []
      },
      "author": "ada.mu83iwh3@example.invalid",
      "name": "tutorial-api-consultation",
      "created_by": "ada.mu83iwh3@example.invalid",
      "state": "draft",
      "pk": "ck-local-mu83iwh3|reservation_definition",
      "createdate": "2026-09-19T10:10:46.603Z",
      "modifydate": "2026-09-19T10:10:46.603Z",
      "version": 0,
      "sk": "6aae5fa628eaa92a3d2a0b1b",
      "search": "tutorial api consultation Tutorial API design consultation service active Design consultation 30 0 0 Monday Tuesday Wednesday Thursday Friday America Chicago 09 00 17 00 1 physical Tutorial design room Training venue"
    }
  },
  {
    "label": "definition reuse lookup",
    "method": "GET",
    "path": "/repository/find-by-attribute/reservation_definition/data.name/tutorial-api-consultation?p=1&ps=2",
    "status": 200,
    "body": {
      "total": 1,
      "datatype": "reservation_definition",
      "pageSize": 2,
      "page": 1,
      "sort": "modifydate",
      "sortType": -1,
      "lastPage": 1,
      "hasNext": false,
      "fromCache": false,
      "lastItem": "2026-09-19T10:10:46.603Z",
      "data": [
        {
          "_id": "6aae5fa628eaa92a3d2a0b1b",
          "datatype": "reservation_definition",
          "data": {
            "name": "tutorial-api-consultation",
            "title": "Tutorial API design consultation",
            "type": "service",
            "status": "active",
            "services": [
              {
                "name": "Design consultation",
                "duration": 30,
                "price": 0,
                "breakAfter": 0
              }
            ],
            "officeDays": [
              "Monday",
              "Tuesday",
              "Wednesday",
              "Thursday",
              "Friday"
            ],
            "officeHours": {
              "timezone": "America/Chicago",
              "startTime": "09:00",
              "endTime": "17:00"
            },
            "spots": 1,
            "venueData": {
              "type": "physical",
              "name": "Tutorial design room",
              "address": "Training venue"
            },
            "notificationTemplate": []
          },
          "author": "ada.mu83iwh3@example.invalid",
          "name": "tutorial-api-consultation",
          "created_by": "ada.mu83iwh3@example.invalid",
          "state": "draft",
          "pk": "ck-local-mu83iwh3|reservation_definition",
          "createdate": "2026-09-19T10:10:46.603Z",
          "modifydate": "2026-09-19T10:10:46.603Z",
          "version": 0,
          "sk": "6aae5fa628eaa92a3d2a0b1b",
          "search": "tutorial api consultation Tutorial API design consultation service active Design consultation 30 0 0 Monday Tuesday Wednesday Thursday Friday America Chicago 09 00 17 00 1 physical Tutorial design room Training venue"
        }
      ]
    }
  },
  {
    "label": "own SMTP config lookup",
    "method": "POST",
    "path": "/repository/find/config",
    "status": 201,
    "body": {
      "total": 0,
      "datatype": "config",
      "pageSize": 100,
      "page": 1,
      "sort": "modifydate",
      "sortType": -1,
      "lastPage": 1,
      "hasNext": false,
      "fromCache": false,
      "data": []
    }
  },
  {
    "label": "own SMTP config lookup",
    "method": "POST",
    "path": "/repository/find/config",
    "status": 201,
    "body": {
      "total": 0,
      "datatype": "config",
      "pageSize": 100,
      "page": 1,
      "sort": "modifydate",
      "sortType": -1,
      "lastPage": 1,
      "hasNext": false,
      "fromCache": false,
      "data": []
    }
  },
  {
    "label": "save org scoped local SMTP",
    "method": "POST",
    "path": "/upstream/save-integration",
    "status": 201,
    "body": {
      "datatype": "config",
      "data": {
        "name": "tutorial-local-mail-capture",
        "provider": "SMTPProvider",
        "type": "Email",
        "useCases": [
          "Email"
        ],
        "priority": 100,
        "email": "tutorial-sender@example.invalid",
        "host": "127.0.0.1",
        "port": "2527",
        "secure": false,
        "ignoreTLS": true,
        "sendOutgoing": true
      },
      "name": "tutorial-local-mail-capture",
      "created_by": "system",
      "state": "draft",
      "pk": "ck-local-mu83iwh3|config",
      "createdate": "2026-09-19T10:13:13.587Z",
      "modifydate": "2026-09-19T10:13:13.587Z",
      "version": 0,
      "sk": "6aae603928eaa92a3d2a0b2c",
      "search": "tutorial local mail capture SMTPProvider Email Email 100 tutorial sender example invalid 127 0 0 1 2527 false true true",
      "id": "6aae603928eaa92a3d2a0b2c"
    }
  },
  {
    "label": "loopback SMTP delivery test",
    "method": "POST",
    "path": "/upstream/call/6aae603928eaa92a3d2a0b2c/sendEmail",
    "status": 201,
    "body": {
      "accepted": [
        "tutorial-inbox@example.invalid"
      ],
      "rejected": [],
      "ehlo": [
        "SIZE 10485760"
      ],
      "envelopeTime": 0,
      "messageTime": 2,
      "messageSize": 340,
      "response": "250 captured locally",
      "envelope": {
        "from": "tutorial-sender@example.invalid",
        "to": [
          "tutorial-inbox@example.invalid"
        ]
      },
      "messageId": "<6e668fa6-51b5-339f-a882-49f09b509eff@example.invalid>"
    }
  },
  {
    "label": "lina customer signup",
    "method": "POST",
    "path": "/profile/customer/signup",
    "status": 201,
    "body": {
      "customer": {
        "pk": "ck-local-mu83iwh3|customer",
        "sk": "6aae607128eaa92a3d2a0b39",
        "name": "lina.events@example.invalid",
        "version": 0,
        "datatype": "customer",
        "data": {
          "groups": [
            "Customer"
          ],
          "username": "lina.events@example.invalid",
          "firstName": "Lina",
          "lastName": "Tutorial",
          "email": "lina.events@example.invalid"
        },
        "created_by": "system",
        "state": "draft",
        "createdate": "2026-09-19T10:14:09.004Z",
        "modifydate": "2026-09-19T10:14:09.004Z",
        "search": "Customer lina events example invalid Lina Tutorial lina events example invalid d73f085a69a06b11 7887dad9ca3d3238926048d4ff9db72292b4692c628e9562a577591847af3f39",
        "id": "6aae607128eaa92a3d2a0b39"
      }
    }
  },
  {
    "label": "lina customer signin",
    "method": "POST",
    "path": "/profile/customer/signin",
    "status": 201,
    "body": {
      "customer": {
        "_id": "6aae607128eaa92a3d2a0b39",
        "pk": "ck-local-mu83iwh3|customer",
        "sk": "6aae607128eaa92a3d2a0b39",
        "name": "lina.events@example.invalid",
        "version": 0,
        "datatype": "customer",
        "data": {
          "groups": [
            "Customer"
          ],
          "username": "lina.events@example.invalid",
          "firstName": "Lina",
          "lastName": "Tutorial",
          "email": "lina.events@example.invalid",
          "audit": {
            "lastLogin": "2026-09-19T10:14:09.043Z",
            "meta": {
              "ip": "::1",
              "host": "localhost:3300",
              "country": null,
              "city": null,
              "state": null,
              "agent": "node"
            }
          }
        },
        "created_by": "system",
        "state": "draft",
        "createdate": "2026-09-19T10:14:09.004Z",
        "modifydate": "2026-09-19T10:14:09.044Z",
        "search": "Customer lina events example invalid Lina Tutorial lina events example invalid d73f085a69a06b11 7887dad9ca3d3238926048d4ff9db72292b4692c628e9562a577591847af3f39"
      },
      "orgId": "ck-local-mu83iwh3"
    }
  },
  {
    "label": "lina initial profile",
    "method": "GET",
    "path": "/client-data/profile",
    "status": 200,
    "body": {
      "_id": "6aae607128eaa92a3d2a0b39",
      "pk": "ck-local-mu83iwh3|customer",
      "sk": "6aae607128eaa92a3d2a0b39",
      "name": "lina.events@example.invalid",
      "version": 0,
      "datatype": "customer",
      "data": {
        "groups": [
          "Customer"
        ],
        "username": "lina.events@example.invalid",
        "firstName": "Lina",
        "lastName": "Tutorial",
        "email": "lina.events@example.invalid",
        "audit": {
          "lastLogin": "2026-09-19T10:14:09.115Z",
          "meta": {
            "ip": "::1",
            "host": "localhost:3300",
            "country": null,
            "city": null,
            "state": null,
            "agent": "node"
          }
        }
      },
      "created_by": "system",
      "state": "draft",
      "createdate": "2026-09-19T10:14:09.004Z",
      "modifydate": "2026-09-19T10:14:09.116Z",
      "search": "Customer lina events example invalid Lina Tutorial lina events example invalid d73f085a69a06b11 7887dad9ca3d3238926048d4ff9db72292b4692c628e9562a577591847af3f39"
    }
  },
  {
    "label": "lina initial reservations",
    "method": "GET",
    "path": "/client-data/reservations",
    "status": 200,
    "body": {
      "total": 0,
      "datatype": "reservation",
      "pageSize": 50,
      "page": 1,
      "sort": "modifydate",
      "sortType": -1,
      "lastPage": 1,
      "hasNext": false,
      "fromCache": false,
      "data": []
    }
  },
  {
    "label": "lina initial orders",
    "method": "GET",
    "path": "/client-data/orders",
    "status": 200,
    "body": {
      "total": 0,
      "datatype": "sf_order",
      "pageSize": 50,
      "page": 1,
      "sort": "modifydate",
      "sortType": -1,
      "lastPage": 1,
      "hasNext": false,
      "fromCache": false,
      "data": []
    }
  },
  {
    "label": "lina initial dashboard",
    "method": "GET",
    "path": "/client-data/dashboard",
    "status": 200,
    "body": {
      "profile": {
        "_id": "6aae607128eaa92a3d2a0b39",
        "pk": "ck-local-mu83iwh3|customer",
        "sk": "6aae607128eaa92a3d2a0b39",
        "name": "lina.events@example.invalid",
        "version": 0,
        "datatype": "customer",
        "data": {
          "groups": [
            "Customer"
          ],
          "username": "lina.events@example.invalid",
          "firstName": "Lina",
          "lastName": "Tutorial",
          "email": "lina.events@example.invalid",
          "audit": {
            "lastLogin": "2026-09-19T10:14:09.115Z",
            "meta": {
              "ip": "::1",
              "host": "localhost:3300",
              "country": null,
              "city": null,
              "state": null,
              "agent": "node"
            }
          }
        },
        "created_by": "system",
        "state": "draft",
        "createdate": "2026-09-19T10:14:09.004Z",
        "modifydate": "2026-09-19T10:14:09.116Z",
        "search": "Customer lina events example invalid Lina Tutorial lina events example invalid d73f085a69a06b11 7887dad9ca3d3238926048d4ff9db72292b4692c628e9562a577591847af3f39"
      },
      "summary": {
        "activeOrders": 0,
        "upcomingReservations": 0,
        "openTickets": 0,
        "unreadNotifications": 1,
        "totalPaymentMethods": 0,
        "activePaymentMethods": 0,
        "pendingEnrollments": 0
      },
      "recentOrders": [],
      "paymentMethods": [],
      "analytics": {
        "visitors": {
          "total": 0,
          "change": 0
        },
        "pageViews": {
          "total": 0,
          "change": 0
        },
        "revenue": {
          "total": 0,
          "change": 0
        },
        "orders": {
          "total": 0,
          "change": 0
        }
      },
      "addresses": {
        "total": 0,
        "datatype": "address",
        "pageSize": 50,
        "page": 1,
        "sort": "modifydate",
        "sortType": -1,
        "lastPage": 1,
        "hasNext": false,
        "fromCache": false,
        "data": []
      },
      "benefits": {
        "customerId": "6aae607128eaa92a3d2a0b39",
        "customerGroups": [
          "Customer"
        ],
        "directBenefits": [],
        "benefits": [],
        "enrollments": {
          "pending": [],
          "active": [],
          "rejected": []
        },
        "availableBenefits": []
      },
      "affiliate": {
        "enrollments": [],
        "availablePrograms": []
      }
    }
  },
  {
    "label": "kofi customer signup",
    "method": "POST",
    "path": "/profile/customer/signup",
    "status": 201,
    "body": {
      "customer": {
        "pk": "ck-local-mu83iwh3|customer",
        "sk": "6aae607128eaa92a3d2a0b3f",
        "name": "kofi.events@example.invalid",
        "version": 0,
        "datatype": "customer",
        "data": {
          "groups": [
            "Customer"
          ],
          "username": "kofi.events@example.invalid",
          "firstName": "Kofi",
          "lastName": "Tutorial",
          "email": "kofi.events@example.invalid"
        },
        "created_by": "system",
        "state": "draft",
        "createdate": "2026-09-19T10:14:09.206Z",
        "modifydate": "2026-09-19T10:14:09.206Z",
        "search": "Customer kofi events example invalid Kofi Tutorial kofi events example invalid 75755b0912bfe793 2d5db91158f09342c3836001f9f98293d24b48d51c2c63cfda2eb997897cb5ae",
        "id": "6aae607128eaa92a3d2a0b3f"
      }
    }
  },
  {
    "label": "kofi customer signin",
    "method": "POST",
    "path": "/profile/customer/signin",
    "status": 201,
    "body": {
      "customer": {
        "_id": "6aae607128eaa92a3d2a0b3f",
        "pk": "ck-local-mu83iwh3|customer",
        "sk": "6aae607128eaa92a3d2a0b3f",
        "name": "kofi.events@example.invalid",
        "version": 0,
        "datatype": "customer",
        "data": {
          "groups": [
            "Customer"
          ],
          "username": "kofi.events@example.invalid",
          "firstName": "Kofi",
          "lastName": "Tutorial",
          "email": "kofi.events@example.invalid",
          "audit": {
            "lastLogin": "2026-09-19T10:14:09.232Z",
            "meta": {
              "ip": "::1",
              "host": "localhost:3300",
              "country": null,
              "city": null,
              "state": null,
              "agent": "node"
            }
          }
        },
        "created_by": "system",
        "state": "draft",
        "createdate": "2026-09-19T10:14:09.206Z",
        "modifydate": "2026-09-19T10:14:09.232Z",
        "search": "Customer kofi events example invalid Kofi Tutorial kofi events example invalid 75755b0912bfe793 2d5db91158f09342c3836001f9f98293d24b48d51c2c63cfda2eb997897cb5ae"
      },
      "orgId": "ck-local-mu83iwh3"
    }
  },
  {
    "label": "kofi initial profile",
    "method": "GET",
    "path": "/client-data/profile",
    "status": 200,
    "body": {
      "_id": "6aae607128eaa92a3d2a0b3f",
      "pk": "ck-local-mu83iwh3|customer",
      "sk": "6aae607128eaa92a3d2a0b3f",
      "name": "kofi.events@example.invalid",
      "version": 0,
      "datatype": "customer",
      "data": {
        "groups": [
          "Customer"
        ],
        "username": "kofi.events@example.invalid",
        "firstName": "Kofi",
        "lastName": "Tutorial",
        "email": "kofi.events@example.invalid",
        "audit": {
          "lastLogin": "2026-09-19T10:14:09.299Z",
          "meta": {
            "ip": "::1",
            "host": "localhost:3300",
            "country": null,
            "city": null,
            "state": null,
            "agent": "node"
          }
        }
      },
      "created_by": "system",
      "state": "draft",
      "createdate": "2026-09-19T10:14:09.206Z",
      "modifydate": "2026-09-19T10:14:09.300Z",
      "search": "Customer kofi events example invalid Kofi Tutorial kofi events example invalid 75755b0912bfe793 2d5db91158f09342c3836001f9f98293d24b48d51c2c63cfda2eb997897cb5ae"
    }
  },
  {
    "label": "kofi initial reservations",
    "method": "GET",
    "path": "/client-data/reservations",
    "status": 200,
    "body": {
      "total": 0,
      "datatype": "reservation",
      "pageSize": 50,
      "page": 1,
      "sort": "modifydate",
      "sortType": -1,
      "lastPage": 1,
      "hasNext": false,
      "fromCache": false,
      "data": []
    }
  },
  {
    "label": "kofi initial orders",
    "method": "GET",
    "path": "/client-data/orders",
    "status": 200,
    "body": {
      "total": 0,
      "datatype": "sf_order",
      "pageSize": 50,
      "page": 1,
      "sort": "modifydate",
      "sortType": -1,
      "lastPage": 1,
      "hasNext": false,
      "fromCache": false,
      "data": []
    }
  },
  {
    "label": "kofi initial dashboard",
    "method": "GET",
    "path": "/client-data/dashboard",
    "status": 200,
    "body": {
      "profile": {
        "_id": "6aae607128eaa92a3d2a0b3f",
        "pk": "ck-local-mu83iwh3|customer",
        "sk": "6aae607128eaa92a3d2a0b3f",
        "name": "kofi.events@example.invalid",
        "version": 0,
        "datatype": "customer",
        "data": {
          "groups": [
            "Customer"
          ],
          "username": "kofi.events@example.invalid",
          "firstName": "Kofi",
          "lastName": "Tutorial",
          "email": "kofi.events@example.invalid",
          "audit": {
            "lastLogin": "2026-09-19T10:14:09.299Z",
            "meta": {
              "ip": "::1",
              "host": "localhost:3300",
              "country": null,
              "city": null,
              "state": null,
              "agent": "node"
            }
          }
        },
        "created_by": "system",
        "state": "draft",
        "createdate": "2026-09-19T10:14:09.206Z",
        "modifydate": "2026-09-19T10:14:09.300Z",
        "search": "Customer kofi events example invalid Kofi Tutorial kofi events example invalid 75755b0912bfe793 2d5db91158f09342c3836001f9f98293d24b48d51c2c63cfda2eb997897cb5ae"
      },
      "summary": {
        "activeOrders": 0,
        "upcomingReservations": 0,
        "openTickets": 0,
        "unreadNotifications": 1,
        "totalPaymentMethods": 0,
        "activePaymentMethods": 0,
        "pendingEnrollments": 0
      },
      "recentOrders": [],
      "paymentMethods": [],
      "analytics": {
        "visitors": {
          "total": 0,
          "change": 0
        },
        "pageViews": {
          "total": 0,
          "change": 0
        },
        "revenue": {
          "total": 0,
          "change": 0
        },
        "orders": {
          "total": 0,
          "change": 0
        }
      },
      "addresses": {
        "total": 0,
        "datatype": "address",
        "pageSize": 50,
        "page": 1,
        "sort": "modifydate",
        "sortType": -1,
        "lastPage": 1,
        "hasNext": false,
        "fromCache": false,
        "data": []
      },
      "benefits": {
        "customerId": "6aae607128eaa92a3d2a0b3f",
        "customerGroups": [
          "Customer"
        ],
        "directBenefits": [],
        "benefits": [],
        "enrollments": {
          "pending": [],
          "active": [],
          "rejected": []
        },
        "availableBenefits": []
      },
      "affiliate": {
        "enrollments": [],
        "availablePrograms": []
      }
    }
  },
  {
    "label": "Lina creates exact course booking",
    "method": "POST",
    "path": "/client-data/reservations",
    "status": 201,
    "body": {
      "pk": "ck-local-mu83iwh3|reservation",
      "sk": "6aae607128eaa92a3d2a0b45",
      "name": "HJTLSSU4",
      "datatype": "reservation",
      "data": {
        "reservationDefinitionId": "6aae5fa628eaa92a3d2a0b1b",
        "service": "Design consultation",
        "startTime": "2026-10-05T10:00:00-05:00",
        "endTime": "2026-10-05T10:30:00-05:00",
        "customer": {
          "email": "lina.events@example.invalid",
          "name": "Lina Tutorial",
          "phone": null,
          "id": "6aae607128eaa92a3d2a0b39"
        },
        "partySize": 1,
        "name": "HJTLSSU4",
        "customerId": "6aae607128eaa92a3d2a0b39",
        "status": "new",
        "timezone": "America/Chicago",
        "locationType": "physical",
        "address": "Training venue",
        "meetingInfo": "",
        "meetingLink": ""
      },
      "version": 0,
      "author": "lina.events@example.invalid",
      "created_by": "lina.events@example.invalid",
      "state": "draft",
      "createdate": "2026-09-19T10:14:09.436Z",
      "modifydate": "2026-09-19T10:14:09.436Z",
      "search": "6aae5fa628eaa92a3d2a0b1b Design consultation 2026 10 05T10 00 00 05 00 2026 10 05T10 30 00 05 00 lina events example invalid Lina Tutorial 6aae607128eaa92a3d2a0b39 1 HJTLSSU4 6aae607128eaa92a3d2a0b39 new America Chicago physical Training venue",
      "id": "6aae607128eaa92a3d2a0b45"
    }
  },
  {
    "label": "lina reservations after create",
    "method": "GET",
    "path": "/client-data/reservations",
    "status": 200,
    "body": {
      "total": 1,
      "datatype": "reservation",
      "pageSize": 50,
      "page": 1,
      "sort": "modifydate",
      "sortType": -1,
      "lastPage": 1,
      "hasNext": false,
      "fromCache": false,
      "lastItem": "2026-09-19T10:14:09.436Z",
      "data": [
        {
          "_id": "6aae607128eaa92a3d2a0b45",
          "pk": "ck-local-mu83iwh3|reservation",
          "sk": "6aae607128eaa92a3d2a0b45",
          "name": "HJTLSSU4",
          "datatype": "reservation-enriched",
          "data": {
            "reservationDefinitionId": "6aae5fa628eaa92a3d2a0b1b",
            "service": "Design consultation",
            "startTime": "2026-10-05T10:00:00-05:00",
            "endTime": "2026-10-05T10:30:00-05:00",
            "customer": {
              "email": "lina.events@example.invalid",
              "name": "Lina Tutorial",
              "phone": null,
              "id": "6aae607128eaa92a3d2a0b39"
            },
            "partySize": 1,
            "name": "HJTLSSU4",
            "customerId": "6aae607128eaa92a3d2a0b39",
            "status": "new",
            "timezone": "America/Chicago",
            "locationType": "physical",
            "address": "Training venue",
            "meetingInfo": "",
            "meetingLink": "",
            "reservationDefinition": {
              "_id": "6aae5fa628eaa92a3d2a0b1b",
              "datatype": "reservation_definition",
              "data": {
                "name": "tutorial-api-consultation",
                "title": "Tutorial API design consultation",
                "type": "service",
                "status": "active",
                "services": [
                  {
                    "name": "Design consultation",
                    "duration": 30,
                    "price": 0,
                    "breakAfter": 0
                  }
                ],
                "officeDays": [
                  "Monday",
                  "Tuesday",
                  "Wednesday",
                  "Thursday",
                  "Friday"
                ],
                "officeHours": {
                  "timezone": "America/Chicago",
                  "startTime": "09:00",
                  "endTime": "17:00"
                },
                "spots": 1,
                "venueData": {
                  "type": "physical",
                  "name": "Tutorial design room",
                  "address": "Training venue"
                },
                "notificationTemplate": []
              },
              "author": "ada.mu83iwh3@example.invalid",
              "name": "tutorial-api-consultation",
              "created_by": "ada.mu83iwh3@example.invalid",
              "state": "draft",
              "pk": "ck-local-mu83iwh3|reservation_definition",
              "createdate": "2026-09-19T10:10:46.603Z",
              "modifydate": "2026-09-19T10:10:46.603Z",
              "version": 0,
              "sk": "6aae5fa628eaa92a3d2a0b1b",
              "search": "tutorial api consultation Tutorial API design consultation service active Design consultation 30 0 0 Monday Tuesday Wednesday Thursday Friday America Chicago 09 00 17 00 1 physical Tutorial design room Training venue"
            }
          },
          "version": 0,
          "author": "lina.events@example.invalid",
          "created_by": "lina.events@example.invalid",
          "state": "draft",
          "createdate": "2026-09-19T10:14:09.436Z",
          "modifydate": "2026-09-19T10:14:09.436Z",
          "search": "6aae5fa628eaa92a3d2a0b1b Design consultation 2026 10 05T10 00 00 05 00 2026 10 05T10 30 00 05 00 lina events example invalid Lina Tutorial 6aae607128eaa92a3d2a0b39 1 HJTLSSU4 6aae607128eaa92a3d2a0b39 new America Chicago physical Training venue"
        }
      ]
    }
  },
  {
    "label": "lina single reservation ownership",
    "method": "GET",
    "path": "/client-data/reservations/6aae607128eaa92a3d2a0b45",
    "status": 200,
    "body": {
      "_id": "6aae607128eaa92a3d2a0b45",
      "pk": "ck-local-mu83iwh3|reservation",
      "sk": "6aae607128eaa92a3d2a0b45",
      "name": "HJTLSSU4",
      "datatype": "reservation-enriched",
      "data": {
        "reservationDefinitionId": "6aae5fa628eaa92a3d2a0b1b",
        "service": "Design consultation",
        "startTime": "2026-10-05T10:00:00-05:00",
        "endTime": "2026-10-05T10:30:00-05:00",
        "customer": {
          "email": "lina.events@example.invalid",
          "name": "Lina Tutorial",
          "phone": null,
          "id": "6aae607128eaa92a3d2a0b39"
        },
        "partySize": 1,
        "name": "HJTLSSU4",
        "customerId": "6aae607128eaa92a3d2a0b39",
        "status": "new",
        "timezone": "America/Chicago",
        "locationType": "physical",
        "address": "Training venue",
        "meetingInfo": "",
        "meetingLink": "",
        "reservationDefinition": {
          "_id": "6aae5fa628eaa92a3d2a0b1b",
          "datatype": "reservation_definition",
          "data": {
            "name": "tutorial-api-consultation",
            "title": "Tutorial API design consultation",
            "type": "service",
            "status": "active",
            "services": [
              {
                "name": "Design consultation",
                "duration": 30,
                "price": 0,
                "breakAfter": 0
              }
            ],
            "officeDays": [
              "Monday",
              "Tuesday",
              "Wednesday",
              "Thursday",
              "Friday"
            ],
            "officeHours": {
              "timezone": "America/Chicago",
              "startTime": "09:00",
              "endTime": "17:00"
            },
            "spots": 1,
            "venueData": {
              "type": "physical",
              "name": "Tutorial design room",
              "address": "Training venue"
            },
            "notificationTemplate": []
          },
          "author": "ada.mu83iwh3@example.invalid",
          "name": "tutorial-api-consultation",
          "created_by": "ada.mu83iwh3@example.invalid",
          "state": "draft",
          "pk": "ck-local-mu83iwh3|reservation_definition",
          "createdate": "2026-09-19T10:10:46.603Z",
          "modifydate": "2026-09-19T10:10:46.603Z",
          "version": 0,
          "sk": "6aae5fa628eaa92a3d2a0b1b",
          "search": "tutorial api consultation Tutorial API design consultation service active Design consultation 30 0 0 Monday Tuesday Wednesday Thursday Friday America Chicago 09 00 17 00 1 physical Tutorial design room Training venue"
        }
      },
      "version": 0,
      "author": "lina.events@example.invalid",
      "created_by": "lina.events@example.invalid",
      "state": "draft",
      "createdate": "2026-09-19T10:14:09.436Z",
      "modifydate": "2026-09-19T10:14:09.436Z",
      "search": "6aae5fa628eaa92a3d2a0b1b Design consultation 2026 10 05T10 00 00 05 00 2026 10 05T10 30 00 05 00 lina events example invalid Lina Tutorial 6aae607128eaa92a3d2a0b39 1 HJTLSSU4 6aae607128eaa92a3d2a0b39 new America Chicago physical Training venue"
    }
  },
  {
    "label": "lina generic reservation ownership",
    "method": "GET",
    "path": "/repository/get/reservation/6aae607128eaa92a3d2a0b45",
    "status": 200,
    "body": {
      "_id": "6aae607128eaa92a3d2a0b45",
      "pk": "ck-local-mu83iwh3|reservation",
      "sk": "6aae607128eaa92a3d2a0b45",
      "name": "HJTLSSU4",
      "datatype": "reservation",
      "data": {
        "reservationDefinitionId": "6aae5fa628eaa92a3d2a0b1b",
        "service": "Design consultation",
        "startTime": "2026-10-05T10:00:00-05:00",
        "endTime": "2026-10-05T10:30:00-05:00",
        "customer": {
          "email": "lina.events@example.invalid",
          "name": "Lina Tutorial",
          "phone": null,
          "id": "6aae607128eaa92a3d2a0b39"
        },
        "partySize": 1,
        "name": "HJTLSSU4",
        "customerId": "6aae607128eaa92a3d2a0b39",
        "status": "new",
        "timezone": "America/Chicago",
        "locationType": "physical",
        "address": "Training venue",
        "meetingInfo": "",
        "meetingLink": ""
      },
      "version": 0,
      "author": "lina.events@example.invalid",
      "created_by": "lina.events@example.invalid",
      "state": "draft",
      "createdate": "2026-09-19T10:14:09.436Z",
      "modifydate": "2026-09-19T10:14:09.436Z",
      "search": "6aae5fa628eaa92a3d2a0b1b Design consultation 2026 10 05T10 00 00 05 00 2026 10 05T10 30 00 05 00 lina events example invalid Lina Tutorial 6aae607128eaa92a3d2a0b39 1 HJTLSSU4 6aae607128eaa92a3d2a0b39 new America Chicago physical Training venue"
    }
  },
  {
    "label": "lina delegated list",
    "method": "GET",
    "path": "/client-data/reservations",
    "status": 200,
    "body": {
      "total": 1,
      "datatype": "reservation",
      "pageSize": 50,
      "page": 1,
      "sort": "modifydate",
      "sortType": -1,
      "lastPage": 1,
      "hasNext": false,
      "fromCache": false,
      "lastItem": "2026-09-19T10:14:09.436Z",
      "data": [
        {
          "_id": "6aae607128eaa92a3d2a0b45",
          "pk": "ck-local-mu83iwh3|reservation",
          "sk": "6aae607128eaa92a3d2a0b45",
          "name": "HJTLSSU4",
          "datatype": "reservation-enriched",
          "data": {
            "reservationDefinitionId": "6aae5fa628eaa92a3d2a0b1b",
            "service": "Design consultation",
            "startTime": "2026-10-05T10:00:00-05:00",
            "endTime": "2026-10-05T10:30:00-05:00",
            "customer": {
              "email": "lina.events@example.invalid",
              "name": "Lina Tutorial",
              "phone": null,
              "id": "6aae607128eaa92a3d2a0b39"
            },
            "partySize": 1,
            "name": "HJTLSSU4",
            "customerId": "6aae607128eaa92a3d2a0b39",
            "status": "new",
            "timezone": "America/Chicago",
            "locationType": "physical",
            "address": "Training venue",
            "meetingInfo": "",
            "meetingLink": "",
            "reservationDefinition": {
              "_id": "6aae5fa628eaa92a3d2a0b1b",
              "datatype": "reservation_definition",
              "data": {
                "name": "tutorial-api-consultation",
                "title": "Tutorial API design consultation",
                "type": "service",
                "status": "active",
                "services": [
                  {
                    "name": "Design consultation",
                    "duration": 30,
                    "price": 0,
                    "breakAfter": 0
                  }
                ],
                "officeDays": [
                  "Monday",
                  "Tuesday",
                  "Wednesday",
                  "Thursday",
                  "Friday"
                ],
                "officeHours": {
                  "timezone": "America/Chicago",
                  "startTime": "09:00",
                  "endTime": "17:00"
                },
                "spots": 1,
                "venueData": {
                  "type": "physical",
                  "name": "Tutorial design room",
                  "address": "Training venue"
                },
                "notificationTemplate": []
              },
              "author": "ada.mu83iwh3@example.invalid",
              "name": "tutorial-api-consultation",
              "created_by": "ada.mu83iwh3@example.invalid",
              "state": "draft",
              "pk": "ck-local-mu83iwh3|reservation_definition",
              "createdate": "2026-09-19T10:10:46.603Z",
              "modifydate": "2026-09-19T10:10:46.603Z",
              "version": 0,
              "sk": "6aae5fa628eaa92a3d2a0b1b",
              "search": "tutorial api consultation Tutorial API design consultation service active Design consultation 30 0 0 Monday Tuesday Wednesday Thursday Friday America Chicago 09 00 17 00 1 physical Tutorial design room Training venue"
            }
          },
          "version": 0,
          "author": "lina.events@example.invalid",
          "created_by": "lina.events@example.invalid",
          "state": "draft",
          "createdate": "2026-09-19T10:14:09.436Z",
          "modifydate": "2026-09-19T10:14:09.436Z",
          "search": "6aae5fa628eaa92a3d2a0b1b Design consultation 2026 10 05T10 00 00 05 00 2026 10 05T10 30 00 05 00 lina events example invalid Lina Tutorial 6aae607128eaa92a3d2a0b39 1 HJTLSSU4 6aae607128eaa92a3d2a0b39 new America Chicago physical Training venue"
        }
      ]
    }
  },
  {
    "label": "lina delegated single",
    "method": "GET",
    "path": "/client-data/reservations/6aae607128eaa92a3d2a0b45",
    "status": 200,
    "body": {
      "_id": "6aae607128eaa92a3d2a0b45",
      "pk": "ck-local-mu83iwh3|reservation",
      "sk": "6aae607128eaa92a3d2a0b45",
      "name": "HJTLSSU4",
      "datatype": "reservation-enriched",
      "data": {
        "reservationDefinitionId": "6aae5fa628eaa92a3d2a0b1b",
        "service": "Design consultation",
        "startTime": "2026-10-05T10:00:00-05:00",
        "endTime": "2026-10-05T10:30:00-05:00",
        "customer": {
          "email": "lina.events@example.invalid",
          "name": "Lina Tutorial",
          "phone": null,
          "id": "6aae607128eaa92a3d2a0b39"
        },
        "partySize": 1,
        "name": "HJTLSSU4",
        "customerId": "6aae607128eaa92a3d2a0b39",
        "status": "new",
        "timezone": "America/Chicago",
        "locationType": "physical",
        "address": "Training venue",
        "meetingInfo": "",
        "meetingLink": "",
        "reservationDefinition": {
          "_id": "6aae5fa628eaa92a3d2a0b1b",
          "datatype": "reservation_definition",
          "data": {
            "name": "tutorial-api-consultation",
            "title": "Tutorial API design consultation",
            "type": "service",
            "status": "active",
            "services": [
              {
                "name": "Design consultation",
                "duration": 30,
                "price": 0,
                "breakAfter": 0
              }
            ],
            "officeDays": [
              "Monday",
              "Tuesday",
              "Wednesday",
              "Thursday",
              "Friday"
            ],
            "officeHours": {
              "timezone": "America/Chicago",
              "startTime": "09:00",
              "endTime": "17:00"
            },
            "spots": 1,
            "venueData": {
              "type": "physical",
              "name": "Tutorial design room",
              "address": "Training venue"
            },
            "notificationTemplate": []
          },
          "author": "ada.mu83iwh3@example.invalid",
          "name": "tutorial-api-consultation",
          "created_by": "ada.mu83iwh3@example.invalid",
          "state": "draft",
          "pk": "ck-local-mu83iwh3|reservation_definition",
          "createdate": "2026-09-19T10:10:46.603Z",
          "modifydate": "2026-09-19T10:10:46.603Z",
          "version": 0,
          "sk": "6aae5fa628eaa92a3d2a0b1b",
          "search": "tutorial api consultation Tutorial API design consultation service active Design consultation 30 0 0 Monday Tuesday Wednesday Thursday Friday America Chicago 09 00 17 00 1 physical Tutorial design room Training venue"
        }
      },
      "version": 0,
      "author": "lina.events@example.invalid",
      "created_by": "lina.events@example.invalid",
      "state": "draft",
      "createdate": "2026-09-19T10:14:09.436Z",
      "modifydate": "2026-09-19T10:14:09.436Z",
      "search": "6aae5fa628eaa92a3d2a0b1b Design consultation 2026 10 05T10 00 00 05 00 2026 10 05T10 30 00 05 00 lina events example invalid Lina Tutorial 6aae607128eaa92a3d2a0b39 1 HJTLSSU4 6aae607128eaa92a3d2a0b39 new America Chicago physical Training venue"
    }
  },
  {
    "label": "lina delegated generic",
    "method": "GET",
    "path": "/repository/get/reservation/6aae607128eaa92a3d2a0b45",
    "status": 200,
    "body": {
      "_id": "6aae607128eaa92a3d2a0b45",
      "pk": "ck-local-mu83iwh3|reservation",
      "sk": "6aae607128eaa92a3d2a0b45",
      "name": "HJTLSSU4",
      "datatype": "reservation",
      "data": {
        "reservationDefinitionId": "6aae5fa628eaa92a3d2a0b1b",
        "service": "Design consultation",
        "startTime": "2026-10-05T10:00:00-05:00",
        "endTime": "2026-10-05T10:30:00-05:00",
        "customer": {
          "email": "lina.events@example.invalid",
          "name": "Lina Tutorial",
          "phone": null,
          "id": "6aae607128eaa92a3d2a0b39"
        },
        "partySize": 1,
        "name": "HJTLSSU4",
        "customerId": "6aae607128eaa92a3d2a0b39",
        "status": "new",
        "timezone": "America/Chicago",
        "locationType": "physical",
        "address": "Training venue",
        "meetingInfo": "",
        "meetingLink": ""
      },
      "version": 0,
      "author": "lina.events@example.invalid",
      "created_by": "lina.events@example.invalid",
      "state": "draft",
      "createdate": "2026-09-19T10:14:09.436Z",
      "modifydate": "2026-09-19T10:14:09.436Z",
      "search": "6aae5fa628eaa92a3d2a0b1b Design consultation 2026 10 05T10 00 00 05 00 2026 10 05T10 30 00 05 00 lina events example invalid Lina Tutorial 6aae607128eaa92a3d2a0b39 1 HJTLSSU4 6aae607128eaa92a3d2a0b39 new America Chicago physical Training venue"
    }
  },
  {
    "label": "kofi reservations after create",
    "method": "GET",
    "path": "/client-data/reservations",
    "status": 200,
    "body": {
      "total": 0,
      "datatype": "reservation",
      "pageSize": 50,
      "page": 1,
      "sort": "modifydate",
      "sortType": -1,
      "lastPage": 1,
      "hasNext": false,
      "fromCache": false,
      "data": []
    }
  },
  {
    "label": "kofi single reservation ownership",
    "method": "GET",
    "path": "/client-data/reservations/6aae607128eaa92a3d2a0b45",
    "status": 404,
    "body": {
      "statusCode": 404,
      "error": "Reservation not found",
      "path": "/client-data/reservations/6aae607128eaa92a3d2a0b45",
      "method": "GET",
      "timeStamp": "2026-09-19T10:14:09.843Z"
    }
  },
  {
    "label": "kofi generic reservation ownership",
    "method": "GET",
    "path": "/repository/get/reservation/6aae607128eaa92a3d2a0b45",
    "status": 403,
    "body": {
      "statusCode": 403,
      "error": "Forbidden",
      "path": "/repository/get/reservation/6aae607128eaa92a3d2a0b45",
      "method": "GET",
      "timeStamp": "2026-09-19T10:14:09.849Z"
    }
  },
  {
    "label": "kofi delegated list",
    "method": "GET",
    "path": "/client-data/reservations",
    "status": 200,
    "body": {
      "total": 0,
      "datatype": "reservation",
      "pageSize": 50,
      "page": 1,
      "sort": "modifydate",
      "sortType": -1,
      "lastPage": 1,
      "hasNext": false,
      "fromCache": false,
      "data": []
    }
  },
  {
    "label": "kofi delegated single",
    "method": "GET",
    "path": "/client-data/reservations/6aae607128eaa92a3d2a0b45",
    "status": 404,
    "body": {
      "statusCode": 404,
      "error": "Reservation not found",
      "path": "/client-data/reservations/6aae607128eaa92a3d2a0b45",
      "method": "GET",
      "timeStamp": "2026-09-19T10:14:09.886Z"
    }
  },
  {
    "label": "kofi delegated generic",
    "method": "GET",
    "path": "/repository/get/reservation/6aae607128eaa92a3d2a0b45",
    "status": 403,
    "body": {
      "statusCode": 403,
      "error": "Forbidden",
      "path": "/repository/get/reservation/6aae607128eaa92a3d2a0b45",
      "method": "GET",
      "timeStamp": "2026-09-19T10:14:09.905Z"
    }
  },
  {
    "label": "profile edit",
    "method": "PUT",
    "path": "/client-data/profile",
    "status": 200,
    "body": {
      "sk": "6aae607128eaa92a3d2a0b39",
      "datatype": "customer",
      "data": {
        "firstName": "Lina",
        "lastName": "Tutorial Updated",
        "phone": "+12025550147",
        "phoneVerified": false
      }
    }
  },
  {
    "label": "fresh profile after edit",
    "method": "GET",
    "path": "/client-data/profile",
    "status": 200,
    "body": {
      "_id": "6aae607128eaa92a3d2a0b39",
      "pk": "ck-local-mu83iwh3|customer",
      "sk": "6aae607128eaa92a3d2a0b39",
      "name": "lina.events@example.invalid",
      "version": 0,
      "datatype": "customer",
      "data": {
        "groups": [
          "Customer"
        ],
        "username": "lina.events@example.invalid",
        "firstName": "Lina",
        "lastName": "Tutorial Updated",
        "email": "lina.events@example.invalid",
        "audit": {
          "lastLogin": "2026-09-19T10:14:09.115Z",
          "meta": {
            "ip": "::1",
            "host": "localhost:3300",
            "country": null,
            "city": null,
            "state": null,
            "agent": "node"
          }
        },
        "phone": "+12025550147",
        "phoneVerified": false
      },
      "created_by": "system",
      "state": "draft",
      "createdate": "2026-09-19T10:14:09.004Z",
      "modifydate": "2026-09-19T10:14:09.912Z",
      "search": "Customer lina events example invalid Lina Tutorial lina events example invalid d73f085a69a06b11 7887dad9ca3d3238926048d4ff9db72292b4692c628e9562a577591847af3f39"
    }
  },
  {
    "label": "Kofi profile unchanged",
    "method": "GET",
    "path": "/client-data/profile",
    "status": 200,
    "body": {
      "_id": "6aae607128eaa92a3d2a0b3f",
      "pk": "ck-local-mu83iwh3|customer",
      "sk": "6aae607128eaa92a3d2a0b3f",
      "name": "kofi.events@example.invalid",
      "version": 0,
      "datatype": "customer",
      "data": {
        "groups": [
          "Customer"
        ],
        "username": "kofi.events@example.invalid",
        "firstName": "Kofi",
        "lastName": "Tutorial",
        "email": "kofi.events@example.invalid",
        "audit": {
          "lastLogin": "2026-09-19T10:14:09.299Z",
          "meta": {
            "ip": "::1",
            "host": "localhost:3300",
            "country": null,
            "city": null,
            "state": null,
            "agent": "node"
          }
        }
      },
      "created_by": "system",
      "state": "draft",
      "createdate": "2026-09-19T10:14:09.206Z",
      "modifydate": "2026-09-19T10:14:09.300Z",
      "search": "Customer kofi events example invalid Kofi Tutorial kofi events example invalid 75755b0912bfe793 2d5db91158f09342c3836001f9f98293d24b48d51c2c63cfda2eb997897cb5ae"
    }
  },
  {
    "label": "customer refresh",
    "method": "POST",
    "path": "/profile/customer/refresh",
    "status": 201,
    "body": {
      "user": {
        "_id": "6aae607128eaa92a3d2a0b39",
        "pk": "ck-local-mu83iwh3|customer",
        "sk": "6aae607128eaa92a3d2a0b39",
        "name": "lina.events@example.invalid",
        "version": 0,
        "datatype": "customer",
        "data": {
          "groups": [
            "Customer"
          ],
          "username": "lina.events@example.invalid",
          "firstName": "Lina",
          "lastName": "Tutorial Updated",
          "email": "lina.events@example.invalid",
          "audit": {
            "lastLogin": "2026-09-19T10:14:09.115Z",
            "meta": {
              "ip": "::1",
              "host": "localhost:3300",
              "country": null,
              "city": null,
              "state": null,
              "agent": "node"
            }
          },
          "phone": "+12025550147",
          "phoneVerified": false
        },
        "created_by": "system",
        "state": "draft",
        "createdate": "2026-09-19T10:14:09.004Z",
        "modifydate": "2026-09-19T10:14:09.912Z",
        "search": "Customer lina events example invalid Lina Tutorial lina events example invalid d73f085a69a06b11 7887dad9ca3d3238926048d4ff9db72292b4692c628e9562a577591847af3f39"
      }
    }
  },
  {
    "label": "read with refreshed token",
    "method": "GET",
    "path": "/client-data/profile",
    "status": 200,
    "body": {
      "_id": "6aae607128eaa92a3d2a0b39",
      "pk": "ck-local-mu83iwh3|customer",
      "sk": "6aae607128eaa92a3d2a0b39",
      "name": "lina.events@example.invalid",
      "version": 0,
      "datatype": "customer",
      "data": {
        "groups": [
          "Customer"
        ],
        "username": "lina.events@example.invalid",
        "firstName": "Lina",
        "lastName": "Tutorial Updated",
        "email": "lina.events@example.invalid",
        "audit": {
          "lastLogin": "2026-09-19T10:14:09.115Z",
          "meta": {
            "ip": "::1",
            "host": "localhost:3300",
            "country": null,
            "city": null,
            "state": null,
            "agent": "node"
          }
        },
        "phone": "+12025550147",
        "phoneVerified": false
      },
      "created_by": "system",
      "state": "draft",
      "createdate": "2026-09-19T10:14:09.004Z",
      "modifydate": "2026-09-19T10:14:09.912Z",
      "search": "Customer lina events example invalid Lina Tutorial lina events example invalid d73f085a69a06b11 7887dad9ca3d3238926048d4ff9db72292b4692c628e9562a577591847af3f39"
    }
  },
  {
    "label": "dashboard after booking",
    "method": "GET",
    "path": "/client-data/dashboard",
    "status": 200,
    "body": {
      "profile": {
        "_id": "6aae607128eaa92a3d2a0b39",
        "pk": "ck-local-mu83iwh3|customer",
        "sk": "6aae607128eaa92a3d2a0b39",
        "name": "lina.events@example.invalid",
        "version": 0,
        "datatype": "customer",
        "data": {
          "groups": [
            "Customer"
          ],
          "username": "lina.events@example.invalid",
          "firstName": "Lina",
          "lastName": "Tutorial Updated",
          "email": "lina.events@example.invalid",
          "audit": {
            "lastLogin": "2026-09-19T10:14:09.115Z",
            "meta": {
              "ip": "::1",
              "host": "localhost:3300",
              "country": null,
              "city": null,
              "state": null,
              "agent": "node"
            }
          },
          "phone": "+12025550147",
          "phoneVerified": false
        },
        "created_by": "system",
        "state": "draft",
        "createdate": "2026-09-19T10:14:09.004Z",
        "modifydate": "2026-09-19T10:14:09.912Z",
        "search": "Customer lina events example invalid Lina Tutorial lina events example invalid d73f085a69a06b11 7887dad9ca3d3238926048d4ff9db72292b4692c628e9562a577591847af3f39"
      },
      "summary": {
        "activeOrders": 0,
        "upcomingReservations": 0,
        "openTickets": 0,
        "unreadNotifications": 6,
        "totalPaymentMethods": 0,
        "activePaymentMethods": 0,
        "pendingEnrollments": 0
      },
      "recentOrders": [],
      "paymentMethods": [],
      "analytics": {
        "visitors": {
          "total": 0,
          "change": 0
        },
        "pageViews": {
          "total": 0,
          "change": 0
        },
        "revenue": {
          "total": 0,
          "change": 0
        },
        "orders": {
          "total": 0,
          "change": 0
        }
      },
      "addresses": {
        "total": 0,
        "datatype": "address",
        "pageSize": 50,
        "page": 1,
        "sort": "modifydate",
        "sortType": -1,
        "lastPage": 1,
        "hasNext": false,
        "fromCache": false,
        "data": []
      },
      "benefits": {
        "customerId": "6aae607128eaa92a3d2a0b39",
        "customerGroups": [
          "Customer"
        ],
        "directBenefits": [],
        "benefits": [],
        "enrollments": {
          "pending": [],
          "active": [],
          "rejected": []
        },
        "availableBenefits": []
      },
      "affiliate": {
        "enrollments": [],
        "availablePrograms": []
      }
    }
  },
  {
    "label": "missing authorization",
    "method": "GET",
    "path": "/client-data/reservations",
    "status": 401,
    "body": {
      "code": "missing_authorization_header",
      "statusCode": 401,
      "error": "Authorization header is required. Send requests with `Authorization: Bearer <token>`.",
      "path": "/client-data/reservations",
      "method": "GET",
      "timeStamp": "2026-09-19T10:14:09.966Z"
    }
  },
  {
    "label": "invalid authorization",
    "method": "GET",
    "path": "/client-data/reservations",
    "status": 401,
    "body": {
      "code": "invalid_token",
      "action": "refresh_token",
      "statusCode": 401,
      "error": "Token is invalid or malformed.",
      "path": "/client-data/reservations",
      "method": "GET",
      "timeStamp": "2026-09-19T10:14:09.969Z"
    }
  },
  {
    "label": "wrong customer password",
    "method": "POST",
    "path": "/profile/customer/signin",
    "status": 400,
    "body": {
      "statusCode": 400,
      "error": "bad password",
      "path": "/profile/customer/signin",
      "method": "POST",
      "timeStamp": "2026-09-19T10:14:09.997Z"
    }
  },
  {
    "label": "health",
    "method": "GET",
    "path": "/health",
    "status": 200,
    "body": {
      "isHealthy": true,
      "degraded": false,
      "services": {
        "memory": {
          "status": "up",
          "usage": {
            "heapUsed": 477,
            "heapTotal": 506,
            "rss": 440,
            "usedPercentage": 47
          },
          "message": "Memory usage is normal"
        },
        "database": {
          "status": "up",
          "responseTime": 4,
          "message": "MongoDB reachable"
        },
        "keydb": {
          "status": "up",
          "responseTime": 3,
          "message": "KeyDB replied PONG (ready)"
        },
        "s3": {
          "status": "up",
          "responseTime": 106,
          "message": "S3 reachable"
        }
      },
      "version": "0.132.0",
      "uptime": 9420.475282125,
      "timestamp": "2026-09-19T10:24:39.166Z",
      "responseTime": 107
    }
  },
  {
    "label": "anonymous identity",
    "method": "GET",
    "path": "/profile/whoami",
    "status": 200,
    "body": "Anonymous User"
  },
  {
    "label": "staff signin",
    "method": "POST",
    "path": "/profile/user/signin",
    "status": 201,
    "body": {
      "user": {
        "_id": "6aae40bc28eaa92a3d2a0981",
        "datatype": "user",
        "pk": "ck-local-mu83iwh3|user",
        "sk": "6aae40bc28eaa92a3d2a0981",
        "name": "f_admin",
        "version": 1,
        "data": {
          "firstName": "Ada",
          "lastName": "Okafor",
          "email": "ada.mu83iwh3@example.invalid",
          "username": "ada.mu83iwh3@example.invalid",
          "groups": [
            "ConfigAdmin",
            "ContentAdmin",
            "User"
          ],
          "lockout": null,
          "account": null,
          "permissions": {
            "content": [
              "read",
              "create",
              "update",
              "delete",
              "review",
              "approve"
            ],
            "component": [
              "view",
              "add",
              "remove",
              "configure"
            ]
          },
          "roles": [
            "ConfigAdmin",
            "ContentAdmin",
            "User",
            "Owner"
          ],
          "audit": {
            "lastLogin": "2026-09-19T10:13:22.786Z",
            "meta": {
              "ip": "::1",
              "host": "localhost:3300",
              "country": null,
              "city": null,
              "state": null,
              "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/153.0.0.0 Safari/537.36"
            }
          },
          "meta": {
            "onboarding": {
              "welcomedAt": "2026-09-19T08:00:57.178Z"
            }
          },
          "employeeId": "adamu83iwh3-BCKG"
        },
        "createdate": "2026-09-19T07:58:52.472Z",
        "modifydate": "2026-09-19T10:14:01.088Z",
        "search": "Ada Okafor ada mu83iwh3 example invalid ada mu83iwh3 example invalid d8031614dc6297ab f206a11d8d245dabeeeda419ee48f801b1ad5aef8c9b5df8c8defb53fa4392ca Local Ze dajwMtdKo4JAF1xS SmW ConfigAdmin ContentAdmin User read create update delete review approve view add remove configure ConfigAdmin ContentAdmin User eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 eyJlbWFpbCI6ImFkYS5tdTgzaXdoM0BleGFtcGxlLmludmFsaWQiLCJleHBpcmVzIjoxNzg5ODA4MzMyNjg3LCJwayI6ImNrLWxvY2FsLW11ODNpd2gzfHVzZXIiLCJvcmdJZCI6ImNrLWxvY2FsLW11ODNpd2gzIiwiZGF0YSI6eyJlbWFpbCI6ImFkYS5tdTgzaXdoM0BleGFtcGxlLmludmFsaWQiLCJ1c2VybmFtZSI6ImFkYS5tdTgzaXdoM0BleGFtcGxlLmludmFsaWQifSwiaWF0IjoxNzg5ODA0NzMyLCJleHAiOjE3ODk4MDgzMzIsImF1ZCI6InVzZXIiLCJpc3MiOiJhcHBlbmdpbmUifQ Dsyw2fxN6wjSxQSyliUzLtaatj14sPPIseLJIk fCho",
        "modified_by": "system",
        "state": "draft"
      },
      "orgId": "ck-local-mu83iwh3",
      "rootOrg": "fundu",
      "sharedOrg": "localhost"
    }
  },
  {
    "label": "staff identity",
    "method": "GET",
    "path": "/profile/whoami",
    "status": 200,
    "body": "Anonymous User"
  }
]