@zilfu/sdk 0.2.19 → 0.2.21

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.
package/dist/index.cjs CHANGED
@@ -1076,22 +1076,6 @@ var Bio = class extends HeyApiClient {
1076
1076
  return this._blocks ??= new Blocks({ client: this.client });
1077
1077
  }
1078
1078
  };
1079
- var EmailPreferences = class extends HeyApiClient {
1080
- /**
1081
- * Update the user's per-type email preferences
1082
- */
1083
- update(options) {
1084
- return (options.client ?? this.client).put({
1085
- security: [{ scheme: "bearer", type: "http" }],
1086
- url: "/settings/email-preferences",
1087
- ...options,
1088
- headers: {
1089
- "Content-Type": "application/json",
1090
- ...options.headers
1091
- }
1092
- });
1093
- }
1094
- };
1095
1079
  var Health = class extends HeyApiClient {
1096
1080
  /**
1097
1081
  * Health check
@@ -1131,6 +1115,11 @@ var Media = class extends HeyApiClient {
1131
1115
  }
1132
1116
  /**
1133
1117
  * Remove a media asset from the space library
1118
+ *
1119
+ * Only library rows arrive here, and only the row is ever certain to go:
1120
+ * `Api\PostController::attachMedia` replicates a Media per post over the
1121
+ * same upload, so what the space sees as one asset is several rows deep by
1122
+ * the time it is deleted.
1134
1123
  */
1135
1124
  delete(options) {
1136
1125
  return (options.client ?? this.client).delete({
@@ -1590,10 +1579,6 @@ var ZilfuApi = class _ZilfuApi extends HeyApiClient {
1590
1579
  get bio() {
1591
1580
  return this._bio ??= new Bio({ client: this.client });
1592
1581
  }
1593
- _emailPreferences;
1594
- get emailPreferences() {
1595
- return this._emailPreferences ??= new EmailPreferences({ client: this.client });
1596
- }
1597
1582
  _health;
1598
1583
  get health() {
1599
1584
  return this._health ??= new Health({ client: this.client });