@burdenoff/sdk-libs 2026.627.3 → 2026.627.5

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 (41) hide show
  1. package/dist/modules/cosmicintersection/index.cjs +340 -0
  2. package/dist/modules/cosmicintersection/index.d.cts +450 -0
  3. package/dist/modules/cosmicintersection/index.d.ts +450 -0
  4. package/dist/modules/cosmicintersection/index.js +340 -0
  5. package/dist/modules/ecoimpacthub/index.cjs +350 -0
  6. package/dist/modules/ecoimpacthub/index.d.cts +478 -0
  7. package/dist/modules/ecoimpacthub/index.d.ts +478 -0
  8. package/dist/modules/ecoimpacthub/index.js +350 -0
  9. package/dist/modules/govcitizenhub/index.cjs +296 -0
  10. package/dist/modules/govcitizenhub/index.d.cts +349 -0
  11. package/dist/modules/govcitizenhub/index.d.ts +349 -0
  12. package/dist/modules/govcitizenhub/index.js +296 -0
  13. package/dist/modules/intelwatchtower/index.cjs +406 -0
  14. package/dist/modules/intelwatchtower/index.d.cts +486 -0
  15. package/dist/modules/intelwatchtower/index.d.ts +486 -0
  16. package/dist/modules/intelwatchtower/index.js +406 -0
  17. package/dist/modules/manufacturedops/index.cjs +335 -0
  18. package/dist/modules/manufacturedops/index.d.cts +466 -0
  19. package/dist/modules/manufacturedops/index.d.ts +466 -0
  20. package/dist/modules/manufacturedops/index.js +335 -0
  21. package/dist/modules/mybodyshield/index.cjs +259 -0
  22. package/dist/modules/mybodyshield/index.d.cts +455 -0
  23. package/dist/modules/mybodyshield/index.d.ts +455 -0
  24. package/dist/modules/mybodyshield/index.js +259 -0
  25. package/dist/modules/semanticfed/index.cjs +283 -0
  26. package/dist/modules/semanticfed/index.d.cts +404 -0
  27. package/dist/modules/semanticfed/index.d.ts +404 -0
  28. package/dist/modules/semanticfed/index.js +283 -0
  29. package/dist/modules/technospam/index.cjs +344 -0
  30. package/dist/modules/technospam/index.d.cts +436 -0
  31. package/dist/modules/technospam/index.d.ts +436 -0
  32. package/dist/modules/technospam/index.js +344 -0
  33. package/dist/modules/theculturepost/index.cjs +267 -0
  34. package/dist/modules/theculturepost/index.d.cts +344 -0
  35. package/dist/modules/theculturepost/index.d.ts +344 -0
  36. package/dist/modules/theculturepost/index.js +267 -0
  37. package/dist/modules/theglobalfuel/index.cjs +265 -0
  38. package/dist/modules/theglobalfuel/index.d.cts +395 -0
  39. package/dist/modules/theglobalfuel/index.d.ts +395 -0
  40. package/dist/modules/theglobalfuel/index.js +265 -0
  41. package/package.json +1 -1
@@ -0,0 +1,344 @@
1
+ import { S as SdkModule } from '../../module-JDbvil5h.cjs';
2
+ import 'graphql-request';
3
+
4
+ type TcpAccessLevel = 'COMMUNITY' | 'EMBARGOED' | 'PUBLIC' | 'RESTRICTED';
5
+ type TcpArchiveItemKind = 'AUDIO' | 'DOCUMENT' | 'MANUSCRIPT' | 'MAP' | 'OBJECT' | 'PHOTOGRAPH' | 'VIDEO';
6
+ type TcpModerationStatus = 'APPROVED' | 'FLAGGED' | 'PENDING' | 'REMOVED';
7
+ type TcpSourceType = 'ACADEMIC' | 'ARCHIVAL_RECORD' | 'ARTIFACT' | 'BOOK' | 'INTERVIEW' | 'PERIODICAL' | 'PRIMARY_DOCUMENT' | 'WEB';
8
+ type TcpStoryFormat = 'ARTICLE' | 'ESSAY' | 'EXPLAINER' | 'ORAL_HISTORY' | 'PHOTO_STORY' | 'TIMELINE';
9
+ type TcpStoryStatus = 'ARCHIVED' | 'DRAFT' | 'IDEA' | 'IN_REVIEW' | 'PUBLISHED';
10
+ type TcpTopicCategory = 'CULTURE_AND_IDENTITY' | 'FESTIVALS_AND_RITUALS' | 'HERITAGE_AND_ARCHIVES' | 'HISTORY' | 'MIGRATION_AND_DIASPORA' | 'ORAL_HISTORIES' | 'PHILOSOPHY_AND_THOUGHT' | 'RELIGION_AND_FAITH' | 'VALUES_AND_ETHICS';
11
+ type TcpVerificationStatus = 'CORROBORATED' | 'DISPUTED' | 'RETRACTED' | 'UNVERIFIED';
12
+ interface TcpFileRef {
13
+ id: string;
14
+ }
15
+ interface TcpStory {
16
+ id: string;
17
+ authorId?: string | null;
18
+ body?: string | null;
19
+ cover?: TcpFileRef | null;
20
+ editorId?: string | null;
21
+ format: TcpStoryFormat;
22
+ languages: string[];
23
+ publishedAt?: string | null;
24
+ readingMins: number;
25
+ slug: string;
26
+ status: TcpStoryStatus;
27
+ summary?: string | null;
28
+ tags: string[];
29
+ title: string;
30
+ topicId?: string | null;
31
+ workspaceId: string;
32
+ createdAt: string;
33
+ updatedAt: string;
34
+ citations?: TcpCitation[];
35
+ topic?: TcpTopic | null;
36
+ }
37
+ interface TcpTopic {
38
+ id: string;
39
+ category: TcpTopicCategory;
40
+ description?: string | null;
41
+ isFeatured: boolean;
42
+ name: string;
43
+ slug: string;
44
+ tradition?: string | null;
45
+ workspaceId: string;
46
+ createdAt: string;
47
+ updatedAt: string;
48
+ stories?: TcpStory[];
49
+ }
50
+ interface TcpCitation {
51
+ id: string;
52
+ author?: string | null;
53
+ excerpt?: string | null;
54
+ provenance?: string | null;
55
+ publishedOn?: string | null;
56
+ publisher?: string | null;
57
+ sourceFile?: TcpFileRef | null;
58
+ sourceType: TcpSourceType;
59
+ storyId: string;
60
+ title: string;
61
+ url?: string | null;
62
+ verification: TcpVerificationStatus;
63
+ workspaceId: string;
64
+ createdAt: string;
65
+ updatedAt: string;
66
+ story?: TcpStory | null;
67
+ }
68
+ interface TcpArchiveItem {
69
+ id: string;
70
+ accessLevel: TcpAccessLevel;
71
+ collectionId?: string | null;
72
+ datedAt?: string | null;
73
+ description?: string | null;
74
+ file?: TcpFileRef | null;
75
+ kind: TcpArchiveItemKind;
76
+ languages: string[];
77
+ origin?: string | null;
78
+ provenance?: string | null;
79
+ tags: string[];
80
+ title: string;
81
+ workspaceId: string;
82
+ createdAt: string;
83
+ updatedAt: string;
84
+ collection?: TcpCollection | null;
85
+ }
86
+ interface TcpCollection {
87
+ id: string;
88
+ cover?: TcpFileRef | null;
89
+ description?: string | null;
90
+ itemCount: number;
91
+ name: string;
92
+ slug: string;
93
+ tradition?: string | null;
94
+ workspaceId: string;
95
+ createdAt: string;
96
+ updatedAt: string;
97
+ items?: TcpArchiveItem[];
98
+ oralHistories?: TcpOralHistory[];
99
+ }
100
+ interface TcpOralHistory {
101
+ id: string;
102
+ accessLevel: TcpAccessLevel;
103
+ collectionId?: string | null;
104
+ durationSecs: number;
105
+ language?: string | null;
106
+ narratorName?: string | null;
107
+ recordedAt?: string | null;
108
+ recording?: TcpFileRef | null;
109
+ summary?: string | null;
110
+ title: string;
111
+ transcript?: string | null;
112
+ workspaceId: string;
113
+ createdAt: string;
114
+ updatedAt: string;
115
+ collection?: TcpCollection | null;
116
+ }
117
+ interface TcpDiscussion {
118
+ id: string;
119
+ isInterfaith: boolean;
120
+ isLocked: boolean;
121
+ openedById?: string | null;
122
+ prompt?: string | null;
123
+ replyCount: number;
124
+ status: TcpModerationStatus;
125
+ storyId?: string | null;
126
+ tags: string[];
127
+ title: string;
128
+ workspaceId: string;
129
+ createdAt: string;
130
+ updatedAt: string;
131
+ replies?: TcpReply[];
132
+ }
133
+ interface TcpReply {
134
+ id: string;
135
+ authorId?: string | null;
136
+ body: string;
137
+ discussionId: string;
138
+ perspective?: string | null;
139
+ status: TcpModerationStatus;
140
+ workspaceId: string;
141
+ createdAt: string;
142
+ updatedAt: string;
143
+ }
144
+ interface TcpPageInfo {
145
+ cursor?: string | null;
146
+ hasMore: boolean;
147
+ }
148
+ interface TcpStoryConnection {
149
+ items: TcpStory[];
150
+ pageInfo: TcpPageInfo;
151
+ }
152
+ interface TcpTopicConnection {
153
+ items: TcpTopic[];
154
+ pageInfo: TcpPageInfo;
155
+ }
156
+ interface TcpArchiveItemConnection {
157
+ items: TcpArchiveItem[];
158
+ pageInfo: TcpPageInfo;
159
+ }
160
+ interface TcpDiscussionConnection {
161
+ items: TcpDiscussion[];
162
+ pageInfo: TcpPageInfo;
163
+ }
164
+ interface TcpPaginationInput {
165
+ cursor?: string;
166
+ limit?: number;
167
+ offset?: number;
168
+ }
169
+ interface TcpCreateStoryInput {
170
+ title: string;
171
+ slug: string;
172
+ authorId?: string;
173
+ body?: string;
174
+ coverFileId?: string;
175
+ editorId?: string;
176
+ format?: TcpStoryFormat;
177
+ languages?: string[];
178
+ readingMins?: number;
179
+ summary?: string;
180
+ tags?: string[];
181
+ topicId?: string;
182
+ }
183
+ interface TcpUpdateStoryInput {
184
+ title?: string;
185
+ authorId?: string;
186
+ body?: string;
187
+ coverFileId?: string;
188
+ editorId?: string;
189
+ format?: TcpStoryFormat;
190
+ languages?: string[];
191
+ readingMins?: number;
192
+ summary?: string;
193
+ tags?: string[];
194
+ topicId?: string;
195
+ }
196
+ interface TcpCreateTopicInput {
197
+ name: string;
198
+ slug: string;
199
+ category?: TcpTopicCategory;
200
+ description?: string;
201
+ isFeatured?: boolean;
202
+ tradition?: string;
203
+ }
204
+ interface TcpUpdateTopicInput {
205
+ name?: string;
206
+ category?: TcpTopicCategory;
207
+ description?: string;
208
+ isFeatured?: boolean;
209
+ tradition?: string;
210
+ }
211
+ interface TcpCreateCitationInput {
212
+ storyId: string;
213
+ title: string;
214
+ author?: string;
215
+ excerpt?: string;
216
+ provenance?: string;
217
+ publishedOn?: string;
218
+ publisher?: string;
219
+ sourceFileId?: string;
220
+ sourceType?: TcpSourceType;
221
+ url?: string;
222
+ }
223
+ interface TcpCreateArchiveItemInput {
224
+ title: string;
225
+ accessLevel?: TcpAccessLevel;
226
+ collectionId?: string;
227
+ datedAt?: string;
228
+ description?: string;
229
+ fileId?: string;
230
+ kind?: TcpArchiveItemKind;
231
+ languages?: string[];
232
+ origin?: string;
233
+ provenance?: string;
234
+ tags?: string[];
235
+ }
236
+ interface TcpUpdateArchiveItemInput {
237
+ title?: string;
238
+ accessLevel?: TcpAccessLevel;
239
+ collectionId?: string;
240
+ datedAt?: string;
241
+ description?: string;
242
+ fileId?: string;
243
+ kind?: TcpArchiveItemKind;
244
+ languages?: string[];
245
+ origin?: string;
246
+ provenance?: string;
247
+ tags?: string[];
248
+ }
249
+ interface TcpCreateCollectionInput {
250
+ name: string;
251
+ slug: string;
252
+ coverFileId?: string;
253
+ description?: string;
254
+ tradition?: string;
255
+ }
256
+ interface TcpCreateOralHistoryInput {
257
+ title: string;
258
+ accessLevel?: TcpAccessLevel;
259
+ collectionId?: string;
260
+ durationSecs?: number;
261
+ language?: string;
262
+ narratorName?: string;
263
+ recordedAt?: string;
264
+ recordingFileId?: string;
265
+ summary?: string;
266
+ transcript?: string;
267
+ }
268
+ interface TcpCreateDiscussionInput {
269
+ title: string;
270
+ isInterfaith?: boolean;
271
+ prompt?: string;
272
+ storyId?: string;
273
+ tags?: string[];
274
+ }
275
+ interface TcpCreateReplyInput {
276
+ body: string;
277
+ discussionId: string;
278
+ perspective?: string;
279
+ }
280
+
281
+ interface TheculturepostStoriesApi {
282
+ get(id: string): Promise<TcpStory | null>;
283
+ list(pagination?: TcpPaginationInput, status?: TcpStoryStatus, topicId?: string): Promise<TcpStoryConnection>;
284
+ create(input: TcpCreateStoryInput): Promise<TcpStory>;
285
+ update(id: string, input: TcpUpdateStoryInput): Promise<TcpStory>;
286
+ transition(id: string, status: TcpStoryStatus): Promise<TcpStory>;
287
+ }
288
+ interface TheculturepostTopicsApi {
289
+ get(id: string): Promise<TcpTopic | null>;
290
+ list(category?: TcpTopicCategory, pagination?: TcpPaginationInput): Promise<TcpTopicConnection>;
291
+ create(input: TcpCreateTopicInput): Promise<TcpTopic>;
292
+ update(id: string, input: TcpUpdateTopicInput): Promise<TcpTopic>;
293
+ archive(id: string): Promise<boolean>;
294
+ }
295
+ interface TheculturepostCitationsApi {
296
+ list(storyId: string): Promise<TcpCitation[]>;
297
+ add(input: TcpCreateCitationInput): Promise<TcpCitation>;
298
+ verify(id: string, verification: TcpVerificationStatus): Promise<TcpCitation>;
299
+ }
300
+ interface TheculturepostArchiveItemsApi {
301
+ get(id: string): Promise<TcpArchiveItem | null>;
302
+ list(accessLevel?: TcpAccessLevel, collectionId?: string, kind?: TcpArchiveItemKind, pagination?: TcpPaginationInput): Promise<TcpArchiveItemConnection>;
303
+ create(input: TcpCreateArchiveItemInput): Promise<TcpArchiveItem>;
304
+ update(id: string, input: TcpUpdateArchiveItemInput): Promise<TcpArchiveItem>;
305
+ archive(id: string): Promise<boolean>;
306
+ }
307
+ interface TheculturepostCollectionsApi {
308
+ get(id: string): Promise<TcpCollection | null>;
309
+ list(pagination?: TcpPaginationInput): Promise<TcpCollection[]>;
310
+ create(input: TcpCreateCollectionInput): Promise<TcpCollection>;
311
+ }
312
+ interface TheculturepostOralHistoriesApi {
313
+ list(collectionId?: string): Promise<TcpOralHistory[]>;
314
+ record(input: TcpCreateOralHistoryInput): Promise<TcpOralHistory>;
315
+ }
316
+ interface TheculturepostDiscussionsApi {
317
+ get(id: string): Promise<TcpDiscussion | null>;
318
+ list(pagination?: TcpPaginationInput, status?: TcpModerationStatus, storyId?: string): Promise<TcpDiscussionConnection>;
319
+ open(input: TcpCreateDiscussionInput): Promise<TcpDiscussion>;
320
+ lock(id: string): Promise<TcpDiscussion>;
321
+ }
322
+ interface TheculturepostRepliesApi {
323
+ list(discussionId: string, status?: TcpModerationStatus): Promise<TcpReply[]>;
324
+ post(input: TcpCreateReplyInput): Promise<TcpReply>;
325
+ moderate(id: string, status: TcpModerationStatus): Promise<TcpReply>;
326
+ }
327
+ interface TheculturepostHealthApi {
328
+ check(): Promise<string>;
329
+ }
330
+ interface TheculturepostApi {
331
+ stories: TheculturepostStoriesApi;
332
+ topics: TheculturepostTopicsApi;
333
+ citations: TheculturepostCitationsApi;
334
+ archiveItems: TheculturepostArchiveItemsApi;
335
+ collections: TheculturepostCollectionsApi;
336
+ oralHistories: TheculturepostOralHistoriesApi;
337
+ discussions: TheculturepostDiscussionsApi;
338
+ replies: TheculturepostRepliesApi;
339
+ health: TheculturepostHealthApi;
340
+ }
341
+
342
+ declare const theculturepostModule: SdkModule<TheculturepostApi>;
343
+
344
+ export { type TcpAccessLevel, type TcpArchiveItem, type TcpArchiveItemConnection, type TcpArchiveItemKind, type TcpCitation, type TcpCollection, type TcpCreateArchiveItemInput, type TcpCreateCitationInput, type TcpCreateCollectionInput, type TcpCreateDiscussionInput, type TcpCreateOralHistoryInput, type TcpCreateReplyInput, type TcpCreateStoryInput, type TcpCreateTopicInput, type TcpDiscussion, type TcpDiscussionConnection, type TcpFileRef, type TcpModerationStatus, type TcpOralHistory, type TcpPageInfo, type TcpPaginationInput, type TcpReply, type TcpSourceType, type TcpStory, type TcpStoryConnection, type TcpStoryFormat, type TcpStoryStatus, type TcpTopic, type TcpTopicCategory, type TcpTopicConnection, type TcpUpdateArchiveItemInput, type TcpUpdateStoryInput, type TcpUpdateTopicInput, type TcpVerificationStatus, type TheculturepostApi, type TheculturepostArchiveItemsApi, type TheculturepostCitationsApi, type TheculturepostCollectionsApi, type TheculturepostDiscussionsApi, type TheculturepostHealthApi, type TheculturepostOralHistoriesApi, type TheculturepostRepliesApi, type TheculturepostStoriesApi, type TheculturepostTopicsApi, theculturepostModule as default };
@@ -0,0 +1,344 @@
1
+ import { S as SdkModule } from '../../module-JDbvil5h.js';
2
+ import 'graphql-request';
3
+
4
+ type TcpAccessLevel = 'COMMUNITY' | 'EMBARGOED' | 'PUBLIC' | 'RESTRICTED';
5
+ type TcpArchiveItemKind = 'AUDIO' | 'DOCUMENT' | 'MANUSCRIPT' | 'MAP' | 'OBJECT' | 'PHOTOGRAPH' | 'VIDEO';
6
+ type TcpModerationStatus = 'APPROVED' | 'FLAGGED' | 'PENDING' | 'REMOVED';
7
+ type TcpSourceType = 'ACADEMIC' | 'ARCHIVAL_RECORD' | 'ARTIFACT' | 'BOOK' | 'INTERVIEW' | 'PERIODICAL' | 'PRIMARY_DOCUMENT' | 'WEB';
8
+ type TcpStoryFormat = 'ARTICLE' | 'ESSAY' | 'EXPLAINER' | 'ORAL_HISTORY' | 'PHOTO_STORY' | 'TIMELINE';
9
+ type TcpStoryStatus = 'ARCHIVED' | 'DRAFT' | 'IDEA' | 'IN_REVIEW' | 'PUBLISHED';
10
+ type TcpTopicCategory = 'CULTURE_AND_IDENTITY' | 'FESTIVALS_AND_RITUALS' | 'HERITAGE_AND_ARCHIVES' | 'HISTORY' | 'MIGRATION_AND_DIASPORA' | 'ORAL_HISTORIES' | 'PHILOSOPHY_AND_THOUGHT' | 'RELIGION_AND_FAITH' | 'VALUES_AND_ETHICS';
11
+ type TcpVerificationStatus = 'CORROBORATED' | 'DISPUTED' | 'RETRACTED' | 'UNVERIFIED';
12
+ interface TcpFileRef {
13
+ id: string;
14
+ }
15
+ interface TcpStory {
16
+ id: string;
17
+ authorId?: string | null;
18
+ body?: string | null;
19
+ cover?: TcpFileRef | null;
20
+ editorId?: string | null;
21
+ format: TcpStoryFormat;
22
+ languages: string[];
23
+ publishedAt?: string | null;
24
+ readingMins: number;
25
+ slug: string;
26
+ status: TcpStoryStatus;
27
+ summary?: string | null;
28
+ tags: string[];
29
+ title: string;
30
+ topicId?: string | null;
31
+ workspaceId: string;
32
+ createdAt: string;
33
+ updatedAt: string;
34
+ citations?: TcpCitation[];
35
+ topic?: TcpTopic | null;
36
+ }
37
+ interface TcpTopic {
38
+ id: string;
39
+ category: TcpTopicCategory;
40
+ description?: string | null;
41
+ isFeatured: boolean;
42
+ name: string;
43
+ slug: string;
44
+ tradition?: string | null;
45
+ workspaceId: string;
46
+ createdAt: string;
47
+ updatedAt: string;
48
+ stories?: TcpStory[];
49
+ }
50
+ interface TcpCitation {
51
+ id: string;
52
+ author?: string | null;
53
+ excerpt?: string | null;
54
+ provenance?: string | null;
55
+ publishedOn?: string | null;
56
+ publisher?: string | null;
57
+ sourceFile?: TcpFileRef | null;
58
+ sourceType: TcpSourceType;
59
+ storyId: string;
60
+ title: string;
61
+ url?: string | null;
62
+ verification: TcpVerificationStatus;
63
+ workspaceId: string;
64
+ createdAt: string;
65
+ updatedAt: string;
66
+ story?: TcpStory | null;
67
+ }
68
+ interface TcpArchiveItem {
69
+ id: string;
70
+ accessLevel: TcpAccessLevel;
71
+ collectionId?: string | null;
72
+ datedAt?: string | null;
73
+ description?: string | null;
74
+ file?: TcpFileRef | null;
75
+ kind: TcpArchiveItemKind;
76
+ languages: string[];
77
+ origin?: string | null;
78
+ provenance?: string | null;
79
+ tags: string[];
80
+ title: string;
81
+ workspaceId: string;
82
+ createdAt: string;
83
+ updatedAt: string;
84
+ collection?: TcpCollection | null;
85
+ }
86
+ interface TcpCollection {
87
+ id: string;
88
+ cover?: TcpFileRef | null;
89
+ description?: string | null;
90
+ itemCount: number;
91
+ name: string;
92
+ slug: string;
93
+ tradition?: string | null;
94
+ workspaceId: string;
95
+ createdAt: string;
96
+ updatedAt: string;
97
+ items?: TcpArchiveItem[];
98
+ oralHistories?: TcpOralHistory[];
99
+ }
100
+ interface TcpOralHistory {
101
+ id: string;
102
+ accessLevel: TcpAccessLevel;
103
+ collectionId?: string | null;
104
+ durationSecs: number;
105
+ language?: string | null;
106
+ narratorName?: string | null;
107
+ recordedAt?: string | null;
108
+ recording?: TcpFileRef | null;
109
+ summary?: string | null;
110
+ title: string;
111
+ transcript?: string | null;
112
+ workspaceId: string;
113
+ createdAt: string;
114
+ updatedAt: string;
115
+ collection?: TcpCollection | null;
116
+ }
117
+ interface TcpDiscussion {
118
+ id: string;
119
+ isInterfaith: boolean;
120
+ isLocked: boolean;
121
+ openedById?: string | null;
122
+ prompt?: string | null;
123
+ replyCount: number;
124
+ status: TcpModerationStatus;
125
+ storyId?: string | null;
126
+ tags: string[];
127
+ title: string;
128
+ workspaceId: string;
129
+ createdAt: string;
130
+ updatedAt: string;
131
+ replies?: TcpReply[];
132
+ }
133
+ interface TcpReply {
134
+ id: string;
135
+ authorId?: string | null;
136
+ body: string;
137
+ discussionId: string;
138
+ perspective?: string | null;
139
+ status: TcpModerationStatus;
140
+ workspaceId: string;
141
+ createdAt: string;
142
+ updatedAt: string;
143
+ }
144
+ interface TcpPageInfo {
145
+ cursor?: string | null;
146
+ hasMore: boolean;
147
+ }
148
+ interface TcpStoryConnection {
149
+ items: TcpStory[];
150
+ pageInfo: TcpPageInfo;
151
+ }
152
+ interface TcpTopicConnection {
153
+ items: TcpTopic[];
154
+ pageInfo: TcpPageInfo;
155
+ }
156
+ interface TcpArchiveItemConnection {
157
+ items: TcpArchiveItem[];
158
+ pageInfo: TcpPageInfo;
159
+ }
160
+ interface TcpDiscussionConnection {
161
+ items: TcpDiscussion[];
162
+ pageInfo: TcpPageInfo;
163
+ }
164
+ interface TcpPaginationInput {
165
+ cursor?: string;
166
+ limit?: number;
167
+ offset?: number;
168
+ }
169
+ interface TcpCreateStoryInput {
170
+ title: string;
171
+ slug: string;
172
+ authorId?: string;
173
+ body?: string;
174
+ coverFileId?: string;
175
+ editorId?: string;
176
+ format?: TcpStoryFormat;
177
+ languages?: string[];
178
+ readingMins?: number;
179
+ summary?: string;
180
+ tags?: string[];
181
+ topicId?: string;
182
+ }
183
+ interface TcpUpdateStoryInput {
184
+ title?: string;
185
+ authorId?: string;
186
+ body?: string;
187
+ coverFileId?: string;
188
+ editorId?: string;
189
+ format?: TcpStoryFormat;
190
+ languages?: string[];
191
+ readingMins?: number;
192
+ summary?: string;
193
+ tags?: string[];
194
+ topicId?: string;
195
+ }
196
+ interface TcpCreateTopicInput {
197
+ name: string;
198
+ slug: string;
199
+ category?: TcpTopicCategory;
200
+ description?: string;
201
+ isFeatured?: boolean;
202
+ tradition?: string;
203
+ }
204
+ interface TcpUpdateTopicInput {
205
+ name?: string;
206
+ category?: TcpTopicCategory;
207
+ description?: string;
208
+ isFeatured?: boolean;
209
+ tradition?: string;
210
+ }
211
+ interface TcpCreateCitationInput {
212
+ storyId: string;
213
+ title: string;
214
+ author?: string;
215
+ excerpt?: string;
216
+ provenance?: string;
217
+ publishedOn?: string;
218
+ publisher?: string;
219
+ sourceFileId?: string;
220
+ sourceType?: TcpSourceType;
221
+ url?: string;
222
+ }
223
+ interface TcpCreateArchiveItemInput {
224
+ title: string;
225
+ accessLevel?: TcpAccessLevel;
226
+ collectionId?: string;
227
+ datedAt?: string;
228
+ description?: string;
229
+ fileId?: string;
230
+ kind?: TcpArchiveItemKind;
231
+ languages?: string[];
232
+ origin?: string;
233
+ provenance?: string;
234
+ tags?: string[];
235
+ }
236
+ interface TcpUpdateArchiveItemInput {
237
+ title?: string;
238
+ accessLevel?: TcpAccessLevel;
239
+ collectionId?: string;
240
+ datedAt?: string;
241
+ description?: string;
242
+ fileId?: string;
243
+ kind?: TcpArchiveItemKind;
244
+ languages?: string[];
245
+ origin?: string;
246
+ provenance?: string;
247
+ tags?: string[];
248
+ }
249
+ interface TcpCreateCollectionInput {
250
+ name: string;
251
+ slug: string;
252
+ coverFileId?: string;
253
+ description?: string;
254
+ tradition?: string;
255
+ }
256
+ interface TcpCreateOralHistoryInput {
257
+ title: string;
258
+ accessLevel?: TcpAccessLevel;
259
+ collectionId?: string;
260
+ durationSecs?: number;
261
+ language?: string;
262
+ narratorName?: string;
263
+ recordedAt?: string;
264
+ recordingFileId?: string;
265
+ summary?: string;
266
+ transcript?: string;
267
+ }
268
+ interface TcpCreateDiscussionInput {
269
+ title: string;
270
+ isInterfaith?: boolean;
271
+ prompt?: string;
272
+ storyId?: string;
273
+ tags?: string[];
274
+ }
275
+ interface TcpCreateReplyInput {
276
+ body: string;
277
+ discussionId: string;
278
+ perspective?: string;
279
+ }
280
+
281
+ interface TheculturepostStoriesApi {
282
+ get(id: string): Promise<TcpStory | null>;
283
+ list(pagination?: TcpPaginationInput, status?: TcpStoryStatus, topicId?: string): Promise<TcpStoryConnection>;
284
+ create(input: TcpCreateStoryInput): Promise<TcpStory>;
285
+ update(id: string, input: TcpUpdateStoryInput): Promise<TcpStory>;
286
+ transition(id: string, status: TcpStoryStatus): Promise<TcpStory>;
287
+ }
288
+ interface TheculturepostTopicsApi {
289
+ get(id: string): Promise<TcpTopic | null>;
290
+ list(category?: TcpTopicCategory, pagination?: TcpPaginationInput): Promise<TcpTopicConnection>;
291
+ create(input: TcpCreateTopicInput): Promise<TcpTopic>;
292
+ update(id: string, input: TcpUpdateTopicInput): Promise<TcpTopic>;
293
+ archive(id: string): Promise<boolean>;
294
+ }
295
+ interface TheculturepostCitationsApi {
296
+ list(storyId: string): Promise<TcpCitation[]>;
297
+ add(input: TcpCreateCitationInput): Promise<TcpCitation>;
298
+ verify(id: string, verification: TcpVerificationStatus): Promise<TcpCitation>;
299
+ }
300
+ interface TheculturepostArchiveItemsApi {
301
+ get(id: string): Promise<TcpArchiveItem | null>;
302
+ list(accessLevel?: TcpAccessLevel, collectionId?: string, kind?: TcpArchiveItemKind, pagination?: TcpPaginationInput): Promise<TcpArchiveItemConnection>;
303
+ create(input: TcpCreateArchiveItemInput): Promise<TcpArchiveItem>;
304
+ update(id: string, input: TcpUpdateArchiveItemInput): Promise<TcpArchiveItem>;
305
+ archive(id: string): Promise<boolean>;
306
+ }
307
+ interface TheculturepostCollectionsApi {
308
+ get(id: string): Promise<TcpCollection | null>;
309
+ list(pagination?: TcpPaginationInput): Promise<TcpCollection[]>;
310
+ create(input: TcpCreateCollectionInput): Promise<TcpCollection>;
311
+ }
312
+ interface TheculturepostOralHistoriesApi {
313
+ list(collectionId?: string): Promise<TcpOralHistory[]>;
314
+ record(input: TcpCreateOralHistoryInput): Promise<TcpOralHistory>;
315
+ }
316
+ interface TheculturepostDiscussionsApi {
317
+ get(id: string): Promise<TcpDiscussion | null>;
318
+ list(pagination?: TcpPaginationInput, status?: TcpModerationStatus, storyId?: string): Promise<TcpDiscussionConnection>;
319
+ open(input: TcpCreateDiscussionInput): Promise<TcpDiscussion>;
320
+ lock(id: string): Promise<TcpDiscussion>;
321
+ }
322
+ interface TheculturepostRepliesApi {
323
+ list(discussionId: string, status?: TcpModerationStatus): Promise<TcpReply[]>;
324
+ post(input: TcpCreateReplyInput): Promise<TcpReply>;
325
+ moderate(id: string, status: TcpModerationStatus): Promise<TcpReply>;
326
+ }
327
+ interface TheculturepostHealthApi {
328
+ check(): Promise<string>;
329
+ }
330
+ interface TheculturepostApi {
331
+ stories: TheculturepostStoriesApi;
332
+ topics: TheculturepostTopicsApi;
333
+ citations: TheculturepostCitationsApi;
334
+ archiveItems: TheculturepostArchiveItemsApi;
335
+ collections: TheculturepostCollectionsApi;
336
+ oralHistories: TheculturepostOralHistoriesApi;
337
+ discussions: TheculturepostDiscussionsApi;
338
+ replies: TheculturepostRepliesApi;
339
+ health: TheculturepostHealthApi;
340
+ }
341
+
342
+ declare const theculturepostModule: SdkModule<TheculturepostApi>;
343
+
344
+ export { type TcpAccessLevel, type TcpArchiveItem, type TcpArchiveItemConnection, type TcpArchiveItemKind, type TcpCitation, type TcpCollection, type TcpCreateArchiveItemInput, type TcpCreateCitationInput, type TcpCreateCollectionInput, type TcpCreateDiscussionInput, type TcpCreateOralHistoryInput, type TcpCreateReplyInput, type TcpCreateStoryInput, type TcpCreateTopicInput, type TcpDiscussion, type TcpDiscussionConnection, type TcpFileRef, type TcpModerationStatus, type TcpOralHistory, type TcpPageInfo, type TcpPaginationInput, type TcpReply, type TcpSourceType, type TcpStory, type TcpStoryConnection, type TcpStoryFormat, type TcpStoryStatus, type TcpTopic, type TcpTopicCategory, type TcpTopicConnection, type TcpUpdateArchiveItemInput, type TcpUpdateStoryInput, type TcpUpdateTopicInput, type TcpVerificationStatus, type TheculturepostApi, type TheculturepostArchiveItemsApi, type TheculturepostCitationsApi, type TheculturepostCollectionsApi, type TheculturepostDiscussionsApi, type TheculturepostHealthApi, type TheculturepostOralHistoriesApi, type TheculturepostRepliesApi, type TheculturepostStoriesApi, type TheculturepostTopicsApi, theculturepostModule as default };