@rippling/rippling-sdk 0.2.0-alpha.95 → 0.2.0-alpha.97

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 (259) hide show
  1. package/client.d.mts +78 -6
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +78 -6
  4. package/client.d.ts.map +1 -1
  5. package/client.js +73 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs +73 -1
  8. package/client.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/agents/sessions/index.d.mts +1 -0
  11. package/resources/agents/sessions/index.d.mts.map +1 -1
  12. package/resources/agents/sessions/index.d.ts +1 -0
  13. package/resources/agents/sessions/index.d.ts.map +1 -1
  14. package/resources/agents/sessions/index.js +3 -1
  15. package/resources/agents/sessions/index.js.map +1 -1
  16. package/resources/agents/sessions/index.mjs +1 -0
  17. package/resources/agents/sessions/index.mjs.map +1 -1
  18. package/resources/agents/sessions/messages.d.mts +24 -0
  19. package/resources/agents/sessions/messages.d.mts.map +1 -1
  20. package/resources/agents/sessions/messages.d.ts +24 -0
  21. package/resources/agents/sessions/messages.d.ts.map +1 -1
  22. package/resources/agents/sessions/resume-state.d.mts +25 -0
  23. package/resources/agents/sessions/resume-state.d.mts.map +1 -0
  24. package/resources/agents/sessions/resume-state.d.ts +25 -0
  25. package/resources/agents/sessions/resume-state.d.ts.map +1 -0
  26. package/resources/agents/sessions/resume-state.js +19 -0
  27. package/resources/agents/sessions/resume-state.js.map +1 -0
  28. package/resources/agents/sessions/resume-state.mjs +15 -0
  29. package/resources/agents/sessions/resume-state.mjs.map +1 -0
  30. package/resources/agents/sessions/sessions.d.mts +91 -0
  31. package/resources/agents/sessions/sessions.d.mts.map +1 -1
  32. package/resources/agents/sessions/sessions.d.ts +91 -0
  33. package/resources/agents/sessions/sessions.d.ts.map +1 -1
  34. package/resources/agents/sessions/sessions.js +4 -0
  35. package/resources/agents/sessions/sessions.js.map +1 -1
  36. package/resources/agents/sessions/sessions.mjs +4 -0
  37. package/resources/agents/sessions/sessions.mjs.map +1 -1
  38. package/resources/background-check-candidates.d.mts +337 -0
  39. package/resources/background-check-candidates.d.mts.map +1 -0
  40. package/resources/background-check-candidates.d.ts +337 -0
  41. package/resources/background-check-candidates.d.ts.map +1 -0
  42. package/resources/background-check-candidates.js +52 -0
  43. package/resources/background-check-candidates.js.map +1 -0
  44. package/resources/background-check-candidates.mjs +48 -0
  45. package/resources/background-check-candidates.mjs.map +1 -0
  46. package/resources/business-structure-paths.d.mts +54 -1
  47. package/resources/business-structure-paths.d.mts.map +1 -1
  48. package/resources/business-structure-paths.d.ts +54 -1
  49. package/resources/business-structure-paths.d.ts.map +1 -1
  50. package/resources/business-structure-paths.js +16 -0
  51. package/resources/business-structure-paths.js.map +1 -1
  52. package/resources/business-structure-paths.mjs +16 -0
  53. package/resources/business-structure-paths.mjs.map +1 -1
  54. package/resources/developer-program-application.d.mts +176 -0
  55. package/resources/developer-program-application.d.mts.map +1 -0
  56. package/resources/developer-program-application.d.ts +176 -0
  57. package/resources/developer-program-application.d.ts.map +1 -0
  58. package/resources/developer-program-application.js +27 -0
  59. package/resources/developer-program-application.js.map +1 -0
  60. package/resources/developer-program-application.mjs +23 -0
  61. package/resources/developer-program-application.mjs.map +1 -0
  62. package/resources/developer-users.d.mts +53 -0
  63. package/resources/developer-users.d.mts.map +1 -0
  64. package/resources/developer-users.d.ts +53 -0
  65. package/resources/developer-users.d.ts.map +1 -0
  66. package/resources/developer-users.js +25 -0
  67. package/resources/developer-users.js.map +1 -0
  68. package/resources/developer-users.mjs +21 -0
  69. package/resources/developer-users.mjs.map +1 -0
  70. package/resources/draft-transitions.d.mts +474 -0
  71. package/resources/draft-transitions.d.mts.map +1 -0
  72. package/resources/draft-transitions.d.ts +474 -0
  73. package/resources/draft-transitions.d.ts.map +1 -0
  74. package/resources/draft-transitions.js +25 -0
  75. package/resources/draft-transitions.js.map +1 -0
  76. package/resources/draft-transitions.mjs +21 -0
  77. package/resources/draft-transitions.mjs.map +1 -0
  78. package/resources/earnings-inputs.d.mts +30 -0
  79. package/resources/earnings-inputs.d.mts.map +1 -1
  80. package/resources/earnings-inputs.d.ts +30 -0
  81. package/resources/earnings-inputs.d.ts.map +1 -1
  82. package/resources/hire-requirements.d.mts +112 -0
  83. package/resources/hire-requirements.d.mts.map +1 -0
  84. package/resources/hire-requirements.d.ts +112 -0
  85. package/resources/hire-requirements.d.ts.map +1 -0
  86. package/resources/hire-requirements.js +19 -0
  87. package/resources/hire-requirements.js.map +1 -0
  88. package/resources/hire-requirements.mjs +15 -0
  89. package/resources/hire-requirements.mjs.map +1 -0
  90. package/resources/hires.d.mts +657 -0
  91. package/resources/hires.d.mts.map +1 -0
  92. package/resources/hires.d.ts +657 -0
  93. package/resources/hires.d.ts.map +1 -0
  94. package/resources/hires.js +25 -0
  95. package/resources/hires.js.map +1 -0
  96. package/resources/hires.mjs +21 -0
  97. package/resources/hires.mjs.map +1 -0
  98. package/resources/index.d.mts +15 -3
  99. package/resources/index.d.mts.map +1 -1
  100. package/resources/index.d.ts +15 -3
  101. package/resources/index.d.ts.map +1 -1
  102. package/resources/index.js +27 -3
  103. package/resources/index.js.map +1 -1
  104. package/resources/index.mjs +13 -1
  105. package/resources/index.mjs.map +1 -1
  106. package/resources/listing-submissions.d.mts +86 -0
  107. package/resources/listing-submissions.d.mts.map +1 -0
  108. package/resources/listing-submissions.d.ts +86 -0
  109. package/resources/listing-submissions.d.ts.map +1 -0
  110. package/resources/listing-submissions.js +31 -0
  111. package/resources/listing-submissions.js.map +1 -0
  112. package/resources/listing-submissions.mjs +27 -0
  113. package/resources/listing-submissions.mjs.map +1 -0
  114. package/resources/listing-transitions.d.mts +59 -0
  115. package/resources/listing-transitions.d.mts.map +1 -0
  116. package/resources/listing-transitions.d.ts +59 -0
  117. package/resources/listing-transitions.d.ts.map +1 -0
  118. package/resources/listing-transitions.js +24 -0
  119. package/resources/listing-transitions.js.map +1 -0
  120. package/resources/listing-transitions.mjs +20 -0
  121. package/resources/listing-transitions.mjs.map +1 -0
  122. package/resources/listing.d.mts +1818 -0
  123. package/resources/listing.d.mts.map +1 -0
  124. package/resources/listing.d.ts +1818 -0
  125. package/resources/listing.d.ts.map +1 -0
  126. package/resources/listing.js +70 -0
  127. package/resources/listing.js.map +1 -0
  128. package/resources/listing.mjs +66 -0
  129. package/resources/listing.mjs.map +1 -0
  130. package/resources/package-managed-installs.d.mts +119 -0
  131. package/resources/package-managed-installs.d.mts.map +1 -0
  132. package/resources/package-managed-installs.d.ts +119 -0
  133. package/resources/package-managed-installs.d.ts.map +1 -0
  134. package/resources/package-managed-installs.js +26 -0
  135. package/resources/package-managed-installs.js.map +1 -0
  136. package/resources/package-managed-installs.mjs +22 -0
  137. package/resources/package-managed-installs.mjs.map +1 -0
  138. package/resources/package-sandbox-links.d.mts +150 -0
  139. package/resources/package-sandbox-links.d.mts.map +1 -0
  140. package/resources/package-sandbox-links.d.ts +150 -0
  141. package/resources/package-sandbox-links.d.ts.map +1 -0
  142. package/resources/package-sandbox-links.js +25 -0
  143. package/resources/package-sandbox-links.js.map +1 -0
  144. package/resources/package-sandbox-links.mjs +21 -0
  145. package/resources/package-sandbox-links.mjs.map +1 -0
  146. package/resources/package-versions/index.d.mts +3 -0
  147. package/resources/package-versions/index.d.mts.map +1 -0
  148. package/resources/package-versions/index.d.ts +3 -0
  149. package/resources/package-versions/index.d.ts.map +1 -0
  150. package/resources/package-versions/index.js +9 -0
  151. package/resources/package-versions/index.js.map +1 -0
  152. package/resources/package-versions/index.mjs +4 -0
  153. package/resources/package-versions/index.mjs.map +1 -0
  154. package/resources/package-versions/package-versions.d.mts +114 -0
  155. package/resources/package-versions/package-versions.d.mts.map +1 -0
  156. package/resources/package-versions/package-versions.d.ts +114 -0
  157. package/resources/package-versions/package-versions.d.ts.map +1 -0
  158. package/resources/package-versions/package-versions.js +33 -0
  159. package/resources/package-versions/package-versions.js.map +1 -0
  160. package/resources/package-versions/package-versions.mjs +28 -0
  161. package/resources/package-versions/package-versions.mjs.map +1 -0
  162. package/resources/package-versions/publish.d.mts +58 -0
  163. package/resources/package-versions/publish.d.mts.map +1 -0
  164. package/resources/package-versions/publish.d.ts +58 -0
  165. package/resources/package-versions/publish.d.ts.map +1 -0
  166. package/resources/package-versions/publish.js +19 -0
  167. package/resources/package-versions/publish.js.map +1 -0
  168. package/resources/package-versions/publish.mjs +15 -0
  169. package/resources/package-versions/publish.mjs.map +1 -0
  170. package/resources/package-versions.d.mts +1 -63
  171. package/resources/package-versions.d.mts.map +1 -1
  172. package/resources/package-versions.d.ts +1 -63
  173. package/resources/package-versions.d.ts.map +1 -1
  174. package/resources/package-versions.js +2 -15
  175. package/resources/package-versions.js.map +1 -1
  176. package/resources/package-versions.mjs +1 -13
  177. package/resources/package-versions.mjs.map +1 -1
  178. package/resources/packages/index.d.mts +1 -1
  179. package/resources/packages/index.d.mts.map +1 -1
  180. package/resources/packages/index.d.ts +1 -1
  181. package/resources/packages/index.d.ts.map +1 -1
  182. package/resources/packages/index.js.map +1 -1
  183. package/resources/packages/index.mjs +1 -1
  184. package/resources/packages/index.mjs.map +1 -1
  185. package/resources/packages/packages.d.mts +10 -10
  186. package/resources/packages/packages.d.mts.map +1 -1
  187. package/resources/packages/packages.d.ts +10 -10
  188. package/resources/packages/packages.d.ts.map +1 -1
  189. package/resources/packages/packages.js +11 -11
  190. package/resources/packages/packages.js.map +1 -1
  191. package/resources/packages/packages.mjs +12 -12
  192. package/resources/packages/packages.mjs.map +1 -1
  193. package/resources/packages/versions.d.mts +57 -2
  194. package/resources/packages/versions.d.mts.map +1 -1
  195. package/resources/packages/versions.d.ts +57 -2
  196. package/resources/packages/versions.d.ts.map +1 -1
  197. package/resources/packages/versions.js +8 -1
  198. package/resources/packages/versions.js.map +1 -1
  199. package/resources/packages/versions.mjs +8 -1
  200. package/resources/packages/versions.mjs.map +1 -1
  201. package/resources/sandboxes.d.mts +35 -22
  202. package/resources/sandboxes.d.mts.map +1 -1
  203. package/resources/sandboxes.d.ts +35 -22
  204. package/resources/sandboxes.d.ts.map +1 -1
  205. package/resources/sandboxes.js +6 -0
  206. package/resources/sandboxes.js.map +1 -1
  207. package/resources/sandboxes.mjs +6 -0
  208. package/resources/sandboxes.mjs.map +1 -1
  209. package/resources/sites.d.mts +2 -1
  210. package/resources/sites.d.mts.map +1 -1
  211. package/resources/sites.d.ts +2 -1
  212. package/resources/sites.d.ts.map +1 -1
  213. package/resources/workers.d.mts +41 -0
  214. package/resources/workers.d.mts.map +1 -1
  215. package/resources/workers.d.ts +41 -0
  216. package/resources/workers.d.ts.map +1 -1
  217. package/resources/workflows.d.mts +768 -0
  218. package/resources/workflows.d.mts.map +1 -0
  219. package/resources/workflows.d.ts +768 -0
  220. package/resources/workflows.d.ts.map +1 -0
  221. package/resources/workflows.js +48 -0
  222. package/resources/workflows.js.map +1 -0
  223. package/resources/workflows.mjs +44 -0
  224. package/resources/workflows.mjs.map +1 -0
  225. package/src/client.ts +277 -5
  226. package/src/resources/agents/sessions/index.ts +1 -0
  227. package/src/resources/agents/sessions/messages.ts +28 -0
  228. package/src/resources/agents/sessions/resume-state.ts +32 -0
  229. package/src/resources/agents/sessions/sessions.ts +107 -0
  230. package/src/resources/background-check-candidates.ts +434 -0
  231. package/src/resources/business-structure-paths.ts +78 -0
  232. package/src/resources/developer-program-application.ts +233 -0
  233. package/src/resources/developer-users.ts +77 -0
  234. package/src/resources/draft-transitions.ts +583 -0
  235. package/src/resources/earnings-inputs.ts +36 -0
  236. package/src/resources/hire-requirements.ts +140 -0
  237. package/src/resources/hires.ts +786 -0
  238. package/src/resources/index.ts +99 -1
  239. package/src/resources/listing-submissions.ts +120 -0
  240. package/src/resources/listing-transitions.ts +84 -0
  241. package/src/resources/listing.ts +2297 -0
  242. package/src/resources/package-managed-installs.ts +156 -0
  243. package/src/resources/package-sandbox-links.ts +195 -0
  244. package/src/resources/package-versions/index.ts +9 -0
  245. package/src/resources/package-versions/package-versions.ts +156 -0
  246. package/src/resources/package-versions/publish.ts +74 -0
  247. package/src/resources/package-versions.ts +1 -86
  248. package/src/resources/packages/index.ts +8 -1
  249. package/src/resources/packages/packages.ts +26 -12
  250. package/src/resources/packages/versions.ts +83 -1
  251. package/src/resources/sandboxes.ts +45 -24
  252. package/src/resources/sites.ts +2 -1
  253. package/src/resources/workers.ts +46 -0
  254. package/src/resources/workflows.ts +1434 -0
  255. package/src/version.ts +1 -1
  256. package/version.d.mts +1 -1
  257. package/version.d.ts +1 -1
  258. package/version.js +1 -1
  259. package/version.mjs +1 -1
@@ -0,0 +1,86 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import * as BusinessPartnersAPI from "./business-partners.js";
3
+ import { APIPromise } from "../core/api-promise.js";
4
+ import { PageCursorURL, PagePromise } from "../core/pagination.js";
5
+ import { RequestOptions } from "../internal/request-options.js";
6
+ /**
7
+ * Developer Platform account and team management
8
+ */
9
+ export declare class ListingSubmissions extends APIResource {
10
+ /**
11
+ * A list of listing submission.
12
+ *
13
+ * - Requires: `Developer Program`
14
+ */
15
+ list(query: ListingSubmissionListParams, options?: RequestOptions): PagePromise<ListingSubmissionListResponsesPageCursorURL, ListingSubmissionListResponse>;
16
+ /**
17
+ * Get one listing submission.
18
+ */
19
+ retrieve(id: string, options?: RequestOptions): APIPromise<ListingSubmissionRetrieveResponse>;
20
+ }
21
+ export type ListingSubmissionListResponsesPageCursorURL = PageCursorURL<ListingSubmissionListResponse>;
22
+ export interface ListingSubmissionListResponse {
23
+ /**
24
+ * Creation timestamp.
25
+ */
26
+ created_at?: string;
27
+ /**
28
+ * The parent listing ID.
29
+ */
30
+ listing_id?: string;
31
+ /**
32
+ * The latest submitted notes.
33
+ */
34
+ notes?: string;
35
+ /**
36
+ * The submission lifecycle status.
37
+ */
38
+ status?: string;
39
+ /**
40
+ * The submitted listing version ID.
41
+ */
42
+ submission_id?: string;
43
+ /**
44
+ * Last update timestamp.
45
+ */
46
+ updated_at?: string;
47
+ }
48
+ /**
49
+ * Meta information for the response.
50
+ */
51
+ export interface ListingSubmissionRetrieveResponse extends BusinessPartnersAPI.Meta {
52
+ /**
53
+ * Creation timestamp.
54
+ */
55
+ created_at?: string;
56
+ /**
57
+ * The parent listing ID.
58
+ */
59
+ listing_id?: string;
60
+ /**
61
+ * The latest submitted notes.
62
+ */
63
+ notes?: string;
64
+ /**
65
+ * The submission lifecycle status.
66
+ */
67
+ status?: string;
68
+ /**
69
+ * The submitted listing version ID.
70
+ */
71
+ submission_id?: string;
72
+ /**
73
+ * Last update timestamp.
74
+ */
75
+ updated_at?: string;
76
+ }
77
+ export interface ListingSubmissionListParams {
78
+ /**
79
+ * The unique identifier of the listing whose submissions should be returned.
80
+ */
81
+ listing_id: string;
82
+ }
83
+ export declare namespace ListingSubmissions {
84
+ export { type ListingSubmissionListResponse as ListingSubmissionListResponse, type ListingSubmissionRetrieveResponse as ListingSubmissionRetrieveResponse, type ListingSubmissionListResponsesPageCursorURL as ListingSubmissionListResponsesPageCursorURL, type ListingSubmissionListParams as ListingSubmissionListParams, };
85
+ }
86
+ //# sourceMappingURL=listing-submissions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listing-submissions.d.ts","sourceRoot":"","sources":["../src/resources/listing-submissions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,mBAAmB,+BAA4B;AAC3D,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,8BAA2B;AAChE,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;OAIG;IACH,IAAI,CACF,KAAK,EAAE,2BAA2B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,2CAA2C,EAAE,6BAA6B,CAAC;IAO1F;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iCAAiC,CAAC;CAG9F;AAED,MAAM,MAAM,2CAA2C,GAAG,aAAa,CAAC,6BAA6B,CAAC,CAAC;AAEvG,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,iCAAkC,SAAQ,mBAAmB,CAAC,IAAI;IACjF;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,2CAA2C,IAAI,2CAA2C,EAC/F,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListingSubmissions = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ const pagination_1 = require("../core/pagination.js");
7
+ const path_1 = require("../internal/utils/path.js");
8
+ /**
9
+ * Developer Platform account and team management
10
+ */
11
+ class ListingSubmissions extends resource_1.APIResource {
12
+ /**
13
+ * A list of listing submission.
14
+ *
15
+ * - Requires: `Developer Program`
16
+ */
17
+ list(query, options) {
18
+ return this._client.getAPIList('/listing-submissions/', (pagination_1.PageCursorURL), {
19
+ query,
20
+ ...options,
21
+ });
22
+ }
23
+ /**
24
+ * Get one listing submission.
25
+ */
26
+ retrieve(id, options) {
27
+ return this._client.get((0, path_1.path) `/listing-submissions/${id}/`, options);
28
+ }
29
+ }
30
+ exports.ListingSubmissions = ListingSubmissions;
31
+ //# sourceMappingURL=listing-submissions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listing-submissions.js","sourceRoot":"","sources":["../src/resources/listing-submissions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAgE;AAEhE,oDAA8C;AAE9C;;GAEG;AACH,MAAa,kBAAmB,SAAQ,sBAAW;IACjD;;;;OAIG;IACH,IAAI,CACF,KAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,EAAE,CAAA,0BAA4C,CAAA,EAAE;YACpG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,wBAAwB,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;CACF;AAtBD,gDAsBC"}
@@ -0,0 +1,27 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ import { PageCursorURL } from "../core/pagination.mjs";
4
+ import { path } from "../internal/utils/path.mjs";
5
+ /**
6
+ * Developer Platform account and team management
7
+ */
8
+ export class ListingSubmissions extends APIResource {
9
+ /**
10
+ * A list of listing submission.
11
+ *
12
+ * - Requires: `Developer Program`
13
+ */
14
+ list(query, options) {
15
+ return this._client.getAPIList('/listing-submissions/', (PageCursorURL), {
16
+ query,
17
+ ...options,
18
+ });
19
+ }
20
+ /**
21
+ * Get one listing submission.
22
+ */
23
+ retrieve(id, options) {
24
+ return this._client.get(path `/listing-submissions/${id}/`, options);
25
+ }
26
+ }
27
+ //# sourceMappingURL=listing-submissions.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listing-submissions.mjs","sourceRoot":"","sources":["../src/resources/listing-submissions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,aAAa,EAAe,+BAA2B;AAEhE,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,kBAAmB,SAAQ,WAAW;IACjD;;;;OAIG;IACH,IAAI,CACF,KAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,EAAE,CAAA,aAA4C,CAAA,EAAE;YACpG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,wBAAwB,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;CACF"}
@@ -0,0 +1,59 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
3
+ import { RequestOptions } from "../internal/request-options.mjs";
4
+ /**
5
+ * Developer Platform account and team management
6
+ */
7
+ export declare class ListingTransitions extends APIResource {
8
+ /**
9
+ * A list of listing transition.
10
+ *
11
+ * - Requires: `Developer Program`
12
+ */
13
+ list(query: ListingTransitionListParams, options?: RequestOptions): PagePromise<ListingTransitionListResponsesPageCursorURL, ListingTransitionListResponse>;
14
+ }
15
+ export type ListingTransitionListResponsesPageCursorURL = PageCursorURL<ListingTransitionListResponse>;
16
+ export interface ListingTransitionListResponse {
17
+ /**
18
+ * The lifecycle action recorded for this activity item.
19
+ */
20
+ action?: string;
21
+ /**
22
+ * The actor role ID that performed the action.
23
+ */
24
+ actor_id?: string;
25
+ /**
26
+ * Optional comment recorded with the action.
27
+ */
28
+ comment?: string;
29
+ /**
30
+ * The parent listing ID.
31
+ */
32
+ listing_id?: string;
33
+ /**
34
+ * The new lifecycle status.
35
+ */
36
+ new_status?: string;
37
+ /**
38
+ * The previous lifecycle status.
39
+ */
40
+ previous_status?: string;
41
+ /**
42
+ * The listing version ID associated with this activity.
43
+ */
44
+ submission_id?: string;
45
+ /**
46
+ * Activity timestamp.
47
+ */
48
+ timestamp?: string;
49
+ }
50
+ export interface ListingTransitionListParams {
51
+ /**
52
+ * The unique identifier of the listing whose transitions should be returned.
53
+ */
54
+ listing_id: string;
55
+ }
56
+ export declare namespace ListingTransitions {
57
+ export { type ListingTransitionListResponse as ListingTransitionListResponse, type ListingTransitionListResponsesPageCursorURL as ListingTransitionListResponsesPageCursorURL, type ListingTransitionListParams as ListingTransitionListParams, };
58
+ }
59
+ //# sourceMappingURL=listing-transitions.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listing-transitions.d.mts","sourceRoot":"","sources":["../src/resources/listing-transitions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,+BAA2B;AAChE,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;OAIG;IACH,IAAI,CACF,KAAK,EAAE,2BAA2B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,2CAA2C,EAAE,6BAA6B,CAAC;CAM3F;AAED,MAAM,MAAM,2CAA2C,GAAG,aAAa,CAAC,6BAA6B,CAAC,CAAC;AAEvG,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2CAA2C,IAAI,2CAA2C,EAC/F,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
@@ -0,0 +1,59 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import { PageCursorURL, PagePromise } from "../core/pagination.js";
3
+ import { RequestOptions } from "../internal/request-options.js";
4
+ /**
5
+ * Developer Platform account and team management
6
+ */
7
+ export declare class ListingTransitions extends APIResource {
8
+ /**
9
+ * A list of listing transition.
10
+ *
11
+ * - Requires: `Developer Program`
12
+ */
13
+ list(query: ListingTransitionListParams, options?: RequestOptions): PagePromise<ListingTransitionListResponsesPageCursorURL, ListingTransitionListResponse>;
14
+ }
15
+ export type ListingTransitionListResponsesPageCursorURL = PageCursorURL<ListingTransitionListResponse>;
16
+ export interface ListingTransitionListResponse {
17
+ /**
18
+ * The lifecycle action recorded for this activity item.
19
+ */
20
+ action?: string;
21
+ /**
22
+ * The actor role ID that performed the action.
23
+ */
24
+ actor_id?: string;
25
+ /**
26
+ * Optional comment recorded with the action.
27
+ */
28
+ comment?: string;
29
+ /**
30
+ * The parent listing ID.
31
+ */
32
+ listing_id?: string;
33
+ /**
34
+ * The new lifecycle status.
35
+ */
36
+ new_status?: string;
37
+ /**
38
+ * The previous lifecycle status.
39
+ */
40
+ previous_status?: string;
41
+ /**
42
+ * The listing version ID associated with this activity.
43
+ */
44
+ submission_id?: string;
45
+ /**
46
+ * Activity timestamp.
47
+ */
48
+ timestamp?: string;
49
+ }
50
+ export interface ListingTransitionListParams {
51
+ /**
52
+ * The unique identifier of the listing whose transitions should be returned.
53
+ */
54
+ listing_id: string;
55
+ }
56
+ export declare namespace ListingTransitions {
57
+ export { type ListingTransitionListResponse as ListingTransitionListResponse, type ListingTransitionListResponsesPageCursorURL as ListingTransitionListResponsesPageCursorURL, type ListingTransitionListParams as ListingTransitionListParams, };
58
+ }
59
+ //# sourceMappingURL=listing-transitions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listing-transitions.d.ts","sourceRoot":"","sources":["../src/resources/listing-transitions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,8BAA2B;AAChE,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;OAIG;IACH,IAAI,CACF,KAAK,EAAE,2BAA2B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,2CAA2C,EAAE,6BAA6B,CAAC;CAM3F;AAED,MAAM,MAAM,2CAA2C,GAAG,aAAa,CAAC,6BAA6B,CAAC,CAAC;AAEvG,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2CAA2C,IAAI,2CAA2C,EAC/F,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListingTransitions = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ const pagination_1 = require("../core/pagination.js");
7
+ /**
8
+ * Developer Platform account and team management
9
+ */
10
+ class ListingTransitions extends resource_1.APIResource {
11
+ /**
12
+ * A list of listing transition.
13
+ *
14
+ * - Requires: `Developer Program`
15
+ */
16
+ list(query, options) {
17
+ return this._client.getAPIList('/listing-transitions/', (pagination_1.PageCursorURL), {
18
+ query,
19
+ ...options,
20
+ });
21
+ }
22
+ }
23
+ exports.ListingTransitions = ListingTransitions;
24
+ //# sourceMappingURL=listing-transitions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listing-transitions.js","sourceRoot":"","sources":["../src/resources/listing-transitions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAC/C,sDAAgE;AAGhE;;GAEG;AACH,MAAa,kBAAmB,SAAQ,sBAAW;IACjD;;;;OAIG;IACH,IAAI,CACF,KAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,EAAE,CAAA,0BAA4C,CAAA,EAAE;YACpG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAfD,gDAeC"}
@@ -0,0 +1,20 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ import { PageCursorURL } from "../core/pagination.mjs";
4
+ /**
5
+ * Developer Platform account and team management
6
+ */
7
+ export class ListingTransitions extends APIResource {
8
+ /**
9
+ * A list of listing transition.
10
+ *
11
+ * - Requires: `Developer Program`
12
+ */
13
+ list(query, options) {
14
+ return this._client.getAPIList('/listing-transitions/', (PageCursorURL), {
15
+ query,
16
+ ...options,
17
+ });
18
+ }
19
+ }
20
+ //# sourceMappingURL=listing-transitions.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listing-transitions.mjs","sourceRoot":"","sources":["../src/resources/listing-transitions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,aAAa,EAAe,+BAA2B;AAGhE;;GAEG;AACH,MAAM,OAAO,kBAAmB,SAAQ,WAAW;IACjD;;;;OAIG;IACH,IAAI,CACF,KAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,EAAE,CAAA,aAA4C,CAAA,EAAE;YACpG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}