@financial-times/cp-content-pipeline-schema 2.15.0 → 3.0.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.
Files changed (161) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/lib/datasources/capi.d.ts +2 -2
  3. package/lib/datasources/capi.js +4 -2
  4. package/lib/datasources/capi.js.map +1 -1
  5. package/lib/datasources/capi.test.js +2 -2
  6. package/lib/fixtures/capiObject.d.ts +2 -2
  7. package/lib/fixtures/capiObject.js +2 -0
  8. package/lib/fixtures/capiObject.js.map +1 -1
  9. package/lib/fixtures/capiPerson.d.ts +1 -1
  10. package/lib/generated/index.d.ts +296 -131
  11. package/lib/helpers/decorateHeadshotUrl.d.ts +1 -2
  12. package/lib/helpers/decorateHeadshotUrl.js +2 -3
  13. package/lib/helpers/decorateHeadshotUrl.js.map +1 -1
  14. package/lib/model/Byline.d.ts +8 -10
  15. package/lib/model/Byline.js +34 -33
  16. package/lib/model/Byline.js.map +1 -1
  17. package/lib/model/Byline.test.js +105 -52
  18. package/lib/model/Byline.test.js.map +1 -1
  19. package/lib/model/CapiResponse.d.ts +12 -16
  20. package/lib/model/CapiResponse.js +38 -41
  21. package/lib/model/CapiResponse.js.map +1 -1
  22. package/lib/model/CapiResponse.test.js +7 -18
  23. package/lib/model/CapiResponse.test.js.map +1 -1
  24. package/lib/model/Clip.d.ts +1 -1
  25. package/lib/model/Concept.d.ts +1 -1
  26. package/lib/model/Concept.js +1 -2
  27. package/lib/model/Concept.js.map +1 -1
  28. package/lib/model/FlourishSource.d.ts +1 -1
  29. package/lib/model/FlourishSource.js.map +1 -1
  30. package/lib/model/Image.d.ts +1 -1
  31. package/lib/model/LeadFlourish.test.js +1 -0
  32. package/lib/model/LeadFlourish.test.js.map +1 -1
  33. package/lib/model/Person.d.ts +6 -12
  34. package/lib/model/Person.js +39 -66
  35. package/lib/model/Person.js.map +1 -1
  36. package/lib/model/Person.test.js +7 -60
  37. package/lib/model/Person.test.js.map +1 -1
  38. package/lib/model/Picture.d.ts +1 -1
  39. package/lib/model/RichText.d.ts +1 -2
  40. package/lib/model/Topper.d.ts +1 -1
  41. package/lib/model/Topper.js +10 -8
  42. package/lib/model/Topper.js.map +1 -1
  43. package/lib/model/Topper.test.js +9 -10
  44. package/lib/model/Topper.test.js.map +1 -1
  45. package/lib/model/schemas/capi/article.d.ts +7 -4
  46. package/lib/model/schemas/capi/article.js +1 -0
  47. package/lib/model/schemas/capi/article.js.map +1 -1
  48. package/lib/model/schemas/capi/audio.d.ts +7 -4
  49. package/lib/model/schemas/capi/audio.js +1 -0
  50. package/lib/model/schemas/capi/audio.js.map +1 -1
  51. package/lib/model/schemas/capi/base-schema.d.ts +14 -123
  52. package/lib/model/schemas/capi/base-schema.js +7 -6
  53. package/lib/model/schemas/capi/base-schema.js.map +1 -1
  54. package/lib/model/schemas/capi/content-package.d.ts +10 -5
  55. package/lib/model/schemas/capi/content-package.js +2 -0
  56. package/lib/model/schemas/capi/content-package.js.map +1 -1
  57. package/lib/model/schemas/capi/index.d.ts +41 -22
  58. package/lib/model/schemas/capi/internal-content.d.ts +24 -0
  59. package/lib/model/schemas/capi/internal-content.js +3 -0
  60. package/lib/model/schemas/capi/internal-content.js.map +1 -0
  61. package/lib/model/schemas/capi/live-blog-package.d.ts +7 -4
  62. package/lib/model/schemas/capi/live-blog-package.js +1 -0
  63. package/lib/model/schemas/capi/live-blog-package.js.map +1 -1
  64. package/lib/model/schemas/capi/placeholder.d.ts +7 -4
  65. package/lib/model/schemas/capi/placeholder.js +1 -0
  66. package/lib/model/schemas/capi/placeholder.js.map +1 -1
  67. package/lib/model/schemas/capi/video.d.ts +10 -5
  68. package/lib/model/schemas/capi/video.js +2 -0
  69. package/lib/model/schemas/capi/video.js.map +1 -1
  70. package/lib/resolvers/concept.d.ts +37 -2
  71. package/lib/resolvers/concept.js +17 -10
  72. package/lib/resolvers/concept.js.map +1 -1
  73. package/lib/resolvers/content-tree/Workarounds.d.ts +19 -11
  74. package/lib/resolvers/content-tree/references/Author.d.ts +4 -0
  75. package/lib/resolvers/content-tree/references/Author.js +14 -0
  76. package/lib/resolvers/content-tree/references/Author.js.map +1 -0
  77. package/lib/resolvers/content-tree/references/ClipSet.d.ts +1 -1
  78. package/lib/resolvers/content-tree/references/ClipSet.js +1 -1
  79. package/lib/resolvers/content-tree/references/ClipSet.js.map +1 -1
  80. package/lib/resolvers/content-tree/references/Flourish.d.ts +1 -1
  81. package/lib/resolvers/content-tree/references/Reference.d.ts +1 -1
  82. package/lib/resolvers/content-tree/references/index.d.ts +4 -2
  83. package/lib/resolvers/content-tree/references/index.js +4 -1
  84. package/lib/resolvers/content-tree/references/index.js.map +1 -1
  85. package/lib/resolvers/content-tree/updateTreeWithReferenceIds.d.ts +3 -3
  86. package/lib/resolvers/content-tree/updateTreeWithReferenceIds.js +2 -3
  87. package/lib/resolvers/content-tree/updateTreeWithReferenceIds.js.map +1 -1
  88. package/lib/resolvers/content.d.ts +27 -18
  89. package/lib/resolvers/content.js +4 -2
  90. package/lib/resolvers/content.js.map +1 -1
  91. package/lib/resolvers/image.d.ts +12 -12
  92. package/lib/resolvers/index.d.ts +89 -42
  93. package/lib/resolvers/leadFlourish.d.ts +2 -1
  94. package/lib/resolvers/leadFlourish.js +1 -0
  95. package/lib/resolvers/leadFlourish.js.map +1 -1
  96. package/lib/resolvers/person.d.ts +1 -1
  97. package/lib/resolvers/person.js +1 -1
  98. package/lib/resolvers/person.js.map +1 -1
  99. package/lib/resolvers/picture.d.ts +4 -4
  100. package/lib/resolvers/richText.d.ts +1 -1
  101. package/lib/resolvers/teaser.d.ts +1 -1
  102. package/lib/resolvers/topper.d.ts +3 -3
  103. package/package.json +1 -1
  104. package/queries/article.graphql +35 -13
  105. package/src/datasources/capi.test.ts +3 -3
  106. package/src/datasources/capi.ts +5 -3
  107. package/src/fixtures/capiObject.ts +4 -2
  108. package/src/fixtures/capiPerson.ts +1 -1
  109. package/src/generated/index.ts +321 -132
  110. package/src/helpers/decorateHeadshotUrl.ts +2 -2
  111. package/src/model/Byline.test.ts +136 -55
  112. package/src/model/Byline.ts +49 -39
  113. package/src/model/CapiResponse.test.ts +9 -25
  114. package/src/model/CapiResponse.ts +83 -56
  115. package/src/model/Clip.ts +1 -1
  116. package/src/model/Concept.ts +3 -3
  117. package/src/model/FlourishSource.ts +1 -1
  118. package/src/model/Image.test.ts +1 -1
  119. package/src/model/Image.ts +1 -1
  120. package/src/model/LeadFlourish.test.ts +1 -0
  121. package/src/model/Person.test.ts +11 -62
  122. package/src/model/Person.ts +47 -51
  123. package/src/model/Picture.test.ts +1 -1
  124. package/src/model/Picture.ts +1 -1
  125. package/src/model/Topper.test.ts +22 -18
  126. package/src/model/Topper.ts +10 -9
  127. package/src/model/__snapshots__/Byline.test.ts.snap +166 -27
  128. package/src/model/schemas/capi/article.ts +1 -0
  129. package/src/model/schemas/capi/audio.ts +1 -0
  130. package/src/model/schemas/capi/base-schema.ts +5 -4
  131. package/src/model/schemas/capi/content-package.ts +2 -0
  132. package/src/model/schemas/capi/internal-content.ts +45 -0
  133. package/src/model/schemas/capi/live-blog-package.ts +1 -0
  134. package/src/model/schemas/capi/placeholder.ts +1 -0
  135. package/src/model/schemas/capi/video.ts +2 -0
  136. package/src/resolvers/concept.ts +29 -12
  137. package/src/resolvers/content-tree/Workarounds.ts +39 -20
  138. package/src/resolvers/content-tree/references/Author.ts +18 -0
  139. package/src/resolvers/content-tree/references/ClipSet.ts +6 -8
  140. package/src/resolvers/content-tree/references/ImageSet.ts +1 -1
  141. package/src/resolvers/content-tree/references/ScrollyImage.ts +1 -1
  142. package/src/resolvers/content-tree/references/index.ts +6 -1
  143. package/src/resolvers/content-tree/updateTreeWithReferenceIds.ts +6 -8
  144. package/src/resolvers/content.ts +4 -2
  145. package/src/resolvers/leadFlourish.ts +1 -0
  146. package/src/resolvers/person.ts +1 -1
  147. package/src/types/n-display-metadata.d.ts +1 -1
  148. package/tsconfig.tsbuildinfo +1 -1
  149. package/typedefs/clip.graphql +2 -2
  150. package/typedefs/concept.graphql +64 -2
  151. package/typedefs/content.graphql +63 -39
  152. package/typedefs/image.graphql +12 -12
  153. package/typedefs/leadFlourish.graphql +32 -0
  154. package/typedefs/person.graphql +2 -2
  155. package/typedefs/picture.graphql +6 -6
  156. package/typedefs/references/author.graphql +7 -0
  157. package/typedefs/references/clipSet.graphql +14 -2
  158. package/typedefs/references/tweet.graphql +1 -1
  159. package/typedefs/teaser.graphql +10 -10
  160. package/src/types/internal-content.d.ts +0 -55
  161. package/typedefs/leadFlouish.graphql +0 -29
@@ -43,7 +43,7 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
43
43
  theme: "special-report" | "extra" | "basic" | "extra-wide";
44
44
  }>;
45
45
  transcript: import("zod").ZodOptional<import("zod").ZodString>;
46
- }, "title" | "bodyXML" | "summary" | "alternativeTitles" | "contains" | "design">, {
46
+ }, "title" | "byline" | "bodyXML" | "summary" | "alternativeTitles" | "contains" | "design">, {
47
47
  summary: import("zod").ZodOptional<import("zod").ZodObject<{
48
48
  bodyXML: import("zod").ZodString;
49
49
  }, "strip", import("zod").ZodTypeAny, {
@@ -101,7 +101,8 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
101
101
  }>>;
102
102
  publishedDate: import("zod").ZodString;
103
103
  firstPublishedDate: import("zod").ZodString;
104
- publishReference: import("zod").ZodString;
104
+ publishReference: import("zod").ZodOptional<import("zod").ZodString>;
105
+ lastModified: import("zod").ZodString;
105
106
  realtime: import("zod").ZodBoolean;
106
107
  editorialDesk: import("zod").ZodOptional<import("zod").ZodString>;
107
108
  accessLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"premium">, import("zod").ZodLiteral<"subscribed">, import("zod").ZodLiteral<"registered">, import("zod").ZodLiteral<"free">]>>;
@@ -159,7 +160,7 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
159
160
  labelType: string;
160
161
  sequence: string;
161
162
  }>>;
162
- }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments" | "tableOfContents">>, Pick<{
163
+ }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments" | "tableOfContents">>, Pick<{
163
164
  mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
164
165
  id: import("zod").ZodString;
165
166
  type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
@@ -1336,7 +1337,7 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
1336
1337
  headshot?: string | undefined;
1337
1338
  }[];
1338
1339
  firstPublishedDate: string;
1339
- publishReference: string;
1340
+ lastModified: string;
1340
1341
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1341
1342
  bodyXML: string;
1342
1343
  contains: {
@@ -1354,6 +1355,7 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
1354
1355
  exclusive: boolean;
1355
1356
  scoop: boolean;
1356
1357
  } | undefined;
1358
+ publishReference?: string | undefined;
1357
1359
  editorialDesk?: string | undefined;
1358
1360
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
1359
1361
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
@@ -1373,6 +1375,7 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
1373
1375
  labelType: string;
1374
1376
  sequence: string;
1375
1377
  } | undefined;
1378
+ byline?: string | undefined;
1376
1379
  summary?: {
1377
1380
  bodyXML: string;
1378
1381
  } | undefined;
@@ -1495,7 +1498,7 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
1495
1498
  headshot?: string | undefined;
1496
1499
  }[];
1497
1500
  firstPublishedDate: string;
1498
- publishReference: string;
1501
+ lastModified: string;
1499
1502
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1500
1503
  bodyXML: string;
1501
1504
  contains: {
@@ -1513,6 +1516,7 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
1513
1516
  exclusive: boolean;
1514
1517
  scoop: boolean;
1515
1518
  } | undefined;
1519
+ publishReference?: string | undefined;
1516
1520
  editorialDesk?: string | undefined;
1517
1521
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
1518
1522
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
@@ -1532,6 +1536,7 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
1532
1536
  labelType: string;
1533
1537
  sequence: string;
1534
1538
  } | undefined;
1539
+ byline?: string | undefined;
1535
1540
  summary?: {
1536
1541
  bodyXML: string;
1537
1542
  } | undefined;
@@ -10,6 +10,7 @@ const contentPackageContentSchema = base_schema_1.baseContentSchema
10
10
  contains: true,
11
11
  design: true,
12
12
  bodyXML: true,
13
+ byline: true,
13
14
  })
14
15
  .merge(base_schema_1.baseContentSchema
15
16
  .pick({
@@ -26,6 +27,7 @@ const contentPackageMetadataSchema = base_schema_1.baseMetadataSchema.pick({
26
27
  standout: true,
27
28
  publishedDate: true,
28
29
  firstPublishedDate: true,
30
+ lastModified: true,
29
31
  publishReference: true,
30
32
  accessLevel: true,
31
33
  editorialDesk: true,
@@ -1 +1 @@
1
- {"version":3,"file":"content-package.js","sourceRoot":"","sources":["../../../../src/model/schemas/capi/content-package.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,MAAM,2BAA2B,GAAG,+BAAiB;KAClD,IAAI,CAAC;IACJ,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,IAAI;IACb,iBAAiB,EAAE,IAAI;IACvB,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;CACd,CAAC;KACD,KAAK,CACJ,+BAAiB;KACd,IAAI,CAAC;IACJ,OAAO,EAAE,IAAI;CACd,CAAC;KACD,OAAO,EAAE,CACb,CAAA;AAEH,MAAM,4BAA4B,GAAG,gCAAkB,CAAC,IAAI,CAAC;IAC3D,EAAE,EAAE,IAAI;IACR,WAAW,EAAE,IAAI;IACjB,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,IAAI;IACrB,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,kBAAkB,EAAE,IAAI;IACxB,gBAAgB,EAAE,IAAI;IACtB,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;IACtB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,eAAe,EAAE,IAAI;CACtB,CAAC,CAAA;AAEF,MAAM,yBAAyB,GAAG,6BAAe,CAAC,IAAI,CAAC;IACrD,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,YAAY,EAAE,IAAI;CACnB,CAAC,CAAA;AAEW,QAAA,oBAAoB,GAAG,2BAA2B;KAC5D,KAAK,CAAC,4BAA4B,CAAC;KACnC,KAAK,CAAC,yBAAyB,CAAC,CAAA"}
1
+ {"version":3,"file":"content-package.js","sourceRoot":"","sources":["../../../../src/model/schemas/capi/content-package.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,MAAM,2BAA2B,GAAG,+BAAiB;KAClD,IAAI,CAAC;IACJ,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,IAAI;IACb,iBAAiB,EAAE,IAAI;IACvB,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,IAAI;CACb,CAAC;KACD,KAAK,CACJ,+BAAiB;KACd,IAAI,CAAC;IACJ,OAAO,EAAE,IAAI;CACd,CAAC;KACD,OAAO,EAAE,CACb,CAAA;AAEH,MAAM,4BAA4B,GAAG,gCAAkB,CAAC,IAAI,CAAC;IAC3D,EAAE,EAAE,IAAI;IACR,WAAW,EAAE,IAAI;IACjB,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,IAAI;IACrB,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,kBAAkB,EAAE,IAAI;IACxB,YAAY,EAAE,IAAI;IAClB,gBAAgB,EAAE,IAAI;IACtB,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;IACtB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,eAAe,EAAE,IAAI;CACtB,CAAC,CAAA;AAEF,MAAM,yBAAyB,GAAG,6BAAe,CAAC,IAAI,CAAC;IACrD,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,YAAY,EAAE,IAAI;CACnB,CAAC,CAAA;AAEW,QAAA,oBAAoB,GAAG,2BAA2B;KAC5D,KAAK,CAAC,4BAA4B,CAAC;KACnC,KAAK,CAAC,yBAAyB,CAAC,CAAA"}
@@ -95,7 +95,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
95
95
  }>>;
96
96
  publishedDate: import("zod").ZodString;
97
97
  firstPublishedDate: import("zod").ZodString;
98
- publishReference: import("zod").ZodString;
98
+ publishReference: import("zod").ZodOptional<import("zod").ZodString>;
99
+ lastModified: import("zod").ZodString;
99
100
  realtime: import("zod").ZodBoolean;
100
101
  editorialDesk: import("zod").ZodOptional<import("zod").ZodString>;
101
102
  accessLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"premium">, import("zod").ZodLiteral<"subscribed">, import("zod").ZodLiteral<"registered">, import("zod").ZodLiteral<"free">]>>;
@@ -153,7 +154,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
153
154
  labelType: string;
154
155
  sequence: string;
155
156
  }>>;
156
- }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments" | "containedIn">>, Pick<{
157
+ }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments" | "containedIn">>, Pick<{
157
158
  mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
158
159
  id: import("zod").ZodString;
159
160
  type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
@@ -1330,7 +1331,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
1330
1331
  headshot?: string | undefined;
1331
1332
  }[];
1332
1333
  firstPublishedDate: string;
1333
- publishReference: string;
1334
+ lastModified: string;
1334
1335
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1335
1336
  bodyXML: string;
1336
1337
  type?: string | undefined;
@@ -1342,6 +1343,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
1342
1343
  exclusive: boolean;
1343
1344
  scoop: boolean;
1344
1345
  } | undefined;
1346
+ publishReference?: string | undefined;
1345
1347
  editorialDesk?: string | undefined;
1346
1348
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
1347
1349
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
@@ -1597,7 +1599,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
1597
1599
  headshot?: string | undefined;
1598
1600
  }[];
1599
1601
  firstPublishedDate: string;
1600
- publishReference: string;
1602
+ lastModified: string;
1601
1603
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1602
1604
  bodyXML: string;
1603
1605
  type?: string | undefined;
@@ -1609,6 +1611,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
1609
1611
  exclusive: boolean;
1610
1612
  scoop: boolean;
1611
1613
  } | undefined;
1614
+ publishReference?: string | undefined;
1612
1615
  editorialDesk?: string | undefined;
1613
1616
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
1614
1617
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
@@ -1943,7 +1946,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
1943
1946
  }>>;
1944
1947
  publishedDate: import("zod").ZodString;
1945
1948
  firstPublishedDate: import("zod").ZodString;
1946
- publishReference: import("zod").ZodString;
1949
+ publishReference: import("zod").ZodOptional<import("zod").ZodString>;
1950
+ lastModified: import("zod").ZodString;
1947
1951
  realtime: import("zod").ZodBoolean;
1948
1952
  editorialDesk: import("zod").ZodOptional<import("zod").ZodString>;
1949
1953
  accessLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"premium">, import("zod").ZodLiteral<"subscribed">, import("zod").ZodLiteral<"registered">, import("zod").ZodLiteral<"free">]>>;
@@ -2001,7 +2005,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
2001
2005
  labelType: string;
2002
2006
  sequence: string;
2003
2007
  }>>;
2004
- }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments">>, Pick<{
2008
+ }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments">>, Pick<{
2005
2009
  mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
2006
2010
  id: import("zod").ZodString;
2007
2011
  type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
@@ -3178,7 +3182,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
3178
3182
  headshot?: string | undefined;
3179
3183
  }[];
3180
3184
  firstPublishedDate: string;
3181
- publishReference: string;
3185
+ lastModified: string;
3182
3186
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
3183
3187
  summary: {
3184
3188
  bodyXML: string;
@@ -3196,6 +3200,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
3196
3200
  exclusive: boolean;
3197
3201
  scoop: boolean;
3198
3202
  } | undefined;
3203
+ publishReference?: string | undefined;
3199
3204
  editorialDesk?: string | undefined;
3200
3205
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
3201
3206
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
@@ -3427,7 +3432,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
3427
3432
  headshot?: string | undefined;
3428
3433
  }[];
3429
3434
  firstPublishedDate: string;
3430
- publishReference: string;
3435
+ lastModified: string;
3431
3436
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
3432
3437
  summary: {
3433
3438
  bodyXML: string;
@@ -3445,6 +3450,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
3445
3450
  exclusive: boolean;
3446
3451
  scoop: boolean;
3447
3452
  } | undefined;
3453
+ publishReference?: string | undefined;
3448
3454
  editorialDesk?: string | undefined;
3449
3455
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
3450
3456
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
@@ -3755,7 +3761,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
3755
3761
  }>>;
3756
3762
  publishedDate: import("zod").ZodString;
3757
3763
  firstPublishedDate: import("zod").ZodString;
3758
- publishReference: import("zod").ZodString;
3764
+ publishReference: import("zod").ZodOptional<import("zod").ZodString>;
3765
+ lastModified: import("zod").ZodString;
3759
3766
  realtime: import("zod").ZodBoolean;
3760
3767
  editorialDesk: import("zod").ZodOptional<import("zod").ZodString>;
3761
3768
  accessLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"premium">, import("zod").ZodLiteral<"subscribed">, import("zod").ZodLiteral<"registered">, import("zod").ZodLiteral<"free">]>>;
@@ -3813,7 +3820,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
3813
3820
  labelType: string;
3814
3821
  sequence: string;
3815
3822
  }>>;
3816
- }, "id" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed">>, Pick<{
3823
+ }, "id" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed">>, Pick<{
3817
3824
  mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
3818
3825
  id: import("zod").ZodString;
3819
3826
  type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
@@ -4990,7 +4997,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
4990
4997
  headshot?: string | undefined;
4991
4998
  }[];
4992
4999
  firstPublishedDate: string;
4993
- publishReference: string;
5000
+ lastModified: string;
4994
5001
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
4995
5002
  dataSource?: {
4996
5003
  binaryUrl: string;
@@ -5000,6 +5007,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
5000
5007
  }[] | undefined;
5001
5008
  webUrl?: string | undefined;
5002
5009
  canonicalWebUrl?: string | undefined;
5010
+ publishReference?: string | undefined;
5003
5011
  editorialDesk?: string | undefined;
5004
5012
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
5005
5013
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
@@ -5085,7 +5093,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
5085
5093
  headshot?: string | undefined;
5086
5094
  }[];
5087
5095
  firstPublishedDate: string;
5088
- publishReference: string;
5096
+ lastModified: string;
5089
5097
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
5090
5098
  dataSource?: {
5091
5099
  binaryUrl: string;
@@ -5095,6 +5103,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
5095
5103
  }[] | undefined;
5096
5104
  webUrl?: string | undefined;
5097
5105
  canonicalWebUrl?: string | undefined;
5106
+ publishReference?: string | undefined;
5098
5107
  editorialDesk?: string | undefined;
5099
5108
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
5100
5109
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
@@ -5209,7 +5218,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
5209
5218
  theme: "special-report" | "extra" | "basic" | "extra-wide";
5210
5219
  }>;
5211
5220
  transcript: import("zod").ZodOptional<import("zod").ZodString>;
5212
- }, "title" | "transcript" | "alternativeTitles">, Pick<{
5221
+ }, "title" | "transcript" | "byline" | "alternativeTitles">, Pick<{
5213
5222
  id: import("zod").ZodString;
5214
5223
  annotations: import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5215
5224
  id: import("zod").ZodString;
@@ -5259,7 +5268,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
5259
5268
  }>>;
5260
5269
  publishedDate: import("zod").ZodString;
5261
5270
  firstPublishedDate: import("zod").ZodString;
5262
- publishReference: import("zod").ZodString;
5271
+ publishReference: import("zod").ZodOptional<import("zod").ZodString>;
5272
+ lastModified: import("zod").ZodString;
5263
5273
  realtime: import("zod").ZodBoolean;
5264
5274
  editorialDesk: import("zod").ZodOptional<import("zod").ZodString>;
5265
5275
  accessLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"premium">, import("zod").ZodLiteral<"subscribed">, import("zod").ZodLiteral<"registered">, import("zod").ZodLiteral<"free">]>>;
@@ -5317,7 +5327,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
5317
5327
  labelType: string;
5318
5328
  sequence: string;
5319
5329
  }>>;
5320
- }, "id" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed">>, Pick<{
5330
+ }, "id" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed">>, Pick<{
5321
5331
  mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
5322
5332
  id: import("zod").ZodString;
5323
5333
  type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
@@ -6494,14 +6504,16 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
6494
6504
  headshot?: string | undefined;
6495
6505
  }[];
6496
6506
  firstPublishedDate: string;
6497
- publishReference: string;
6507
+ lastModified: string;
6498
6508
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
6499
6509
  transcript?: string | undefined;
6500
6510
  webUrl?: string | undefined;
6501
6511
  canonicalWebUrl?: string | undefined;
6512
+ publishReference?: string | undefined;
6502
6513
  editorialDesk?: string | undefined;
6503
6514
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
6504
6515
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
6516
+ byline?: string | undefined;
6505
6517
  alternativeTitles?: {
6506
6518
  promotionalTitle: string;
6507
6519
  } | undefined;
@@ -6583,14 +6595,16 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
6583
6595
  headshot?: string | undefined;
6584
6596
  }[];
6585
6597
  firstPublishedDate: string;
6586
- publishReference: string;
6598
+ lastModified: string;
6587
6599
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
6588
6600
  transcript?: string | undefined;
6589
6601
  webUrl?: string | undefined;
6590
6602
  canonicalWebUrl?: string | undefined;
6603
+ publishReference?: string | undefined;
6591
6604
  editorialDesk?: string | undefined;
6592
6605
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
6593
6606
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
6607
+ byline?: string | undefined;
6594
6608
  alternativeTitles?: {
6595
6609
  promotionalTitle: string;
6596
6610
  } | undefined;
@@ -6701,7 +6715,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
6701
6715
  theme: "special-report" | "extra" | "basic" | "extra-wide";
6702
6716
  }>;
6703
6717
  transcript: import("zod").ZodOptional<import("zod").ZodString>;
6704
- }, "title" | "bodyXML" | "summary" | "alternativeTitles" | "contains" | "design">, {
6718
+ }, "title" | "byline" | "bodyXML" | "summary" | "alternativeTitles" | "contains" | "design">, {
6705
6719
  summary: import("zod").ZodOptional<import("zod").ZodObject<{
6706
6720
  bodyXML: import("zod").ZodString;
6707
6721
  }, "strip", import("zod").ZodTypeAny, {
@@ -6759,7 +6773,8 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
6759
6773
  }>>;
6760
6774
  publishedDate: import("zod").ZodString;
6761
6775
  firstPublishedDate: import("zod").ZodString;
6762
- publishReference: import("zod").ZodString;
6776
+ publishReference: import("zod").ZodOptional<import("zod").ZodString>;
6777
+ lastModified: import("zod").ZodString;
6763
6778
  realtime: import("zod").ZodBoolean;
6764
6779
  editorialDesk: import("zod").ZodOptional<import("zod").ZodString>;
6765
6780
  accessLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"premium">, import("zod").ZodLiteral<"subscribed">, import("zod").ZodLiteral<"registered">, import("zod").ZodLiteral<"free">]>>;
@@ -6817,7 +6832,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
6817
6832
  labelType: string;
6818
6833
  sequence: string;
6819
6834
  }>>;
6820
- }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments" | "tableOfContents">>, Pick<{
6835
+ }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments" | "tableOfContents">>, Pick<{
6821
6836
  mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
6822
6837
  id: import("zod").ZodString;
6823
6838
  type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
@@ -7994,7 +8009,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
7994
8009
  headshot?: string | undefined;
7995
8010
  }[];
7996
8011
  firstPublishedDate: string;
7997
- publishReference: string;
8012
+ lastModified: string;
7998
8013
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
7999
8014
  bodyXML: string;
8000
8015
  contains: {
@@ -8012,6 +8027,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
8012
8027
  exclusive: boolean;
8013
8028
  scoop: boolean;
8014
8029
  } | undefined;
8030
+ publishReference?: string | undefined;
8015
8031
  editorialDesk?: string | undefined;
8016
8032
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
8017
8033
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
@@ -8031,6 +8047,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
8031
8047
  labelType: string;
8032
8048
  sequence: string;
8033
8049
  } | undefined;
8050
+ byline?: string | undefined;
8034
8051
  summary?: {
8035
8052
  bodyXML: string;
8036
8053
  } | undefined;
@@ -8153,7 +8170,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
8153
8170
  headshot?: string | undefined;
8154
8171
  }[];
8155
8172
  firstPublishedDate: string;
8156
- publishReference: string;
8173
+ lastModified: string;
8157
8174
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
8158
8175
  bodyXML: string;
8159
8176
  contains: {
@@ -8171,6 +8188,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
8171
8188
  exclusive: boolean;
8172
8189
  scoop: boolean;
8173
8190
  } | undefined;
8191
+ publishReference?: string | undefined;
8174
8192
  editorialDesk?: string | undefined;
8175
8193
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
8176
8194
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
@@ -8190,6 +8208,7 @@ export declare const schemas: (contentType: LiteralUnionScalarValues<typeof Cont
8190
8208
  labelType: string;
8191
8209
  sequence: string;
8192
8210
  } | undefined;
8211
+ byline?: string | undefined;
8193
8212
  summary?: {
8194
8213
  bodyXML: string;
8195
8214
  } | undefined;
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+ import type { CapiPerson, Annotation, Image, ImageSet, Clip, ClipSet, MainImage, LeadImage } from './base-schema';
3
+ import { articleSchema } from './article';
4
+ import { placeholderSchema } from './placeholder';
5
+ import { liveBlogPackageSchema } from './live-blog-package';
6
+ import { audioSchema } from './audio';
7
+ import { videoSchema } from './video';
8
+ import { contentPackageSchema } from './content-package';
9
+ export type Article = z.infer<typeof articleSchema>;
10
+ type Placeholder = z.infer<typeof placeholderSchema>;
11
+ type LiveBlogPackage = z.infer<typeof liveBlogPackageSchema>;
12
+ type ContentPackage = z.infer<typeof contentPackageSchema>;
13
+ type Audio = z.infer<typeof audioSchema>;
14
+ type Video = z.infer<typeof videoSchema>;
15
+ export type CapiPerson = z.infer<typeof CapiPerson>;
16
+ export type Annotation = z.infer<typeof Annotation>;
17
+ export type Image = z.infer<typeof Image>;
18
+ export type LeadImage = z.infer<typeof LeadImage>;
19
+ export type ImageSet = z.infer<typeof ImageSet>;
20
+ export type MainImage = z.infer<typeof MainImage>;
21
+ export type Clip = z.infer<typeof Clip>;
22
+ export type ClipSet = z.infer<typeof ClipSet>;
23
+ export type ContentTypeSchemas = Article | Placeholder | LiveBlogPackage | ContentPackage | Audio | Video;
24
+ export {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=internal-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internal-content.js","sourceRoot":"","sources":["../../../../src/model/schemas/capi/internal-content.ts"],"names":[],"mappings":""}
@@ -93,7 +93,8 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<import("zod"
93
93
  }>>;
94
94
  publishedDate: import("zod").ZodString;
95
95
  firstPublishedDate: import("zod").ZodString;
96
- publishReference: import("zod").ZodString;
96
+ publishReference: import("zod").ZodOptional<import("zod").ZodString>;
97
+ lastModified: import("zod").ZodString;
97
98
  realtime: import("zod").ZodBoolean;
98
99
  editorialDesk: import("zod").ZodOptional<import("zod").ZodString>;
99
100
  accessLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"premium">, import("zod").ZodLiteral<"subscribed">, import("zod").ZodLiteral<"registered">, import("zod").ZodLiteral<"free">]>>;
@@ -151,7 +152,7 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<import("zod"
151
152
  labelType: string;
152
153
  sequence: string;
153
154
  }>>;
154
- }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments">>, Pick<{
155
+ }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments">>, Pick<{
155
156
  mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
156
157
  id: import("zod").ZodString;
157
158
  type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
@@ -1328,7 +1329,7 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<import("zod"
1328
1329
  headshot?: string | undefined;
1329
1330
  }[];
1330
1331
  firstPublishedDate: string;
1331
- publishReference: string;
1332
+ lastModified: string;
1332
1333
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1333
1334
  summary: {
1334
1335
  bodyXML: string;
@@ -1346,6 +1347,7 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<import("zod"
1346
1347
  exclusive: boolean;
1347
1348
  scoop: boolean;
1348
1349
  } | undefined;
1350
+ publishReference?: string | undefined;
1349
1351
  editorialDesk?: string | undefined;
1350
1352
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
1351
1353
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
@@ -1577,7 +1579,7 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<import("zod"
1577
1579
  headshot?: string | undefined;
1578
1580
  }[];
1579
1581
  firstPublishedDate: string;
1580
- publishReference: string;
1582
+ lastModified: string;
1581
1583
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1582
1584
  summary: {
1583
1585
  bodyXML: string;
@@ -1595,6 +1597,7 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<import("zod"
1595
1597
  exclusive: boolean;
1596
1598
  scoop: boolean;
1597
1599
  } | undefined;
1600
+ publishReference?: string | undefined;
1598
1601
  editorialDesk?: string | undefined;
1599
1602
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
1600
1603
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
@@ -20,6 +20,7 @@ const liveBlogPackageMetadataSchema = base_schema_1.baseMetadataSchema.pick({
20
20
  standout: true,
21
21
  publishedDate: true,
22
22
  firstPublishedDate: true,
23
+ lastModified: true,
23
24
  publishReference: true,
24
25
  accessLevel: true,
25
26
  editorialDesk: true,
@@ -1 +1 @@
1
- {"version":3,"file":"live-blog-package.js","sourceRoot":"","sources":["../../../../src/model/schemas/capi/live-blog-package.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,MAAM,4BAA4B,GAAG,+BAAiB,CAAC,IAAI,CAAC;IAC1D,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;IACb,iBAAiB,EAAE,IAAI;IACvB,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,IAAI;CAClB,CAAC,CAAA;AAEF,MAAM,6BAA6B,GAAG,gCAAkB,CAAC,IAAI,CAAC;IAC5D,EAAE,EAAE,IAAI;IACR,WAAW,EAAE,IAAI;IACjB,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,IAAI;IACrB,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,kBAAkB,EAAE,IAAI;IACxB,gBAAgB,EAAE,IAAI;IACtB,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;IACtB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;CACf,CAAC,CAAA;AAEF,MAAM,0BAA0B,GAAG,6BAAe,CAAC,IAAI,CAAC;IACtD,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,IAAI;CACb,CAAC,CAAA;AAEW,QAAA,qBAAqB,GAAG,4BAA4B;KAC9D,KAAK,CAAC,6BAA6B,CAAC;KACpC,KAAK,CAAC,0BAA0B,CAAC,CAAA"}
1
+ {"version":3,"file":"live-blog-package.js","sourceRoot":"","sources":["../../../../src/model/schemas/capi/live-blog-package.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,MAAM,4BAA4B,GAAG,+BAAiB,CAAC,IAAI,CAAC;IAC1D,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;IACb,iBAAiB,EAAE,IAAI;IACvB,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,IAAI;CAClB,CAAC,CAAA;AAEF,MAAM,6BAA6B,GAAG,gCAAkB,CAAC,IAAI,CAAC;IAC5D,EAAE,EAAE,IAAI;IACR,WAAW,EAAE,IAAI;IACjB,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,IAAI;IACrB,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,kBAAkB,EAAE,IAAI;IACxB,YAAY,EAAE,IAAI;IAClB,gBAAgB,EAAE,IAAI;IACtB,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;IACtB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;CACf,CAAC,CAAA;AAEF,MAAM,0BAA0B,GAAG,6BAAe,CAAC,IAAI,CAAC;IACtD,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,IAAI;CACb,CAAC,CAAA;AAEW,QAAA,qBAAqB,GAAG,4BAA4B;KAC9D,KAAK,CAAC,6BAA6B,CAAC;KACpC,KAAK,CAAC,0BAA0B,CAAC,CAAA"}
@@ -93,7 +93,8 @@ export declare const placeholderSchema: import("zod").ZodObject<import("zod").ob
93
93
  }>>;
94
94
  publishedDate: import("zod").ZodString;
95
95
  firstPublishedDate: import("zod").ZodString;
96
- publishReference: import("zod").ZodString;
96
+ publishReference: import("zod").ZodOptional<import("zod").ZodString>;
97
+ lastModified: import("zod").ZodString;
97
98
  realtime: import("zod").ZodBoolean;
98
99
  editorialDesk: import("zod").ZodOptional<import("zod").ZodString>;
99
100
  accessLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"premium">, import("zod").ZodLiteral<"subscribed">, import("zod").ZodLiteral<"registered">, import("zod").ZodLiteral<"free">]>>;
@@ -151,7 +152,7 @@ export declare const placeholderSchema: import("zod").ZodObject<import("zod").ob
151
152
  labelType: string;
152
153
  sequence: string;
153
154
  }>>;
154
- }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments" | "containedIn">>, Pick<{
155
+ }, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments" | "containedIn">>, Pick<{
155
156
  mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
156
157
  id: import("zod").ZodString;
157
158
  type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
@@ -1328,7 +1329,7 @@ export declare const placeholderSchema: import("zod").ZodObject<import("zod").ob
1328
1329
  headshot?: string | undefined;
1329
1330
  }[];
1330
1331
  firstPublishedDate: string;
1331
- publishReference: string;
1332
+ lastModified: string;
1332
1333
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1333
1334
  bodyXML: string;
1334
1335
  type?: string | undefined;
@@ -1340,6 +1341,7 @@ export declare const placeholderSchema: import("zod").ZodObject<import("zod").ob
1340
1341
  exclusive: boolean;
1341
1342
  scoop: boolean;
1342
1343
  } | undefined;
1344
+ publishReference?: string | undefined;
1343
1345
  editorialDesk?: string | undefined;
1344
1346
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
1345
1347
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
@@ -1595,7 +1597,7 @@ export declare const placeholderSchema: import("zod").ZodObject<import("zod").ob
1595
1597
  headshot?: string | undefined;
1596
1598
  }[];
1597
1599
  firstPublishedDate: string;
1598
- publishReference: string;
1600
+ lastModified: string;
1599
1601
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1600
1602
  bodyXML: string;
1601
1603
  type?: string | undefined;
@@ -1607,6 +1609,7 @@ export declare const placeholderSchema: import("zod").ZodObject<import("zod").ob
1607
1609
  exclusive: boolean;
1608
1610
  scoop: boolean;
1609
1611
  } | undefined;
1612
+ publishReference?: string | undefined;
1610
1613
  editorialDesk?: string | undefined;
1611
1614
  accessLevel?: "premium" | "subscribed" | "registered" | "free" | undefined;
1612
1615
  canBeDistributed?: "yes" | "no" | "verify" | undefined;
@@ -20,6 +20,7 @@ const placeholderMetadataSchema = base_schema_1.baseMetadataSchema.pick({
20
20
  standout: true,
21
21
  publishedDate: true,
22
22
  firstPublishedDate: true,
23
+ lastModified: true,
23
24
  publishReference: true,
24
25
  accessLevel: true,
25
26
  editorialDesk: true,
@@ -1 +1 @@
1
- {"version":3,"file":"placeholder.js","sourceRoot":"","sources":["../../../../src/model/schemas/capi/placeholder.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,MAAM,wBAAwB,GAAG,+BAAiB,CAAC,IAAI,CAAC;IACtD,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;IACb,iBAAiB,EAAE,IAAI;IACvB,sBAAsB,EAAE,IAAI;CAC7B,CAAC,CAAA;AAEF,MAAM,yBAAyB,GAAG,gCAAkB,CAAC,IAAI,CAAC;IACxD,EAAE,EAAE,IAAI;IACR,WAAW,EAAE,IAAI;IACjB,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,IAAI;IACrB,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,kBAAkB,EAAE,IAAI;IACxB,gBAAgB,EAAE,IAAI;IACtB,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;IACtB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,IAAI;CAClB,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAAG,6BAAe,CAAC,IAAI,CAAC;IAClD,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,iBAAiB,EAAE,IAAI;IACvB,MAAM,EAAE,IAAI;CACb,CAAC,CAAA;AAEW,QAAA,iBAAiB,GAAG,wBAAwB;KACtD,KAAK,CAAC,yBAAyB,CAAC;KAChC,KAAK,CAAC,sBAAsB,CAAC,CAAA"}
1
+ {"version":3,"file":"placeholder.js","sourceRoot":"","sources":["../../../../src/model/schemas/capi/placeholder.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,MAAM,wBAAwB,GAAG,+BAAiB,CAAC,IAAI,CAAC;IACtD,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;IACb,iBAAiB,EAAE,IAAI;IACvB,sBAAsB,EAAE,IAAI;CAC7B,CAAC,CAAA;AAEF,MAAM,yBAAyB,GAAG,gCAAkB,CAAC,IAAI,CAAC;IACxD,EAAE,EAAE,IAAI;IACR,WAAW,EAAE,IAAI;IACjB,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,IAAI;IACrB,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,kBAAkB,EAAE,IAAI;IACxB,YAAY,EAAE,IAAI;IAClB,gBAAgB,EAAE,IAAI;IACtB,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;IACtB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,IAAI;CAClB,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAAG,6BAAe,CAAC,IAAI,CAAC;IAClD,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,iBAAiB,EAAE,IAAI;IACvB,MAAM,EAAE,IAAI;CACb,CAAC,CAAA;AAEW,QAAA,iBAAiB,GAAG,wBAAwB;KACtD,KAAK,CAAC,yBAAyB,CAAC;KAChC,KAAK,CAAC,sBAAsB,CAAC,CAAA"}