@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.
- package/client.d.mts +78 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +78 -6
- package/client.d.ts.map +1 -1
- package/client.js +73 -1
- package/client.js.map +1 -1
- package/client.mjs +73 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agents/sessions/index.d.mts +1 -0
- package/resources/agents/sessions/index.d.mts.map +1 -1
- package/resources/agents/sessions/index.d.ts +1 -0
- package/resources/agents/sessions/index.d.ts.map +1 -1
- package/resources/agents/sessions/index.js +3 -1
- package/resources/agents/sessions/index.js.map +1 -1
- package/resources/agents/sessions/index.mjs +1 -0
- package/resources/agents/sessions/index.mjs.map +1 -1
- package/resources/agents/sessions/messages.d.mts +24 -0
- package/resources/agents/sessions/messages.d.mts.map +1 -1
- package/resources/agents/sessions/messages.d.ts +24 -0
- package/resources/agents/sessions/messages.d.ts.map +1 -1
- package/resources/agents/sessions/resume-state.d.mts +25 -0
- package/resources/agents/sessions/resume-state.d.mts.map +1 -0
- package/resources/agents/sessions/resume-state.d.ts +25 -0
- package/resources/agents/sessions/resume-state.d.ts.map +1 -0
- package/resources/agents/sessions/resume-state.js +19 -0
- package/resources/agents/sessions/resume-state.js.map +1 -0
- package/resources/agents/sessions/resume-state.mjs +15 -0
- package/resources/agents/sessions/resume-state.mjs.map +1 -0
- package/resources/agents/sessions/sessions.d.mts +91 -0
- package/resources/agents/sessions/sessions.d.mts.map +1 -1
- package/resources/agents/sessions/sessions.d.ts +91 -0
- package/resources/agents/sessions/sessions.d.ts.map +1 -1
- package/resources/agents/sessions/sessions.js +4 -0
- package/resources/agents/sessions/sessions.js.map +1 -1
- package/resources/agents/sessions/sessions.mjs +4 -0
- package/resources/agents/sessions/sessions.mjs.map +1 -1
- package/resources/background-check-candidates.d.mts +337 -0
- package/resources/background-check-candidates.d.mts.map +1 -0
- package/resources/background-check-candidates.d.ts +337 -0
- package/resources/background-check-candidates.d.ts.map +1 -0
- package/resources/background-check-candidates.js +52 -0
- package/resources/background-check-candidates.js.map +1 -0
- package/resources/background-check-candidates.mjs +48 -0
- package/resources/background-check-candidates.mjs.map +1 -0
- package/resources/business-structure-paths.d.mts +54 -1
- package/resources/business-structure-paths.d.mts.map +1 -1
- package/resources/business-structure-paths.d.ts +54 -1
- package/resources/business-structure-paths.d.ts.map +1 -1
- package/resources/business-structure-paths.js +16 -0
- package/resources/business-structure-paths.js.map +1 -1
- package/resources/business-structure-paths.mjs +16 -0
- package/resources/business-structure-paths.mjs.map +1 -1
- package/resources/developer-program-application.d.mts +176 -0
- package/resources/developer-program-application.d.mts.map +1 -0
- package/resources/developer-program-application.d.ts +176 -0
- package/resources/developer-program-application.d.ts.map +1 -0
- package/resources/developer-program-application.js +27 -0
- package/resources/developer-program-application.js.map +1 -0
- package/resources/developer-program-application.mjs +23 -0
- package/resources/developer-program-application.mjs.map +1 -0
- package/resources/developer-users.d.mts +53 -0
- package/resources/developer-users.d.mts.map +1 -0
- package/resources/developer-users.d.ts +53 -0
- package/resources/developer-users.d.ts.map +1 -0
- package/resources/developer-users.js +25 -0
- package/resources/developer-users.js.map +1 -0
- package/resources/developer-users.mjs +21 -0
- package/resources/developer-users.mjs.map +1 -0
- package/resources/draft-transitions.d.mts +474 -0
- package/resources/draft-transitions.d.mts.map +1 -0
- package/resources/draft-transitions.d.ts +474 -0
- package/resources/draft-transitions.d.ts.map +1 -0
- package/resources/draft-transitions.js +25 -0
- package/resources/draft-transitions.js.map +1 -0
- package/resources/draft-transitions.mjs +21 -0
- package/resources/draft-transitions.mjs.map +1 -0
- package/resources/earnings-inputs.d.mts +30 -0
- package/resources/earnings-inputs.d.mts.map +1 -1
- package/resources/earnings-inputs.d.ts +30 -0
- package/resources/earnings-inputs.d.ts.map +1 -1
- package/resources/hire-requirements.d.mts +112 -0
- package/resources/hire-requirements.d.mts.map +1 -0
- package/resources/hire-requirements.d.ts +112 -0
- package/resources/hire-requirements.d.ts.map +1 -0
- package/resources/hire-requirements.js +19 -0
- package/resources/hire-requirements.js.map +1 -0
- package/resources/hire-requirements.mjs +15 -0
- package/resources/hire-requirements.mjs.map +1 -0
- package/resources/hires.d.mts +657 -0
- package/resources/hires.d.mts.map +1 -0
- package/resources/hires.d.ts +657 -0
- package/resources/hires.d.ts.map +1 -0
- package/resources/hires.js +25 -0
- package/resources/hires.js.map +1 -0
- package/resources/hires.mjs +21 -0
- package/resources/hires.mjs.map +1 -0
- package/resources/index.d.mts +15 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +15 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +27 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +13 -1
- package/resources/index.mjs.map +1 -1
- package/resources/listing-submissions.d.mts +86 -0
- package/resources/listing-submissions.d.mts.map +1 -0
- package/resources/listing-submissions.d.ts +86 -0
- package/resources/listing-submissions.d.ts.map +1 -0
- package/resources/listing-submissions.js +31 -0
- package/resources/listing-submissions.js.map +1 -0
- package/resources/listing-submissions.mjs +27 -0
- package/resources/listing-submissions.mjs.map +1 -0
- package/resources/listing-transitions.d.mts +59 -0
- package/resources/listing-transitions.d.mts.map +1 -0
- package/resources/listing-transitions.d.ts +59 -0
- package/resources/listing-transitions.d.ts.map +1 -0
- package/resources/listing-transitions.js +24 -0
- package/resources/listing-transitions.js.map +1 -0
- package/resources/listing-transitions.mjs +20 -0
- package/resources/listing-transitions.mjs.map +1 -0
- package/resources/listing.d.mts +1818 -0
- package/resources/listing.d.mts.map +1 -0
- package/resources/listing.d.ts +1818 -0
- package/resources/listing.d.ts.map +1 -0
- package/resources/listing.js +70 -0
- package/resources/listing.js.map +1 -0
- package/resources/listing.mjs +66 -0
- package/resources/listing.mjs.map +1 -0
- package/resources/package-managed-installs.d.mts +119 -0
- package/resources/package-managed-installs.d.mts.map +1 -0
- package/resources/package-managed-installs.d.ts +119 -0
- package/resources/package-managed-installs.d.ts.map +1 -0
- package/resources/package-managed-installs.js +26 -0
- package/resources/package-managed-installs.js.map +1 -0
- package/resources/package-managed-installs.mjs +22 -0
- package/resources/package-managed-installs.mjs.map +1 -0
- package/resources/package-sandbox-links.d.mts +150 -0
- package/resources/package-sandbox-links.d.mts.map +1 -0
- package/resources/package-sandbox-links.d.ts +150 -0
- package/resources/package-sandbox-links.d.ts.map +1 -0
- package/resources/package-sandbox-links.js +25 -0
- package/resources/package-sandbox-links.js.map +1 -0
- package/resources/package-sandbox-links.mjs +21 -0
- package/resources/package-sandbox-links.mjs.map +1 -0
- package/resources/package-versions/index.d.mts +3 -0
- package/resources/package-versions/index.d.mts.map +1 -0
- package/resources/package-versions/index.d.ts +3 -0
- package/resources/package-versions/index.d.ts.map +1 -0
- package/resources/package-versions/index.js +9 -0
- package/resources/package-versions/index.js.map +1 -0
- package/resources/package-versions/index.mjs +4 -0
- package/resources/package-versions/index.mjs.map +1 -0
- package/resources/package-versions/package-versions.d.mts +114 -0
- package/resources/package-versions/package-versions.d.mts.map +1 -0
- package/resources/package-versions/package-versions.d.ts +114 -0
- package/resources/package-versions/package-versions.d.ts.map +1 -0
- package/resources/package-versions/package-versions.js +33 -0
- package/resources/package-versions/package-versions.js.map +1 -0
- package/resources/package-versions/package-versions.mjs +28 -0
- package/resources/package-versions/package-versions.mjs.map +1 -0
- package/resources/package-versions/publish.d.mts +58 -0
- package/resources/package-versions/publish.d.mts.map +1 -0
- package/resources/package-versions/publish.d.ts +58 -0
- package/resources/package-versions/publish.d.ts.map +1 -0
- package/resources/package-versions/publish.js +19 -0
- package/resources/package-versions/publish.js.map +1 -0
- package/resources/package-versions/publish.mjs +15 -0
- package/resources/package-versions/publish.mjs.map +1 -0
- package/resources/package-versions.d.mts +1 -63
- package/resources/package-versions.d.mts.map +1 -1
- package/resources/package-versions.d.ts +1 -63
- package/resources/package-versions.d.ts.map +1 -1
- package/resources/package-versions.js +2 -15
- package/resources/package-versions.js.map +1 -1
- package/resources/package-versions.mjs +1 -13
- package/resources/package-versions.mjs.map +1 -1
- package/resources/packages/index.d.mts +1 -1
- package/resources/packages/index.d.mts.map +1 -1
- package/resources/packages/index.d.ts +1 -1
- package/resources/packages/index.d.ts.map +1 -1
- package/resources/packages/index.js.map +1 -1
- package/resources/packages/index.mjs +1 -1
- package/resources/packages/index.mjs.map +1 -1
- package/resources/packages/packages.d.mts +10 -10
- package/resources/packages/packages.d.mts.map +1 -1
- package/resources/packages/packages.d.ts +10 -10
- package/resources/packages/packages.d.ts.map +1 -1
- package/resources/packages/packages.js +11 -11
- package/resources/packages/packages.js.map +1 -1
- package/resources/packages/packages.mjs +12 -12
- package/resources/packages/packages.mjs.map +1 -1
- package/resources/packages/versions.d.mts +57 -2
- package/resources/packages/versions.d.mts.map +1 -1
- package/resources/packages/versions.d.ts +57 -2
- package/resources/packages/versions.d.ts.map +1 -1
- package/resources/packages/versions.js +8 -1
- package/resources/packages/versions.js.map +1 -1
- package/resources/packages/versions.mjs +8 -1
- package/resources/packages/versions.mjs.map +1 -1
- package/resources/sandboxes.d.mts +35 -22
- package/resources/sandboxes.d.mts.map +1 -1
- package/resources/sandboxes.d.ts +35 -22
- package/resources/sandboxes.d.ts.map +1 -1
- package/resources/sandboxes.js +6 -0
- package/resources/sandboxes.js.map +1 -1
- package/resources/sandboxes.mjs +6 -0
- package/resources/sandboxes.mjs.map +1 -1
- package/resources/sites.d.mts +2 -1
- package/resources/sites.d.mts.map +1 -1
- package/resources/sites.d.ts +2 -1
- package/resources/sites.d.ts.map +1 -1
- package/resources/workers.d.mts +41 -0
- package/resources/workers.d.mts.map +1 -1
- package/resources/workers.d.ts +41 -0
- package/resources/workers.d.ts.map +1 -1
- package/resources/workflows.d.mts +768 -0
- package/resources/workflows.d.mts.map +1 -0
- package/resources/workflows.d.ts +768 -0
- package/resources/workflows.d.ts.map +1 -0
- package/resources/workflows.js +48 -0
- package/resources/workflows.js.map +1 -0
- package/resources/workflows.mjs +44 -0
- package/resources/workflows.mjs.map +1 -0
- package/src/client.ts +277 -5
- package/src/resources/agents/sessions/index.ts +1 -0
- package/src/resources/agents/sessions/messages.ts +28 -0
- package/src/resources/agents/sessions/resume-state.ts +32 -0
- package/src/resources/agents/sessions/sessions.ts +107 -0
- package/src/resources/background-check-candidates.ts +434 -0
- package/src/resources/business-structure-paths.ts +78 -0
- package/src/resources/developer-program-application.ts +233 -0
- package/src/resources/developer-users.ts +77 -0
- package/src/resources/draft-transitions.ts +583 -0
- package/src/resources/earnings-inputs.ts +36 -0
- package/src/resources/hire-requirements.ts +140 -0
- package/src/resources/hires.ts +786 -0
- package/src/resources/index.ts +99 -1
- package/src/resources/listing-submissions.ts +120 -0
- package/src/resources/listing-transitions.ts +84 -0
- package/src/resources/listing.ts +2297 -0
- package/src/resources/package-managed-installs.ts +156 -0
- package/src/resources/package-sandbox-links.ts +195 -0
- package/src/resources/package-versions/index.ts +9 -0
- package/src/resources/package-versions/package-versions.ts +156 -0
- package/src/resources/package-versions/publish.ts +74 -0
- package/src/resources/package-versions.ts +1 -86
- package/src/resources/packages/index.ts +8 -1
- package/src/resources/packages/packages.ts +26 -12
- package/src/resources/packages/versions.ts +83 -1
- package/src/resources/sandboxes.ts +45 -24
- package/src/resources/sites.ts +2 -1
- package/src/resources/workers.ts +46 -0
- package/src/resources/workflows.ts +1434 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/index.ts
CHANGED
|
@@ -20,6 +20,17 @@ export {
|
|
|
20
20
|
type AppUserRetrieveParams,
|
|
21
21
|
type AppUserListResponsesPageCursorURL,
|
|
22
22
|
} from './app-users';
|
|
23
|
+
export {
|
|
24
|
+
BackgroundCheckCandidates,
|
|
25
|
+
type BackgroundCheckCandidateListResponse,
|
|
26
|
+
type BackgroundCheckCandidateCreateResponse,
|
|
27
|
+
type BackgroundCheckCandidateRetrieveResponse,
|
|
28
|
+
type BackgroundCheckCandidateUpdateResponse,
|
|
29
|
+
type BackgroundCheckCandidateListParams,
|
|
30
|
+
type BackgroundCheckCandidateCreateParams,
|
|
31
|
+
type BackgroundCheckCandidateUpdateParams,
|
|
32
|
+
type BackgroundCheckCandidateListResponsesPageCursorURL,
|
|
33
|
+
} from './background-check-candidates';
|
|
23
34
|
export {
|
|
24
35
|
BreakPolicies,
|
|
25
36
|
type BreakPolicyListResponse,
|
|
@@ -57,8 +68,10 @@ export {
|
|
|
57
68
|
export {
|
|
58
69
|
BusinessStructurePaths,
|
|
59
70
|
type BusinessStructurePathListResponse,
|
|
71
|
+
type BusinessStructurePathCreateResponse,
|
|
60
72
|
type BusinessStructurePathRetrieveResponse,
|
|
61
73
|
type BusinessStructurePathListParams,
|
|
74
|
+
type BusinessStructurePathCreateParams,
|
|
62
75
|
type BusinessStructurePathRetrieveParams,
|
|
63
76
|
type BusinessStructurePathListResponsesPageCursorURL,
|
|
64
77
|
} from './business-structure-paths';
|
|
@@ -160,6 +173,19 @@ export {
|
|
|
160
173
|
type DepartmentUpdateParams,
|
|
161
174
|
type DepartmentsPageCursorURL,
|
|
162
175
|
} from './departments';
|
|
176
|
+
export {
|
|
177
|
+
DeveloperProgramApplication,
|
|
178
|
+
type DeveloperProgramApplicationListResponse,
|
|
179
|
+
type DeveloperProgramApplicationCreateResponse,
|
|
180
|
+
type DeveloperProgramApplicationCreateParams,
|
|
181
|
+
type DeveloperProgramApplicationListResponsesPageCursorURL,
|
|
182
|
+
} from './developer-program-application';
|
|
183
|
+
export {
|
|
184
|
+
DeveloperUsers,
|
|
185
|
+
type DeveloperUserListResponse,
|
|
186
|
+
type DeveloperUserListParams,
|
|
187
|
+
type DeveloperUserListResponsesPageCursorURL,
|
|
188
|
+
} from './developer-users';
|
|
163
189
|
export {
|
|
164
190
|
DeviceOrders,
|
|
165
191
|
type DeviceOrderListResponse,
|
|
@@ -177,6 +203,12 @@ export {
|
|
|
177
203
|
type DeviceListResponsesPageCursorURL,
|
|
178
204
|
} from './devices';
|
|
179
205
|
export { DraftHires, type DraftHireCreateResponse, type DraftHireCreateParams } from './draft-hires';
|
|
206
|
+
export {
|
|
207
|
+
DraftTransitions,
|
|
208
|
+
type DraftTransitionRetrieveResponse,
|
|
209
|
+
type DraftTransitionCreateResponse,
|
|
210
|
+
type DraftTransitionCreateParams,
|
|
211
|
+
} from './draft-transitions';
|
|
180
212
|
export {
|
|
181
213
|
EarningTypes,
|
|
182
214
|
type EarningTypeListResponse,
|
|
@@ -234,6 +266,12 @@ export {
|
|
|
234
266
|
type HeadcountPriorityListParams,
|
|
235
267
|
type HeadcountPriorityListResponsesPageCursorURL,
|
|
236
268
|
} from './headcount-priorities';
|
|
269
|
+
export {
|
|
270
|
+
HireRequirements,
|
|
271
|
+
type HireRequirementListResponse,
|
|
272
|
+
type HireRequirementListParams,
|
|
273
|
+
} from './hire-requirements';
|
|
274
|
+
export { Hires, type HireCreateResponse, type HireCreateParams } from './hires';
|
|
237
275
|
export {
|
|
238
276
|
JobAssignments,
|
|
239
277
|
type AttributeChangeDetails,
|
|
@@ -371,6 +409,40 @@ export {
|
|
|
371
409
|
type LevelUpdateParams,
|
|
372
410
|
type LevelsPageCursorURL,
|
|
373
411
|
} from './levels';
|
|
412
|
+
export {
|
|
413
|
+
Listing,
|
|
414
|
+
type ListingListResponse,
|
|
415
|
+
type ListingCreateResponse,
|
|
416
|
+
type ListingRetrieveResponse,
|
|
417
|
+
type ListingUpdateResponse,
|
|
418
|
+
type ListingSubmitResponse,
|
|
419
|
+
type ListingWithdrawResponse,
|
|
420
|
+
type ListingResubmitResponse,
|
|
421
|
+
type ListingPublishResponse,
|
|
422
|
+
type ListingDelistResponse,
|
|
423
|
+
type ListingListParams,
|
|
424
|
+
type ListingCreateParams,
|
|
425
|
+
type ListingUpdateParams,
|
|
426
|
+
type ListingSubmitParams,
|
|
427
|
+
type ListingWithdrawParams,
|
|
428
|
+
type ListingResubmitParams,
|
|
429
|
+
type ListingPublishParams,
|
|
430
|
+
type ListingDelistParams,
|
|
431
|
+
type ListingListResponsesPageCursorURL,
|
|
432
|
+
} from './listing';
|
|
433
|
+
export {
|
|
434
|
+
ListingSubmissions,
|
|
435
|
+
type ListingSubmissionListResponse,
|
|
436
|
+
type ListingSubmissionRetrieveResponse,
|
|
437
|
+
type ListingSubmissionListParams,
|
|
438
|
+
type ListingSubmissionListResponsesPageCursorURL,
|
|
439
|
+
} from './listing-submissions';
|
|
440
|
+
export {
|
|
441
|
+
ListingTransitions,
|
|
442
|
+
type ListingTransitionListResponse,
|
|
443
|
+
type ListingTransitionListParams,
|
|
444
|
+
type ListingTransitionListResponsesPageCursorURL,
|
|
445
|
+
} from './listing-transitions';
|
|
374
446
|
export {
|
|
375
447
|
LocationFactors,
|
|
376
448
|
type LocationFactorListResponse,
|
|
@@ -393,6 +465,18 @@ export {
|
|
|
393
465
|
type PackageInstallRetrieveResponse,
|
|
394
466
|
type PackageInstallCreateParams,
|
|
395
467
|
} from './package-installs';
|
|
468
|
+
export {
|
|
469
|
+
PackageManagedInstalls,
|
|
470
|
+
type PackageManagedInstallCreateResponse,
|
|
471
|
+
type PackageManagedInstallRetrieveResponse,
|
|
472
|
+
type PackageManagedInstallCreateParams,
|
|
473
|
+
} from './package-managed-installs';
|
|
474
|
+
export {
|
|
475
|
+
PackageSandboxLinks,
|
|
476
|
+
type PackageSandboxLinkCreateResponse,
|
|
477
|
+
type PackageSandboxLinkRetrieveResponse,
|
|
478
|
+
type PackageSandboxLinkCreateParams,
|
|
479
|
+
} from './package-sandbox-links';
|
|
396
480
|
export {
|
|
397
481
|
PackageUninstalls,
|
|
398
482
|
type PackageUninstallCreateResponse,
|
|
@@ -413,9 +497,10 @@ export {
|
|
|
413
497
|
} from './package-version-component-updates';
|
|
414
498
|
export {
|
|
415
499
|
PackageVersions,
|
|
500
|
+
type PackageVersionRetrieveResponse,
|
|
416
501
|
type PackageVersionUpdateResponse,
|
|
417
502
|
type PackageVersionUpdateParams,
|
|
418
|
-
} from './package-versions';
|
|
503
|
+
} from './package-versions/package-versions';
|
|
419
504
|
export {
|
|
420
505
|
Packages,
|
|
421
506
|
type PackageListResponse,
|
|
@@ -451,6 +536,7 @@ export {
|
|
|
451
536
|
Sandboxes,
|
|
452
537
|
type SandboxListResponse,
|
|
453
538
|
type SandboxCreateResponse,
|
|
539
|
+
type SandboxDeveloperSandboxEntryRolesResponse,
|
|
454
540
|
type SandboxListParams,
|
|
455
541
|
type SandboxCreateParams,
|
|
456
542
|
type SandboxListResponsesPageCursorURL,
|
|
@@ -670,3 +756,15 @@ export {
|
|
|
670
756
|
type WorkflowActionExecutionCreateResponse,
|
|
671
757
|
type WorkflowActionExecutionCreateParams,
|
|
672
758
|
} from './workflow-action-executions';
|
|
759
|
+
export {
|
|
760
|
+
Workflows,
|
|
761
|
+
type WorkflowListResponse,
|
|
762
|
+
type WorkflowCreateResponse,
|
|
763
|
+
type WorkflowRetrieveResponse,
|
|
764
|
+
type WorkflowUpdateResponse,
|
|
765
|
+
type WorkflowListParams,
|
|
766
|
+
type WorkflowCreateParams,
|
|
767
|
+
type WorkflowRetrieveParams,
|
|
768
|
+
type WorkflowUpdateParams,
|
|
769
|
+
type WorkflowListResponsesPageCursorURL,
|
|
770
|
+
} from './workflows';
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import * as BusinessPartnersAPI from './business-partners';
|
|
5
|
+
import { APIPromise } from '../core/api-promise';
|
|
6
|
+
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
7
|
+
import { RequestOptions } from '../internal/request-options';
|
|
8
|
+
import { path } from '../internal/utils/path';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Developer Platform account and team management
|
|
12
|
+
*/
|
|
13
|
+
export class ListingSubmissions extends APIResource {
|
|
14
|
+
/**
|
|
15
|
+
* A list of listing submission.
|
|
16
|
+
*
|
|
17
|
+
* - Requires: `Developer Program`
|
|
18
|
+
*/
|
|
19
|
+
list(
|
|
20
|
+
query: ListingSubmissionListParams,
|
|
21
|
+
options?: RequestOptions,
|
|
22
|
+
): PagePromise<ListingSubmissionListResponsesPageCursorURL, ListingSubmissionListResponse> {
|
|
23
|
+
return this._client.getAPIList('/listing-submissions/', PageCursorURL<ListingSubmissionListResponse>, {
|
|
24
|
+
query,
|
|
25
|
+
...options,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Get one listing submission.
|
|
31
|
+
*/
|
|
32
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<ListingSubmissionRetrieveResponse> {
|
|
33
|
+
return this._client.get(path`/listing-submissions/${id}/`, options);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type ListingSubmissionListResponsesPageCursorURL = PageCursorURL<ListingSubmissionListResponse>;
|
|
38
|
+
|
|
39
|
+
export interface ListingSubmissionListResponse {
|
|
40
|
+
/**
|
|
41
|
+
* Creation timestamp.
|
|
42
|
+
*/
|
|
43
|
+
created_at?: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* The parent listing ID.
|
|
47
|
+
*/
|
|
48
|
+
listing_id?: string;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* The latest submitted notes.
|
|
52
|
+
*/
|
|
53
|
+
notes?: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* The submission lifecycle status.
|
|
57
|
+
*/
|
|
58
|
+
status?: string;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* The submitted listing version ID.
|
|
62
|
+
*/
|
|
63
|
+
submission_id?: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Last update timestamp.
|
|
67
|
+
*/
|
|
68
|
+
updated_at?: string;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Meta information for the response.
|
|
73
|
+
*/
|
|
74
|
+
export interface ListingSubmissionRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
75
|
+
/**
|
|
76
|
+
* Creation timestamp.
|
|
77
|
+
*/
|
|
78
|
+
created_at?: string;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* The parent listing ID.
|
|
82
|
+
*/
|
|
83
|
+
listing_id?: string;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* The latest submitted notes.
|
|
87
|
+
*/
|
|
88
|
+
notes?: string;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* The submission lifecycle status.
|
|
92
|
+
*/
|
|
93
|
+
status?: string;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* The submitted listing version ID.
|
|
97
|
+
*/
|
|
98
|
+
submission_id?: string;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Last update timestamp.
|
|
102
|
+
*/
|
|
103
|
+
updated_at?: string;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export interface ListingSubmissionListParams {
|
|
107
|
+
/**
|
|
108
|
+
* The unique identifier of the listing whose submissions should be returned.
|
|
109
|
+
*/
|
|
110
|
+
listing_id: string;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export declare namespace ListingSubmissions {
|
|
114
|
+
export {
|
|
115
|
+
type ListingSubmissionListResponse as ListingSubmissionListResponse,
|
|
116
|
+
type ListingSubmissionRetrieveResponse as ListingSubmissionRetrieveResponse,
|
|
117
|
+
type ListingSubmissionListResponsesPageCursorURL as ListingSubmissionListResponsesPageCursorURL,
|
|
118
|
+
type ListingSubmissionListParams as ListingSubmissionListParams,
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Developer Platform account and team management
|
|
9
|
+
*/
|
|
10
|
+
export class ListingTransitions extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* A list of listing transition.
|
|
13
|
+
*
|
|
14
|
+
* - Requires: `Developer Program`
|
|
15
|
+
*/
|
|
16
|
+
list(
|
|
17
|
+
query: ListingTransitionListParams,
|
|
18
|
+
options?: RequestOptions,
|
|
19
|
+
): PagePromise<ListingTransitionListResponsesPageCursorURL, ListingTransitionListResponse> {
|
|
20
|
+
return this._client.getAPIList('/listing-transitions/', PageCursorURL<ListingTransitionListResponse>, {
|
|
21
|
+
query,
|
|
22
|
+
...options,
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type ListingTransitionListResponsesPageCursorURL = PageCursorURL<ListingTransitionListResponse>;
|
|
28
|
+
|
|
29
|
+
export interface ListingTransitionListResponse {
|
|
30
|
+
/**
|
|
31
|
+
* The lifecycle action recorded for this activity item.
|
|
32
|
+
*/
|
|
33
|
+
action?: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* The actor role ID that performed the action.
|
|
37
|
+
*/
|
|
38
|
+
actor_id?: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Optional comment recorded with the action.
|
|
42
|
+
*/
|
|
43
|
+
comment?: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* The parent listing ID.
|
|
47
|
+
*/
|
|
48
|
+
listing_id?: string;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* The new lifecycle status.
|
|
52
|
+
*/
|
|
53
|
+
new_status?: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* The previous lifecycle status.
|
|
57
|
+
*/
|
|
58
|
+
previous_status?: string;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* The listing version ID associated with this activity.
|
|
62
|
+
*/
|
|
63
|
+
submission_id?: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Activity timestamp.
|
|
67
|
+
*/
|
|
68
|
+
timestamp?: string;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface ListingTransitionListParams {
|
|
72
|
+
/**
|
|
73
|
+
* The unique identifier of the listing whose transitions should be returned.
|
|
74
|
+
*/
|
|
75
|
+
listing_id: string;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export declare namespace ListingTransitions {
|
|
79
|
+
export {
|
|
80
|
+
type ListingTransitionListResponse as ListingTransitionListResponse,
|
|
81
|
+
type ListingTransitionListResponsesPageCursorURL as ListingTransitionListResponsesPageCursorURL,
|
|
82
|
+
type ListingTransitionListParams as ListingTransitionListParams,
|
|
83
|
+
};
|
|
84
|
+
}
|