@seamapi/types 1.1063.0 → 1.1064.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59662,6 +59662,69 @@ const openapi = {
59662
59662
  'x-undocumented': 'Internal endpoint for inbound provider webhooks',
59663
59663
  },
59664
59664
  },
59665
+ '/seam/wizard/v1/events': {
59666
+ post: {
59667
+ description: "Records a batch of usage analytics events from the Seam Wizard CLI, which\nreports the screens a run reached and the choices made along the way, and\nforwards them to PostHog.\n\nUnauthenticated: the run's earliest events happen before the developer has\nconnected a Seam API key at all, so requiring a credential would blind the\ndrop-off this measures. Send a wizard session token as the bearer to have the\nworkspace attribution verified.",
59668
+ operationId: 'seamWizardV1EventsPost',
59669
+ requestBody: {
59670
+ content: {
59671
+ 'application/json': {
59672
+ schema: {
59673
+ properties: {
59674
+ events: {
59675
+ items: {
59676
+ properties: {
59677
+ distinct_id: { format: 'uuid', type: 'string' },
59678
+ event: {
59679
+ pattern: '^wizard_[a-z0-9_]{1,60}$',
59680
+ type: 'string',
59681
+ },
59682
+ properties: {
59683
+ additionalProperties: {},
59684
+ default: {},
59685
+ type: 'object',
59686
+ },
59687
+ timestamp: { format: 'date-time', type: 'string' },
59688
+ },
59689
+ required: ['event', 'distinct_id', 'timestamp'],
59690
+ type: 'object',
59691
+ },
59692
+ maxItems: 200,
59693
+ minItems: 1,
59694
+ type: 'array',
59695
+ },
59696
+ },
59697
+ required: ['events'],
59698
+ type: 'object',
59699
+ },
59700
+ },
59701
+ },
59702
+ },
59703
+ responses: {
59704
+ '200': {
59705
+ content: {
59706
+ 'application/json': {
59707
+ schema: {
59708
+ properties: { ok: { type: 'boolean' } },
59709
+ required: ['ok'],
59710
+ type: 'object',
59711
+ },
59712
+ },
59713
+ },
59714
+ description: 'OK',
59715
+ },
59716
+ '400': { description: 'Bad Request' },
59717
+ '401': { description: 'Unauthorized' },
59718
+ },
59719
+ summary: '/seam/wizard/v1/events',
59720
+ tags: ['/events'],
59721
+ 'x-fern-sdk-group-name': ['seam', 'wizard', 'v1'],
59722
+ 'x-fern-sdk-method-name': 'events',
59723
+ 'x-response-key': null,
59724
+ 'x-title': 'Record Wizard Events',
59725
+ 'x-undocumented': 'Seam Wizard CLI only.',
59726
+ },
59727
+ },
59665
59728
  '/seam/wizard/v1/session': {
59666
59729
  post: {
59667
59730
  description: "Exchanges a Seam API key for a short-lived wizard inference token. The Seam\nWizard CLI calls this once, then sends the returned token as the bearer to the\ninference proxy. The session also carries the workspace org's Console-collected\nonboarding answers (or null) so the CLI can pre-fill its integration plan.",