@orq-ai/node 3.1.0-rc.37 → 3.1.0-rc.38

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.
Files changed (40) hide show
  1. package/docs/sdks/promptsnippets/README.md +0 -2
  2. package/jsr.json +1 -1
  3. package/lib/config.d.ts +2 -2
  4. package/lib/config.js +2 -2
  5. package/models/operations/createcontact.js +2 -2
  6. package/models/operations/createprompt.js +2 -2
  7. package/models/operations/createpromptsnippet.d.ts +0 -15
  8. package/models/operations/createpromptsnippet.d.ts.map +1 -1
  9. package/models/operations/createpromptsnippet.js +2 -14
  10. package/models/operations/createpromptsnippet.js.map +1 -1
  11. package/models/operations/fileget.js +2 -2
  12. package/models/operations/filelist.js +2 -2
  13. package/models/operations/fileupload.js +2 -2
  14. package/models/operations/findonebykeypromptsnippet.d.ts +0 -10
  15. package/models/operations/findonebykeypromptsnippet.d.ts.map +1 -1
  16. package/models/operations/findonebykeypromptsnippet.js +2 -10
  17. package/models/operations/findonebykeypromptsnippet.js.map +1 -1
  18. package/models/operations/findonepromptsnippet.d.ts +0 -10
  19. package/models/operations/findonepromptsnippet.d.ts.map +1 -1
  20. package/models/operations/findonepromptsnippet.js +2 -10
  21. package/models/operations/findonepromptsnippet.js.map +1 -1
  22. package/models/operations/getallprompts.js +2 -2
  23. package/models/operations/updateprompt.js +2 -2
  24. package/models/operations/updatepromptsnippet.d.ts +0 -15
  25. package/models/operations/updatepromptsnippet.d.ts.map +1 -1
  26. package/models/operations/updatepromptsnippet.js +2 -14
  27. package/models/operations/updatepromptsnippet.js.map +1 -1
  28. package/package.json +1 -1
  29. package/src/lib/config.ts +2 -2
  30. package/src/models/operations/createcontact.ts +2 -2
  31. package/src/models/operations/createprompt.ts +2 -2
  32. package/src/models/operations/createpromptsnippet.ts +2 -29
  33. package/src/models/operations/fileget.ts +2 -2
  34. package/src/models/operations/filelist.ts +2 -2
  35. package/src/models/operations/fileupload.ts +2 -2
  36. package/src/models/operations/findonebykeypromptsnippet.ts +2 -20
  37. package/src/models/operations/findonepromptsnippet.ts +2 -20
  38. package/src/models/operations/getallprompts.ts +2 -2
  39. package/src/models/operations/updateprompt.ts +2 -2
  40. package/src/models/operations/updatepromptsnippet.ts +2 -29
@@ -236,7 +236,7 @@ export const FileListData$inboundSchema: z.ZodType<
236
236
  file_name: z.string(),
237
237
  workspace_id: z.string(),
238
238
  created: z.string().datetime({ offset: true }).default(
239
- "2025-02-05T12:50:58.799Z",
239
+ "2025-02-05T18:57:07.880Z",
240
240
  ).transform(v => new Date(v)),
241
241
  }).transform((v) => {
242
242
  return remap$(v, {
@@ -270,7 +270,7 @@ export const FileListData$outboundSchema: z.ZodType<
270
270
  bytes: z.number(),
271
271
  fileName: z.string(),
272
272
  workspaceId: z.string(),
273
- created: z.date().default(() => new Date("2025-02-05T12:50:58.799Z"))
273
+ created: z.date().default(() => new Date("2025-02-05T18:57:07.880Z"))
274
274
  .transform(v => v.toISOString()),
275
275
  }).transform((v) => {
276
276
  return remap$(v, {
@@ -303,7 +303,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
303
303
  file_name: z.string(),
304
304
  workspace_id: z.string(),
305
305
  created: z.string().datetime({ offset: true }).default(
306
- "2025-02-05T12:50:58.799Z",
306
+ "2025-02-05T18:57:07.880Z",
307
307
  ).transform(v => new Date(v)),
308
308
  }).transform((v) => {
309
309
  return remap$(v, {
@@ -337,7 +337,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
337
337
  bytes: z.number(),
338
338
  fileName: z.string(),
339
339
  workspaceId: z.string(),
340
- created: z.date().default(() => new Date("2025-02-05T12:50:58.799Z"))
340
+ created: z.date().default(() => new Date("2025-02-05T18:57:07.880Z"))
341
341
  .transform(v => v.toISOString()),
342
342
  }).transform((v) => {
343
343
  return remap$(v, {
@@ -930,10 +930,6 @@ export type FindOneByKeyPromptSnippetPromptSnippetsMetadata = {
930
930
  */
931
931
  export type FindOneByKeyPromptSnippetVersions = {
932
932
  id: string;
933
- /**
934
- * The prompt snippet’s name, meant to be displayable in the UI.
935
- */
936
- displayName: string;
937
933
  /**
938
934
  * The prompt snippet’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
939
935
  */
@@ -956,10 +952,6 @@ export type FindOneByKeyPromptSnippetResponseBody = {
956
952
  owner: string | FindOneByKeyPromptSnippetOwner2;
957
953
  domainId: string;
958
954
  key: string;
959
- /**
960
- * The prompt snippet’s name, meant to be displayable in the UI.
961
- */
962
- displayName: string;
963
955
  /**
964
956
  * The prompt snippet’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
965
957
  */
@@ -4337,7 +4329,6 @@ export const FindOneByKeyPromptSnippetVersions$inboundSchema: z.ZodType<
4337
4329
  unknown
4338
4330
  > = z.object({
4339
4331
  _id: z.string(),
4340
- display_name: z.string(),
4341
4332
  description: z.nullable(z.string()).optional(),
4342
4333
  prompt_config: z.lazy(() =>
4343
4334
  FindOneByKeyPromptSnippetPromptSnippetsPromptConfig$inboundSchema
@@ -4351,7 +4342,6 @@ export const FindOneByKeyPromptSnippetVersions$inboundSchema: z.ZodType<
4351
4342
  }).transform((v) => {
4352
4343
  return remap$(v, {
4353
4344
  "_id": "id",
4354
- "display_name": "displayName",
4355
4345
  "prompt_config": "promptConfig",
4356
4346
  "created_by_id": "createdById",
4357
4347
  "updated_by_id": "updatedById",
@@ -4361,7 +4351,6 @@ export const FindOneByKeyPromptSnippetVersions$inboundSchema: z.ZodType<
4361
4351
  /** @internal */
4362
4352
  export type FindOneByKeyPromptSnippetVersions$Outbound = {
4363
4353
  _id: string;
4364
- display_name: string;
4365
4354
  description?: string | null | undefined;
4366
4355
  prompt_config: FindOneByKeyPromptSnippetPromptSnippetsPromptConfig$Outbound;
4367
4356
  metadata: FindOneByKeyPromptSnippetPromptSnippetsMetadata$Outbound;
@@ -4377,7 +4366,6 @@ export const FindOneByKeyPromptSnippetVersions$outboundSchema: z.ZodType<
4377
4366
  FindOneByKeyPromptSnippetVersions
4378
4367
  > = z.object({
4379
4368
  id: z.string(),
4380
- displayName: z.string(),
4381
4369
  description: z.nullable(z.string()).optional(),
4382
4370
  promptConfig: z.lazy(() =>
4383
4371
  FindOneByKeyPromptSnippetPromptSnippetsPromptConfig$outboundSchema
@@ -4391,7 +4379,6 @@ export const FindOneByKeyPromptSnippetVersions$outboundSchema: z.ZodType<
4391
4379
  }).transform((v) => {
4392
4380
  return remap$(v, {
4393
4381
  id: "_id",
4394
- displayName: "display_name",
4395
4382
  promptConfig: "prompt_config",
4396
4383
  createdById: "created_by_id",
4397
4384
  updatedById: "updated_by_id",
@@ -4442,7 +4429,6 @@ export const FindOneByKeyPromptSnippetResponseBody$inboundSchema: z.ZodType<
4442
4429
  owner: z.union([z.string(), FindOneByKeyPromptSnippetOwner2$inboundSchema]),
4443
4430
  domain_id: z.string(),
4444
4431
  key: z.string(),
4445
- display_name: z.string(),
4446
4432
  description: z.nullable(z.string()).optional(),
4447
4433
  prompt_config: z.lazy(() =>
4448
4434
  FindOneByKeyPromptSnippetPromptConfig$inboundSchema
@@ -4453,7 +4439,7 @@ export const FindOneByKeyPromptSnippetResponseBody$inboundSchema: z.ZodType<
4453
4439
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
4454
4440
  .optional(),
4455
4441
  updated: z.string().datetime({ offset: true }).default(
4456
- "2025-02-05T12:50:57.727Z",
4442
+ "2025-02-05T18:57:06.512Z",
4457
4443
  ).transform(v => new Date(v)),
4458
4444
  type: FindOneByKeyPromptSnippetType$inboundSchema,
4459
4445
  versions: z.array(
@@ -4463,7 +4449,6 @@ export const FindOneByKeyPromptSnippetResponseBody$inboundSchema: z.ZodType<
4463
4449
  return remap$(v, {
4464
4450
  "_id": "id",
4465
4451
  "domain_id": "domainId",
4466
- "display_name": "displayName",
4467
4452
  "prompt_config": "promptConfig",
4468
4453
  "created_by_id": "createdById",
4469
4454
  "updated_by_id": "updatedById",
@@ -4476,7 +4461,6 @@ export type FindOneByKeyPromptSnippetResponseBody$Outbound = {
4476
4461
  owner: string | string;
4477
4462
  domain_id: string;
4478
4463
  key: string;
4479
- display_name: string;
4480
4464
  description?: string | null | undefined;
4481
4465
  prompt_config: FindOneByKeyPromptSnippetPromptConfig$Outbound;
4482
4466
  metadata: FindOneByKeyPromptSnippetMetadata$Outbound;
@@ -4498,7 +4482,6 @@ export const FindOneByKeyPromptSnippetResponseBody$outboundSchema: z.ZodType<
4498
4482
  owner: z.union([z.string(), FindOneByKeyPromptSnippetOwner2$outboundSchema]),
4499
4483
  domainId: z.string(),
4500
4484
  key: z.string(),
4501
- displayName: z.string(),
4502
4485
  description: z.nullable(z.string()).optional(),
4503
4486
  promptConfig: z.lazy(() =>
4504
4487
  FindOneByKeyPromptSnippetPromptConfig$outboundSchema
@@ -4507,7 +4490,7 @@ export const FindOneByKeyPromptSnippetResponseBody$outboundSchema: z.ZodType<
4507
4490
  createdById: z.string(),
4508
4491
  updatedById: z.string(),
4509
4492
  created: z.date().transform(v => v.toISOString()).optional(),
4510
- updated: z.date().default(() => new Date("2025-02-05T12:50:57.727Z"))
4493
+ updated: z.date().default(() => new Date("2025-02-05T18:57:06.512Z"))
4511
4494
  .transform(v => v.toISOString()),
4512
4495
  type: FindOneByKeyPromptSnippetType$outboundSchema,
4513
4496
  versions: z.array(
@@ -4517,7 +4500,6 @@ export const FindOneByKeyPromptSnippetResponseBody$outboundSchema: z.ZodType<
4517
4500
  return remap$(v, {
4518
4501
  id: "_id",
4519
4502
  domainId: "domain_id",
4520
- displayName: "display_name",
4521
4503
  promptConfig: "prompt_config",
4522
4504
  createdById: "created_by_id",
4523
4505
  updatedById: "updated_by_id",
@@ -922,10 +922,6 @@ export type FindOnePromptSnippetPromptSnippetsMetadata = {
922
922
  */
923
923
  export type FindOnePromptSnippetVersions = {
924
924
  id: string;
925
- /**
926
- * The prompt snippet’s name, meant to be displayable in the UI.
927
- */
928
- displayName: string;
929
925
  /**
930
926
  * The prompt snippet’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
931
927
  */
@@ -948,10 +944,6 @@ export type FindOnePromptSnippetResponseBody = {
948
944
  owner: string | FindOnePromptSnippetOwner2;
949
945
  domainId: string;
950
946
  key: string;
951
- /**
952
- * The prompt snippet’s name, meant to be displayable in the UI.
953
- */
954
- displayName: string;
955
947
  /**
956
948
  * The prompt snippet’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
957
949
  */
@@ -4209,7 +4201,6 @@ export const FindOnePromptSnippetVersions$inboundSchema: z.ZodType<
4209
4201
  unknown
4210
4202
  > = z.object({
4211
4203
  _id: z.string(),
4212
- display_name: z.string(),
4213
4204
  description: z.nullable(z.string()).optional(),
4214
4205
  prompt_config: z.lazy(() =>
4215
4206
  FindOnePromptSnippetPromptSnippetsPromptConfig$inboundSchema
@@ -4223,7 +4214,6 @@ export const FindOnePromptSnippetVersions$inboundSchema: z.ZodType<
4223
4214
  }).transform((v) => {
4224
4215
  return remap$(v, {
4225
4216
  "_id": "id",
4226
- "display_name": "displayName",
4227
4217
  "prompt_config": "promptConfig",
4228
4218
  "created_by_id": "createdById",
4229
4219
  "updated_by_id": "updatedById",
@@ -4233,7 +4223,6 @@ export const FindOnePromptSnippetVersions$inboundSchema: z.ZodType<
4233
4223
  /** @internal */
4234
4224
  export type FindOnePromptSnippetVersions$Outbound = {
4235
4225
  _id: string;
4236
- display_name: string;
4237
4226
  description?: string | null | undefined;
4238
4227
  prompt_config: FindOnePromptSnippetPromptSnippetsPromptConfig$Outbound;
4239
4228
  metadata: FindOnePromptSnippetPromptSnippetsMetadata$Outbound;
@@ -4249,7 +4238,6 @@ export const FindOnePromptSnippetVersions$outboundSchema: z.ZodType<
4249
4238
  FindOnePromptSnippetVersions
4250
4239
  > = z.object({
4251
4240
  id: z.string(),
4252
- displayName: z.string(),
4253
4241
  description: z.nullable(z.string()).optional(),
4254
4242
  promptConfig: z.lazy(() =>
4255
4243
  FindOnePromptSnippetPromptSnippetsPromptConfig$outboundSchema
@@ -4263,7 +4251,6 @@ export const FindOnePromptSnippetVersions$outboundSchema: z.ZodType<
4263
4251
  }).transform((v) => {
4264
4252
  return remap$(v, {
4265
4253
  id: "_id",
4266
- displayName: "display_name",
4267
4254
  promptConfig: "prompt_config",
4268
4255
  createdById: "created_by_id",
4269
4256
  updatedById: "updated_by_id",
@@ -4313,7 +4300,6 @@ export const FindOnePromptSnippetResponseBody$inboundSchema: z.ZodType<
4313
4300
  owner: z.union([z.string(), FindOnePromptSnippetOwner2$inboundSchema]),
4314
4301
  domain_id: z.string(),
4315
4302
  key: z.string(),
4316
- display_name: z.string(),
4317
4303
  description: z.nullable(z.string()).optional(),
4318
4304
  prompt_config: z.lazy(() => FindOnePromptSnippetPromptConfig$inboundSchema),
4319
4305
  metadata: z.lazy(() => FindOnePromptSnippetMetadata$inboundSchema),
@@ -4322,7 +4308,7 @@ export const FindOnePromptSnippetResponseBody$inboundSchema: z.ZodType<
4322
4308
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
4323
4309
  .optional(),
4324
4310
  updated: z.string().datetime({ offset: true }).default(
4325
- "2025-02-05T12:50:57.727Z",
4311
+ "2025-02-05T18:57:06.512Z",
4326
4312
  ).transform(v => new Date(v)),
4327
4313
  type: FindOnePromptSnippetType$inboundSchema,
4328
4314
  versions: z.array(z.lazy(() => FindOnePromptSnippetVersions$inboundSchema)),
@@ -4330,7 +4316,6 @@ export const FindOnePromptSnippetResponseBody$inboundSchema: z.ZodType<
4330
4316
  return remap$(v, {
4331
4317
  "_id": "id",
4332
4318
  "domain_id": "domainId",
4333
- "display_name": "displayName",
4334
4319
  "prompt_config": "promptConfig",
4335
4320
  "created_by_id": "createdById",
4336
4321
  "updated_by_id": "updatedById",
@@ -4343,7 +4328,6 @@ export type FindOnePromptSnippetResponseBody$Outbound = {
4343
4328
  owner: string | string;
4344
4329
  domain_id: string;
4345
4330
  key: string;
4346
- display_name: string;
4347
4331
  description?: string | null | undefined;
4348
4332
  prompt_config: FindOnePromptSnippetPromptConfig$Outbound;
4349
4333
  metadata: FindOnePromptSnippetMetadata$Outbound;
@@ -4365,14 +4349,13 @@ export const FindOnePromptSnippetResponseBody$outboundSchema: z.ZodType<
4365
4349
  owner: z.union([z.string(), FindOnePromptSnippetOwner2$outboundSchema]),
4366
4350
  domainId: z.string(),
4367
4351
  key: z.string(),
4368
- displayName: z.string(),
4369
4352
  description: z.nullable(z.string()).optional(),
4370
4353
  promptConfig: z.lazy(() => FindOnePromptSnippetPromptConfig$outboundSchema),
4371
4354
  metadata: z.lazy(() => FindOnePromptSnippetMetadata$outboundSchema),
4372
4355
  createdById: z.string(),
4373
4356
  updatedById: z.string(),
4374
4357
  created: z.date().transform(v => v.toISOString()).optional(),
4375
- updated: z.date().default(() => new Date("2025-02-05T12:50:57.727Z"))
4358
+ updated: z.date().default(() => new Date("2025-02-05T18:57:06.512Z"))
4376
4359
  .transform(v => v.toISOString()),
4377
4360
  type: FindOnePromptSnippetType$outboundSchema,
4378
4361
  versions: z.array(z.lazy(() => FindOnePromptSnippetVersions$outboundSchema)),
@@ -4380,7 +4363,6 @@ export const FindOnePromptSnippetResponseBody$outboundSchema: z.ZodType<
4380
4363
  return remap$(v, {
4381
4364
  id: "_id",
4382
4365
  domainId: "domain_id",
4383
- displayName: "display_name",
4384
4366
  promptConfig: "prompt_config",
4385
4367
  createdById: "created_by_id",
4386
4368
  updatedById: "updated_by_id",
@@ -4056,7 +4056,7 @@ export const GetAllPromptsData$inboundSchema: z.ZodType<
4056
4056
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
4057
4057
  .optional(),
4058
4058
  updated: z.string().datetime({ offset: true }).default(
4059
- "2025-02-05T12:50:57.727Z",
4059
+ "2025-02-05T18:57:06.512Z",
4060
4060
  ).transform(v => new Date(v)),
4061
4061
  type: GetAllPromptsType$inboundSchema,
4062
4062
  versions: z.array(z.lazy(() => GetAllPromptsVersions$inboundSchema)),
@@ -4104,7 +4104,7 @@ export const GetAllPromptsData$outboundSchema: z.ZodType<
4104
4104
  promptConfig: z.lazy(() => GetAllPromptsPromptConfig$outboundSchema),
4105
4105
  metadata: z.lazy(() => GetAllPromptsMetadata$outboundSchema),
4106
4106
  created: z.date().transform(v => v.toISOString()).optional(),
4107
- updated: z.date().default(() => new Date("2025-02-05T12:50:57.727Z"))
4107
+ updated: z.date().default(() => new Date("2025-02-05T18:57:06.512Z"))
4108
4108
  .transform(v => v.toISOString()),
4109
4109
  type: GetAllPromptsType$outboundSchema,
4110
4110
  versions: z.array(z.lazy(() => GetAllPromptsVersions$outboundSchema)),
@@ -6018,7 +6018,7 @@ export const UpdatePromptResponseBody$inboundSchema: z.ZodType<
6018
6018
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
6019
6019
  .optional(),
6020
6020
  updated: z.string().datetime({ offset: true }).default(
6021
- "2025-02-05T12:50:57.727Z",
6021
+ "2025-02-05T18:57:06.512Z",
6022
6022
  ).transform(v => new Date(v)),
6023
6023
  type: UpdatePromptPromptsType$inboundSchema,
6024
6024
  versions: z.array(z.lazy(() => UpdatePromptVersions$inboundSchema)),
@@ -6066,7 +6066,7 @@ export const UpdatePromptResponseBody$outboundSchema: z.ZodType<
6066
6066
  promptConfig: z.lazy(() => UpdatePromptPromptsPromptConfig$outboundSchema),
6067
6067
  metadata: z.lazy(() => UpdatePromptPromptsMetadata$outboundSchema),
6068
6068
  created: z.date().transform(v => v.toISOString()).optional(),
6069
- updated: z.date().default(() => new Date("2025-02-05T12:50:57.727Z"))
6069
+ updated: z.date().default(() => new Date("2025-02-05T18:57:06.512Z"))
6070
6070
  .transform(v => v.toISOString()),
6071
6071
  type: UpdatePromptPromptsType$outboundSchema,
6072
6072
  versions: z.array(z.lazy(() => UpdatePromptVersions$outboundSchema)),
@@ -435,10 +435,6 @@ export type UpdatePromptSnippetMetadata = {
435
435
  };
436
436
 
437
437
  export type UpdatePromptSnippetRequestBody = {
438
- /**
439
- * The prompt snippet’s name, meant to be displayable in the UI.
440
- */
441
- displayName?: string | undefined;
442
438
  /**
443
439
  * The prompt snippet’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
444
440
  */
@@ -1391,10 +1387,6 @@ export type UpdatePromptSnippetPromptSnippetsResponseMetadata = {
1391
1387
  */
1392
1388
  export type UpdatePromptSnippetVersions = {
1393
1389
  id: string;
1394
- /**
1395
- * The prompt snippet’s name, meant to be displayable in the UI.
1396
- */
1397
- displayName: string;
1398
1390
  /**
1399
1391
  * The prompt snippet’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
1400
1392
  */
@@ -1417,10 +1409,6 @@ export type UpdatePromptSnippetResponseBody = {
1417
1409
  owner: string | UpdatePromptSnippetOwner2;
1418
1410
  domainId: string;
1419
1411
  key: string;
1420
- /**
1421
- * The prompt snippet’s name, meant to be displayable in the UI.
1422
- */
1423
- displayName: string;
1424
1412
  /**
1425
1413
  * The prompt snippet’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
1426
1414
  */
@@ -2870,7 +2858,6 @@ export const UpdatePromptSnippetRequestBody$inboundSchema: z.ZodType<
2870
2858
  z.ZodTypeDef,
2871
2859
  unknown
2872
2860
  > = z.object({
2873
- display_name: z.string().optional(),
2874
2861
  description: z.nullable(z.string()).optional(),
2875
2862
  prompt_config: z.lazy(() => UpdatePromptSnippetPromptConfig$inboundSchema)
2876
2863
  .optional(),
@@ -2878,14 +2865,12 @@ export const UpdatePromptSnippetRequestBody$inboundSchema: z.ZodType<
2878
2865
  path: z.string().optional(),
2879
2866
  }).transform((v) => {
2880
2867
  return remap$(v, {
2881
- "display_name": "displayName",
2882
2868
  "prompt_config": "promptConfig",
2883
2869
  });
2884
2870
  });
2885
2871
 
2886
2872
  /** @internal */
2887
2873
  export type UpdatePromptSnippetRequestBody$Outbound = {
2888
- display_name?: string | undefined;
2889
2874
  description?: string | null | undefined;
2890
2875
  prompt_config?: UpdatePromptSnippetPromptConfig$Outbound | undefined;
2891
2876
  metadata?: UpdatePromptSnippetMetadata$Outbound | undefined;
@@ -2898,7 +2883,6 @@ export const UpdatePromptSnippetRequestBody$outboundSchema: z.ZodType<
2898
2883
  z.ZodTypeDef,
2899
2884
  UpdatePromptSnippetRequestBody
2900
2885
  > = z.object({
2901
- displayName: z.string().optional(),
2902
2886
  description: z.nullable(z.string()).optional(),
2903
2887
  promptConfig: z.lazy(() => UpdatePromptSnippetPromptConfig$outboundSchema)
2904
2888
  .optional(),
@@ -2906,7 +2890,6 @@ export const UpdatePromptSnippetRequestBody$outboundSchema: z.ZodType<
2906
2890
  path: z.string().optional(),
2907
2891
  }).transform((v) => {
2908
2892
  return remap$(v, {
2909
- displayName: "display_name",
2910
2893
  promptConfig: "prompt_config",
2911
2894
  });
2912
2895
  });
@@ -6409,7 +6392,6 @@ export const UpdatePromptSnippetVersions$inboundSchema: z.ZodType<
6409
6392
  unknown
6410
6393
  > = z.object({
6411
6394
  _id: z.string(),
6412
- display_name: z.string(),
6413
6395
  description: z.nullable(z.string()).optional(),
6414
6396
  prompt_config: z.lazy(() =>
6415
6397
  UpdatePromptSnippetPromptSnippetsResponsePromptConfig$inboundSchema
@@ -6423,7 +6405,6 @@ export const UpdatePromptSnippetVersions$inboundSchema: z.ZodType<
6423
6405
  }).transform((v) => {
6424
6406
  return remap$(v, {
6425
6407
  "_id": "id",
6426
- "display_name": "displayName",
6427
6408
  "prompt_config": "promptConfig",
6428
6409
  "created_by_id": "createdById",
6429
6410
  "updated_by_id": "updatedById",
@@ -6433,7 +6414,6 @@ export const UpdatePromptSnippetVersions$inboundSchema: z.ZodType<
6433
6414
  /** @internal */
6434
6415
  export type UpdatePromptSnippetVersions$Outbound = {
6435
6416
  _id: string;
6436
- display_name: string;
6437
6417
  description?: string | null | undefined;
6438
6418
  prompt_config: UpdatePromptSnippetPromptSnippetsResponsePromptConfig$Outbound;
6439
6419
  metadata: UpdatePromptSnippetPromptSnippetsResponseMetadata$Outbound;
@@ -6449,7 +6429,6 @@ export const UpdatePromptSnippetVersions$outboundSchema: z.ZodType<
6449
6429
  UpdatePromptSnippetVersions
6450
6430
  > = z.object({
6451
6431
  id: z.string(),
6452
- displayName: z.string(),
6453
6432
  description: z.nullable(z.string()).optional(),
6454
6433
  promptConfig: z.lazy(() =>
6455
6434
  UpdatePromptSnippetPromptSnippetsResponsePromptConfig$outboundSchema
@@ -6463,7 +6442,6 @@ export const UpdatePromptSnippetVersions$outboundSchema: z.ZodType<
6463
6442
  }).transform((v) => {
6464
6443
  return remap$(v, {
6465
6444
  id: "_id",
6466
- displayName: "display_name",
6467
6445
  promptConfig: "prompt_config",
6468
6446
  createdById: "created_by_id",
6469
6447
  updatedById: "updated_by_id",
@@ -6513,7 +6491,6 @@ export const UpdatePromptSnippetResponseBody$inboundSchema: z.ZodType<
6513
6491
  owner: z.union([z.string(), UpdatePromptSnippetOwner2$inboundSchema]),
6514
6492
  domain_id: z.string(),
6515
6493
  key: z.string(),
6516
- display_name: z.string(),
6517
6494
  description: z.nullable(z.string()).optional(),
6518
6495
  prompt_config: z.lazy(() =>
6519
6496
  UpdatePromptSnippetPromptSnippetsPromptConfig$inboundSchema
@@ -6526,7 +6503,7 @@ export const UpdatePromptSnippetResponseBody$inboundSchema: z.ZodType<
6526
6503
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
6527
6504
  .optional(),
6528
6505
  updated: z.string().datetime({ offset: true }).default(
6529
- "2025-02-05T12:50:57.727Z",
6506
+ "2025-02-05T18:57:06.512Z",
6530
6507
  ).transform(v => new Date(v)),
6531
6508
  type: UpdatePromptSnippetPromptSnippetsType$inboundSchema,
6532
6509
  versions: z.array(z.lazy(() => UpdatePromptSnippetVersions$inboundSchema)),
@@ -6534,7 +6511,6 @@ export const UpdatePromptSnippetResponseBody$inboundSchema: z.ZodType<
6534
6511
  return remap$(v, {
6535
6512
  "_id": "id",
6536
6513
  "domain_id": "domainId",
6537
- "display_name": "displayName",
6538
6514
  "prompt_config": "promptConfig",
6539
6515
  "created_by_id": "createdById",
6540
6516
  "updated_by_id": "updatedById",
@@ -6547,7 +6523,6 @@ export type UpdatePromptSnippetResponseBody$Outbound = {
6547
6523
  owner: string | string;
6548
6524
  domain_id: string;
6549
6525
  key: string;
6550
- display_name: string;
6551
6526
  description?: string | null | undefined;
6552
6527
  prompt_config: UpdatePromptSnippetPromptSnippetsPromptConfig$Outbound;
6553
6528
  metadata: UpdatePromptSnippetPromptSnippetsMetadata$Outbound;
@@ -6569,7 +6544,6 @@ export const UpdatePromptSnippetResponseBody$outboundSchema: z.ZodType<
6569
6544
  owner: z.union([z.string(), UpdatePromptSnippetOwner2$outboundSchema]),
6570
6545
  domainId: z.string(),
6571
6546
  key: z.string(),
6572
- displayName: z.string(),
6573
6547
  description: z.nullable(z.string()).optional(),
6574
6548
  promptConfig: z.lazy(() =>
6575
6549
  UpdatePromptSnippetPromptSnippetsPromptConfig$outboundSchema
@@ -6580,7 +6554,7 @@ export const UpdatePromptSnippetResponseBody$outboundSchema: z.ZodType<
6580
6554
  createdById: z.string(),
6581
6555
  updatedById: z.string(),
6582
6556
  created: z.date().transform(v => v.toISOString()).optional(),
6583
- updated: z.date().default(() => new Date("2025-02-05T12:50:57.727Z"))
6557
+ updated: z.date().default(() => new Date("2025-02-05T18:57:06.512Z"))
6584
6558
  .transform(v => v.toISOString()),
6585
6559
  type: UpdatePromptSnippetPromptSnippetsType$outboundSchema,
6586
6560
  versions: z.array(z.lazy(() => UpdatePromptSnippetVersions$outboundSchema)),
@@ -6588,7 +6562,6 @@ export const UpdatePromptSnippetResponseBody$outboundSchema: z.ZodType<
6588
6562
  return remap$(v, {
6589
6563
  id: "_id",
6590
6564
  domainId: "domain_id",
6591
- displayName: "display_name",
6592
6565
  promptConfig: "prompt_config",
6593
6566
  createdById: "created_by_id",
6594
6567
  updatedById: "updated_by_id",