techne-sdk 0.14.0 → 0.15.1

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 (34) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/README.md +7 -4
  3. package/dist/auth/index.js +3 -4
  4. package/dist/catalog/catalog.gen.d.ts +35 -29
  5. package/dist/catalog/catalog.gen.js +560 -76
  6. package/dist/generated/index.d.ts +84 -0
  7. package/dist/generated/index.js +108 -0
  8. package/dist/generated/lexicons.d.ts +224 -32
  9. package/dist/generated/lexicons.js +121 -15
  10. package/dist/generated/nsid.d.ts +9 -0
  11. package/dist/generated/nsid.js +9 -0
  12. package/dist/generated/nsid.json +9 -0
  13. package/dist/generated/records.d.ts +96 -90
  14. package/dist/generated/types/pub/techne/draft/beacon.d.ts +2 -0
  15. package/dist/generated/types/pub/techne/draft/derivation.d.ts +1 -1
  16. package/dist/generated/types/pub/techne/draft/evaluation.d.ts +3 -1
  17. package/dist/generated/types/pub/techne/draft/follow.d.ts +14 -0
  18. package/dist/generated/types/pub/techne/draft/follow.js +12 -0
  19. package/dist/generated/types/pub/techne/draft/notificationPref.d.ts +16 -0
  20. package/dist/generated/types/pub/techne/draft/notificationPref.js +12 -0
  21. package/dist/generated/types/pub/techne/draft/org.d.ts +2 -2
  22. package/dist/generated/types/pub/techne/draft/statement.d.ts +1 -1
  23. package/dist/generated/types/pub/techne/draft/unfollow.d.ts +14 -0
  24. package/dist/generated/types/pub/techne/draft/unfollow.js +12 -0
  25. package/dist/generated/types/pub/techne/draft/verdict.d.ts +2 -2
  26. package/dist/query/index.d.ts +3 -2
  27. package/dist/session/phone.d.ts +7 -6
  28. package/dist/session/phone.js +7 -6
  29. package/dist/session/relay.d.ts +1 -1
  30. package/dist/session/relay.js +1 -1
  31. package/dist/sign-in/index.js +7 -11
  32. package/dist/wasm/techne-wasm.gen.js +1 -1
  33. package/dist/wasm/techne-wasm2js.gen.js +12317 -12317
  34. package/package.json +1 -1
@@ -48,6 +48,7 @@ import * as PubTechneDraftEventDetail from './types/pub/techne/draft/event/detai
48
48
  import * as PubTechneDraftEventListing from './types/pub/techne/draft/event/listing.js';
49
49
  import * as PubTechneDraftFeedRecipe from './types/pub/techne/draft/feed/recipe.js';
50
50
  import * as PubTechneDraftFinancials from './types/pub/techne/draft/financials.js';
51
+ import * as PubTechneDraftFollow from './types/pub/techne/draft/follow.js';
51
52
  import * as PubTechneDraftGeo from './types/pub/techne/draft/geo.js';
52
53
  import * as PubTechneDraftHeldAt from './types/pub/techne/draft/heldAt.js';
53
54
  import * as PubTechneDraftIdentityAccountsForPhones from './types/pub/techne/draft/identity/accountsForPhones.js';
@@ -85,6 +86,7 @@ import * as PubTechneDraftInvite from './types/pub/techne/draft/invite.js';
85
86
  import * as PubTechneDraftMarketAsk from './types/pub/techne/draft/market/ask.js';
86
87
  import * as PubTechneDraftMarketOffer from './types/pub/techne/draft/market/offer.js';
87
88
  import * as PubTechneDraftMembership from './types/pub/techne/draft/membership.js';
89
+ import * as PubTechneDraftNotificationPref from './types/pub/techne/draft/notificationPref.js';
88
90
  import * as PubTechneDraftNotificationState from './types/pub/techne/draft/notificationState.js';
89
91
  import * as PubTechneDraftOperator from './types/pub/techne/draft/operator.js';
90
92
  import * as PubTechneDraftOrg from './types/pub/techne/draft/org.js';
@@ -139,6 +141,7 @@ import * as PubTechneDraftSubjectPrefs from './types/pub/techne/draft/subjectPre
139
141
  import * as PubTechneDraftSummary from './types/pub/techne/draft/summary.js';
140
142
  import * as PubTechneDraftSyncIndexRecord from './types/pub/techne/draft/sync/indexRecord.js';
141
143
  import * as PubTechneDraftTagFeedback from './types/pub/techne/draft/tagFeedback.js';
144
+ import * as PubTechneDraftUnfollow from './types/pub/techne/draft/unfollow.js';
142
145
  import * as PubTechneDraftVerdict from './types/pub/techne/draft/verdict.js';
143
146
  import * as PubTechneDraftVerification from './types/pub/techne/draft/verification.js';
144
147
  import * as PubTechneDraftWeeklyCheckIn from './types/pub/techne/draft/weeklyCheckIn.js';
@@ -219,6 +222,7 @@ export * as PubTechneDraftEventDetail from './types/pub/techne/draft/event/detai
219
222
  export * as PubTechneDraftEventListing from './types/pub/techne/draft/event/listing.js';
220
223
  export * as PubTechneDraftFeedRecipe from './types/pub/techne/draft/feed/recipe.js';
221
224
  export * as PubTechneDraftFinancials from './types/pub/techne/draft/financials.js';
225
+ export * as PubTechneDraftFollow from './types/pub/techne/draft/follow.js';
222
226
  export * as PubTechneDraftGeo from './types/pub/techne/draft/geo.js';
223
227
  export * as PubTechneDraftHeldAt from './types/pub/techne/draft/heldAt.js';
224
228
  export * as PubTechneDraftIdentityAccountsForPhones from './types/pub/techne/draft/identity/accountsForPhones.js';
@@ -258,6 +262,7 @@ export * as PubTechneDraftLocationEntry from './types/pub/techne/draft/locationE
258
262
  export * as PubTechneDraftMarketAsk from './types/pub/techne/draft/market/ask.js';
259
263
  export * as PubTechneDraftMarketOffer from './types/pub/techne/draft/market/offer.js';
260
264
  export * as PubTechneDraftMembership from './types/pub/techne/draft/membership.js';
265
+ export * as PubTechneDraftNotificationPref from './types/pub/techne/draft/notificationPref.js';
261
266
  export * as PubTechneDraftNotificationState from './types/pub/techne/draft/notificationState.js';
262
267
  export * as PubTechneDraftOperator from './types/pub/techne/draft/operator.js';
263
268
  export * as PubTechneDraftOrg from './types/pub/techne/draft/org.js';
@@ -313,6 +318,7 @@ export * as PubTechneDraftSubjectPrefs from './types/pub/techne/draft/subjectPre
313
318
  export * as PubTechneDraftSummary from './types/pub/techne/draft/summary.js';
314
319
  export * as PubTechneDraftSyncIndexRecord from './types/pub/techne/draft/sync/indexRecord.js';
315
320
  export * as PubTechneDraftTagFeedback from './types/pub/techne/draft/tagFeedback.js';
321
+ export * as PubTechneDraftUnfollow from './types/pub/techne/draft/unfollow.js';
316
322
  export * as PubTechneDraftVerdict from './types/pub/techne/draft/verdict.js';
317
323
  export * as PubTechneDraftVerification from './types/pub/techne/draft/verification.js';
318
324
  export * as PubTechneDraftWeeklyCheckIn from './types/pub/techne/draft/weeklyCheckIn.js';
@@ -567,12 +573,14 @@ export declare class PubTechneDraftNS {
567
573
  distinctFrom: PubTechneDraftDistinctFromRecord;
568
574
  evaluation: PubTechneDraftEvaluationRecord;
569
575
  financials: PubTechneDraftFinancialsRecord;
576
+ follow: PubTechneDraftFollowRecord;
570
577
  geo: PubTechneDraftGeoRecord;
571
578
  heldAt: PubTechneDraftHeldAtRecord;
572
579
  interest: PubTechneDraftInterestRecord;
573
580
  introProposal: PubTechneDraftIntroProposalRecord;
574
581
  invite: PubTechneDraftInviteRecord;
575
582
  membership: PubTechneDraftMembershipRecord;
583
+ notificationPref: PubTechneDraftNotificationPrefRecord;
576
584
  notificationState: PubTechneDraftNotificationStateRecord;
577
585
  operator: PubTechneDraftOperatorRecord;
578
586
  org: PubTechneDraftOrgRecord;
@@ -603,6 +611,7 @@ export declare class PubTechneDraftNS {
603
611
  subjectPrefs: PubTechneDraftSubjectPrefsRecord;
604
612
  summary: PubTechneDraftSummaryRecord;
605
613
  tagFeedback: PubTechneDraftTagFeedbackRecord;
614
+ unfollow: PubTechneDraftUnfollowRecord;
606
615
  verdict: PubTechneDraftVerdictRecord;
607
616
  verification: PubTechneDraftVerificationRecord;
608
617
  weeklyCheckIn: PubTechneDraftWeeklyCheckInRecord;
@@ -1727,6 +1736,31 @@ export declare class PubTechneDraftFinancialsRecord {
1727
1736
  }>;
1728
1737
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1729
1738
  }
1739
+ export declare class PubTechneDraftFollowRecord {
1740
+ _client: XrpcClient;
1741
+ constructor(client: XrpcClient);
1742
+ list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
1743
+ cursor?: string;
1744
+ records: {
1745
+ uri: string;
1746
+ value: PubTechneDraftFollow.Record;
1747
+ }[];
1748
+ }>;
1749
+ get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
1750
+ uri: string;
1751
+ cid: string;
1752
+ value: PubTechneDraftFollow.Record;
1753
+ }>;
1754
+ create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftFollow.Record>, headers?: Record<string, string>): Promise<{
1755
+ uri: string;
1756
+ cid: string;
1757
+ }>;
1758
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftFollow.Record>, headers?: Record<string, string>): Promise<{
1759
+ uri: string;
1760
+ cid: string;
1761
+ }>;
1762
+ delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1763
+ }
1730
1764
  export declare class PubTechneDraftGeoRecord {
1731
1765
  _client: XrpcClient;
1732
1766
  constructor(client: XrpcClient);
@@ -1877,6 +1911,31 @@ export declare class PubTechneDraftMembershipRecord {
1877
1911
  }>;
1878
1912
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1879
1913
  }
1914
+ export declare class PubTechneDraftNotificationPrefRecord {
1915
+ _client: XrpcClient;
1916
+ constructor(client: XrpcClient);
1917
+ list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
1918
+ cursor?: string;
1919
+ records: {
1920
+ uri: string;
1921
+ value: PubTechneDraftNotificationPref.Record;
1922
+ }[];
1923
+ }>;
1924
+ get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
1925
+ uri: string;
1926
+ cid: string;
1927
+ value: PubTechneDraftNotificationPref.Record;
1928
+ }>;
1929
+ create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftNotificationPref.Record>, headers?: Record<string, string>): Promise<{
1930
+ uri: string;
1931
+ cid: string;
1932
+ }>;
1933
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftNotificationPref.Record>, headers?: Record<string, string>): Promise<{
1934
+ uri: string;
1935
+ cid: string;
1936
+ }>;
1937
+ delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
1938
+ }
1880
1939
  export declare class PubTechneDraftNotificationStateRecord {
1881
1940
  _client: XrpcClient;
1882
1941
  constructor(client: XrpcClient);
@@ -2627,6 +2686,31 @@ export declare class PubTechneDraftTagFeedbackRecord {
2627
2686
  }>;
2628
2687
  delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
2629
2688
  }
2689
+ export declare class PubTechneDraftUnfollowRecord {
2690
+ _client: XrpcClient;
2691
+ constructor(client: XrpcClient);
2692
+ list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
2693
+ cursor?: string;
2694
+ records: {
2695
+ uri: string;
2696
+ value: PubTechneDraftUnfollow.Record;
2697
+ }[];
2698
+ }>;
2699
+ get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
2700
+ uri: string;
2701
+ cid: string;
2702
+ value: PubTechneDraftUnfollow.Record;
2703
+ }>;
2704
+ create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftUnfollow.Record>, headers?: Record<string, string>): Promise<{
2705
+ uri: string;
2706
+ cid: string;
2707
+ }>;
2708
+ put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftUnfollow.Record>, headers?: Record<string, string>): Promise<{
2709
+ uri: string;
2710
+ cid: string;
2711
+ }>;
2712
+ delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
2713
+ }
2630
2714
  export declare class PubTechneDraftVerdictRecord {
2631
2715
  _client: XrpcClient;
2632
2716
  constructor(client: XrpcClient);
@@ -132,6 +132,7 @@ export * as PubTechneDraftEventDetail from './types/pub/techne/draft/event/detai
132
132
  export * as PubTechneDraftEventListing from './types/pub/techne/draft/event/listing.js';
133
133
  export * as PubTechneDraftFeedRecipe from './types/pub/techne/draft/feed/recipe.js';
134
134
  export * as PubTechneDraftFinancials from './types/pub/techne/draft/financials.js';
135
+ export * as PubTechneDraftFollow from './types/pub/techne/draft/follow.js';
135
136
  export * as PubTechneDraftGeo from './types/pub/techne/draft/geo.js';
136
137
  export * as PubTechneDraftHeldAt from './types/pub/techne/draft/heldAt.js';
137
138
  export * as PubTechneDraftIdentityAccountsForPhones from './types/pub/techne/draft/identity/accountsForPhones.js';
@@ -171,6 +172,7 @@ export * as PubTechneDraftLocationEntry from './types/pub/techne/draft/locationE
171
172
  export * as PubTechneDraftMarketAsk from './types/pub/techne/draft/market/ask.js';
172
173
  export * as PubTechneDraftMarketOffer from './types/pub/techne/draft/market/offer.js';
173
174
  export * as PubTechneDraftMembership from './types/pub/techne/draft/membership.js';
175
+ export * as PubTechneDraftNotificationPref from './types/pub/techne/draft/notificationPref.js';
174
176
  export * as PubTechneDraftNotificationState from './types/pub/techne/draft/notificationState.js';
175
177
  export * as PubTechneDraftOperator from './types/pub/techne/draft/operator.js';
176
178
  export * as PubTechneDraftOrg from './types/pub/techne/draft/org.js';
@@ -226,6 +228,7 @@ export * as PubTechneDraftSubjectPrefs from './types/pub/techne/draft/subjectPre
226
228
  export * as PubTechneDraftSummary from './types/pub/techne/draft/summary.js';
227
229
  export * as PubTechneDraftSyncIndexRecord from './types/pub/techne/draft/sync/indexRecord.js';
228
230
  export * as PubTechneDraftTagFeedback from './types/pub/techne/draft/tagFeedback.js';
231
+ export * as PubTechneDraftUnfollow from './types/pub/techne/draft/unfollow.js';
229
232
  export * as PubTechneDraftVerdict from './types/pub/techne/draft/verdict.js';
230
233
  export * as PubTechneDraftVerification from './types/pub/techne/draft/verification.js';
231
234
  export * as PubTechneDraftWeeklyCheckIn from './types/pub/techne/draft/weeklyCheckIn.js';
@@ -604,12 +607,14 @@ export class PubTechneDraftNS {
604
607
  distinctFrom;
605
608
  evaluation;
606
609
  financials;
610
+ follow;
607
611
  geo;
608
612
  heldAt;
609
613
  interest;
610
614
  introProposal;
611
615
  invite;
612
616
  membership;
617
+ notificationPref;
613
618
  notificationState;
614
619
  operator;
615
620
  org;
@@ -640,6 +645,7 @@ export class PubTechneDraftNS {
640
645
  subjectPrefs;
641
646
  summary;
642
647
  tagFeedback;
648
+ unfollow;
643
649
  verdict;
644
650
  verification;
645
651
  weeklyCheckIn;
@@ -696,12 +702,14 @@ export class PubTechneDraftNS {
696
702
  this.distinctFrom = new PubTechneDraftDistinctFromRecord(client);
697
703
  this.evaluation = new PubTechneDraftEvaluationRecord(client);
698
704
  this.financials = new PubTechneDraftFinancialsRecord(client);
705
+ this.follow = new PubTechneDraftFollowRecord(client);
699
706
  this.geo = new PubTechneDraftGeoRecord(client);
700
707
  this.heldAt = new PubTechneDraftHeldAtRecord(client);
701
708
  this.interest = new PubTechneDraftInterestRecord(client);
702
709
  this.introProposal = new PubTechneDraftIntroProposalRecord(client);
703
710
  this.invite = new PubTechneDraftInviteRecord(client);
704
711
  this.membership = new PubTechneDraftMembershipRecord(client);
712
+ this.notificationPref = new PubTechneDraftNotificationPrefRecord(client);
705
713
  this.notificationState = new PubTechneDraftNotificationStateRecord(client);
706
714
  this.operator = new PubTechneDraftOperatorRecord(client);
707
715
  this.org = new PubTechneDraftOrgRecord(client);
@@ -732,6 +740,7 @@ export class PubTechneDraftNS {
732
740
  this.subjectPrefs = new PubTechneDraftSubjectPrefsRecord(client);
733
741
  this.summary = new PubTechneDraftSummaryRecord(client);
734
742
  this.tagFeedback = new PubTechneDraftTagFeedbackRecord(client);
743
+ this.unfollow = new PubTechneDraftUnfollowRecord(client);
735
744
  this.verdict = new PubTechneDraftVerdictRecord(client);
736
745
  this.verification = new PubTechneDraftVerificationRecord(client);
737
746
  this.weeklyCheckIn = new PubTechneDraftWeeklyCheckInRecord(client);
@@ -2533,6 +2542,39 @@ export class PubTechneDraftFinancialsRecord {
2533
2542
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.financials', ...params }, { headers });
2534
2543
  }
2535
2544
  }
2545
+ export class PubTechneDraftFollowRecord {
2546
+ _client;
2547
+ constructor(client) {
2548
+ this._client = client;
2549
+ }
2550
+ async list(params) {
2551
+ const res = await this._client.call('com.atproto.repo.listRecords', {
2552
+ collection: 'pub.techne.draft.follow',
2553
+ ...params,
2554
+ });
2555
+ return res.data;
2556
+ }
2557
+ async get(params) {
2558
+ const res = await this._client.call('com.atproto.repo.getRecord', {
2559
+ collection: 'pub.techne.draft.follow',
2560
+ ...params,
2561
+ });
2562
+ return res.data;
2563
+ }
2564
+ async create(params, record, headers) {
2565
+ const collection = 'pub.techne.draft.follow';
2566
+ const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
2567
+ return res.data;
2568
+ }
2569
+ async put(params, record, headers) {
2570
+ const collection = 'pub.techne.draft.follow';
2571
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
2572
+ return res.data;
2573
+ }
2574
+ async delete(params, headers) {
2575
+ await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.follow', ...params }, { headers });
2576
+ }
2577
+ }
2536
2578
  export class PubTechneDraftGeoRecord {
2537
2579
  _client;
2538
2580
  constructor(client) {
@@ -2736,6 +2778,39 @@ export class PubTechneDraftMembershipRecord {
2736
2778
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.membership', ...params }, { headers });
2737
2779
  }
2738
2780
  }
2781
+ export class PubTechneDraftNotificationPrefRecord {
2782
+ _client;
2783
+ constructor(client) {
2784
+ this._client = client;
2785
+ }
2786
+ async list(params) {
2787
+ const res = await this._client.call('com.atproto.repo.listRecords', {
2788
+ collection: 'pub.techne.draft.notificationPref',
2789
+ ...params,
2790
+ });
2791
+ return res.data;
2792
+ }
2793
+ async get(params) {
2794
+ const res = await this._client.call('com.atproto.repo.getRecord', {
2795
+ collection: 'pub.techne.draft.notificationPref',
2796
+ ...params,
2797
+ });
2798
+ return res.data;
2799
+ }
2800
+ async create(params, record, headers) {
2801
+ const collection = 'pub.techne.draft.notificationPref';
2802
+ const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
2803
+ return res.data;
2804
+ }
2805
+ async put(params, record, headers) {
2806
+ const collection = 'pub.techne.draft.notificationPref';
2807
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
2808
+ return res.data;
2809
+ }
2810
+ async delete(params, headers) {
2811
+ await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.notificationPref', ...params }, { headers });
2812
+ }
2813
+ }
2739
2814
  export class PubTechneDraftNotificationStateRecord {
2740
2815
  _client;
2741
2816
  constructor(client) {
@@ -3731,6 +3806,39 @@ export class PubTechneDraftTagFeedbackRecord {
3731
3806
  await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.tagFeedback', ...params }, { headers });
3732
3807
  }
3733
3808
  }
3809
+ export class PubTechneDraftUnfollowRecord {
3810
+ _client;
3811
+ constructor(client) {
3812
+ this._client = client;
3813
+ }
3814
+ async list(params) {
3815
+ const res = await this._client.call('com.atproto.repo.listRecords', {
3816
+ collection: 'pub.techne.draft.unfollow',
3817
+ ...params,
3818
+ });
3819
+ return res.data;
3820
+ }
3821
+ async get(params) {
3822
+ const res = await this._client.call('com.atproto.repo.getRecord', {
3823
+ collection: 'pub.techne.draft.unfollow',
3824
+ ...params,
3825
+ });
3826
+ return res.data;
3827
+ }
3828
+ async create(params, record, headers) {
3829
+ const collection = 'pub.techne.draft.unfollow';
3830
+ const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
3831
+ return res.data;
3832
+ }
3833
+ async put(params, record, headers) {
3834
+ const collection = 'pub.techne.draft.unfollow';
3835
+ const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
3836
+ return res.data;
3837
+ }
3838
+ async delete(params, headers) {
3839
+ await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.unfollow', ...params }, { headers });
3840
+ }
3841
+ }
3734
3842
  export class PubTechneDraftVerdictRecord {
3735
3843
  _client;
3736
3844
  constructor(client) {