@aurora-interactive/fankare-api-sdk 0.0.5 → 0.1.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 (179) hide show
  1. package/FUNCTIONS.md +0 -1
  2. package/README.md +28 -8
  3. package/esm/funcs/internal-asset-processing-callback.d.ts +17 -0
  4. package/esm/funcs/internal-asset-processing-callback.d.ts.map +1 -0
  5. package/esm/funcs/internal-asset-processing-callback.js +96 -0
  6. package/esm/funcs/internal-asset-processing-callback.js.map +1 -0
  7. package/esm/funcs/me-confirm-avatar-upload.d.ts +14 -0
  8. package/esm/funcs/me-confirm-avatar-upload.d.ts.map +1 -0
  9. package/esm/funcs/me-confirm-avatar-upload.js +78 -0
  10. package/esm/funcs/me-confirm-avatar-upload.js.map +1 -0
  11. package/esm/funcs/me-confirm-banner-upload.d.ts +14 -0
  12. package/esm/funcs/me-confirm-banner-upload.d.ts.map +1 -0
  13. package/esm/funcs/me-confirm-banner-upload.js +78 -0
  14. package/esm/funcs/me-confirm-banner-upload.js.map +1 -0
  15. package/esm/funcs/me-get-me.d.ts +14 -0
  16. package/esm/funcs/me-get-me.d.ts.map +1 -0
  17. package/esm/funcs/me-get-me.js +67 -0
  18. package/esm/funcs/me-get-me.js.map +1 -0
  19. package/esm/funcs/me-request-avatar-upload-url.d.ts +14 -0
  20. package/esm/funcs/me-request-avatar-upload-url.d.ts.map +1 -0
  21. package/esm/funcs/me-request-avatar-upload-url.js +78 -0
  22. package/esm/funcs/me-request-avatar-upload-url.js.map +1 -0
  23. package/esm/funcs/me-request-banner-upload-url.d.ts +14 -0
  24. package/esm/funcs/me-request-banner-upload-url.d.ts.map +1 -0
  25. package/esm/funcs/me-request-banner-upload-url.js +78 -0
  26. package/esm/funcs/me-request-banner-upload-url.js.map +1 -0
  27. package/esm/funcs/me-update-me.d.ts +14 -0
  28. package/esm/funcs/me-update-me.d.ts.map +1 -0
  29. package/esm/funcs/me-update-me.js +78 -0
  30. package/esm/funcs/me-update-me.js.map +1 -0
  31. package/esm/funcs/posts-create-post.d.ts +5 -3
  32. package/esm/funcs/posts-create-post.d.ts.map +1 -1
  33. package/esm/funcs/posts-create-post.js +5 -3
  34. package/esm/funcs/posts-create-post.js.map +1 -1
  35. package/esm/funcs/posts-delete-post.d.ts +13 -0
  36. package/esm/funcs/posts-delete-post.d.ts.map +1 -0
  37. package/esm/funcs/posts-delete-post.js +86 -0
  38. package/esm/funcs/posts-delete-post.js.map +1 -0
  39. package/esm/funcs/posts-get-post.d.ts +14 -0
  40. package/esm/funcs/posts-get-post.d.ts.map +1 -0
  41. package/esm/funcs/posts-get-post.js +87 -0
  42. package/esm/funcs/posts-get-post.js.map +1 -0
  43. package/esm/funcs/posts-update-post.d.ts +17 -0
  44. package/esm/funcs/posts-update-post.d.ts.map +1 -0
  45. package/esm/funcs/posts-update-post.js +92 -0
  46. package/esm/funcs/posts-update-post.js.map +1 -0
  47. package/esm/lib/config.d.ts +3 -3
  48. package/esm/lib/config.js +3 -3
  49. package/esm/models/asset-declaration.d.ts +52 -0
  50. package/esm/models/asset-declaration.d.ts.map +1 -0
  51. package/esm/models/asset-declaration.js +37 -0
  52. package/esm/models/asset-declaration.js.map +1 -0
  53. package/esm/models/asset-processing-callback-request.d.ts +39 -0
  54. package/esm/models/asset-processing-callback-request.d.ts.map +1 -0
  55. package/esm/models/asset-processing-callback-request.js +24 -0
  56. package/esm/models/asset-processing-callback-request.js.map +1 -0
  57. package/esm/models/create-post-request.d.ts +11 -22
  58. package/esm/models/create-post-request.d.ts.map +1 -1
  59. package/esm/models/create-post-request.js +3 -16
  60. package/esm/models/create-post-request.js.map +1 -1
  61. package/esm/models/create-post-response.d.ts +18 -0
  62. package/esm/models/create-post-response.d.ts.map +1 -0
  63. package/esm/models/create-post-response.js +17 -0
  64. package/esm/models/create-post-response.js.map +1 -0
  65. package/esm/models/index.d.ts +9 -0
  66. package/esm/models/index.d.ts.map +1 -1
  67. package/esm/models/index.js +9 -0
  68. package/esm/models/index.js.map +1 -1
  69. package/esm/models/media-asset.d.ts +11 -5
  70. package/esm/models/media-asset.d.ts.map +1 -1
  71. package/esm/models/media-asset.js +4 -5
  72. package/esm/models/media-asset.js.map +1 -1
  73. package/esm/models/operations/asset-processing-callback.d.ts +17 -0
  74. package/esm/models/operations/asset-processing-callback.d.ts.map +1 -0
  75. package/esm/models/operations/asset-processing-callback.js +16 -0
  76. package/esm/models/operations/asset-processing-callback.js.map +1 -0
  77. package/esm/models/operations/delete-post.d.ts +12 -0
  78. package/esm/models/operations/delete-post.d.ts.map +1 -0
  79. package/esm/models/operations/delete-post.js +13 -0
  80. package/esm/models/operations/delete-post.js.map +1 -0
  81. package/esm/models/operations/get-post.d.ts +12 -0
  82. package/esm/models/operations/get-post.d.ts.map +1 -0
  83. package/esm/models/operations/get-post.js +13 -0
  84. package/esm/models/operations/get-post.js.map +1 -0
  85. package/esm/models/operations/index.d.ts +4 -1
  86. package/esm/models/operations/index.d.ts.map +1 -1
  87. package/esm/models/operations/index.js +4 -1
  88. package/esm/models/operations/index.js.map +1 -1
  89. package/esm/models/operations/update-post.d.ts +15 -0
  90. package/esm/models/operations/update-post.d.ts.map +1 -0
  91. package/esm/models/operations/update-post.js +15 -0
  92. package/esm/models/operations/update-post.js.map +1 -0
  93. package/esm/models/post.d.ts +20 -1
  94. package/esm/models/post.d.ts.map +1 -1
  95. package/esm/models/post.js +13 -1
  96. package/esm/models/post.js.map +1 -1
  97. package/esm/models/profile-media-confirm-request.d.ts +15 -0
  98. package/esm/models/profile-media-confirm-request.d.ts.map +1 -0
  99. package/esm/models/profile-media-confirm-request.js +13 -0
  100. package/esm/models/profile-media-confirm-request.js.map +1 -0
  101. package/esm/models/profile-media-upload-request.d.ts +30 -0
  102. package/esm/models/profile-media-upload-request.d.ts.map +1 -0
  103. package/esm/models/profile-media-upload-request.js +23 -0
  104. package/esm/models/profile-media-upload-request.js.map +1 -0
  105. package/esm/models/profile-media-upload-response.d.ts +21 -0
  106. package/esm/models/profile-media-upload-response.d.ts.map +1 -0
  107. package/esm/models/profile-media-upload-response.js +17 -0
  108. package/esm/models/profile-media-upload-response.js.map +1 -0
  109. package/esm/models/register-request.d.ts +2 -2
  110. package/esm/models/register-request.d.ts.map +1 -1
  111. package/esm/models/register-request.js +1 -1
  112. package/esm/models/register-request.js.map +1 -1
  113. package/esm/models/update-post-request.d.ts +30 -0
  114. package/esm/models/update-post-request.d.ts.map +1 -0
  115. package/esm/models/update-post-request.js +22 -0
  116. package/esm/models/update-post-request.js.map +1 -0
  117. package/esm/models/update-profile-request.d.ts +17 -0
  118. package/esm/models/update-profile-request.d.ts.map +1 -0
  119. package/esm/models/update-profile-request.js +14 -0
  120. package/esm/models/update-profile-request.js.map +1 -0
  121. package/esm/models/upload-slot.d.ts +29 -0
  122. package/esm/models/upload-slot.d.ts.map +1 -0
  123. package/esm/models/upload-slot.js +20 -0
  124. package/esm/models/upload-slot.js.map +1 -0
  125. package/esm/sdk/internal.d.ts +12 -0
  126. package/esm/sdk/internal.d.ts.map +1 -0
  127. package/esm/sdk/internal.js +19 -0
  128. package/esm/sdk/internal.js.map +1 -0
  129. package/esm/sdk/me.d.ts +29 -0
  130. package/esm/sdk/me.d.ts.map +1 -0
  131. package/esm/sdk/me.js +51 -0
  132. package/esm/sdk/me.js.map +1 -0
  133. package/esm/sdk/posts.d.ts +20 -3
  134. package/esm/sdk/posts.d.ts.map +1 -1
  135. package/esm/sdk/posts.js +28 -1
  136. package/esm/sdk/posts.js.map +1 -1
  137. package/esm/sdk/sdk.d.ts +6 -0
  138. package/esm/sdk/sdk.d.ts.map +1 -1
  139. package/esm/sdk/sdk.js +10 -0
  140. package/esm/sdk/sdk.js.map +1 -1
  141. package/examples/authenticationRegisterUser.example.ts +0 -1
  142. package/jsr.json +1 -1
  143. package/package.json +1 -1
  144. package/src/funcs/internal-asset-processing-callback.ts +190 -0
  145. package/src/funcs/me-confirm-avatar-upload.ts +161 -0
  146. package/src/funcs/me-confirm-banner-upload.ts +161 -0
  147. package/src/funcs/me-get-me.ts +142 -0
  148. package/src/funcs/me-request-avatar-upload-url.ts +161 -0
  149. package/src/funcs/me-request-banner-upload-url.ts +161 -0
  150. package/src/funcs/me-update-me.ts +161 -0
  151. package/src/funcs/posts-create-post.ts +9 -7
  152. package/src/funcs/posts-delete-post.ts +170 -0
  153. package/src/funcs/posts-get-post.ts +171 -0
  154. package/src/funcs/posts-update-post.ts +179 -0
  155. package/src/lib/config.ts +3 -3
  156. package/src/models/asset-declaration.ts +84 -0
  157. package/src/models/asset-processing-callback-request.ts +68 -0
  158. package/src/models/create-post-request.ts +17 -39
  159. package/src/models/create-post-response.ts +41 -0
  160. package/src/models/index.ts +9 -0
  161. package/src/models/media-asset.ts +16 -8
  162. package/src/models/operations/asset-processing-callback.ts +40 -0
  163. package/src/models/operations/delete-post.ts +31 -0
  164. package/src/models/operations/get-post.ts +27 -0
  165. package/src/models/operations/index.ts +4 -1
  166. package/src/models/operations/update-post.ts +35 -0
  167. package/src/models/post.ts +27 -2
  168. package/src/models/profile-media-confirm-request.ts +34 -0
  169. package/src/models/profile-media-upload-request.ts +55 -0
  170. package/src/models/profile-media-upload-response.ts +45 -0
  171. package/src/models/register-request.ts +3 -3
  172. package/src/models/update-post-request.ts +56 -0
  173. package/src/models/update-profile-request.ts +37 -0
  174. package/src/models/upload-slot.ts +53 -0
  175. package/src/sdk/internal.ts +32 -0
  176. package/src/sdk/me.ts +98 -0
  177. package/src/sdk/posts.ts +55 -3
  178. package/src/sdk/sdk.ts +12 -0
  179. package/src/models/operations/create-post.ts +0 -62
@@ -0,0 +1,16 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: f56cb37b1a71
4
+ */
5
+ import * as z from "zod/v4-mini";
6
+ import * as models from "../index.js";
7
+ /** @internal */
8
+ export const AssetProcessingCallbackRequest$outboundSchema = z.object({
9
+ postId: z.int(),
10
+ assetId: z.int(),
11
+ body: models.AssetProcessingCallbackRequest$outboundSchema,
12
+ });
13
+ export function assetProcessingCallbackRequestToJSON(assetProcessingCallbackRequest) {
14
+ return JSON.stringify(AssetProcessingCallbackRequest$outboundSchema.parse(assetProcessingCallbackRequest));
15
+ }
16
+ //# sourceMappingURL=asset-processing-callback.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asset-processing-callback.js","sourceRoot":"","sources":["../../../src/models/operations/asset-processing-callback.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAetC,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAGtD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;IACf,OAAO,EAAE,CAAC,CAAC,GAAG,EAAE;IAChB,IAAI,EAAE,MAAM,CAAC,6CAA6C;CAC3D,CAAC,CAAC;AAEH,MAAM,UAAU,oCAAoC,CAClD,8BAA8D,EACtD;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,6CAA6C,CAAC,KAAK,CACjD,8BAA8B,CAC/B,CACF,CAAC;AAAA,CACH"}
@@ -0,0 +1,12 @@
1
+ import * as z from "zod/v4-mini";
2
+ export type DeletePostRequest = {
3
+ postId: number;
4
+ };
5
+ /** @internal */
6
+ export type DeletePostRequest$Outbound = {
7
+ postId: number;
8
+ };
9
+ /** @internal */
10
+ export declare const DeletePostRequest$outboundSchema: z.ZodMiniType<DeletePostRequest$Outbound, DeletePostRequest>;
11
+ export declare function deletePostRequestToJSON(deletePostRequest: DeletePostRequest): string;
12
+ //# sourceMappingURL=delete-post.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-post.d.ts","sourceRoot":"","sources":["../../../src/models/operations/delete-post.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,0BAA0B,EAC1B,iBAAiB,CAGjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR"}
@@ -0,0 +1,13 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 2d3c4c4d46f8
4
+ */
5
+ import * as z from "zod/v4-mini";
6
+ /** @internal */
7
+ export const DeletePostRequest$outboundSchema = z.object({
8
+ postId: z.int(),
9
+ });
10
+ export function deletePostRequestToJSON(deletePostRequest) {
11
+ return JSON.stringify(DeletePostRequest$outboundSchema.parse(deletePostRequest));
12
+ }
13
+ //# sourceMappingURL=delete-post.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-post.js","sourceRoot":"","sources":["../../../src/models/operations/delete-post.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAWjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAGzC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;CAChB,CAAC,CAAC;AAEH,MAAM,UAAU,uBAAuB,CACrC,iBAAoC,EAC5B;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,gCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AAAA,CACH"}
@@ -0,0 +1,12 @@
1
+ import * as z from "zod/v4-mini";
2
+ export type GetPostRequest = {
3
+ postId: number;
4
+ };
5
+ /** @internal */
6
+ export type GetPostRequest$Outbound = {
7
+ postId: number;
8
+ };
9
+ /** @internal */
10
+ export declare const GetPostRequest$outboundSchema: z.ZodMiniType<GetPostRequest$Outbound, GetPostRequest>;
11
+ export declare function getPostRequestToJSON(getPostRequest: GetPostRequest): string;
12
+ //# sourceMappingURL=get-post.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-post.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-post.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,WAAW,CACvD,uBAAuB,EACvB,cAAc,CAGd,CAAC;AAEH,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CAE3E"}
@@ -0,0 +1,13 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: e9168f4e2a0d
4
+ */
5
+ import * as z from "zod/v4-mini";
6
+ /** @internal */
7
+ export const GetPostRequest$outboundSchema = z.object({
8
+ postId: z.int(),
9
+ });
10
+ export function getPostRequestToJSON(getPostRequest) {
11
+ return JSON.stringify(GetPostRequest$outboundSchema.parse(getPostRequest));
12
+ }
13
+ //# sourceMappingURL=get-post.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-post.js","sourceRoot":"","sources":["../../../src/models/operations/get-post.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAWjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B,GAGtC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;CAChB,CAAC,CAAC;AAEH,MAAM,UAAU,oBAAoB,CAAC,cAA8B,EAAU;IAC3E,OAAO,IAAI,CAAC,SAAS,CAAC,6BAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAAA,CAC5E"}
@@ -1,11 +1,13 @@
1
1
  export * from "./add-collection-member.js";
2
+ export * from "./asset-processing-callback.js";
2
3
  export * from "./create-collection.js";
3
- export * from "./create-post.js";
4
+ export * from "./delete-post.js";
4
5
  export * from "./get-collection-feed.js";
5
6
  export * from "./get-collection-members.js";
6
7
  export * from "./get-creator-posts.js";
7
8
  export * from "./get-feed.js";
8
9
  export * from "./get-message-history.js";
10
+ export * from "./get-post.js";
9
11
  export * from "./get-user-profile.js";
10
12
  export * from "./login-user.js";
11
13
  export * from "./remove-collection-member.js";
@@ -13,4 +15,5 @@ export * from "./search-users.js";
13
15
  export * from "./send-message.js";
14
16
  export * from "./subscribe-to-user.js";
15
17
  export * from "./unsubscribe-from-user.js";
18
+ export * from "./update-post.js";
16
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/operations/index.ts"],"names":[],"mappings":"AAKA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/operations/index.ts"],"names":[],"mappings":"AAKA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC"}
@@ -3,13 +3,15 @@
3
3
  * @generated-id: 0d9ffaf774d2
4
4
  */
5
5
  export * from "./add-collection-member.js";
6
+ export * from "./asset-processing-callback.js";
6
7
  export * from "./create-collection.js";
7
- export * from "./create-post.js";
8
+ export * from "./delete-post.js";
8
9
  export * from "./get-collection-feed.js";
9
10
  export * from "./get-collection-members.js";
10
11
  export * from "./get-creator-posts.js";
11
12
  export * from "./get-feed.js";
12
13
  export * from "./get-message-history.js";
14
+ export * from "./get-post.js";
13
15
  export * from "./get-user-profile.js";
14
16
  export * from "./login-user.js";
15
17
  export * from "./remove-collection-member.js";
@@ -17,4 +19,5 @@ export * from "./search-users.js";
17
19
  export * from "./send-message.js";
18
20
  export * from "./subscribe-to-user.js";
19
21
  export * from "./unsubscribe-from-user.js";
22
+ export * from "./update-post.js";
20
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/operations/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/operations/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import * as z from "zod/v4-mini";
2
+ import * as models from "../index.js";
3
+ export type UpdatePostRequest = {
4
+ postId: number;
5
+ body: models.UpdatePostRequest;
6
+ };
7
+ /** @internal */
8
+ export type UpdatePostRequest$Outbound = {
9
+ postId: number;
10
+ body: models.UpdatePostRequest$Outbound;
11
+ };
12
+ /** @internal */
13
+ export declare const UpdatePostRequest$outboundSchema: z.ZodMiniType<UpdatePostRequest$Outbound, UpdatePostRequest>;
14
+ export declare function updatePostRequestToJSON(updatePostRequest: UpdatePostRequest): string;
15
+ //# sourceMappingURL=update-post.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-post.d.ts","sourceRoot":"","sources":["../../../src/models/operations/update-post.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC,iBAAiB,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC,0BAA0B,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,0BAA0B,EAC1B,iBAAiB,CAIjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR"}
@@ -0,0 +1,15 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: ca5a5edf4af7
4
+ */
5
+ import * as z from "zod/v4-mini";
6
+ import * as models from "../index.js";
7
+ /** @internal */
8
+ export const UpdatePostRequest$outboundSchema = z.object({
9
+ postId: z.int(),
10
+ body: models.UpdatePostRequest$outboundSchema,
11
+ });
12
+ export function updatePostRequestToJSON(updatePostRequest) {
13
+ return JSON.stringify(UpdatePostRequest$outboundSchema.parse(updatePostRequest));
14
+ }
15
+ //# sourceMappingURL=update-post.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-post.js","sourceRoot":"","sources":["../../../src/models/operations/update-post.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAatC,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAGzC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;IACf,IAAI,EAAE,MAAM,CAAC,gCAAgC;CAC9C,CAAC,CAAC;AAEH,MAAM,UAAU,uBAAuB,CACrC,iBAAoC,EAC5B;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,gCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AAAA,CACH"}
@@ -1,15 +1,34 @@
1
1
  import * as z from "zod/v4-mini";
2
+ import { OpenEnum } from "../types/enums.js";
2
3
  import { Result as SafeParseResult } from "../types/fp.js";
3
4
  import { SDKValidationError } from "./errors/sdk-validation-error.js";
4
5
  import { MediaAsset } from "./media-asset.js";
6
+ /**
7
+ * DRAFT posts are only visible to the owning creator. PUBLISHED posts appear in subscriber feeds.
8
+ */
9
+ export declare const PostStatus: {
10
+ readonly Draft: "DRAFT";
11
+ readonly Published: "PUBLISHED";
12
+ };
13
+ /**
14
+ * DRAFT posts are only visible to the owning creator. PUBLISHED posts appear in subscriber feeds.
15
+ */
16
+ export type PostStatus = OpenEnum<typeof PostStatus>;
5
17
  export type Post = {
6
18
  id?: number | undefined;
7
19
  userId?: number | undefined;
8
- caption?: string | undefined;
20
+ caption?: string | null | undefined;
21
+ /**
22
+ * DRAFT posts are only visible to the owning creator. PUBLISHED posts appear in subscriber feeds.
23
+ */
24
+ status?: PostStatus | undefined;
9
25
  assets?: Array<MediaAsset> | undefined;
10
26
  createdAt?: Date | undefined;
27
+ updatedAt?: Date | undefined;
11
28
  };
12
29
  /** @internal */
30
+ export declare const PostStatus$inboundSchema: z.ZodMiniType<PostStatus, unknown>;
31
+ /** @internal */
13
32
  export declare const Post$inboundSchema: z.ZodMiniType<Post, unknown>;
14
33
  export declare function postFromJSON(jsonString: string): SafeParseResult<Post, SDKValidationError>;
15
34
  //# sourceMappingURL=post.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../src/models/post.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,UAAU,EAA4B,MAAM,kBAAkB,CAAC;AAExE,MAAM,MAAM,IAAI,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC;IACvC,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,WAAW,CAAC,IAAI,EAAE,OAAO,CAM1D,CAAC;AAEH,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAM3C"}
1
+ {"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../src/models/post.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,UAAU,EAA4B,MAAM,kBAAkB,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,UAAU;;;CAGb,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAErD,MAAM,MAAM,IAAI,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC;IACvC,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC7B,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CACnC,CAAC;AAEtC,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,WAAW,CAAC,IAAI,EAAE,OAAO,CAQ1D,CAAC;AAEH,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAM3C"}
@@ -4,15 +4,27 @@
4
4
  */
5
5
  import * as z from "zod/v4-mini";
6
6
  import { safeParse } from "../lib/schemas.js";
7
+ import * as openEnums from "../types/enums.js";
7
8
  import * as types from "../types/primitives.js";
8
9
  import { MediaAsset$inboundSchema } from "./media-asset.js";
10
+ /**
11
+ * DRAFT posts are only visible to the owning creator. PUBLISHED posts appear in subscriber feeds.
12
+ */
13
+ export const PostStatus = {
14
+ Draft: "DRAFT",
15
+ Published: "PUBLISHED",
16
+ };
17
+ /** @internal */
18
+ export const PostStatus$inboundSchema = openEnums.inboundSchema(PostStatus);
9
19
  /** @internal */
10
20
  export const Post$inboundSchema = z.object({
11
21
  id: types.optional(types.number()),
12
22
  userId: types.optional(types.number()),
13
- caption: types.optional(types.string()),
23
+ caption: z.optional(z.nullable(types.string())),
24
+ status: types.optional(PostStatus$inboundSchema),
14
25
  assets: types.optional(z.array(MediaAsset$inboundSchema)),
15
26
  createdAt: types.optional(types.date()),
27
+ updatedAt: types.optional(types.date()),
16
28
  });
17
29
  export function postFromJSON(jsonString) {
18
30
  return safeParse(jsonString, (x) => Post$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Post' from JSON`);
@@ -1 +1 @@
1
- {"version":3,"file":"post.js","sourceRoot":"","sources":["../../src/models/post.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAEhD,OAAO,EAAc,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAUxE,gBAAgB;AAChB,MAAM,CAAC,MAAM,kBAAkB,GAAiC,CAAC,CAAC,MAAM,CAAC;IACvE,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAClC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACtC,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACvC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;IACzD,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;CACxC,CAAC,CAAC;AAEH,MAAM,UAAU,YAAY,CAC1B,UAAkB,EACyB;IAC3C,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,kCAAkC,CACnC,CAAC;AAAA,CACH"}
1
+ {"version":3,"file":"post.js","sourceRoot":"","sources":["../../src/models/post.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAEhD,OAAO,EAAc,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAExE;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;CACd,CAAC;AAmBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB,GACnC,SAAS,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;AAEtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,kBAAkB,GAAiC,CAAC,CAAC,MAAM,CAAC;IACvE,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAClC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACtC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IAC/C,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,wBAAwB,CAAC;IAChD,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;IACzD,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IACvC,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;CACxC,CAAC,CAAC;AAEH,MAAM,UAAU,YAAY,CAC1B,UAAkB,EACyB;IAC3C,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,kCAAkC,CACnC,CAAC;AAAA,CACH"}
@@ -0,0 +1,15 @@
1
+ import * as z from "zod/v4-mini";
2
+ export type ProfileMediaConfirmRequest = {
3
+ /**
4
+ * The mediaKey value returned by the corresponding upload-url response. The gateway verifies a HMAC signature embedded in the key to prevent clients from supplying arbitrary paths.
5
+ */
6
+ mediaKey: string;
7
+ };
8
+ /** @internal */
9
+ export type ProfileMediaConfirmRequest$Outbound = {
10
+ mediaKey: string;
11
+ };
12
+ /** @internal */
13
+ export declare const ProfileMediaConfirmRequest$outboundSchema: z.ZodMiniType<ProfileMediaConfirmRequest$Outbound, ProfileMediaConfirmRequest>;
14
+ export declare function profileMediaConfirmRequestToJSON(profileMediaConfirmRequest: ProfileMediaConfirmRequest): string;
15
+ //# sourceMappingURL=profile-media-confirm-request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile-media-confirm-request.d.ts","sourceRoot":"","sources":["../../src/models/profile-media-confirm-request.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,WAAW,CACnE,mCAAmC,EACnC,0BAA0B,CAG1B,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR"}
@@ -0,0 +1,13 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 798bece0ede8
4
+ */
5
+ import * as z from "zod/v4-mini";
6
+ /** @internal */
7
+ export const ProfileMediaConfirmRequest$outboundSchema = z.object({
8
+ mediaKey: z.string(),
9
+ });
10
+ export function profileMediaConfirmRequestToJSON(profileMediaConfirmRequest) {
11
+ return JSON.stringify(ProfileMediaConfirmRequest$outboundSchema.parse(profileMediaConfirmRequest));
12
+ }
13
+ //# sourceMappingURL=profile-media-confirm-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile-media-confirm-request.js","sourceRoot":"","sources":["../../src/models/profile-media-confirm-request.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAcjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,yCAAyC,GAGlD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;CACrB,CAAC,CAAC;AAEH,MAAM,UAAU,gCAAgC,CAC9C,0BAAsD,EAC9C;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AAAA,CACH"}
@@ -0,0 +1,30 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { ClosedEnum } from "../types/enums.js";
3
+ /**
4
+ * MIME type of the file to be uploaded. Must be an accepted image type.
5
+ */
6
+ export declare const ProfileMediaUploadRequestContentType: {
7
+ readonly ImageJpeg: "image/jpeg";
8
+ readonly ImagePng: "image/png";
9
+ readonly ImageWebp: "image/webp";
10
+ };
11
+ /**
12
+ * MIME type of the file to be uploaded. Must be an accepted image type.
13
+ */
14
+ export type ProfileMediaUploadRequestContentType = ClosedEnum<typeof ProfileMediaUploadRequestContentType>;
15
+ export type ProfileMediaUploadRequest = {
16
+ /**
17
+ * MIME type of the file to be uploaded. Must be an accepted image type.
18
+ */
19
+ contentType: ProfileMediaUploadRequestContentType;
20
+ };
21
+ /** @internal */
22
+ export declare const ProfileMediaUploadRequestContentType$outboundSchema: z.ZodMiniEnum<typeof ProfileMediaUploadRequestContentType>;
23
+ /** @internal */
24
+ export type ProfileMediaUploadRequest$Outbound = {
25
+ contentType: string;
26
+ };
27
+ /** @internal */
28
+ export declare const ProfileMediaUploadRequest$outboundSchema: z.ZodMiniType<ProfileMediaUploadRequest$Outbound, ProfileMediaUploadRequest>;
29
+ export declare function profileMediaUploadRequestToJSON(profileMediaUploadRequest: ProfileMediaUploadRequest): string;
30
+ //# sourceMappingURL=profile-media-upload-request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile-media-upload-request.d.ts","sourceRoot":"","sources":["../../src/models/profile-media-upload-request.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,oCAAoC;;;;CAIvC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,oCAAoC,GAAG,UAAU,CAC3D,OAAO,oCAAoC,CAC5C,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,WAAW,EAAE,oCAAoC,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,WAAW,CAC7E,OAAO,oCAAoC,CACG,CAAC;AAEjD,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,WAAW,CAClE,kCAAkC,EAClC,yBAAyB,CAGzB,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR"}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: a4c6edf5ee58
4
+ */
5
+ import * as z from "zod/v4-mini";
6
+ /**
7
+ * MIME type of the file to be uploaded. Must be an accepted image type.
8
+ */
9
+ export const ProfileMediaUploadRequestContentType = {
10
+ ImageJpeg: "image/jpeg",
11
+ ImagePng: "image/png",
12
+ ImageWebp: "image/webp",
13
+ };
14
+ /** @internal */
15
+ export const ProfileMediaUploadRequestContentType$outboundSchema = z.enum(ProfileMediaUploadRequestContentType);
16
+ /** @internal */
17
+ export const ProfileMediaUploadRequest$outboundSchema = z.object({
18
+ contentType: ProfileMediaUploadRequestContentType$outboundSchema,
19
+ });
20
+ export function profileMediaUploadRequestToJSON(profileMediaUploadRequest) {
21
+ return JSON.stringify(ProfileMediaUploadRequest$outboundSchema.parse(profileMediaUploadRequest));
22
+ }
23
+ //# sourceMappingURL=profile-media-upload-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile-media-upload-request.js","sourceRoot":"","sources":["../../src/models/profile-media-upload-request.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG;IAClD,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;CACf,CAAC;AAeX,gBAAgB;AAChB,MAAM,CAAC,MAAM,mDAAmD,GAE5D,CAAC,CAAC,IAAI,CAAC,oCAAoC,CAAC,CAAC;AAOjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAGjD,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,mDAAmD;CACjE,CAAC,CAAC;AAEH,MAAM,UAAU,+BAA+B,CAC7C,yBAAoD,EAC5C;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AAAA,CACH"}
@@ -0,0 +1,21 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { Result as SafeParseResult } from "../types/fp.js";
3
+ import { SDKValidationError } from "./errors/sdk-validation-error.js";
4
+ export type ProfileMediaUploadResponse = {
5
+ /**
6
+ * Presigned HTTP PUT URL targeting the SeaweedFS volume. The client must issue a single PUT request with the binary file body and the matching Content-Type header. The URL is valid for the duration indicated by expiresInSeconds.
7
+ */
8
+ uploadUrl?: string | undefined;
9
+ /**
10
+ * The canonical SeaweedFS object key that will be persisted to the user record upon confirm. The client does not need to parse or store this value; it is echoed back in the confirm request body.
11
+ */
12
+ mediaKey?: string | undefined;
13
+ /**
14
+ * Number of seconds from now until the presigned URL expires.
15
+ */
16
+ expiresInSeconds?: number | undefined;
17
+ };
18
+ /** @internal */
19
+ export declare const ProfileMediaUploadResponse$inboundSchema: z.ZodMiniType<ProfileMediaUploadResponse, unknown>;
20
+ export declare function profileMediaUploadResponseFromJSON(jsonString: string): SafeParseResult<ProfileMediaUploadResponse, SDKValidationError>;
21
+ //# sourceMappingURL=profile-media-upload-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile-media-upload-response.d.ts","sourceRoot":"","sources":["../../src/models/profile-media-upload-response.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,WAAW,CAClE,0BAA0B,EAC1B,OAAO,CAKP,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 1829b849d292
4
+ */
5
+ import * as z from "zod/v4-mini";
6
+ import { safeParse } from "../lib/schemas.js";
7
+ import * as types from "../types/primitives.js";
8
+ /** @internal */
9
+ export const ProfileMediaUploadResponse$inboundSchema = z.object({
10
+ uploadUrl: types.optional(types.string()),
11
+ mediaKey: types.optional(types.string()),
12
+ expiresInSeconds: types.optional(types.number()),
13
+ });
14
+ export function profileMediaUploadResponseFromJSON(jsonString) {
15
+ return safeParse(jsonString, (x) => ProfileMediaUploadResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProfileMediaUploadResponse' from JSON`);
16
+ }
17
+ //# sourceMappingURL=profile-media-upload-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile-media-upload-response.js","sourceRoot":"","sources":["../../src/models/profile-media-upload-response.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAkBhD,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAGjD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACzC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACxC,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CACjD,CAAC,CAAC;AAEH,MAAM,UAAU,kCAAkC,CAChD,UAAkB,EAC+C;IACjE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AAAA,CACH"}
@@ -4,7 +4,7 @@ export type RegisterRequest = {
4
4
  email: string;
5
5
  password: string;
6
6
  displayName: string;
7
- bio: string;
7
+ bio?: string | null | undefined;
8
8
  };
9
9
  /** @internal */
10
10
  export type RegisterRequest$Outbound = {
@@ -12,7 +12,7 @@ export type RegisterRequest$Outbound = {
12
12
  email: string;
13
13
  password: string;
14
14
  displayName: string;
15
- bio: string;
15
+ bio?: string | null | undefined;
16
16
  };
17
17
  /** @internal */
18
18
  export declare const RegisterRequest$outboundSchema: z.ZodMiniType<RegisterRequest$Outbound, RegisterRequest>;
@@ -1 +1 @@
1
- {"version":3,"file":"register-request.d.ts","sourceRoot":"","sources":["../../src/models/register-request.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,WAAW,CACxD,wBAAwB,EACxB,eAAe,CAOf,CAAC;AAEH,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,eAAe,GAC/B,MAAM,CAER"}
1
+ {"version":3,"file":"register-request.d.ts","sourceRoot":"","sources":["../../src/models/register-request.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,WAAW,CACxD,wBAAwB,EACxB,eAAe,CAOf,CAAC;AAEH,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,eAAe,GAC/B,MAAM,CAER"}
@@ -9,7 +9,7 @@ export const RegisterRequest$outboundSchema = z.object({
9
9
  email: z.string(),
10
10
  password: z.string(),
11
11
  displayName: z.string(),
12
- bio: z.string(),
12
+ bio: z.optional(z.nullable(z.string())),
13
13
  });
14
14
  export function registerRequestToJSON(registerRequest) {
15
15
  return JSON.stringify(RegisterRequest$outboundSchema.parse(registerRequest));
@@ -1 +1 @@
1
- {"version":3,"file":"register-request.js","sourceRoot":"","sources":["../../src/models/register-request.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAmBjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B,GAGvC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAEH,MAAM,UAAU,qBAAqB,CACnC,eAAgC,EACxB;IACR,OAAO,IAAI,CAAC,SAAS,CAAC,8BAA8B,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;AAAA,CAC9E"}
1
+ {"version":3,"file":"register-request.js","sourceRoot":"","sources":["../../src/models/register-request.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAmBjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B,GAGvC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;CACxC,CAAC,CAAC;AAEH,MAAM,UAAU,qBAAqB,CACnC,eAAgC,EACxB;IACR,OAAO,IAAI,CAAC,SAAS,CAAC,8BAA8B,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;AAAA,CAC9E"}
@@ -0,0 +1,30 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { ClosedEnum } from "../types/enums.js";
3
+ /**
4
+ * Set to PUBLISHED to make the post visible to subscribers. The server validates that all asset slots are in READY status before allowing the transition. Cannot be used to revert a published post to DRAFT.
5
+ */
6
+ export declare const UpdatePostRequestStatus: {
7
+ readonly Published: "PUBLISHED";
8
+ };
9
+ /**
10
+ * Set to PUBLISHED to make the post visible to subscribers. The server validates that all asset slots are in READY status before allowing the transition. Cannot be used to revert a published post to DRAFT.
11
+ */
12
+ export type UpdatePostRequestStatus = ClosedEnum<typeof UpdatePostRequestStatus>;
13
+ export type UpdatePostRequest = {
14
+ caption?: string | null | undefined;
15
+ /**
16
+ * Set to PUBLISHED to make the post visible to subscribers. The server validates that all asset slots are in READY status before allowing the transition. Cannot be used to revert a published post to DRAFT.
17
+ */
18
+ status?: UpdatePostRequestStatus | undefined;
19
+ };
20
+ /** @internal */
21
+ export declare const UpdatePostRequestStatus$outboundSchema: z.ZodMiniEnum<typeof UpdatePostRequestStatus>;
22
+ /** @internal */
23
+ export type UpdatePostRequest$Outbound = {
24
+ caption?: string | null | undefined;
25
+ status?: string | undefined;
26
+ };
27
+ /** @internal */
28
+ export declare const UpdatePostRequest$outboundSchema: z.ZodMiniType<UpdatePostRequest$Outbound, UpdatePostRequest>;
29
+ export declare function updatePostRequestToJSON(updatePostRequest: UpdatePostRequest): string;
30
+ //# sourceMappingURL=update-post-request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-post-request.d.ts","sourceRoot":"","sources":["../../src/models/update-post-request.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,uBAAuB;;CAE1B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAC9C,OAAO,uBAAuB,CAC/B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;CAC9C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,WAAW,CAChE,OAAO,uBAAuB,CACG,CAAC;AAEpC,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,0BAA0B,EAC1B,iBAAiB,CAIjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR"}
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 718707107a86
4
+ */
5
+ import * as z from "zod/v4-mini";
6
+ /**
7
+ * Set to PUBLISHED to make the post visible to subscribers. The server validates that all asset slots are in READY status before allowing the transition. Cannot be used to revert a published post to DRAFT.
8
+ */
9
+ export const UpdatePostRequestStatus = {
10
+ Published: "PUBLISHED",
11
+ };
12
+ /** @internal */
13
+ export const UpdatePostRequestStatus$outboundSchema = z.enum(UpdatePostRequestStatus);
14
+ /** @internal */
15
+ export const UpdatePostRequest$outboundSchema = z.object({
16
+ caption: z.optional(z.nullable(z.string())),
17
+ status: z.optional(UpdatePostRequestStatus$outboundSchema),
18
+ });
19
+ export function updatePostRequestToJSON(updatePostRequest) {
20
+ return JSON.stringify(UpdatePostRequest$outboundSchema.parse(updatePostRequest));
21
+ }
22
+ //# sourceMappingURL=update-post-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-post-request.js","sourceRoot":"","sources":["../../src/models/update-post-request.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,SAAS,EAAE,WAAW;CACd,CAAC;AAgBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,sCAAsC,GAE/C,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;AAQpC,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAGzC,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IAC3C,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,sCAAsC,CAAC;CAC3D,CAAC,CAAC;AAEH,MAAM,UAAU,uBAAuB,CACrC,iBAAoC,EAC5B;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,gCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AAAA,CACH"}
@@ -0,0 +1,17 @@
1
+ import * as z from "zod/v4-mini";
2
+ /**
3
+ * All fields are optional; only supplied fields are updated.
4
+ */
5
+ export type UpdateProfileRequest = {
6
+ displayName?: string | undefined;
7
+ bio?: string | null | undefined;
8
+ };
9
+ /** @internal */
10
+ export type UpdateProfileRequest$Outbound = {
11
+ displayName?: string | undefined;
12
+ bio?: string | null | undefined;
13
+ };
14
+ /** @internal */
15
+ export declare const UpdateProfileRequest$outboundSchema: z.ZodMiniType<UpdateProfileRequest$Outbound, UpdateProfileRequest>;
16
+ export declare function updateProfileRequestToJSON(updateProfileRequest: UpdateProfileRequest): string;
17
+ //# sourceMappingURL=update-profile-request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-profile-request.d.ts","sourceRoot":"","sources":["../../src/models/update-profile-request.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,WAAW,CAC7D,6BAA6B,EAC7B,oBAAoB,CAIpB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR"}
@@ -0,0 +1,14 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 689ebe29e921
4
+ */
5
+ import * as z from "zod/v4-mini";
6
+ /** @internal */
7
+ export const UpdateProfileRequest$outboundSchema = z.object({
8
+ displayName: z.optional(z.string()),
9
+ bio: z.optional(z.nullable(z.string())),
10
+ });
11
+ export function updateProfileRequestToJSON(updateProfileRequest) {
12
+ return JSON.stringify(UpdateProfileRequest$outboundSchema.parse(updateProfileRequest));
13
+ }
14
+ //# sourceMappingURL=update-profile-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-profile-request.js","sourceRoot":"","sources":["../../src/models/update-profile-request.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAgBjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAG5C,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACnC,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;CACxC,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,oBAA0C,EAClC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,mCAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AAAA,CACH"}
@@ -0,0 +1,29 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { Result as SafeParseResult } from "../types/fp.js";
3
+ import { SDKValidationError } from "./errors/sdk-validation-error.js";
4
+ export type UploadSlot = {
5
+ /**
6
+ * ID of the post_assets row created for this slot.
7
+ */
8
+ assetId?: number | undefined;
9
+ /**
10
+ * Zero-based index matching the position in the original assets array.
11
+ */
12
+ sortOrder?: number | undefined;
13
+ /**
14
+ * Presigned HTTP PUT URL pointing directly at a SeaweedFS volume node. The client must PUT the raw binary file body with the Content-Type header matching the declared contentType. No additional form fields are required.
15
+ */
16
+ uploadUrl?: string | undefined;
17
+ /**
18
+ * The SeaweedFS object key pre-allocated for this asset (e.g. posts/42/0_a1b2c3.jpg). Stored in post_assets.media_key immediately; Celery uses this as the source path.
19
+ */
20
+ mediaKey?: string | undefined;
21
+ /**
22
+ * UTC datetime after which the presigned URL is no longer valid. Typically 15 minutes from issuance.
23
+ */
24
+ expiresAt?: Date | undefined;
25
+ };
26
+ /** @internal */
27
+ export declare const UploadSlot$inboundSchema: z.ZodMiniType<UploadSlot, unknown>;
28
+ export declare function uploadSlotFromJSON(jsonString: string): SafeParseResult<UploadSlot, SDKValidationError>;
29
+ //# sourceMappingURL=upload-slot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upload-slot.d.ts","sourceRoot":"","sources":["../../src/models/upload-slot.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAOpE,CAAC;AAEL,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD"}