techne-sdk 0.6.0 → 0.7.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 (37) hide show
  1. package/CHANGELOG.md +23 -5
  2. package/README.md +1 -1
  3. package/dist/auth/index.d.ts +2 -2
  4. package/dist/auth/index.js +5 -3
  5. package/dist/auth/placement.gen.d.ts +1 -1
  6. package/dist/auth/placement.gen.js +4 -0
  7. package/dist/catalog/catalog.gen.d.ts +2 -2
  8. package/dist/catalog/catalog.gen.js +1394 -130
  9. package/dist/generated/index.d.ts +129 -0
  10. package/dist/generated/index.js +170 -0
  11. package/dist/generated/lexicons.d.ts +954 -134
  12. package/dist/generated/lexicons.js +511 -61
  13. package/dist/generated/nsid.d.ts +16 -1
  14. package/dist/generated/nsid.js +16 -1
  15. package/dist/generated/nsid.json +16 -1
  16. package/dist/generated/records.d.ts +148 -140
  17. package/dist/generated/types/app/certified/defs.d.ts +20 -0
  18. package/dist/generated/types/app/certified/defs.js +18 -0
  19. package/dist/generated/types/app/certified/signature/defs.d.ts +29 -0
  20. package/dist/generated/types/app/certified/signature/defs.js +18 -0
  21. package/dist/generated/types/org/hypercerts/funding/receipt.d.ts +56 -0
  22. package/dist/generated/types/org/hypercerts/funding/receipt.js +19 -0
  23. package/dist/generated/types/pub/techne/draft/financials.d.ts +26 -0
  24. package/dist/generated/types/pub/techne/draft/financials.js +12 -0
  25. package/dist/generated/types/pub/techne/draft/identity/createCollective.d.ts +5 -0
  26. package/dist/generated/types/pub/techne/draft/identity/createCollective.js +7 -0
  27. package/dist/generated/types/pub/techne/draft/identity/defs.d.ts +1 -1
  28. package/dist/generated/types/pub/techne/draft/identity/manageMethods.d.ts +4 -1
  29. package/dist/generated/types/pub/techne/draft/org.d.ts +55 -25
  30. package/dist/generated/types/pub/techne/draft/org.js +12 -5
  31. package/dist/generated/types/pub/techne/draft/orgAtPlace.d.ts +17 -0
  32. package/dist/generated/types/pub/techne/draft/orgAtPlace.js +12 -0
  33. package/dist/generated/types/pub/techne/draft/statement.d.ts +19 -0
  34. package/dist/generated/types/pub/techne/draft/statement.js +12 -0
  35. package/dist/wasm/techne-wasm.gen.js +1 -1
  36. package/dist/wasm/techne-wasm2js.gen.js +23340 -23255
  37. package/package.json +1 -1
@@ -9,6 +9,7 @@ import * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord.js'
9
9
  import * as ComAtprotoServerGetServiceAuth from './types/com/atproto/server/getServiceAuth.js';
10
10
  import * as CommunityLexiconCalendarEvent from './types/community/lexicon/calendar/event.js';
11
11
  import * as CommunityLexiconCalendarRsvp from './types/community/lexicon/calendar/rsvp.js';
12
+ import * as OrgHypercertsFundingReceipt from './types/org/hypercerts/funding/receipt.js';
12
13
  import * as PubTechneDraftAccessRule from './types/pub/techne/draft/accessRule.js';
13
14
  import * as PubTechneDraftAccountLink from './types/pub/techne/draft/accountLink.js';
14
15
  import * as PubTechneDraftActorProfile from './types/pub/techne/draft/actor/profile.js';
@@ -44,6 +45,7 @@ import * as PubTechneDraftEventConfig from './types/pub/techne/draft/event/confi
44
45
  import * as PubTechneDraftEventDetail from './types/pub/techne/draft/event/detail.js';
45
46
  import * as PubTechneDraftEventListing from './types/pub/techne/draft/event/listing.js';
46
47
  import * as PubTechneDraftFeedRecipe from './types/pub/techne/draft/feed/recipe.js';
48
+ import * as PubTechneDraftFinancials from './types/pub/techne/draft/financials.js';
47
49
  import * as PubTechneDraftGeo from './types/pub/techne/draft/geo.js';
48
50
  import * as PubTechneDraftHeldAt from './types/pub/techne/draft/heldAt.js';
49
51
  import * as PubTechneDraftIdentityAccountsForPhones from './types/pub/techne/draft/identity/accountsForPhones.js';
@@ -82,6 +84,7 @@ import * as PubTechneDraftMembership from './types/pub/techne/draft/membership.j
82
84
  import * as PubTechneDraftNotificationState from './types/pub/techne/draft/notificationState.js';
83
85
  import * as PubTechneDraftOperator from './types/pub/techne/draft/operator.js';
84
86
  import * as PubTechneDraftOrg from './types/pub/techne/draft/org.js';
87
+ import * as PubTechneDraftOrgAtPlace from './types/pub/techne/draft/orgAtPlace.js';
85
88
  import * as PubTechneDraftPassage from './types/pub/techne/draft/passage.js';
86
89
  import * as PubTechneDraftPendingBeaconSpot from './types/pub/techne/draft/pendingBeaconSpot.js';
87
90
  import * as PubTechneDraftPermissionedDeleteRecord from './types/pub/techne/draft/permissioned/deleteRecord.js';
@@ -124,6 +127,7 @@ import * as PubTechneDraftShare from './types/pub/techne/draft/share.js';
124
127
  import * as PubTechneDraftSource from './types/pub/techne/draft/source.js';
125
128
  import * as PubTechneDraftSourceAttribution from './types/pub/techne/draft/sourceAttribution.js';
126
129
  import * as PubTechneDraftSourceRef from './types/pub/techne/draft/sourceRef.js';
130
+ import * as PubTechneDraftStatement from './types/pub/techne/draft/statement.js';
127
131
  import * as PubTechneDraftSubjectPrefs from './types/pub/techne/draft/subjectPrefs.js';
128
132
  import * as PubTechneDraftSummary from './types/pub/techne/draft/summary.js';
129
133
  import * as PubTechneDraftSyncIndexRecord from './types/pub/techne/draft/sync/indexRecord.js';
@@ -151,6 +155,8 @@ import * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteReco
151
155
  import * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords.js';
152
156
  import * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord.js';
153
157
  export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js';
158
+ export * as AppCertifiedDefs from './types/app/certified/defs.js';
159
+ export * as AppCertifiedSignatureDefs from './types/app/certified/signature/defs.js';
154
160
  export * as ComAtprotoAdminDefs from './types/com/atproto/admin/defs.js';
155
161
  export * as ComAtprotoLabelDefs from './types/com/atproto/label/defs.js';
156
162
  export * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport.js';
@@ -166,6 +172,7 @@ export * as CommunityLexiconLocationAddress from './types/community/lexicon/loca
166
172
  export * as CommunityLexiconLocationFsq from './types/community/lexicon/location/fsq.js';
167
173
  export * as CommunityLexiconLocationGeo from './types/community/lexicon/location/geo.js';
168
174
  export * as CommunityLexiconLocationHthree from './types/community/lexicon/location/hthree.js';
175
+ export * as OrgHypercertsFundingReceipt from './types/org/hypercerts/funding/receipt.js';
169
176
  export * as PubTechneDraftAccessRule from './types/pub/techne/draft/accessRule.js';
170
177
  export * as PubTechneDraftAccountLink from './types/pub/techne/draft/accountLink.js';
171
178
  export * as PubTechneDraftActorProfile from './types/pub/techne/draft/actor/profile.js';
@@ -201,6 +208,7 @@ export * as PubTechneDraftEventConfig from './types/pub/techne/draft/event/confi
201
208
  export * as PubTechneDraftEventDetail from './types/pub/techne/draft/event/detail.js';
202
209
  export * as PubTechneDraftEventListing from './types/pub/techne/draft/event/listing.js';
203
210
  export * as PubTechneDraftFeedRecipe from './types/pub/techne/draft/feed/recipe.js';
211
+ export * as PubTechneDraftFinancials from './types/pub/techne/draft/financials.js';
204
212
  export * as PubTechneDraftGeo from './types/pub/techne/draft/geo.js';
205
213
  export * as PubTechneDraftHeldAt from './types/pub/techne/draft/heldAt.js';
206
214
  export * as PubTechneDraftIdentityAccountsForPhones from './types/pub/techne/draft/identity/accountsForPhones.js';
@@ -240,6 +248,7 @@ export * as PubTechneDraftMembership from './types/pub/techne/draft/membership.j
240
248
  export * as PubTechneDraftNotificationState from './types/pub/techne/draft/notificationState.js';
241
249
  export * as PubTechneDraftOperator from './types/pub/techne/draft/operator.js';
242
250
  export * as PubTechneDraftOrg from './types/pub/techne/draft/org.js';
251
+ export * as PubTechneDraftOrgAtPlace from './types/pub/techne/draft/orgAtPlace.js';
243
252
  export * as PubTechneDraftPassage from './types/pub/techne/draft/passage.js';
244
253
  export * as PubTechneDraftPendingBeaconSpot from './types/pub/techne/draft/pendingBeaconSpot.js';
245
254
  export * as PubTechneDraftPermissionedDeleteRecord from './types/pub/techne/draft/permissioned/deleteRecord.js';
@@ -283,6 +292,7 @@ export * as PubTechneDraftShare from './types/pub/techne/draft/share.js';
283
292
  export * as PubTechneDraftSource from './types/pub/techne/draft/source.js';
284
293
  export * as PubTechneDraftSourceAttribution from './types/pub/techne/draft/sourceAttribution.js';
285
294
  export * as PubTechneDraftSourceRef from './types/pub/techne/draft/sourceRef.js';
295
+ export * as PubTechneDraftStatement from './types/pub/techne/draft/statement.js';
286
296
  export * as PubTechneDraftSubjectPrefs from './types/pub/techne/draft/subjectPrefs.js';
287
297
  export * as PubTechneDraftSummary from './types/pub/techne/draft/summary.js';
288
298
  export * as PubTechneDraftSyncIndexRecord from './types/pub/techne/draft/sync/indexRecord.js';
@@ -335,6 +345,7 @@ export declare class AtpBaseClient extends XrpcClient {
335
345
  app: AppNS;
336
346
  com: ComNS;
337
347
  community: CommunityNS;
348
+ org: OrgNS;
338
349
  pub: PubNS;
339
350
  social: SocialNS;
340
351
  constructor(options: FetchHandler | FetchHandlerOptions);
@@ -458,6 +469,46 @@ export declare class CommunityLexiconLocationNS {
458
469
  _client: XrpcClient;
459
470
  constructor(client: XrpcClient);
460
471
  }
472
+ export declare class OrgNS {
473
+ _client: XrpcClient;
474
+ hypercerts: OrgHypercertsNS;
475
+ constructor(client: XrpcClient);
476
+ }
477
+ export declare class OrgHypercertsNS {
478
+ _client: XrpcClient;
479
+ funding: OrgHypercertsFundingNS;
480
+ constructor(client: XrpcClient);
481
+ }
482
+ export declare class OrgHypercertsFundingNS {
483
+ _client: XrpcClient;
484
+ receipt: OrgHypercertsFundingReceiptRecord;
485
+ constructor(client: XrpcClient);
486
+ }
487
+ export declare class OrgHypercertsFundingReceiptRecord {
488
+ _client: XrpcClient;
489
+ constructor(client: XrpcClient);
490
+ list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
491
+ cursor?: string;
492
+ records: {
493
+ uri: string;
494
+ value: OrgHypercertsFundingReceipt.Record;
495
+ }[];
496
+ }>;
497
+ get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
498
+ uri: string;
499
+ cid: string;
500
+ value: OrgHypercertsFundingReceipt.Record;
501
+ }>;
502
+ create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<OrgHypercertsFundingReceipt.Record>, headers?: Record<string, string>): Promise<{
503
+ uri: string;
504
+ cid: string;
505
+ }>;
506
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<OrgHypercertsFundingReceipt.Record>, headers?: Record<string, string>): Promise<{
507
+ uri: string;
508
+ cid: string;
509
+ }>;
510
+ delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
511
+ }
461
512
  export declare class PubNS {
462
513
  _client: XrpcClient;
463
514
  techne: PubTechneNS;
@@ -496,6 +547,7 @@ export declare class PubTechneDraftNS {
496
547
  description: PubTechneDraftDescriptionRecord;
497
548
  distinctFrom: PubTechneDraftDistinctFromRecord;
498
549
  evaluation: PubTechneDraftEvaluationRecord;
550
+ financials: PubTechneDraftFinancialsRecord;
499
551
  geo: PubTechneDraftGeoRecord;
500
552
  heldAt: PubTechneDraftHeldAtRecord;
501
553
  interest: PubTechneDraftInterestRecord;
@@ -505,6 +557,7 @@ export declare class PubTechneDraftNS {
505
557
  notificationState: PubTechneDraftNotificationStateRecord;
506
558
  operator: PubTechneDraftOperatorRecord;
507
559
  org: PubTechneDraftOrgRecord;
560
+ orgAtPlace: PubTechneDraftOrgAtPlaceRecord;
508
561
  passage: PubTechneDraftPassageRecord;
509
562
  pendingBeaconSpot: PubTechneDraftPendingBeaconSpotRecord;
510
563
  place: PubTechneDraftPlaceRecord;
@@ -524,6 +577,7 @@ export declare class PubTechneDraftNS {
524
577
  source: PubTechneDraftSourceRecord;
525
578
  sourceAttribution: PubTechneDraftSourceAttributionRecord;
526
579
  sourceRef: PubTechneDraftSourceRefRecord;
580
+ statement: PubTechneDraftStatementRecord;
527
581
  subjectPrefs: PubTechneDraftSubjectPrefsRecord;
528
582
  summary: PubTechneDraftSummaryRecord;
529
583
  verdict: PubTechneDraftVerdictRecord;
@@ -1573,6 +1627,31 @@ export declare class PubTechneDraftEvaluationRecord {
1573
1627
  }>;
1574
1628
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1575
1629
  }
1630
+ export declare class PubTechneDraftFinancialsRecord {
1631
+ _client: XrpcClient;
1632
+ constructor(client: XrpcClient);
1633
+ list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
1634
+ cursor?: string;
1635
+ records: {
1636
+ uri: string;
1637
+ value: PubTechneDraftFinancials.Record;
1638
+ }[];
1639
+ }>;
1640
+ get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
1641
+ uri: string;
1642
+ cid: string;
1643
+ value: PubTechneDraftFinancials.Record;
1644
+ }>;
1645
+ create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftFinancials.Record>, headers?: Record<string, string>): Promise<{
1646
+ uri: string;
1647
+ cid: string;
1648
+ }>;
1649
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftFinancials.Record>, headers?: Record<string, string>): Promise<{
1650
+ uri: string;
1651
+ cid: string;
1652
+ }>;
1653
+ delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1654
+ }
1576
1655
  export declare class PubTechneDraftGeoRecord {
1577
1656
  _client: XrpcClient;
1578
1657
  constructor(client: XrpcClient);
@@ -1798,6 +1877,31 @@ export declare class PubTechneDraftOrgRecord {
1798
1877
  }>;
1799
1878
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1800
1879
  }
1880
+ export declare class PubTechneDraftOrgAtPlaceRecord {
1881
+ _client: XrpcClient;
1882
+ constructor(client: XrpcClient);
1883
+ list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
1884
+ cursor?: string;
1885
+ records: {
1886
+ uri: string;
1887
+ value: PubTechneDraftOrgAtPlace.Record;
1888
+ }[];
1889
+ }>;
1890
+ get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
1891
+ uri: string;
1892
+ cid: string;
1893
+ value: PubTechneDraftOrgAtPlace.Record;
1894
+ }>;
1895
+ create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftOrgAtPlace.Record>, headers?: Record<string, string>): Promise<{
1896
+ uri: string;
1897
+ cid: string;
1898
+ }>;
1899
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftOrgAtPlace.Record>, headers?: Record<string, string>): Promise<{
1900
+ uri: string;
1901
+ cid: string;
1902
+ }>;
1903
+ delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1904
+ }
1801
1905
  export declare class PubTechneDraftPassageRecord {
1802
1906
  _client: XrpcClient;
1803
1907
  constructor(client: XrpcClient);
@@ -2273,6 +2377,31 @@ export declare class PubTechneDraftSourceRefRecord {
2273
2377
  }>;
2274
2378
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
2275
2379
  }
2380
+ export declare class PubTechneDraftStatementRecord {
2381
+ _client: XrpcClient;
2382
+ constructor(client: XrpcClient);
2383
+ list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
2384
+ cursor?: string;
2385
+ records: {
2386
+ uri: string;
2387
+ value: PubTechneDraftStatement.Record;
2388
+ }[];
2389
+ }>;
2390
+ get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
2391
+ uri: string;
2392
+ cid: string;
2393
+ value: PubTechneDraftStatement.Record;
2394
+ }>;
2395
+ create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftStatement.Record>, headers?: Record<string, string>): Promise<{
2396
+ uri: string;
2397
+ cid: string;
2398
+ }>;
2399
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftStatement.Record>, headers?: Record<string, string>): Promise<{
2400
+ uri: string;
2401
+ cid: string;
2402
+ }>;
2403
+ delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
2404
+ }
2276
2405
  export declare class PubTechneDraftSubjectPrefsRecord {
2277
2406
  _client: XrpcClient;
2278
2407
  constructor(client: XrpcClient);
@@ -74,6 +74,8 @@ import * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createReco
74
74
  import * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord.js';
75
75
  import * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord.js';
76
76
  export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js';
77
+ export * as AppCertifiedDefs from './types/app/certified/defs.js';
78
+ export * as AppCertifiedSignatureDefs from './types/app/certified/signature/defs.js';
77
79
  export * as ComAtprotoAdminDefs from './types/com/atproto/admin/defs.js';
78
80
  export * as ComAtprotoLabelDefs from './types/com/atproto/label/defs.js';
79
81
  export * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport.js';
@@ -89,6 +91,7 @@ export * as CommunityLexiconLocationAddress from './types/community/lexicon/loca
89
91
  export * as CommunityLexiconLocationFsq from './types/community/lexicon/location/fsq.js';
90
92
  export * as CommunityLexiconLocationGeo from './types/community/lexicon/location/geo.js';
91
93
  export * as CommunityLexiconLocationHthree from './types/community/lexicon/location/hthree.js';
94
+ export * as OrgHypercertsFundingReceipt from './types/org/hypercerts/funding/receipt.js';
92
95
  export * as PubTechneDraftAccessRule from './types/pub/techne/draft/accessRule.js';
93
96
  export * as PubTechneDraftAccountLink from './types/pub/techne/draft/accountLink.js';
94
97
  export * as PubTechneDraftActorProfile from './types/pub/techne/draft/actor/profile.js';
@@ -124,6 +127,7 @@ export * as PubTechneDraftEventConfig from './types/pub/techne/draft/event/confi
124
127
  export * as PubTechneDraftEventDetail from './types/pub/techne/draft/event/detail.js';
125
128
  export * as PubTechneDraftEventListing from './types/pub/techne/draft/event/listing.js';
126
129
  export * as PubTechneDraftFeedRecipe from './types/pub/techne/draft/feed/recipe.js';
130
+ export * as PubTechneDraftFinancials from './types/pub/techne/draft/financials.js';
127
131
  export * as PubTechneDraftGeo from './types/pub/techne/draft/geo.js';
128
132
  export * as PubTechneDraftHeldAt from './types/pub/techne/draft/heldAt.js';
129
133
  export * as PubTechneDraftIdentityAccountsForPhones from './types/pub/techne/draft/identity/accountsForPhones.js';
@@ -163,6 +167,7 @@ export * as PubTechneDraftMembership from './types/pub/techne/draft/membership.j
163
167
  export * as PubTechneDraftNotificationState from './types/pub/techne/draft/notificationState.js';
164
168
  export * as PubTechneDraftOperator from './types/pub/techne/draft/operator.js';
165
169
  export * as PubTechneDraftOrg from './types/pub/techne/draft/org.js';
170
+ export * as PubTechneDraftOrgAtPlace from './types/pub/techne/draft/orgAtPlace.js';
166
171
  export * as PubTechneDraftPassage from './types/pub/techne/draft/passage.js';
167
172
  export * as PubTechneDraftPendingBeaconSpot from './types/pub/techne/draft/pendingBeaconSpot.js';
168
173
  export * as PubTechneDraftPermissionedDeleteRecord from './types/pub/techne/draft/permissioned/deleteRecord.js';
@@ -206,6 +211,7 @@ export * as PubTechneDraftShare from './types/pub/techne/draft/share.js';
206
211
  export * as PubTechneDraftSource from './types/pub/techne/draft/source.js';
207
212
  export * as PubTechneDraftSourceAttribution from './types/pub/techne/draft/sourceAttribution.js';
208
213
  export * as PubTechneDraftSourceRef from './types/pub/techne/draft/sourceRef.js';
214
+ export * as PubTechneDraftStatement from './types/pub/techne/draft/statement.js';
209
215
  export * as PubTechneDraftSubjectPrefs from './types/pub/techne/draft/subjectPrefs.js';
210
216
  export * as PubTechneDraftSummary from './types/pub/techne/draft/summary.js';
211
217
  export * as PubTechneDraftSyncIndexRecord from './types/pub/techne/draft/sync/indexRecord.js';
@@ -258,6 +264,7 @@ export class AtpBaseClient extends XrpcClient {
258
264
  app;
259
265
  com;
260
266
  community;
267
+ org;
261
268
  pub;
262
269
  social;
263
270
  constructor(options) {
@@ -265,6 +272,7 @@ export class AtpBaseClient extends XrpcClient {
265
272
  this.app = new AppNS(this);
266
273
  this.com = new ComNS(this);
267
274
  this.community = new CommunityNS(this);
275
+ this.org = new OrgNS(this);
268
276
  this.pub = new PubNS(this);
269
277
  this.social = new SocialNS(this);
270
278
  }
@@ -481,6 +489,63 @@ export class CommunityLexiconLocationNS {
481
489
  this._client = client;
482
490
  }
483
491
  }
492
+ export class OrgNS {
493
+ _client;
494
+ hypercerts;
495
+ constructor(client) {
496
+ this._client = client;
497
+ this.hypercerts = new OrgHypercertsNS(client);
498
+ }
499
+ }
500
+ export class OrgHypercertsNS {
501
+ _client;
502
+ funding;
503
+ constructor(client) {
504
+ this._client = client;
505
+ this.funding = new OrgHypercertsFundingNS(client);
506
+ }
507
+ }
508
+ export class OrgHypercertsFundingNS {
509
+ _client;
510
+ receipt;
511
+ constructor(client) {
512
+ this._client = client;
513
+ this.receipt = new OrgHypercertsFundingReceiptRecord(client);
514
+ }
515
+ }
516
+ export class OrgHypercertsFundingReceiptRecord {
517
+ _client;
518
+ constructor(client) {
519
+ this._client = client;
520
+ }
521
+ async list(params) {
522
+ const res = await this._client.call('com.atproto.repo.listRecords', {
523
+ collection: 'org.hypercerts.funding.receipt',
524
+ ...params,
525
+ });
526
+ return res.data;
527
+ }
528
+ async get(params) {
529
+ const res = await this._client.call('com.atproto.repo.getRecord', {
530
+ collection: 'org.hypercerts.funding.receipt',
531
+ ...params,
532
+ });
533
+ return res.data;
534
+ }
535
+ async create(params, record, headers) {
536
+ const collection = 'org.hypercerts.funding.receipt';
537
+ const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
538
+ return res.data;
539
+ }
540
+ async put(params, record, headers) {
541
+ const collection = 'org.hypercerts.funding.receipt';
542
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
543
+ return res.data;
544
+ }
545
+ async delete(params, headers) {
546
+ await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'org.hypercerts.funding.receipt', ...params }, { headers });
547
+ }
548
+ }
484
549
  export class PubNS {
485
550
  _client;
486
551
  techne;
@@ -525,6 +590,7 @@ export class PubTechneDraftNS {
525
590
  description;
526
591
  distinctFrom;
527
592
  evaluation;
593
+ financials;
528
594
  geo;
529
595
  heldAt;
530
596
  interest;
@@ -534,6 +600,7 @@ export class PubTechneDraftNS {
534
600
  notificationState;
535
601
  operator;
536
602
  org;
603
+ orgAtPlace;
537
604
  passage;
538
605
  pendingBeaconSpot;
539
606
  place;
@@ -553,6 +620,7 @@ export class PubTechneDraftNS {
553
620
  source;
554
621
  sourceAttribution;
555
622
  sourceRef;
623
+ statement;
556
624
  subjectPrefs;
557
625
  summary;
558
626
  verdict;
@@ -608,6 +676,7 @@ export class PubTechneDraftNS {
608
676
  this.description = new PubTechneDraftDescriptionRecord(client);
609
677
  this.distinctFrom = new PubTechneDraftDistinctFromRecord(client);
610
678
  this.evaluation = new PubTechneDraftEvaluationRecord(client);
679
+ this.financials = new PubTechneDraftFinancialsRecord(client);
611
680
  this.geo = new PubTechneDraftGeoRecord(client);
612
681
  this.heldAt = new PubTechneDraftHeldAtRecord(client);
613
682
  this.interest = new PubTechneDraftInterestRecord(client);
@@ -617,6 +686,7 @@ export class PubTechneDraftNS {
617
686
  this.notificationState = new PubTechneDraftNotificationStateRecord(client);
618
687
  this.operator = new PubTechneDraftOperatorRecord(client);
619
688
  this.org = new PubTechneDraftOrgRecord(client);
689
+ this.orgAtPlace = new PubTechneDraftOrgAtPlaceRecord(client);
620
690
  this.passage = new PubTechneDraftPassageRecord(client);
621
691
  this.pendingBeaconSpot = new PubTechneDraftPendingBeaconSpotRecord(client);
622
692
  this.place = new PubTechneDraftPlaceRecord(client);
@@ -636,6 +706,7 @@ export class PubTechneDraftNS {
636
706
  this.source = new PubTechneDraftSourceRecord(client);
637
707
  this.sourceAttribution = new PubTechneDraftSourceAttributionRecord(client);
638
708
  this.sourceRef = new PubTechneDraftSourceRefRecord(client);
709
+ this.statement = new PubTechneDraftStatementRecord(client);
639
710
  this.subjectPrefs = new PubTechneDraftSubjectPrefsRecord(client);
640
711
  this.summary = new PubTechneDraftSummaryRecord(client);
641
712
  this.verdict = new PubTechneDraftVerdictRecord(client);
@@ -2321,6 +2392,39 @@ export class PubTechneDraftEvaluationRecord {
2321
2392
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.evaluation', ...params }, { headers });
2322
2393
  }
2323
2394
  }
2395
+ export class PubTechneDraftFinancialsRecord {
2396
+ _client;
2397
+ constructor(client) {
2398
+ this._client = client;
2399
+ }
2400
+ async list(params) {
2401
+ const res = await this._client.call('com.atproto.repo.listRecords', {
2402
+ collection: 'pub.techne.draft.financials',
2403
+ ...params,
2404
+ });
2405
+ return res.data;
2406
+ }
2407
+ async get(params) {
2408
+ const res = await this._client.call('com.atproto.repo.getRecord', {
2409
+ collection: 'pub.techne.draft.financials',
2410
+ ...params,
2411
+ });
2412
+ return res.data;
2413
+ }
2414
+ async create(params, record, headers) {
2415
+ const collection = 'pub.techne.draft.financials';
2416
+ const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
2417
+ return res.data;
2418
+ }
2419
+ async put(params, record, headers) {
2420
+ const collection = 'pub.techne.draft.financials';
2421
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
2422
+ return res.data;
2423
+ }
2424
+ async delete(params, headers) {
2425
+ await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.financials', ...params }, { headers });
2426
+ }
2427
+ }
2324
2428
  export class PubTechneDraftGeoRecord {
2325
2429
  _client;
2326
2430
  constructor(client) {
@@ -2623,6 +2727,39 @@ export class PubTechneDraftOrgRecord {
2623
2727
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.org', ...params }, { headers });
2624
2728
  }
2625
2729
  }
2730
+ export class PubTechneDraftOrgAtPlaceRecord {
2731
+ _client;
2732
+ constructor(client) {
2733
+ this._client = client;
2734
+ }
2735
+ async list(params) {
2736
+ const res = await this._client.call('com.atproto.repo.listRecords', {
2737
+ collection: 'pub.techne.draft.orgAtPlace',
2738
+ ...params,
2739
+ });
2740
+ return res.data;
2741
+ }
2742
+ async get(params) {
2743
+ const res = await this._client.call('com.atproto.repo.getRecord', {
2744
+ collection: 'pub.techne.draft.orgAtPlace',
2745
+ ...params,
2746
+ });
2747
+ return res.data;
2748
+ }
2749
+ async create(params, record, headers) {
2750
+ const collection = 'pub.techne.draft.orgAtPlace';
2751
+ const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
2752
+ return res.data;
2753
+ }
2754
+ async put(params, record, headers) {
2755
+ const collection = 'pub.techne.draft.orgAtPlace';
2756
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
2757
+ return res.data;
2758
+ }
2759
+ async delete(params, headers) {
2760
+ await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.orgAtPlace', ...params }, { headers });
2761
+ }
2762
+ }
2626
2763
  export class PubTechneDraftPassageRecord {
2627
2764
  _client;
2628
2765
  constructor(client) {
@@ -3255,6 +3392,39 @@ export class PubTechneDraftSourceRefRecord {
3255
3392
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.sourceRef', ...params }, { headers });
3256
3393
  }
3257
3394
  }
3395
+ export class PubTechneDraftStatementRecord {
3396
+ _client;
3397
+ constructor(client) {
3398
+ this._client = client;
3399
+ }
3400
+ async list(params) {
3401
+ const res = await this._client.call('com.atproto.repo.listRecords', {
3402
+ collection: 'pub.techne.draft.statement',
3403
+ ...params,
3404
+ });
3405
+ return res.data;
3406
+ }
3407
+ async get(params) {
3408
+ const res = await this._client.call('com.atproto.repo.getRecord', {
3409
+ collection: 'pub.techne.draft.statement',
3410
+ ...params,
3411
+ });
3412
+ return res.data;
3413
+ }
3414
+ async create(params, record, headers) {
3415
+ const collection = 'pub.techne.draft.statement';
3416
+ const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
3417
+ return res.data;
3418
+ }
3419
+ async put(params, record, headers) {
3420
+ const collection = 'pub.techne.draft.statement';
3421
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
3422
+ return res.data;
3423
+ }
3424
+ async delete(params, headers) {
3425
+ await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.statement', ...params }, { headers });
3426
+ }
3427
+ }
3258
3428
  export class PubTechneDraftSubjectPrefsRecord {
3259
3429
  _client;
3260
3430
  constructor(client) {