@postpeer/node 0.3.2 → 0.5.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 (213) hide show
  1. package/CHANGELOG.md +25 -3
  2. package/LICENSE +1 -1
  3. package/README.md +28 -27
  4. package/api-promise.js.map +1 -1
  5. package/client.d.mts +14 -14
  6. package/client.d.mts.map +1 -1
  7. package/client.d.ts +14 -14
  8. package/client.d.ts.map +1 -1
  9. package/client.js +51 -96
  10. package/client.js.map +1 -1
  11. package/client.mjs +51 -96
  12. package/client.mjs.map +1 -1
  13. package/core/api-promise.d.mts +2 -2
  14. package/core/api-promise.d.mts.map +1 -1
  15. package/core/api-promise.d.ts +2 -2
  16. package/core/api-promise.d.ts.map +1 -1
  17. package/core/api-promise.js.map +1 -1
  18. package/core/api-promise.mjs.map +1 -1
  19. package/core/error.d.mts +2 -2
  20. package/core/error.d.mts.map +1 -1
  21. package/core/error.d.ts +2 -2
  22. package/core/error.d.ts.map +1 -1
  23. package/core/error.js +6 -6
  24. package/core/error.js.map +1 -1
  25. package/core/error.mjs +4 -4
  26. package/core/error.mjs.map +1 -1
  27. package/core/resource.d.mts +3 -3
  28. package/core/resource.d.ts +3 -3
  29. package/error.js.map +1 -1
  30. package/index.d.mts +3 -3
  31. package/index.d.mts.map +1 -1
  32. package/index.d.ts +3 -3
  33. package/index.d.ts.map +1 -1
  34. package/index.js +4 -4
  35. package/index.js.map +1 -1
  36. package/index.mjs +3 -3
  37. package/index.mjs.map +1 -1
  38. package/internal/builtin-types.d.mts +5 -5
  39. package/internal/builtin-types.d.mts.map +1 -1
  40. package/internal/builtin-types.d.ts +5 -5
  41. package/internal/builtin-types.d.ts.map +1 -1
  42. package/internal/detect-platform.d.mts.map +1 -1
  43. package/internal/detect-platform.d.ts.map +1 -1
  44. package/internal/detect-platform.js.map +1 -1
  45. package/internal/detect-platform.mjs.map +1 -1
  46. package/internal/errors.js +5 -6
  47. package/internal/errors.js.map +1 -1
  48. package/internal/errors.mjs +5 -6
  49. package/internal/errors.mjs.map +1 -1
  50. package/internal/headers.js +2 -2
  51. package/internal/headers.js.map +1 -1
  52. package/internal/headers.mjs +2 -2
  53. package/internal/headers.mjs.map +1 -1
  54. package/internal/parse.d.mts +2 -2
  55. package/internal/parse.d.mts.map +1 -1
  56. package/internal/parse.d.ts +2 -2
  57. package/internal/parse.d.ts.map +1 -1
  58. package/internal/parse.js +1 -7
  59. package/internal/parse.js.map +1 -1
  60. package/internal/parse.mjs +1 -7
  61. package/internal/parse.mjs.map +1 -1
  62. package/internal/qs/utils.d.mts.map +1 -1
  63. package/internal/qs/utils.d.ts.map +1 -1
  64. package/internal/qs/utils.js +2 -1
  65. package/internal/qs/utils.js.map +1 -1
  66. package/internal/qs/utils.mjs +2 -1
  67. package/internal/qs/utils.mjs.map +1 -1
  68. package/internal/request-options.d.mts.map +1 -1
  69. package/internal/request-options.d.ts.map +1 -1
  70. package/internal/request-options.js.map +1 -1
  71. package/internal/request-options.mjs.map +1 -1
  72. package/internal/shim-types.d.mts.map +1 -1
  73. package/internal/shim-types.d.ts.map +1 -1
  74. package/internal/shims.d.mts.map +1 -1
  75. package/internal/shims.d.ts.map +1 -1
  76. package/internal/shims.js +1 -1
  77. package/internal/shims.js.map +1 -1
  78. package/internal/shims.mjs +1 -1
  79. package/internal/shims.mjs.map +1 -1
  80. package/internal/to-file.d.mts.map +1 -1
  81. package/internal/to-file.d.ts.map +1 -1
  82. package/internal/to-file.js.map +1 -1
  83. package/internal/to-file.mjs.map +1 -1
  84. package/internal/types.d.mts +11 -17
  85. package/internal/types.d.mts.map +1 -1
  86. package/internal/types.d.ts +11 -17
  87. package/internal/types.d.ts.map +1 -1
  88. package/internal/uploads.d.mts +4 -4
  89. package/internal/uploads.d.ts +4 -4
  90. package/internal/utils/base64.js +2 -2
  91. package/internal/utils/base64.mjs +3 -3
  92. package/internal/utils/log.d.mts +3 -3
  93. package/internal/utils/log.d.mts.map +1 -1
  94. package/internal/utils/log.d.ts +3 -3
  95. package/internal/utils/log.d.ts.map +1 -1
  96. package/internal/utils/log.js +2 -9
  97. package/internal/utils/log.js.map +1 -1
  98. package/internal/utils/log.mjs +2 -9
  99. package/internal/utils/log.mjs.map +1 -1
  100. package/internal/utils/path.js +1 -1
  101. package/internal/utils/path.mjs +2 -2
  102. package/internal/utils/query.js.map +1 -1
  103. package/internal/utils/query.mjs.map +1 -1
  104. package/internal/utils/uuid.d.mts.map +1 -1
  105. package/internal/utils/uuid.d.ts.map +1 -1
  106. package/internal/utils/uuid.js +4 -2
  107. package/internal/utils/uuid.js.map +1 -1
  108. package/internal/utils/uuid.mjs +4 -2
  109. package/internal/utils/uuid.mjs.map +1 -1
  110. package/internal/utils/values.js +5 -5
  111. package/internal/utils/values.mjs +6 -6
  112. package/package.json +4 -4
  113. package/resource.js.map +1 -1
  114. package/resources/connect/connect.d.mts +2 -2
  115. package/resources/connect/connect.d.mts.map +1 -1
  116. package/resources/connect/connect.d.ts +2 -2
  117. package/resources/connect/connect.d.ts.map +1 -1
  118. package/resources/connect/connect.js.map +1 -1
  119. package/resources/connect/connect.mjs.map +1 -1
  120. package/resources/connect/index.d.mts +1 -1
  121. package/resources/connect/index.d.mts.map +1 -1
  122. package/resources/connect/index.d.ts +1 -1
  123. package/resources/connect/index.d.ts.map +1 -1
  124. package/resources/connect/index.js +2 -0
  125. package/resources/connect/index.js.map +1 -1
  126. package/resources/connect/index.mjs +3 -1
  127. package/resources/connect/index.mjs.map +1 -1
  128. package/resources/connect/integrations.d.mts +1 -1
  129. package/resources/connect/integrations.d.mts.map +1 -1
  130. package/resources/connect/integrations.d.ts +1 -1
  131. package/resources/connect/integrations.d.ts.map +1 -1
  132. package/resources/health.d.mts +1 -1
  133. package/resources/health.d.mts.map +1 -1
  134. package/resources/health.d.ts +1 -1
  135. package/resources/health.d.ts.map +1 -1
  136. package/resources/index.d.mts +1 -1
  137. package/resources/index.d.mts.map +1 -1
  138. package/resources/index.d.ts +1 -1
  139. package/resources/index.d.ts.map +1 -1
  140. package/resources/index.js +5 -0
  141. package/resources/index.js.map +1 -1
  142. package/resources/index.mjs +6 -1
  143. package/resources/index.mjs.map +1 -1
  144. package/resources/media.d.mts.map +1 -1
  145. package/resources/media.d.ts.map +1 -1
  146. package/resources/platforms.d.mts.map +1 -1
  147. package/resources/platforms.d.ts.map +1 -1
  148. package/resources/posts/index.d.mts +2 -2
  149. package/resources/posts/index.d.mts.map +1 -1
  150. package/resources/posts/index.d.ts +2 -2
  151. package/resources/posts/index.d.ts.map +1 -1
  152. package/resources/posts/index.js +2 -0
  153. package/resources/posts/index.js.map +1 -1
  154. package/resources/posts/index.mjs +4 -2
  155. package/resources/posts/index.mjs.map +1 -1
  156. package/resources/posts/posts.d.mts +97 -262
  157. package/resources/posts/posts.d.mts.map +1 -1
  158. package/resources/posts/posts.d.ts +97 -262
  159. package/resources/posts/posts.d.ts.map +1 -1
  160. package/resources/posts/posts.js.map +1 -1
  161. package/resources/posts/posts.mjs +1 -1
  162. package/resources/posts/posts.mjs.map +1 -1
  163. package/resources/posts/scheduled.d.mts +3 -9
  164. package/resources/posts/scheduled.d.mts.map +1 -1
  165. package/resources/posts/scheduled.d.ts +3 -9
  166. package/resources/posts/scheduled.d.ts.map +1 -1
  167. package/resources/posts/scheduled.js.map +1 -1
  168. package/resources/posts/scheduled.mjs.map +1 -1
  169. package/src/api-promise.ts +1 -1
  170. package/src/client.ts +93 -184
  171. package/src/core/api-promise.ts +5 -10
  172. package/src/core/error.ts +24 -22
  173. package/src/core/resource.ts +3 -3
  174. package/src/error.ts +1 -1
  175. package/src/index.ts +3 -17
  176. package/src/internal/builtin-types.ts +9 -14
  177. package/src/internal/detect-platform.ts +1 -5
  178. package/src/internal/errors.ts +7 -7
  179. package/src/internal/headers.ts +2 -2
  180. package/src/internal/parse.ts +4 -12
  181. package/src/internal/qs/utils.ts +4 -1
  182. package/src/internal/request-options.ts +5 -1
  183. package/src/internal/shim-types.ts +2 -2
  184. package/src/internal/shims.ts +2 -4
  185. package/src/internal/to-file.ts +7 -7
  186. package/src/internal/types.ts +22 -28
  187. package/src/internal/uploads.ts +5 -5
  188. package/src/internal/utils/base64.ts +3 -3
  189. package/src/internal/utils/log.ts +10 -32
  190. package/src/internal/utils/path.ts +2 -2
  191. package/src/internal/utils/query.ts +1 -1
  192. package/src/internal/utils/uuid.ts +5 -3
  193. package/src/internal/utils/values.ts +6 -6
  194. package/src/resource.ts +1 -1
  195. package/src/resources/connect/connect.ts +3 -7
  196. package/src/resources/connect/index.ts +2 -6
  197. package/src/resources/connect/integrations.ts +1 -1
  198. package/src/resources/health.ts +1 -1
  199. package/src/resources/index.ts +5 -15
  200. package/src/resources/media.ts +4 -1
  201. package/src/resources/platforms.ts +3 -1
  202. package/src/resources/posts/index.ts +2 -18
  203. package/src/resources/posts/posts.ts +138 -340
  204. package/src/resources/posts/scheduled.ts +4 -14
  205. package/src/uploads.ts +1 -1
  206. package/src/version.ts +1 -1
  207. package/uploads.js.map +1 -1
  208. package/version.d.mts +1 -1
  209. package/version.d.ts +1 -1
  210. package/version.js +1 -1
  211. package/version.js.map +1 -1
  212. package/version.mjs +1 -1
  213. package/version.mjs.map +1 -1
@@ -65,7 +65,7 @@ const createPathTagFunction = (pathEncoder = encodeURIPath) => function path(sta
65
65
  lastEnd = segment.start + segment.length;
66
66
  return acc + spaces + arrows;
67
67
  }, '');
68
- throw new error_1.PostPeerError(`Path parameters result in path with invalid segments:\n${invalidSegments
68
+ throw new error_1.PostpeerError(`Path parameters result in path with invalid segments:\n${invalidSegments
69
69
  .map((e) => e.error)
70
70
  .join('\n')}\n${path}\n${underline}`);
71
71
  }
@@ -1,4 +1,4 @@
1
- import { PostPeerError } from "../../core/error.mjs";
1
+ import { PostpeerError } from "../../core/error.mjs";
2
2
  /**
3
3
  * Percent-encode everything that isn't safe to have in a path without encoding safe chars.
4
4
  *
@@ -61,7 +61,7 @@ export const createPathTagFunction = (pathEncoder = encodeURIPath) => function p
61
61
  lastEnd = segment.start + segment.length;
62
62
  return acc + spaces + arrows;
63
63
  }, '');
64
- throw new PostPeerError(`Path parameters result in path with invalid segments:\n${invalidSegments
64
+ throw new PostpeerError(`Path parameters result in path with invalid segments:\n${invalidSegments
65
65
  .map((e) => e.error)
66
66
  .join('\n')}\n${path}\n${underline}`);
67
67
  }
@@ -1 +1 @@
1
- {"version":3,"file":"query.js","sourceRoot":"","sources":["../../src/internal/utils/query.ts"],"names":[],"mappings":";AAAA,sFAAsF;;AAItF,wCAEC;;AAJD,+DAAsC;AAEtC,SAAgB,cAAc,CAAC,KAAuC;IACpE,OAAO,EAAE,CAAC,SAAS,CAAC,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,CAAC;AACvD,CAAC"}
1
+ {"version":3,"file":"query.js","sourceRoot":"","sources":["../../src/internal/utils/query.ts"],"names":[],"mappings":";AAAA,sFAAsF;;AAItF,wCAEC;;AAJD,+DAAsC;AAEtC,SAAgB,cAAc,CAAC,KAAuC;IACpE,OAAO,EAAE,CAAC,SAAS,CAAC,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,CAAA;AACtD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"query.mjs","sourceRoot":"","sources":["../../src/internal/utils/query.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,KAAK,EAAE;AAEd,MAAM,UAAU,cAAc,CAAC,KAAuC;IACpE,OAAO,EAAE,CAAC,SAAS,CAAC,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,CAAC;AACvD,CAAC"}
1
+ {"version":3,"file":"query.mjs","sourceRoot":"","sources":["../../src/internal/utils/query.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,KAAK,EAAE;AAEd,MAAM,UAAU,cAAc,CAAC,KAAuC;IACpE,OAAO,EAAE,CAAC,SAAS,CAAC,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,CAAA;AACtD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"uuid.d.mts","sourceRoot":"","sources":["../../src/internal/utils/uuid.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,IAAI,KAAK,WAWf,CAAC"}
1
+ {"version":3,"file":"uuid.d.mts","sourceRoot":"","sources":["../../src/internal/utils/uuid.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,IAAI,KAAK,WAaf,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"uuid.d.ts","sourceRoot":"","sources":["../../src/internal/utils/uuid.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,IAAI,KAAK,WAWf,CAAC"}
1
+ {"version":3,"file":"uuid.d.ts","sourceRoot":"","sources":["../../src/internal/utils/uuid.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,IAAI,KAAK,WAaf,CAAA"}
@@ -12,8 +12,10 @@ let uuid4 = function () {
12
12
  return crypto.randomUUID();
13
13
  }
14
14
  const u8 = new Uint8Array(1);
15
- const randomByte = crypto ? () => crypto.getRandomValues(u8)[0] : () => (Math.random() * 0xff) & 0xff;
16
- return '10000000-1000-4000-8000-100000000000'.replace(/[018]/g, (c) => (+c ^ (randomByte() & (15 >> (+c / 4)))).toString(16));
15
+ const randomByte = crypto
16
+ ? () => crypto.getRandomValues(u8)[0]
17
+ : () => (Math.random() * 0xff) & 0xff;
18
+ return "10000000-1000-4000-8000-100000000000".replace(/[018]/g, (c) => (+c ^ (randomByte() & (15 >> (+c / 4)))).toString(16));
17
19
  };
18
20
  exports.uuid4 = uuid4;
19
21
  //# sourceMappingURL=uuid.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"uuid.js","sourceRoot":"","sources":["../../src/internal/utils/uuid.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF;;GAEG;AACI,IAAI,KAAK,GAAG;IACjB,MAAM,EAAE,MAAM,EAAE,GAAG,UAAiB,CAAC;IACrC,IAAI,MAAM,EAAE,UAAU,EAAE,CAAC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tC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;IACxC,OAAO,sCAAsC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CACpE,CAAC,CAAC,CAAC,GAAG,CAAC,UAAU,EAAE,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CACtD,CAAC;AACJ,CAAC,CAAA;AAbU,QAAA,KAAK,SAaf"}
@@ -9,7 +9,9 @@ export let uuid4 = function () {
9
9
  return crypto.randomUUID();
10
10
  }
11
11
  const u8 = new Uint8Array(1);
12
- const randomByte = crypto ? () => crypto.getRandomValues(u8)[0] : () => (Math.random() * 0xff) & 0xff;
13
- return '10000000-1000-4000-8000-100000000000'.replace(/[018]/g, (c) => (+c ^ (randomByte() & (15 >> (+c / 4)))).toString(16));
12
+ const randomByte = crypto
13
+ ? () => crypto.getRandomValues(u8)[0]
14
+ : () => (Math.random() * 0xff) & 0xff;
15
+ return "10000000-1000-4000-8000-100000000000".replace(/[018]/g, (c) => (+c ^ (randomByte() & (15 >> (+c / 4)))).toString(16));
14
16
  };
15
17
  //# sourceMappingURL=uuid.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"uuid.mjs","sourceRoot":"","sources":["../../src/internal/utils/uuid.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF;;GAEG;AACH,MAAM,CAAC,IAAI,KAAK,GAAG;IACjB,MAAM,EAAE,MAAM,EAAE,GAAG,UAAiB,CAAC;IACrC,IAAI,MAAM,EAAE,UAAU,EAAE,CAAC;QACvB,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvC,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;IAC7B,CAAC;IACD,MAAM,EAAE,GAAG,IA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AE,EAAE,CACpE,CAAC,CAAC,CAAC,GAAG,CAAC,UAAU,EAAE,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CACtD,CAAC;AACJ,CAAC,CAAA"}
@@ -40,17 +40,17 @@ function isObj(obj) {
40
40
  }
41
41
  const ensurePresent = (value) => {
42
42
  if (value == null) {
43
- throw new error_1.PostPeerError(`Expected a value to be given but received ${value} instead.`);
43
+ throw new error_1.PostpeerError(`Expected a value to be given but received ${value} instead.`);
44
44
  }
45
45
  return value;
46
46
  };
47
47
  exports.ensurePresent = ensurePresent;
48
48
  const validatePositiveInteger = (name, n) => {
49
49
  if (typeof n !== 'number' || !Number.isInteger(n)) {
50
- throw new error_1.PostPeerError(`${name} must be an integer`);
50
+ throw new error_1.PostpeerError(`${name} must be an integer`);
51
51
  }
52
52
  if (n < 0) {
53
- throw new error_1.PostPeerError(`${name} must be a positive integer`);
53
+ throw new error_1.PostpeerError(`${name} must be a positive integer`);
54
54
  }
55
55
  return n;
56
56
  };
@@ -60,7 +60,7 @@ const coerceInteger = (value) => {
60
60
  return Math.round(value);
61
61
  if (typeof value === 'string')
62
62
  return parseInt(value, 10);
63
- throw new error_1.PostPeerError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
63
+ throw new error_1.PostpeerError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
64
64
  };
65
65
  exports.coerceInteger = coerceInteger;
66
66
  const coerceFloat = (value) => {
@@ -68,7 +68,7 @@ const coerceFloat = (value) => {
68
68
  return value;
69
69
  if (typeof value === 'string')
70
70
  return parseFloat(value);
71
- throw new error_1.PostPeerError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
71
+ throw new error_1.PostpeerError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
72
72
  };
73
73
  exports.coerceFloat = coerceFloat;
74
74
  const coerceBoolean = (value) => {
@@ -1,5 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { PostPeerError } from "../../core/error.mjs";
2
+ import { PostpeerError } from "../../core/error.mjs";
3
3
  // https://url.spec.whatwg.org/#url-scheme-string
4
4
  const startsWithSchemeRegexp = /^[a-z][a-z0-9+.-]*:/i;
5
5
  export const isAbsoluteURL = (url) => {
@@ -31,16 +31,16 @@ export function isObj(obj) {
31
31
  }
32
32
  export const ensurePresent = (value) => {
33
33
  if (value == null) {
34
- throw new PostPeerError(`Expected a value to be given but received ${value} instead.`);
34
+ throw new PostpeerError(`Expected a value to be given but received ${value} instead.`);
35
35
  }
36
36
  return value;
37
37
  };
38
38
  export const validatePositiveInteger = (name, n) => {
39
39
  if (typeof n !== 'number' || !Number.isInteger(n)) {
40
- throw new PostPeerError(`${name} must be an integer`);
40
+ throw new PostpeerError(`${name} must be an integer`);
41
41
  }
42
42
  if (n < 0) {
43
- throw new PostPeerError(`${name} must be a positive integer`);
43
+ throw new PostpeerError(`${name} must be a positive integer`);
44
44
  }
45
45
  return n;
46
46
  };
@@ -49,14 +49,14 @@ export const coerceInteger = (value) => {
49
49
  return Math.round(value);
50
50
  if (typeof value === 'string')
51
51
  return parseInt(value, 10);
52
- throw new PostPeerError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
52
+ throw new PostpeerError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
53
53
  };
54
54
  export const coerceFloat = (value) => {
55
55
  if (typeof value === 'number')
56
56
  return value;
57
57
  if (typeof value === 'string')
58
58
  return parseFloat(value);
59
- throw new PostPeerError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
59
+ throw new PostpeerError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
60
60
  };
61
61
  export const coerceBoolean = (value) => {
62
62
  if (typeof value === 'boolean')
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@postpeer/node",
3
- "version": "0.3.2",
4
- "description": "The official TypeScript library for the Post Peer API",
5
- "author": "Post Peer <>",
3
+ "version": "0.5.0",
4
+ "description": "The official TypeScript library for the Postpeer API",
5
+ "author": "Postpeer <>",
6
6
  "types": "./index.d.ts",
7
7
  "main": "./index.js",
8
8
  "type": "commonjs",
9
- "repository": "github:PostPeer-API/postpeer-typescript",
9
+ "repository": "github:PostPeer-API/postpeer-node",
10
10
  "license": "Apache-2.0",
11
11
  "files": [
12
12
  "**/*"
package/resource.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"resource.js","sourceRoot":"","sources":["src/resource.ts"],"names":[],"mappings":";;;AAAA,sDAAsD;AACtD,6DAAgC"}
1
+ {"version":3,"file":"resource.js","sourceRoot":"","sources":["src/resource.ts"],"names":[],"mappings":";;;AAAA,sDAAsD;AACtD,6DAA+B"}
@@ -20,7 +20,7 @@ export interface ConnectGetOAuthURLParams {
20
20
  redirectUri?: string;
21
21
  }
22
22
  export declare namespace Connect {
23
- export { type ConnectGetOAuthURLResponse as ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams as ConnectGetOAuthURLParams, };
24
- export { Integrations as Integrations, type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse, };
23
+ export { type ConnectGetOAuthURLResponse as ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams as ConnectGetOAuthURLParams };
24
+ export { Integrations as Integrations, type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse };
25
25
  }
26
26
  //# sourceMappingURL=connect.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"connect.d.mts","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EAAE,6BAA6B,EAAE,uBAAuB,EAAE,YAAY,EAAE;OACxE,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,YAAY,EAAE,eAAe,CAAC,YA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AED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EAC1D,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6BAA6B,IAAI,6BAA6B,EACpE,CAAC;CACH"}
@@ -20,7 +20,7 @@ export interface ConnectGetOAuthURLParams {
20
20
  redirectUri?: string;
21
21
  }
22
22
  export declare namespace Connect {
23
- export { type ConnectGetOAuthURLResponse as ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams as ConnectGetOAuthURLParams, };
24
- export { Integrations as Integrations, type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse, };
23
+ export { type ConnectGetOAuthURLResponse as ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams as ConnectGetOAuthURLParams };
24
+ export { Integrations as Integrations, type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse };
25
25
  }
26
26
  //# sourceMappingURL=connect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EAAE,6BAA6B,EAAE,uBAAuB,EAAE,YAAY,EAAE;OACxE,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAE5F;;OAEG;IACH,WAAW,CACT,QAAQ,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,EACnF,KAAK,G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L,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EAC1D,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6BAA6B,IAAI,6BAA6B,EACpE,CAAC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,2EAAkD;AAClD,oDAAsG;AAGtG,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAY9F,CAAC;IAVC;;OAEG;IACH,WAAW,CACT,QAAmF,EACnF,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AAbD,0BAaC;AAaD,OAAO,CAAC,YAAY,GAAG,2BAAY,CAAC"}
1
+ {"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,2EAAkD;AAClD,oDAAsG;AAGtG,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAQ9F,CAAC;IANC;;OAEG;IACH,WAAW,CAAC,QAAmF,EAAE,QAAqD,EAAE,EAAE,OAAwB;QAChL,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AATD,0BASC;AAaD,OAAO,CAAC,YAAY,GAAG,2BAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"connect.mjs","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EAA0D,YAAY,EAAE;OAGxE,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAY9F,CAAC;IAVC;;OAEG;IACH,WAAW,CACT,QAAmF,EACnF,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AAaD,OAAO,CAAC,YAAY,GAAG,YAAY,CAAC"}
1
+ {"version":3,"file":"connect.mjs","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,eAAe;OACpB,EAA0D,YAAY,EAAE;OAGxE,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAQ9F,CAAC;IANC;;OAEG;IACH,WAAW,CAAC,QAAmF,EAAE,QAAqD,EAAE,EAAE,OAAwB;QAChL,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AAaD,OAAO,CAAC,YAAY,GAAG,YAAY,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export { Connect, type ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams } from "./connect.mjs";
2
- export { Integrations, type IntegrationListResponse, type IntegrationDisconnectResponse, } from "./integrations.mjs";
2
+ export { Integrations, type IntegrationListResponse, type IntegrationDisconnectResponse } from "./integrations.mjs";
3
3
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,wBAAwB,EAAE;OAC3E,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,GACnC"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,wBAAwB,EAAE;OAC3E,EAAE,YAAY,EAAE,KAAK,uBAAuB,EAAE,KAAK,6BAA6B,EAAE"}
@@ -1,3 +1,3 @@
1
1
  export { Connect, type ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams } from "./connect.js";
2
- export { Integrations, type IntegrationListResponse, type IntegrationDisconnectResponse, } from "./integrations.js";
2
+ export { Integrations, type IntegrationListResponse, type IntegrationDisconnectResponse } from "./integrations.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,wBAAwB,EAAE;OAC3E,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,GACnC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,wBAAwB,EAAE;OAC3E,EAAE,YAAY,EAAE,KAAK,uBAAuB,EAAE,KAAK,6BAA6B,EAAE"}
@@ -4,6 +4,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Integrations = exports.Connect = void 0;
5
5
  var connect_1 = require("./connect.js");
6
6
  Object.defineProperty(exports, "Connect", { enumerable: true, get: function () { return connect_1.Connect; } });
7
+ ;
7
8
  var integrations_1 = require("./integrations.js");
8
9
  Object.defineProperty(exports, "Integrations", { enumerable: true, get: function () { return integrations_1.Integrations; } });
10
+ ;
9
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoG;AAA3F,kGAAA,OAAO,OAAA;AAChB,kDAIwB;AAHtB,4GAAA,YAAY,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoG;AAA3F,kGAAA,OAAO,OAAA;AAAoF,CAAC;AACrG,kDAAgH;AAAvG,4GAAA,YAAY,OAAA;AAA2F,CAAC"}
@@ -1,4 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { Connect } from "./connect.mjs";
3
- export { Integrations, } from "./integrations.mjs";
3
+ ;
4
+ export { Integrations } from "./integrations.mjs";
5
+ ;
4
6
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAkE;OAC3E,EACL,YAAY,GAGb"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAkE;AAAkB,CAAC;OAC9F,EAAE,YAAY,EAAoE;AAAuB,CAAC"}
@@ -42,6 +42,6 @@ export interface IntegrationDisconnectResponse {
42
42
  success: boolean;
43
43
  }
44
44
  export declare namespace Integrations {
45
- export { type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse, };
45
+ export { type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse };
46
46
  }
47
47
  //# sourceMappingURL=integrations.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"integrations.d.mts","sourceRoot":"","sources":["../../src/resources/connect/integrations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAInE;;OAEG;IACH,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;CAG5F;AAED,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,KAAK,CAAC,uBAAuB,CAAC,WAAW,CAAC,CAAC;IAEzD,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,yBAAiB,uBAAuB,CAAC;IACvC,UAAiB,WAAW;QAC1B;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAE3B;;WAEG;QACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QAExB,QAAQ,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,CAA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;IAC5C,OAAO,EAAE,MAAM,CAAC;IAEhB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6BAA6B,IAAI,6BAA6B,EACpE,CAAC;CACH"}
@@ -42,6 +42,6 @@ export interface IntegrationDisconnectResponse {
42
42
  success: boolean;
43
43
  }
44
44
  export declare namespace Integrations {
45
- export { type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse, };
45
+ export { type IntegrationListResponse as IntegrationListResponse, type IntegrationDisconnectResponse as IntegrationDisconnectResponse };
46
46
  }
47
47
  //# sourceMappingURL=integrations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../../src/resources/connect/integrations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAInE;;OAEG;IACH,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;CAG5F;AAED,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,KAAK,CAAC,uBAAuB,CAAC,WAAW,CAAC,CAAC;IAEzD,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,yBAAiB,uBAAuB,CAAC;IACvC,UAAiB,WAAW;QAC1B;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAE3B;;WAEG;QACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QA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pF;;WAEG;QACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;KAC/B;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,MAAM,CAAC;IAEhB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6BAA6B,IAAI,6BAA6B,EACpE,CAAC;CACH"}
@@ -18,6 +18,6 @@ export interface HealthVerifyAccessKeyResponse {
18
18
  ok: boolean;
19
19
  }
20
20
  export declare namespace Health {
21
- export { type HealthCheckResponse as HealthCheckResponse, type HealthVerifyAccessKeyResponse as HealthVerifyAccessKeyResponse, };
21
+ export { type HealthCheckResponse as HealthCheckResponse, type HealthVerifyAccessKeyResponse as HealthVerifyAccessKeyResponse };
22
22
  }
23
23
  //# sourceMappingURL=health.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"health.d.mts","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIhE;;OAEG;IACH,eAAe,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;CAGrF;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,OAAO,CAAC;CACb;AAED,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,OAAO,CAAC;CACb;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
1
+ {"version":3,"file":"health.d.mts","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIhE;;OAEG;IACH,eAAe,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;CAGrF;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,OAAO,CAAC;CACb;AAED,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,OAAO,CAAC;CACb;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,6BAA6B,IAAI,6BAA6B,EACpE,CAAC;CACH"}
@@ -18,6 +18,6 @@ export interface HealthVerifyAccessKeyResponse {
18
18
  ok: boolean;
19
19
  }
20
20
  export declare namespace Health {
21
- export { type HealthCheckResponse as HealthCheckResponse, type HealthVerifyAccessKeyResponse as HealthVerifyAccessKeyResponse, };
21
+ export { type HealthCheckResponse as HealthCheckResponse, type HealthVerifyAccessKeyResponse as HealthVerifyAccessKeyResponse };
22
22
  }
23
23
  //# sourceMappingURL=health.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"health.d.ts","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIhE;;OAEG;IACH,eAAe,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;CAGrF;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,OAAO,CAAC;CACb;AAED,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,OAAO,CAAC;CACb;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
1
+ {"version":3,"file":"health.d.ts","sourceRoot":"","sources":["../src/resources/health.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIhE;;OAEG;IACH,eAAe,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;CAGrF;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,OAAO,CAAC;CACb;AAED,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,OAAO,CAAC;CACb;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,6BAA6B,IAAI,6BAA6B,EACpE,CAAC;CACH"}
@@ -2,5 +2,5 @@ export { Connect, type ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams
2
2
  export { Health, type HealthCheckResponse, type HealthVerifyAccessKeyResponse } from "./health.mjs";
3
3
  export { Media, type MediaUploadResponse, type MediaUploadParams } from "./media.mjs";
4
4
  export { Platforms, type PlatformListResponse } from "./platforms.mjs";
5
- export { Posts, type PostSummary, type Status, type PostCreateResponse, type PostRetrieveResponse, type PostListResponse, type PostDeleteResponse, type PostCreateParams, type PostListParams, } from "./posts/posts.mjs";
5
+ export { Posts, type Status, type PostCreateResponse, type PostRetrieveResponse, type PostListResponse, type PostDeleteResponse, type PostCreateParams, type PostListParams } from "./posts/posts.mjs";
6
6
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,wBAAwB,EAAE;OAC3E,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE,KAAK,6BAA6B,EAAE;OACxE,EAAE,KAAK,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE;OAC3D,EAAE,SAAS,EAAE,KAAK,oBAAoB,EAAE;OACxC,EACL,KAAK,EACL,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,wBAAwB,EAAE;OAC3E,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE,KAAK,6BAA6B,EAAE;OACxE,EAAE,KAAK,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE;OAC3D,EAAE,SAAS,EAAE,KAAK,oBAAoB,EAAE;OACxC,EAAE,KAAK,EAAE,KAAK,MAAM,EAAE,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAE,KAAK,gBAAgB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE"}
@@ -2,5 +2,5 @@ export { Connect, type ConnectGetOAuthURLResponse, type ConnectGetOAuthURLParams
2
2
  export { Health, type HealthCheckResponse, type HealthVerifyAccessKeyResponse } from "./health.js";
3
3
  export { Media, type MediaUploadResponse, type MediaUploadParams } from "./media.js";
4
4
  export { Platforms, type PlatformListResponse } from "./platforms.js";
5
- export { Posts, type PostSummary, type Status, type PostCreateResponse, type PostRetrieveResponse, type PostListResponse, type PostDeleteResponse, type PostCreateParams, type PostListParams, } from "./posts/posts.js";
5
+ export { Posts, type Status, type PostCreateResponse, type PostRetrieveResponse, type PostListResponse, type PostDeleteResponse, type PostCreateParams, type PostListParams } from "./posts/posts.js";
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,wBAAwB,EAAE;OAC3E,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE,KAAK,6BAA6B,EAAE;OACxE,EAAE,KAAK,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE;OAC3D,EAAE,SAAS,EAAE,KAAK,oBAAoB,EAAE;OACxC,EACL,KAAK,EACL,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,0BAA0B,EAAE,KAAK,wBAAwB,EAAE;OAC3E,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE,KAAK,6BAA6B,EAAE;OACxE,EAAE,KAAK,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE;OAC3D,EAAE,SAAS,EAAE,KAAK,oBAAoB,EAAE;OACxC,EAAE,KAAK,EAAE,KAAK,MAAM,EAAE,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAE,KAAK,gBAAgB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE"}
@@ -4,12 +4,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Posts = exports.Platforms = exports.Media = exports.Health = exports.Connect = void 0;
5
5
  var connect_1 = require("./connect/connect.js");
6
6
  Object.defineProperty(exports, "Connect", { enumerable: true, get: function () { return connect_1.Connect; } });
7
+ ;
7
8
  var health_1 = require("./health.js");
8
9
  Object.defineProperty(exports, "Health", { enumerable: true, get: function () { return health_1.Health; } });
10
+ ;
9
11
  var media_1 = require("./media.js");
10
12
  Object.defineProperty(exports, "Media", { enumerable: true, get: function () { return media_1.Media; } });
13
+ ;
11
14
  var platforms_1 = require("./platforms.js");
12
15
  Object.defineProperty(exports, "Platforms", { enumerable: true, get: function () { return platforms_1.Platforms; } });
16
+ ;
13
17
  var posts_1 = require("./posts/posts.js");
14
18
  Object.defineProperty(exports, "Posts", { enumerable: true, get: function () { return posts_1.Posts; } });
19
+ ;
15
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA4G;AAAnG,kGAAA,OAAO,OAAA;AAChB,sCAAgG;AAAvF,gGAAA,MAAM,OAAA;AACf,oCAAkF;AAAzE,8FAAA,KAAK,OAAA;AACd,4CAAmE;AAA1D,sGAAA,SAAS,OAAA;AAClB,0CAUuB;AATrB,8FAAA,KAAK,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA4G;AAAnG,kGAAA,OAAO,OAAA;AAA4F,CAAC;AAC7G,sCAAgG;AAAvF,gGAAA,MAAM,OAAA;AAAiF,CAAC;AACjG,oCAAkF;AAAzE,8FAAA,KAAK,OAAA;AAAoE,CAAC;AACnF,4CAAmE;AAA1D,sGAAA,SAAS,OAAA;AAAiD,CAAC;AACpE,0CAAmM;AAA1L,8FAAA,KAAK,OAAA;AAAqL,CAAC"}
@@ -1,7 +1,12 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { Connect } from "./connect/connect.mjs";
3
+ ;
3
4
  export { Health } from "./health.mjs";
5
+ ;
4
6
  export { Media } from "./media.mjs";
7
+ ;
5
8
  export { Platforms } from "./platforms.mjs";
6
- export { Posts, } from "./posts/posts.mjs";
9
+ ;
10
+ export { Posts } from "./posts/posts.mjs";
11
+ ;
7
12
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAkE;OAC3E,EAAE,MAAM,EAAgE;OACxE,EAAE,KAAK,EAAoD;OAC3D,EAAE,SAAS,EAA6B;OACxC,EACL,KAAK,GASN"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAkE;AAA0B,CAAC;OACtG,EAAE,MAAM,EAAgE;AAAiB,CAAC;OAC1F,EAAE,KAAK,EAAoD;AAAgB,CAAC;OAC5E,EAAE,SAAS,EAA6B;AAAoB,CAAC;OAC7D,EAAE,KAAK,EAA+J;AAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"media.d.mts","sourceRoot":"","sources":["../src/resources/media.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;CAG3F;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,mBAAmB,CAAC,IAAI,CAAC;IAE/B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,yBAAiB,mBAAmB,CAAC;IACnC,UAAiB,IAAI;QACnB,SAAS,EAAE,MAAM,CAAC;QAElB,SAAS,EAAE,MAAM,CAAC;KACnB;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACzG"}
1
+ {"version":3,"file":"media.d.mts","sourceRoot":"","sources":["../src/resources/media.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;CAG3F;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,mBAAmB,CAAC,IAAI,CAAC;IAE/B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,yBAAiB,mBAAmB,CAAC;IACnC,UAAiB,IAAI;QACnB,SAAS,EAAE,MAAM,CAAC;QAElB,SAAS,EAAE,MAAM,CAAC;KACnB;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC5C,CAAC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../src/resources/media.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M,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC5C,CAAC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"platforms.d.mts","sourceRoot":"","sources":["../src/resources/platforms.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAGjE;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,KAAK,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC;CACjD;AAED,yBAAiB,oBAAoB,CAAC;IACpC,UAAiB,QAAQ;QACvB,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,CAAC;QAEhF,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;KACjC;CACF;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;CAC9D"}
1
+ {"version":3,"file":"platforms.d.mts","sourceRoot":"","sources":["../src/resources/platforms.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAGjE;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,KAAK,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC;CACjD;AAED,yBAAiB,oBAAoB,CAAC;IACpC,UAAiB,QAAQ;QACvB,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,CAAC;QAEhF,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;KACjC;CACF;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EAClD,CAAC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"platforms.d.ts","sourceRoot":"","sources":["../src/resources/platforms.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAGjE;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,KAAK,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC;CACjD;AAED,yBAAiB,oBAAoB,CAAC;IACpC,UAAiB,QAAQ;QACvB,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,CAAC;QAEhF,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;KACjC;CACF;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;CAC9D"}
1
+ {"version":3,"file":"platforms.d.ts","sourceRoot":"","sources":["../src/resources/platforms.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAGjE;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,KAAK,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC;CACjD;AAED,yBAAiB,oBAAoB,CAAC;IACpC,UAAiB,QAAQ;QACvB,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,CAAC;QAEhF,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;KACjC;CACF;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EAClD,CAAC;CACH"}
@@ -1,3 +1,3 @@
1
- export { Posts, type PostSummary, type Status, type PostCreateResponse, type PostRetrieveResponse, type PostListResponse, type PostDeleteResponse, type PostCreateParams, type PostListParams, } from "./posts.mjs";
2
- export { Scheduled, type ScheduledListResponse, type ScheduledCancelResponse, type ScheduledRescheduleResponse, type ScheduledRescheduleParams, } from "./scheduled.mjs";
1
+ export { Posts, type Status, type PostCreateResponse, type PostRetrieveResponse, type PostListResponse, type PostDeleteResponse, type PostCreateParams, type PostListParams } from "./posts.mjs";
2
+ export { Scheduled, type ScheduledListResponse, type ScheduledCancelResponse, type ScheduledRescheduleResponse, type ScheduledRescheduleParams } from "./scheduled.mjs";
3
3
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/posts/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB;OACM,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,GAC/B"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/posts/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,KAAK,MAAM,EAAE,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAE,KAAK,gBAAgB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE;OACtK,EAAE,SAAS,EAAE,KAAK,qBAAqB,EAAE,KAAK,uBAAuB,EAAE,KAAK,2BAA2B,EAAE,KAAK,yBAAyB,EAAE"}
@@ -1,3 +1,3 @@
1
- export { Posts, type PostSummary, type Status, type PostCreateResponse, type PostRetrieveResponse, type PostListResponse, type PostDeleteResponse, type PostCreateParams, type PostListParams, } from "./posts.js";
2
- export { Scheduled, type ScheduledListResponse, type ScheduledCancelResponse, type ScheduledRescheduleResponse, type ScheduledRescheduleParams, } from "./scheduled.js";
1
+ export { Posts, type Status, type PostCreateResponse, type PostRetrieveResponse, type PostListResponse, type PostDeleteResponse, type PostCreateParams, type PostListParams } from "./posts.js";
2
+ export { Scheduled, type ScheduledListResponse, type ScheduledCancelResponse, type ScheduledRescheduleResponse, type ScheduledRescheduleParams } from "./scheduled.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/posts/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB;OACM,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,GAC/B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/posts/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE,KAAK,MAAM,EAAE,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAE,KAAK,gBAAgB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE;OACtK,EAAE,SAAS,EAAE,KAAK,qBAAqB,EAAE,KAAK,uBAAuB,EAAE,KAAK,2BAA2B,EAAE,KAAK,yBAAyB,EAAE"}
@@ -4,6 +4,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Scheduled = exports.Posts = void 0;
5
5
  var posts_1 = require("./posts.js");
6
6
  Object.defineProperty(exports, "Posts", { enumerable: true, get: function () { return posts_1.Posts; } });
7
+ ;
7
8
  var scheduled_1 = require("./scheduled.js");
8
9
  Object.defineProperty(exports, "Scheduled", { enumerable: true, get: function () { return scheduled_1.Scheduled; } });
10
+ ;
9
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/posts/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAUiB;AATf,8FAAA,KAAK,OAAA;AAUP,4CAMqB;AALnB,sGAAA,SAAS,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/posts/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAA6L;AAApL,8FAAA,KAAK,OAAA;AAA+K,CAAC;AAC9L,4CAAoK;AAA3J,sGAAA,SAAS,OAAA;AAAkJ,CAAC"}
@@ -1,4 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export { Posts, } from "./posts.mjs";
3
- export { Scheduled, } from "./scheduled.mjs";
2
+ export { Posts } from "./posts.mjs";
3
+ ;
4
+ export { Scheduled } from "./scheduled.mjs";
5
+ ;
4
6
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/posts/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,KAAK,GASN;OACM,EACL,SAAS,GAKV"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/posts/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,KAAK,EAA+J;AAAgB,CAAC;OACvL,EAAE,SAAS,EAA8H;AAAoB,CAAC"}