@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.
@@ -89095,6 +89095,25 @@ export type Routes = {
89095
89095
  jsonResponse: {};
89096
89096
  maxDuration: undefined;
89097
89097
  };
89098
+ '/seam/wizard/v1/events': {
89099
+ route: '/seam/wizard/v1/events';
89100
+ method: 'POST';
89101
+ queryParams: {};
89102
+ jsonBody: {
89103
+ events: {
89104
+ event: string;
89105
+ distinct_id: string;
89106
+ timestamp: string;
89107
+ properties?: {
89108
+ [x: string]: any;
89109
+ };
89110
+ }[];
89111
+ };
89112
+ commonParams: {};
89113
+ formData: {};
89114
+ jsonResponse: {};
89115
+ maxDuration: undefined;
89116
+ };
89098
89117
  '/seam/wizard/v1/session': {
89099
89118
  route: '/seam/wizard/v1/session';
89100
89119
  method: 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1063.0",
3
+ "version": "1.1064.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -77,7 +77,7 @@
77
77
  }
78
78
  },
79
79
  "devDependencies": {
80
- "@seamapi/blueprint": "^1.11.0",
80
+ "@seamapi/blueprint": "^1.12.0",
81
81
  "@types/node": "^24.10.9",
82
82
  "concurrently": "^9.2.0",
83
83
  "del-cli": "^7.0.0",
@@ -64997,6 +64997,70 @@ const openapi: OpenAPISpec = {
64997
64997
  'x-undocumented': 'Internal endpoint for inbound provider webhooks',
64998
64998
  },
64999
64999
  },
65000
+ '/seam/wizard/v1/events': {
65001
+ post: {
65002
+ description:
65003
+ "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.",
65004
+ operationId: 'seamWizardV1EventsPost',
65005
+ requestBody: {
65006
+ content: {
65007
+ 'application/json': {
65008
+ schema: {
65009
+ properties: {
65010
+ events: {
65011
+ items: {
65012
+ properties: {
65013
+ distinct_id: { format: 'uuid', type: 'string' },
65014
+ event: {
65015
+ pattern: '^wizard_[a-z0-9_]{1,60}$',
65016
+ type: 'string',
65017
+ },
65018
+ properties: {
65019
+ additionalProperties: {},
65020
+ default: {},
65021
+ type: 'object',
65022
+ },
65023
+ timestamp: { format: 'date-time', type: 'string' },
65024
+ },
65025
+ required: ['event', 'distinct_id', 'timestamp'],
65026
+ type: 'object',
65027
+ },
65028
+ maxItems: 200,
65029
+ minItems: 1,
65030
+ type: 'array',
65031
+ },
65032
+ },
65033
+ required: ['events'],
65034
+ type: 'object',
65035
+ },
65036
+ },
65037
+ },
65038
+ },
65039
+ responses: {
65040
+ '200': {
65041
+ content: {
65042
+ 'application/json': {
65043
+ schema: {
65044
+ properties: { ok: { type: 'boolean' } },
65045
+ required: ['ok'],
65046
+ type: 'object',
65047
+ },
65048
+ },
65049
+ },
65050
+ description: 'OK',
65051
+ },
65052
+ '400': { description: 'Bad Request' },
65053
+ '401': { description: 'Unauthorized' },
65054
+ },
65055
+ summary: '/seam/wizard/v1/events',
65056
+ tags: ['/events'],
65057
+ 'x-fern-sdk-group-name': ['seam', 'wizard', 'v1'],
65058
+ 'x-fern-sdk-method-name': 'events',
65059
+ 'x-response-key': null,
65060
+ 'x-title': 'Record Wizard Events',
65061
+ 'x-undocumented': 'Seam Wizard CLI only.',
65062
+ },
65063
+ },
65000
65064
  '/seam/wizard/v1/session': {
65001
65065
  post: {
65002
65066
  description:
@@ -106836,6 +106836,25 @@ export type Routes = {
106836
106836
  jsonResponse: {}
106837
106837
  maxDuration: undefined
106838
106838
  }
106839
+ '/seam/wizard/v1/events': {
106840
+ route: '/seam/wizard/v1/events'
106841
+ method: 'POST'
106842
+ queryParams: {}
106843
+ jsonBody: {
106844
+ events: {
106845
+ event: string
106846
+ distinct_id: string
106847
+ timestamp: string
106848
+ properties?: {
106849
+ [x: string]: any
106850
+ }
106851
+ }[]
106852
+ }
106853
+ commonParams: {}
106854
+ formData: {}
106855
+ jsonResponse: {}
106856
+ maxDuration: undefined
106857
+ }
106839
106858
  '/seam/wizard/v1/session': {
106840
106859
  route: '/seam/wizard/v1/session'
106841
106860
  method: 'POST'