@rippling/rippling-sdk 0.2.0-alpha.112 → 0.2.0-alpha.114
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 +41 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +41 -8
- package/client.d.ts.map +1 -1
- package/client.js +35 -0
- package/client.js.map +1 -1
- package/client.mjs +35 -0
- package/client.mjs.map +1 -1
- package/lib/manifest/app.d.mts +20 -1
- package/lib/manifest/app.d.mts.map +1 -1
- package/lib/manifest/app.d.ts +20 -1
- package/lib/manifest/app.d.ts.map +1 -1
- package/lib/manifest/app.js +50 -0
- package/lib/manifest/app.js.map +1 -1
- package/lib/manifest/app.mjs +51 -1
- package/lib/manifest/app.mjs.map +1 -1
- package/lib/manifest/composition.d.mts +3 -0
- package/lib/manifest/composition.d.mts.map +1 -1
- package/lib/manifest/composition.d.ts +3 -0
- package/lib/manifest/composition.d.ts.map +1 -1
- package/lib/manifest/composition.js.map +1 -1
- package/lib/manifest/composition.mjs.map +1 -1
- package/lib/manifest/definitions/app.js +4 -1
- package/lib/manifest/definitions/app.js.map +1 -1
- package/lib/manifest/definitions/app.mjs +4 -1
- package/lib/manifest/definitions/app.mjs.map +1 -1
- package/lib/manifest/definitions/canvas-instance.d.mts +114 -0
- package/lib/manifest/definitions/canvas-instance.d.mts.map +1 -0
- package/lib/manifest/definitions/canvas-instance.d.ts +114 -0
- package/lib/manifest/definitions/canvas-instance.d.ts.map +1 -0
- package/lib/manifest/definitions/canvas-instance.js +31 -0
- package/lib/manifest/definitions/canvas-instance.js.map +1 -0
- package/lib/manifest/definitions/canvas-instance.mjs +28 -0
- package/lib/manifest/definitions/canvas-instance.mjs.map +1 -0
- package/lib/manifest/definitions/function.d.mts.map +1 -1
- package/lib/manifest/definitions/function.d.ts.map +1 -1
- package/lib/manifest/definitions/function.js +1 -0
- package/lib/manifest/definitions/function.js.map +1 -1
- package/lib/manifest/definitions/function.mjs +1 -0
- package/lib/manifest/definitions/function.mjs.map +1 -1
- package/lib/manifest/definitions/group.d.mts +64 -0
- package/lib/manifest/definitions/group.d.mts.map +1 -0
- package/lib/manifest/definitions/group.d.ts +64 -0
- package/lib/manifest/definitions/group.d.ts.map +1 -0
- package/lib/manifest/definitions/group.js +57 -0
- package/lib/manifest/definitions/group.js.map +1 -0
- package/lib/manifest/definitions/group.mjs +50 -0
- package/lib/manifest/definitions/group.mjs.map +1 -0
- package/lib/manifest/definitions/index.d.mts +5 -0
- package/lib/manifest/definitions/index.d.mts.map +1 -1
- package/lib/manifest/definitions/index.d.ts +5 -0
- package/lib/manifest/definitions/index.d.ts.map +1 -1
- package/lib/manifest/definitions/index.js +9 -1
- package/lib/manifest/definitions/index.js.map +1 -1
- package/lib/manifest/definitions/index.mjs +3 -0
- package/lib/manifest/definitions/index.mjs.map +1 -1
- package/lib/manifest/definitions/saved-super-group.d.mts +12 -0
- package/lib/manifest/definitions/saved-super-group.d.mts.map +1 -0
- package/lib/manifest/definitions/saved-super-group.d.ts +12 -0
- package/lib/manifest/definitions/saved-super-group.d.ts.map +1 -0
- package/lib/manifest/definitions/saved-super-group.js +26 -0
- package/lib/manifest/definitions/saved-super-group.js.map +1 -0
- package/lib/manifest/definitions/saved-super-group.mjs +21 -0
- package/lib/manifest/definitions/saved-super-group.mjs.map +1 -0
- package/lib/manifest/existing-manifest-context.d.mts +3 -0
- package/lib/manifest/existing-manifest-context.d.mts.map +1 -1
- package/lib/manifest/existing-manifest-context.d.ts +3 -0
- package/lib/manifest/existing-manifest-context.d.ts.map +1 -1
- package/lib/manifest/existing-manifest-context.js +15 -0
- package/lib/manifest/existing-manifest-context.js.map +1 -1
- package/lib/manifest/existing-manifest-context.mjs +15 -0
- package/lib/manifest/existing-manifest-context.mjs.map +1 -1
- package/lib/manifest/group.d.mts +83 -0
- package/lib/manifest/group.d.mts.map +1 -0
- package/lib/manifest/group.d.ts +83 -0
- package/lib/manifest/group.d.ts.map +1 -0
- package/lib/manifest/group.js +207 -0
- package/lib/manifest/group.js.map +1 -0
- package/lib/manifest/group.mjs +203 -0
- package/lib/manifest/group.mjs.map +1 -0
- package/lib/manifest/index.d.mts +2 -0
- package/lib/manifest/index.d.mts.map +1 -1
- package/lib/manifest/index.d.ts +2 -0
- package/lib/manifest/index.d.ts.map +1 -1
- package/lib/manifest/index.js +5 -1
- package/lib/manifest/index.js.map +1 -1
- package/lib/manifest/index.mjs +2 -0
- package/lib/manifest/index.mjs.map +1 -1
- package/lib/manifest/manifest-builder.d.mts +1 -1
- package/lib/manifest/manifest-builder.d.mts.map +1 -1
- package/lib/manifest/manifest-builder.d.ts +1 -1
- package/lib/manifest/manifest-builder.d.ts.map +1 -1
- package/lib/manifest/manifest-builder.js.map +1 -1
- package/lib/manifest/manifest-builder.mjs.map +1 -1
- package/lib/manifest/manifest-function.d.mts +16 -0
- package/lib/manifest/manifest-function.d.mts.map +1 -1
- package/lib/manifest/manifest-function.d.ts +16 -0
- package/lib/manifest/manifest-function.d.ts.map +1 -1
- package/lib/manifest/manifest-function.js +67 -0
- package/lib/manifest/manifest-function.js.map +1 -1
- package/lib/manifest/manifest-function.mjs +68 -1
- package/lib/manifest/manifest-function.mjs.map +1 -1
- package/lib/manifest/saved-super-group.d.mts +43 -0
- package/lib/manifest/saved-super-group.d.mts.map +1 -0
- package/lib/manifest/saved-super-group.d.ts +43 -0
- package/lib/manifest/saved-super-group.d.ts.map +1 -0
- package/lib/manifest/saved-super-group.js +136 -0
- package/lib/manifest/saved-super-group.js.map +1 -0
- package/lib/manifest/saved-super-group.mjs +132 -0
- package/lib/manifest/saved-super-group.mjs.map +1 -0
- package/package.json +1 -1
- package/resources/application-submissions.d.mts +261 -0
- package/resources/application-submissions.d.mts.map +1 -0
- package/resources/application-submissions.d.ts +261 -0
- package/resources/application-submissions.d.ts.map +1 -0
- package/resources/application-submissions.js +112 -0
- package/resources/application-submissions.js.map +1 -0
- package/resources/application-submissions.mjs +108 -0
- package/resources/application-submissions.mjs.map +1 -0
- package/resources/bills.d.mts +913 -12
- package/resources/bills.d.mts.map +1 -1
- package/resources/bills.d.ts +913 -12
- package/resources/bills.d.ts.map +1 -1
- package/resources/bills.js +221 -0
- package/resources/bills.js.map +1 -1
- package/resources/bills.mjs +221 -0
- package/resources/bills.mjs.map +1 -1
- package/resources/candidate-applications.d.mts +247 -9
- package/resources/candidate-applications.d.mts.map +1 -1
- package/resources/candidate-applications.d.ts +247 -9
- package/resources/candidate-applications.d.ts.map +1 -1
- package/resources/candidate-applications.js +37 -5
- package/resources/candidate-applications.js.map +1 -1
- package/resources/candidate-applications.mjs +37 -5
- package/resources/candidate-applications.mjs.map +1 -1
- package/resources/card-transactions.d.mts +1580 -30
- package/resources/card-transactions.d.mts.map +1 -1
- package/resources/card-transactions.d.ts +1580 -30
- package/resources/card-transactions.d.ts.map +1 -1
- package/resources/card-transactions.js +404 -4
- package/resources/card-transactions.js.map +1 -1
- package/resources/card-transactions.mjs +404 -4
- package/resources/card-transactions.mjs.map +1 -1
- package/resources/custom-objects/custom-objects.d.mts +4 -0
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts +4 -0
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.js +4 -0
- package/resources/custom-objects/custom-objects.js.map +1 -1
- package/resources/custom-objects/custom-objects.mjs +4 -0
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/index.d.mts +1 -0
- package/resources/custom-objects/index.d.mts.map +1 -1
- package/resources/custom-objects/index.d.ts +1 -0
- package/resources/custom-objects/index.d.ts.map +1 -1
- package/resources/custom-objects/index.js +3 -1
- package/resources/custom-objects/index.js.map +1 -1
- package/resources/custom-objects/index.mjs +1 -0
- package/resources/custom-objects/index.mjs.map +1 -1
- package/resources/custom-objects/record-actions.d.mts +98 -0
- package/resources/custom-objects/record-actions.d.mts.map +1 -0
- package/resources/custom-objects/record-actions.d.ts +98 -0
- package/resources/custom-objects/record-actions.d.ts.map +1 -0
- package/resources/custom-objects/record-actions.js +58 -0
- package/resources/custom-objects/record-actions.js.map +1 -0
- package/resources/custom-objects/record-actions.mjs +54 -0
- package/resources/custom-objects/record-actions.mjs.map +1 -0
- package/resources/earnings-inputs.d.mts +14 -2
- package/resources/earnings-inputs.d.mts.map +1 -1
- package/resources/earnings-inputs.d.ts +14 -2
- package/resources/earnings-inputs.d.ts.map +1 -1
- package/resources/earnings-inputs.js +14 -2
- package/resources/earnings-inputs.js.map +1 -1
- package/resources/earnings-inputs.mjs +14 -2
- package/resources/earnings-inputs.mjs.map +1 -1
- package/resources/index.d.mts +9 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +13 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +5 -0
- package/resources/index.mjs.map +1 -1
- package/resources/job-posts.d.mts +345 -0
- package/resources/job-posts.d.mts.map +1 -0
- package/resources/job-posts.d.ts +345 -0
- package/resources/job-posts.d.ts.map +1 -0
- package/resources/job-posts.js +110 -0
- package/resources/job-posts.js.map +1 -0
- package/resources/job-posts.mjs +106 -0
- package/resources/job-posts.mjs.map +1 -0
- package/resources/job-requisitions.d.mts +96 -4
- package/resources/job-requisitions.d.mts.map +1 -1
- package/resources/job-requisitions.d.ts +96 -4
- package/resources/job-requisitions.d.ts.map +1 -1
- package/resources/job-requisitions.js +64 -3
- package/resources/job-requisitions.js.map +1 -1
- package/resources/job-requisitions.mjs +64 -3
- package/resources/job-requisitions.mjs.map +1 -1
- package/resources/record-detail-related-records.d.mts +60 -30
- package/resources/record-detail-related-records.d.mts.map +1 -1
- package/resources/record-detail-related-records.d.ts +60 -30
- package/resources/record-detail-related-records.d.ts.map +1 -1
- package/resources/record-details.d.mts +120 -60
- package/resources/record-details.d.mts.map +1 -1
- package/resources/record-details.d.ts +120 -60
- package/resources/record-details.d.ts.map +1 -1
- package/resources/reimbursements.d.mts +1106 -64
- package/resources/reimbursements.d.mts.map +1 -1
- package/resources/reimbursements.d.ts +1106 -64
- package/resources/reimbursements.d.ts.map +1 -1
- package/resources/reimbursements.js +208 -0
- package/resources/reimbursements.js.map +1 -1
- package/resources/reimbursements.mjs +208 -0
- package/resources/reimbursements.mjs.map +1 -1
- package/resources/scheduled-payout-labels.d.mts +267 -0
- package/resources/scheduled-payout-labels.d.mts.map +1 -0
- package/resources/scheduled-payout-labels.d.ts +267 -0
- package/resources/scheduled-payout-labels.d.ts.map +1 -0
- package/resources/scheduled-payout-labels.js +151 -0
- package/resources/scheduled-payout-labels.js.map +1 -0
- package/resources/scheduled-payout-labels.mjs +147 -0
- package/resources/scheduled-payout-labels.mjs.map +1 -0
- package/resources/scheduled-payout-types.d.mts +680 -0
- package/resources/scheduled-payout-types.d.mts.map +1 -0
- package/resources/scheduled-payout-types.d.ts +680 -0
- package/resources/scheduled-payout-types.d.ts.map +1 -0
- package/resources/scheduled-payout-types.js +546 -0
- package/resources/scheduled-payout-types.js.map +1 -0
- package/resources/scheduled-payout-types.mjs +542 -0
- package/resources/scheduled-payout-types.mjs.map +1 -0
- package/resources/scheduled-payouts.d.mts +1588 -0
- package/resources/scheduled-payouts.d.mts.map +1 -0
- package/resources/scheduled-payouts.d.ts +1588 -0
- package/resources/scheduled-payouts.d.ts.map +1 -0
- package/resources/scheduled-payouts.js +582 -0
- package/resources/scheduled-payouts.js.map +1 -0
- package/resources/scheduled-payouts.mjs +578 -0
- package/resources/scheduled-payouts.mjs.map +1 -0
- package/src/client.ts +150 -0
- package/src/lib/manifest/app.ts +72 -2
- package/src/lib/manifest/composition.ts +8 -2
- package/src/lib/manifest/definitions/README.md +3 -1
- package/src/lib/manifest/definitions/app.ts +4 -1
- package/src/lib/manifest/definitions/canvas-instance.ts +143 -0
- package/src/lib/manifest/definitions/function.ts +1 -0
- package/src/lib/manifest/definitions/group.ts +159 -0
- package/src/lib/manifest/definitions/index.ts +42 -0
- package/src/lib/manifest/definitions/saved-super-group.ts +28 -0
- package/src/lib/manifest/existing-manifest-context.ts +24 -0
- package/src/lib/manifest/group.ts +282 -0
- package/src/lib/manifest/index.ts +16 -0
- package/src/lib/manifest/manifest-builder.ts +2 -0
- package/src/lib/manifest/manifest-function.ts +91 -1
- package/src/lib/manifest/saved-super-group.ts +171 -0
- package/src/resources/application-submissions.ts +315 -0
- package/src/resources/bills.ts +1085 -12
- package/src/resources/candidate-applications.ts +282 -9
- package/src/resources/card-transactions.ts +1874 -32
- package/src/resources/custom-objects/custom-objects.ts +16 -0
- package/src/resources/custom-objects/index.ts +6 -0
- package/src/resources/custom-objects/record-actions.ts +125 -0
- package/src/resources/earnings-inputs.ts +14 -2
- package/src/resources/index.ts +57 -0
- package/src/resources/job-posts.ts +415 -0
- package/src/resources/job-requisitions.ts +110 -3
- package/src/resources/record-detail-related-records.ts +60 -30
- package/src/resources/record-details.ts +120 -60
- package/src/resources/reimbursements.ts +1299 -63
- package/src/resources/scheduled-payout-labels.ts +373 -0
- package/src/resources/scheduled-payout-types.ts +755 -0
- package/src/resources/scheduled-payouts.ts +1947 -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
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import * as BusinessPartnersAPI from "./business-partners.mjs";
|
|
3
|
+
import * as JobRequisitionsAPI from "./job-requisitions.mjs";
|
|
4
|
+
import * as WorkLocationsAPI from "./work-locations.mjs";
|
|
5
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
6
|
+
import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
|
|
7
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
8
|
+
/**
|
|
9
|
+
* Customer-facing postings associated with job requisitions
|
|
10
|
+
*/
|
|
11
|
+
export declare class JobPosts extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* List location-specific job posts belonging to non-confidential active job
|
|
14
|
+
* requisitions. Use filter=job_requisition_id eq '...' and filter=published eq
|
|
15
|
+
* true for standard OData filtering. Named job_requisition_id and published
|
|
16
|
+
* parameters remain supported as aliases. The requisition_id parameter is a
|
|
17
|
+
* cross-resource lookup of the parent requisition's customer-defined identifier
|
|
18
|
+
* and requires job-requisitions.read. Use the returned job post identifier when
|
|
19
|
+
* submitting an application for a specific posting.
|
|
20
|
+
*
|
|
21
|
+
* - Requires: `Internal Testing`
|
|
22
|
+
* - Filterable fields: `job_requisition_id`, `published`
|
|
23
|
+
* - Expandable fields: `job_requisition`, `work_locations`
|
|
24
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
25
|
+
*
|
|
26
|
+
* @example HTTP
|
|
27
|
+
* Representative request and response shapes.
|
|
28
|
+
* ```
|
|
29
|
+
* GET /job-posts/?filter=filter&expand=expand&order_by=order_by&job_requisition_id=job_requisition_id&requisition_id=requisition_id&published=true&limit=50&cursor=cursor HTTP/1.1
|
|
30
|
+
* Host: rest.ripplingapis.com
|
|
31
|
+
* Accept: application/json
|
|
32
|
+
* Rippling-Api-Version: 2024-08-01
|
|
33
|
+
*
|
|
34
|
+
* HTTP/1.1 200 OK
|
|
35
|
+
* Content-Type: application/json
|
|
36
|
+
*
|
|
37
|
+
* {
|
|
38
|
+
* "__meta": {
|
|
39
|
+
* "redacted_fields": [
|
|
40
|
+
* {
|
|
41
|
+
* "name": "date_of_birth",
|
|
42
|
+
* "reason": "Insufficient entitlements"
|
|
43
|
+
* }
|
|
44
|
+
* ]
|
|
45
|
+
* },
|
|
46
|
+
* "results": [
|
|
47
|
+
* {
|
|
48
|
+
* "id": "string",
|
|
49
|
+
* "created_at": "string",
|
|
50
|
+
* "updated_at": "string",
|
|
51
|
+
* "job_requisition_id": "string",
|
|
52
|
+
* "job_requisition": {
|
|
53
|
+
* "id": "string",
|
|
54
|
+
* "created_at": "string",
|
|
55
|
+
* "updated_at": "string",
|
|
56
|
+
* "name": "string",
|
|
57
|
+
* "status": "OPEN",
|
|
58
|
+
* "requisition_id": "string"
|
|
59
|
+
* },
|
|
60
|
+
* "name": "string",
|
|
61
|
+
* "published": false,
|
|
62
|
+
* "locations": [
|
|
63
|
+
* {}
|
|
64
|
+
* ],
|
|
65
|
+
* "work_location_ids": [
|
|
66
|
+
* "string"
|
|
67
|
+
* ],
|
|
68
|
+
* "work_locations": [
|
|
69
|
+
* {}
|
|
70
|
+
* ],
|
|
71
|
+
* "public_url": "string",
|
|
72
|
+
* "language": "string"
|
|
73
|
+
* }
|
|
74
|
+
* ],
|
|
75
|
+
* "next_link": "string"
|
|
76
|
+
* }
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
list(query?: JobPostListParams | null | undefined, options?: RequestOptions): PagePromise<JobPostListResponsesPageCursorURL, JobPostListResponse>;
|
|
80
|
+
/**
|
|
81
|
+
* Retrieve a job post belonging to a non-confidential active job requisition.
|
|
82
|
+
*
|
|
83
|
+
* @example HTTP
|
|
84
|
+
* Representative request and response shapes.
|
|
85
|
+
* ```
|
|
86
|
+
* GET /job-posts/{id}/?expand=expand HTTP/1.1
|
|
87
|
+
* Host: rest.ripplingapis.com
|
|
88
|
+
* Accept: application/json
|
|
89
|
+
* Rippling-Api-Version: 2024-08-01
|
|
90
|
+
*
|
|
91
|
+
* HTTP/1.1 200 OK
|
|
92
|
+
* Content-Type: application/json
|
|
93
|
+
*
|
|
94
|
+
* {
|
|
95
|
+
* "__meta": {
|
|
96
|
+
* "redacted_fields": [
|
|
97
|
+
* {}
|
|
98
|
+
* ]
|
|
99
|
+
* }
|
|
100
|
+
* }
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
retrieve(id: string, query?: JobPostRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<JobPostRetrieveResponse>;
|
|
104
|
+
}
|
|
105
|
+
export type JobPostListResponsesPageCursorURL = PageCursorURL<JobPostListResponse>;
|
|
106
|
+
export interface JobPostListResponse {
|
|
107
|
+
/**
|
|
108
|
+
* Identifier field
|
|
109
|
+
*/
|
|
110
|
+
id: string;
|
|
111
|
+
/**
|
|
112
|
+
* Record creation date
|
|
113
|
+
*/
|
|
114
|
+
created_at: string;
|
|
115
|
+
/**
|
|
116
|
+
* Configured and manually entered locations associated with the job post.
|
|
117
|
+
* Configured entries expose only work_location_id; manual entries expose
|
|
118
|
+
* manual_location_id and inline location details.
|
|
119
|
+
*/
|
|
120
|
+
locations: Array<JobPostListResponse.Location>;
|
|
121
|
+
/**
|
|
122
|
+
* Job post name
|
|
123
|
+
*/
|
|
124
|
+
name: string;
|
|
125
|
+
/**
|
|
126
|
+
* Whether the job post is published
|
|
127
|
+
*/
|
|
128
|
+
published: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Record update date
|
|
131
|
+
*/
|
|
132
|
+
updated_at: string;
|
|
133
|
+
/**
|
|
134
|
+
* Parent job requisition; null when not expanded or unavailable. Request
|
|
135
|
+
* expand=job_requisition to include it
|
|
136
|
+
*
|
|
137
|
+
* Expandable field
|
|
138
|
+
*/
|
|
139
|
+
job_requisition?: JobRequisitionsAPI.JobRequisition;
|
|
140
|
+
/**
|
|
141
|
+
* Identifier of the parent Job Requisition resource. Applications use the legacy
|
|
142
|
+
* field name job_id for the same resource. Null when the parent Job Requisition
|
|
143
|
+
* reference is unavailable.
|
|
144
|
+
*/
|
|
145
|
+
job_requisition_id?: string;
|
|
146
|
+
/**
|
|
147
|
+
* BCP 47 job post language tag; defaults to en-US when not otherwise set
|
|
148
|
+
*/
|
|
149
|
+
language?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Public job post URL; null when the post is not published
|
|
152
|
+
*/
|
|
153
|
+
public_url?: string;
|
|
154
|
+
/**
|
|
155
|
+
* Canonical Work Location identifiers for the configured subset of locations[].
|
|
156
|
+
* Unlike locations[], this list excludes manually entered locations and supports
|
|
157
|
+
* expand=work_locations. Returns an empty list when there are no configured
|
|
158
|
+
* locations.
|
|
159
|
+
*/
|
|
160
|
+
work_location_ids?: Array<string>;
|
|
161
|
+
/**
|
|
162
|
+
* Configured Work Location resources; request expand=work_locations to include
|
|
163
|
+
* them
|
|
164
|
+
*
|
|
165
|
+
* Expandable field
|
|
166
|
+
*/
|
|
167
|
+
work_locations?: Array<WorkLocationsAPI.WorkLocation>;
|
|
168
|
+
}
|
|
169
|
+
export declare namespace JobPostListResponse {
|
|
170
|
+
interface Location {
|
|
171
|
+
/**
|
|
172
|
+
* City for a manually entered location; null for a configured Work Location
|
|
173
|
+
* resource
|
|
174
|
+
*/
|
|
175
|
+
city?: string;
|
|
176
|
+
/**
|
|
177
|
+
* ISO 3166-1 alpha-2 country code for a manually entered location; null for a
|
|
178
|
+
* configured Work Location resource
|
|
179
|
+
*/
|
|
180
|
+
country_code?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Opaque job-post-local identifier for a manually entered location; null for a
|
|
183
|
+
* configured Work Location.
|
|
184
|
+
*/
|
|
185
|
+
manual_location_id?: string;
|
|
186
|
+
/**
|
|
187
|
+
* Display name for a manually entered location; null for a configured Work
|
|
188
|
+
* Location resource
|
|
189
|
+
*/
|
|
190
|
+
name?: string;
|
|
191
|
+
/**
|
|
192
|
+
* State or region for a manually entered location; null for a configured Work
|
|
193
|
+
* Location resource
|
|
194
|
+
*/
|
|
195
|
+
state?: string;
|
|
196
|
+
/**
|
|
197
|
+
* Canonical Work Location resource identifier for a configured location; null for
|
|
198
|
+
* a manually entered location. Request expand=work_locations on the parent job
|
|
199
|
+
* post to retrieve the corresponding Work Location resources.
|
|
200
|
+
*/
|
|
201
|
+
work_location_id?: string;
|
|
202
|
+
/**
|
|
203
|
+
* Workplace type for a manually entered location: ON_SITE, REMOTE, or HYBRID.
|
|
204
|
+
* Configured Work Location resources return null.
|
|
205
|
+
*/
|
|
206
|
+
workplace_type?: 'ON_SITE' | 'REMOTE' | 'HYBRID';
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Meta information for the response.
|
|
211
|
+
*/
|
|
212
|
+
export interface JobPostRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
213
|
+
/**
|
|
214
|
+
* Identifier field
|
|
215
|
+
*/
|
|
216
|
+
id: string;
|
|
217
|
+
/**
|
|
218
|
+
* Record creation date
|
|
219
|
+
*/
|
|
220
|
+
created_at: string;
|
|
221
|
+
/**
|
|
222
|
+
* Configured and manually entered locations associated with the job post.
|
|
223
|
+
* Configured entries expose only work_location_id; manual entries expose
|
|
224
|
+
* manual_location_id and inline location details.
|
|
225
|
+
*/
|
|
226
|
+
locations: Array<JobPostRetrieveResponse.Location>;
|
|
227
|
+
/**
|
|
228
|
+
* Job post name
|
|
229
|
+
*/
|
|
230
|
+
name: string;
|
|
231
|
+
/**
|
|
232
|
+
* Whether the job post is published
|
|
233
|
+
*/
|
|
234
|
+
published: boolean;
|
|
235
|
+
/**
|
|
236
|
+
* Record update date
|
|
237
|
+
*/
|
|
238
|
+
updated_at: string;
|
|
239
|
+
/**
|
|
240
|
+
* Parent job requisition; null when not expanded or unavailable. Request
|
|
241
|
+
* expand=job_requisition to include it
|
|
242
|
+
*
|
|
243
|
+
* Expandable field
|
|
244
|
+
*/
|
|
245
|
+
job_requisition?: JobRequisitionsAPI.JobRequisition;
|
|
246
|
+
/**
|
|
247
|
+
* Identifier of the parent Job Requisition resource. Applications use the legacy
|
|
248
|
+
* field name job_id for the same resource. Null when the parent Job Requisition
|
|
249
|
+
* reference is unavailable.
|
|
250
|
+
*/
|
|
251
|
+
job_requisition_id?: string;
|
|
252
|
+
/**
|
|
253
|
+
* BCP 47 job post language tag; defaults to en-US when not otherwise set
|
|
254
|
+
*/
|
|
255
|
+
language?: string;
|
|
256
|
+
/**
|
|
257
|
+
* Public job post URL; null when the post is not published
|
|
258
|
+
*/
|
|
259
|
+
public_url?: string;
|
|
260
|
+
/**
|
|
261
|
+
* Canonical Work Location identifiers for the configured subset of locations[].
|
|
262
|
+
* Unlike locations[], this list excludes manually entered locations and supports
|
|
263
|
+
* expand=work_locations. Returns an empty list when there are no configured
|
|
264
|
+
* locations.
|
|
265
|
+
*/
|
|
266
|
+
work_location_ids?: Array<string>;
|
|
267
|
+
/**
|
|
268
|
+
* Configured Work Location resources; request expand=work_locations to include
|
|
269
|
+
* them
|
|
270
|
+
*
|
|
271
|
+
* Expandable field
|
|
272
|
+
*/
|
|
273
|
+
work_locations?: Array<WorkLocationsAPI.WorkLocation>;
|
|
274
|
+
}
|
|
275
|
+
export declare namespace JobPostRetrieveResponse {
|
|
276
|
+
interface Location {
|
|
277
|
+
/**
|
|
278
|
+
* City for a manually entered location; null for a configured Work Location
|
|
279
|
+
* resource
|
|
280
|
+
*/
|
|
281
|
+
city?: string;
|
|
282
|
+
/**
|
|
283
|
+
* ISO 3166-1 alpha-2 country code for a manually entered location; null for a
|
|
284
|
+
* configured Work Location resource
|
|
285
|
+
*/
|
|
286
|
+
country_code?: string;
|
|
287
|
+
/**
|
|
288
|
+
* Opaque job-post-local identifier for a manually entered location; null for a
|
|
289
|
+
* configured Work Location.
|
|
290
|
+
*/
|
|
291
|
+
manual_location_id?: string;
|
|
292
|
+
/**
|
|
293
|
+
* Display name for a manually entered location; null for a configured Work
|
|
294
|
+
* Location resource
|
|
295
|
+
*/
|
|
296
|
+
name?: string;
|
|
297
|
+
/**
|
|
298
|
+
* State or region for a manually entered location; null for a configured Work
|
|
299
|
+
* Location resource
|
|
300
|
+
*/
|
|
301
|
+
state?: string;
|
|
302
|
+
/**
|
|
303
|
+
* Canonical Work Location resource identifier for a configured location; null for
|
|
304
|
+
* a manually entered location. Request expand=work_locations on the parent job
|
|
305
|
+
* post to retrieve the corresponding Work Location resources.
|
|
306
|
+
*/
|
|
307
|
+
work_location_id?: string;
|
|
308
|
+
/**
|
|
309
|
+
* Workplace type for a manually entered location: ON_SITE, REMOTE, or HYBRID.
|
|
310
|
+
* Configured Work Location resources return null.
|
|
311
|
+
*/
|
|
312
|
+
workplace_type?: 'ON_SITE' | 'REMOTE' | 'HYBRID';
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
export interface JobPostListParams {
|
|
316
|
+
cursor?: string;
|
|
317
|
+
expand?: string;
|
|
318
|
+
filter?: string;
|
|
319
|
+
/**
|
|
320
|
+
* Return job posts for this Rippling job requisition identifier.
|
|
321
|
+
*/
|
|
322
|
+
job_requisition_id?: string;
|
|
323
|
+
/**
|
|
324
|
+
* The maximum number of results to return. Defaults to 50. Maximum is 100.
|
|
325
|
+
*/
|
|
326
|
+
limit?: number;
|
|
327
|
+
order_by?: string;
|
|
328
|
+
/**
|
|
329
|
+
* Filter job posts by external job board publication state. When omitted, returns
|
|
330
|
+
* both published and unpublished posts.
|
|
331
|
+
*/
|
|
332
|
+
published?: boolean;
|
|
333
|
+
/**
|
|
334
|
+
* Return job posts for this customer-defined requisition identifier. Requires the
|
|
335
|
+
* job-requisitions.read scope.
|
|
336
|
+
*/
|
|
337
|
+
requisition_id?: string;
|
|
338
|
+
}
|
|
339
|
+
export interface JobPostRetrieveParams {
|
|
340
|
+
expand?: string;
|
|
341
|
+
}
|
|
342
|
+
export declare namespace JobPosts {
|
|
343
|
+
export { type JobPostListResponse as JobPostListResponse, type JobPostRetrieveResponse as JobPostRetrieveResponse, type JobPostListResponsesPageCursorURL as JobPostListResponsesPageCursorURL, type JobPostListParams as JobPostListParams, type JobPostRetrieveParams as JobPostRetrieveParams, };
|
|
344
|
+
}
|
|
345
|
+
//# sourceMappingURL=job-posts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"job-posts.d.mts","sourceRoot":"","sources":["../src/resources/job-posts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,KAAK,mBAAmB,gCAA4B;AAC3D,OAAO,KAAK,kBAAkB,+BAA2B;AACzD,OAAO,KAAK,gBAAgB,6BAAyB;AACrD,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,+BAA2B;AAChE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
|
+
import * as JobRequisitionsAPI from "./job-requisitions.js";
|
|
4
|
+
import * as WorkLocationsAPI from "./work-locations.js";
|
|
5
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
6
|
+
import { PageCursorURL, PagePromise } from "../core/pagination.js";
|
|
7
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
8
|
+
/**
|
|
9
|
+
* Customer-facing postings associated with job requisitions
|
|
10
|
+
*/
|
|
11
|
+
export declare class JobPosts extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* List location-specific job posts belonging to non-confidential active job
|
|
14
|
+
* requisitions. Use filter=job_requisition_id eq '...' and filter=published eq
|
|
15
|
+
* true for standard OData filtering. Named job_requisition_id and published
|
|
16
|
+
* parameters remain supported as aliases. The requisition_id parameter is a
|
|
17
|
+
* cross-resource lookup of the parent requisition's customer-defined identifier
|
|
18
|
+
* and requires job-requisitions.read. Use the returned job post identifier when
|
|
19
|
+
* submitting an application for a specific posting.
|
|
20
|
+
*
|
|
21
|
+
* - Requires: `Internal Testing`
|
|
22
|
+
* - Filterable fields: `job_requisition_id`, `published`
|
|
23
|
+
* - Expandable fields: `job_requisition`, `work_locations`
|
|
24
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
25
|
+
*
|
|
26
|
+
* @example HTTP
|
|
27
|
+
* Representative request and response shapes.
|
|
28
|
+
* ```
|
|
29
|
+
* GET /job-posts/?filter=filter&expand=expand&order_by=order_by&job_requisition_id=job_requisition_id&requisition_id=requisition_id&published=true&limit=50&cursor=cursor HTTP/1.1
|
|
30
|
+
* Host: rest.ripplingapis.com
|
|
31
|
+
* Accept: application/json
|
|
32
|
+
* Rippling-Api-Version: 2024-08-01
|
|
33
|
+
*
|
|
34
|
+
* HTTP/1.1 200 OK
|
|
35
|
+
* Content-Type: application/json
|
|
36
|
+
*
|
|
37
|
+
* {
|
|
38
|
+
* "__meta": {
|
|
39
|
+
* "redacted_fields": [
|
|
40
|
+
* {
|
|
41
|
+
* "name": "date_of_birth",
|
|
42
|
+
* "reason": "Insufficient entitlements"
|
|
43
|
+
* }
|
|
44
|
+
* ]
|
|
45
|
+
* },
|
|
46
|
+
* "results": [
|
|
47
|
+
* {
|
|
48
|
+
* "id": "string",
|
|
49
|
+
* "created_at": "string",
|
|
50
|
+
* "updated_at": "string",
|
|
51
|
+
* "job_requisition_id": "string",
|
|
52
|
+
* "job_requisition": {
|
|
53
|
+
* "id": "string",
|
|
54
|
+
* "created_at": "string",
|
|
55
|
+
* "updated_at": "string",
|
|
56
|
+
* "name": "string",
|
|
57
|
+
* "status": "OPEN",
|
|
58
|
+
* "requisition_id": "string"
|
|
59
|
+
* },
|
|
60
|
+
* "name": "string",
|
|
61
|
+
* "published": false,
|
|
62
|
+
* "locations": [
|
|
63
|
+
* {}
|
|
64
|
+
* ],
|
|
65
|
+
* "work_location_ids": [
|
|
66
|
+
* "string"
|
|
67
|
+
* ],
|
|
68
|
+
* "work_locations": [
|
|
69
|
+
* {}
|
|
70
|
+
* ],
|
|
71
|
+
* "public_url": "string",
|
|
72
|
+
* "language": "string"
|
|
73
|
+
* }
|
|
74
|
+
* ],
|
|
75
|
+
* "next_link": "string"
|
|
76
|
+
* }
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
list(query?: JobPostListParams | null | undefined, options?: RequestOptions): PagePromise<JobPostListResponsesPageCursorURL, JobPostListResponse>;
|
|
80
|
+
/**
|
|
81
|
+
* Retrieve a job post belonging to a non-confidential active job requisition.
|
|
82
|
+
*
|
|
83
|
+
* @example HTTP
|
|
84
|
+
* Representative request and response shapes.
|
|
85
|
+
* ```
|
|
86
|
+
* GET /job-posts/{id}/?expand=expand HTTP/1.1
|
|
87
|
+
* Host: rest.ripplingapis.com
|
|
88
|
+
* Accept: application/json
|
|
89
|
+
* Rippling-Api-Version: 2024-08-01
|
|
90
|
+
*
|
|
91
|
+
* HTTP/1.1 200 OK
|
|
92
|
+
* Content-Type: application/json
|
|
93
|
+
*
|
|
94
|
+
* {
|
|
95
|
+
* "__meta": {
|
|
96
|
+
* "redacted_fields": [
|
|
97
|
+
* {}
|
|
98
|
+
* ]
|
|
99
|
+
* }
|
|
100
|
+
* }
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
retrieve(id: string, query?: JobPostRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<JobPostRetrieveResponse>;
|
|
104
|
+
}
|
|
105
|
+
export type JobPostListResponsesPageCursorURL = PageCursorURL<JobPostListResponse>;
|
|
106
|
+
export interface JobPostListResponse {
|
|
107
|
+
/**
|
|
108
|
+
* Identifier field
|
|
109
|
+
*/
|
|
110
|
+
id: string;
|
|
111
|
+
/**
|
|
112
|
+
* Record creation date
|
|
113
|
+
*/
|
|
114
|
+
created_at: string;
|
|
115
|
+
/**
|
|
116
|
+
* Configured and manually entered locations associated with the job post.
|
|
117
|
+
* Configured entries expose only work_location_id; manual entries expose
|
|
118
|
+
* manual_location_id and inline location details.
|
|
119
|
+
*/
|
|
120
|
+
locations: Array<JobPostListResponse.Location>;
|
|
121
|
+
/**
|
|
122
|
+
* Job post name
|
|
123
|
+
*/
|
|
124
|
+
name: string;
|
|
125
|
+
/**
|
|
126
|
+
* Whether the job post is published
|
|
127
|
+
*/
|
|
128
|
+
published: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Record update date
|
|
131
|
+
*/
|
|
132
|
+
updated_at: string;
|
|
133
|
+
/**
|
|
134
|
+
* Parent job requisition; null when not expanded or unavailable. Request
|
|
135
|
+
* expand=job_requisition to include it
|
|
136
|
+
*
|
|
137
|
+
* Expandable field
|
|
138
|
+
*/
|
|
139
|
+
job_requisition?: JobRequisitionsAPI.JobRequisition;
|
|
140
|
+
/**
|
|
141
|
+
* Identifier of the parent Job Requisition resource. Applications use the legacy
|
|
142
|
+
* field name job_id for the same resource. Null when the parent Job Requisition
|
|
143
|
+
* reference is unavailable.
|
|
144
|
+
*/
|
|
145
|
+
job_requisition_id?: string;
|
|
146
|
+
/**
|
|
147
|
+
* BCP 47 job post language tag; defaults to en-US when not otherwise set
|
|
148
|
+
*/
|
|
149
|
+
language?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Public job post URL; null when the post is not published
|
|
152
|
+
*/
|
|
153
|
+
public_url?: string;
|
|
154
|
+
/**
|
|
155
|
+
* Canonical Work Location identifiers for the configured subset of locations[].
|
|
156
|
+
* Unlike locations[], this list excludes manually entered locations and supports
|
|
157
|
+
* expand=work_locations. Returns an empty list when there are no configured
|
|
158
|
+
* locations.
|
|
159
|
+
*/
|
|
160
|
+
work_location_ids?: Array<string>;
|
|
161
|
+
/**
|
|
162
|
+
* Configured Work Location resources; request expand=work_locations to include
|
|
163
|
+
* them
|
|
164
|
+
*
|
|
165
|
+
* Expandable field
|
|
166
|
+
*/
|
|
167
|
+
work_locations?: Array<WorkLocationsAPI.WorkLocation>;
|
|
168
|
+
}
|
|
169
|
+
export declare namespace JobPostListResponse {
|
|
170
|
+
interface Location {
|
|
171
|
+
/**
|
|
172
|
+
* City for a manually entered location; null for a configured Work Location
|
|
173
|
+
* resource
|
|
174
|
+
*/
|
|
175
|
+
city?: string;
|
|
176
|
+
/**
|
|
177
|
+
* ISO 3166-1 alpha-2 country code for a manually entered location; null for a
|
|
178
|
+
* configured Work Location resource
|
|
179
|
+
*/
|
|
180
|
+
country_code?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Opaque job-post-local identifier for a manually entered location; null for a
|
|
183
|
+
* configured Work Location.
|
|
184
|
+
*/
|
|
185
|
+
manual_location_id?: string;
|
|
186
|
+
/**
|
|
187
|
+
* Display name for a manually entered location; null for a configured Work
|
|
188
|
+
* Location resource
|
|
189
|
+
*/
|
|
190
|
+
name?: string;
|
|
191
|
+
/**
|
|
192
|
+
* State or region for a manually entered location; null for a configured Work
|
|
193
|
+
* Location resource
|
|
194
|
+
*/
|
|
195
|
+
state?: string;
|
|
196
|
+
/**
|
|
197
|
+
* Canonical Work Location resource identifier for a configured location; null for
|
|
198
|
+
* a manually entered location. Request expand=work_locations on the parent job
|
|
199
|
+
* post to retrieve the corresponding Work Location resources.
|
|
200
|
+
*/
|
|
201
|
+
work_location_id?: string;
|
|
202
|
+
/**
|
|
203
|
+
* Workplace type for a manually entered location: ON_SITE, REMOTE, or HYBRID.
|
|
204
|
+
* Configured Work Location resources return null.
|
|
205
|
+
*/
|
|
206
|
+
workplace_type?: 'ON_SITE' | 'REMOTE' | 'HYBRID';
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Meta information for the response.
|
|
211
|
+
*/
|
|
212
|
+
export interface JobPostRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
213
|
+
/**
|
|
214
|
+
* Identifier field
|
|
215
|
+
*/
|
|
216
|
+
id: string;
|
|
217
|
+
/**
|
|
218
|
+
* Record creation date
|
|
219
|
+
*/
|
|
220
|
+
created_at: string;
|
|
221
|
+
/**
|
|
222
|
+
* Configured and manually entered locations associated with the job post.
|
|
223
|
+
* Configured entries expose only work_location_id; manual entries expose
|
|
224
|
+
* manual_location_id and inline location details.
|
|
225
|
+
*/
|
|
226
|
+
locations: Array<JobPostRetrieveResponse.Location>;
|
|
227
|
+
/**
|
|
228
|
+
* Job post name
|
|
229
|
+
*/
|
|
230
|
+
name: string;
|
|
231
|
+
/**
|
|
232
|
+
* Whether the job post is published
|
|
233
|
+
*/
|
|
234
|
+
published: boolean;
|
|
235
|
+
/**
|
|
236
|
+
* Record update date
|
|
237
|
+
*/
|
|
238
|
+
updated_at: string;
|
|
239
|
+
/**
|
|
240
|
+
* Parent job requisition; null when not expanded or unavailable. Request
|
|
241
|
+
* expand=job_requisition to include it
|
|
242
|
+
*
|
|
243
|
+
* Expandable field
|
|
244
|
+
*/
|
|
245
|
+
job_requisition?: JobRequisitionsAPI.JobRequisition;
|
|
246
|
+
/**
|
|
247
|
+
* Identifier of the parent Job Requisition resource. Applications use the legacy
|
|
248
|
+
* field name job_id for the same resource. Null when the parent Job Requisition
|
|
249
|
+
* reference is unavailable.
|
|
250
|
+
*/
|
|
251
|
+
job_requisition_id?: string;
|
|
252
|
+
/**
|
|
253
|
+
* BCP 47 job post language tag; defaults to en-US when not otherwise set
|
|
254
|
+
*/
|
|
255
|
+
language?: string;
|
|
256
|
+
/**
|
|
257
|
+
* Public job post URL; null when the post is not published
|
|
258
|
+
*/
|
|
259
|
+
public_url?: string;
|
|
260
|
+
/**
|
|
261
|
+
* Canonical Work Location identifiers for the configured subset of locations[].
|
|
262
|
+
* Unlike locations[], this list excludes manually entered locations and supports
|
|
263
|
+
* expand=work_locations. Returns an empty list when there are no configured
|
|
264
|
+
* locations.
|
|
265
|
+
*/
|
|
266
|
+
work_location_ids?: Array<string>;
|
|
267
|
+
/**
|
|
268
|
+
* Configured Work Location resources; request expand=work_locations to include
|
|
269
|
+
* them
|
|
270
|
+
*
|
|
271
|
+
* Expandable field
|
|
272
|
+
*/
|
|
273
|
+
work_locations?: Array<WorkLocationsAPI.WorkLocation>;
|
|
274
|
+
}
|
|
275
|
+
export declare namespace JobPostRetrieveResponse {
|
|
276
|
+
interface Location {
|
|
277
|
+
/**
|
|
278
|
+
* City for a manually entered location; null for a configured Work Location
|
|
279
|
+
* resource
|
|
280
|
+
*/
|
|
281
|
+
city?: string;
|
|
282
|
+
/**
|
|
283
|
+
* ISO 3166-1 alpha-2 country code for a manually entered location; null for a
|
|
284
|
+
* configured Work Location resource
|
|
285
|
+
*/
|
|
286
|
+
country_code?: string;
|
|
287
|
+
/**
|
|
288
|
+
* Opaque job-post-local identifier for a manually entered location; null for a
|
|
289
|
+
* configured Work Location.
|
|
290
|
+
*/
|
|
291
|
+
manual_location_id?: string;
|
|
292
|
+
/**
|
|
293
|
+
* Display name for a manually entered location; null for a configured Work
|
|
294
|
+
* Location resource
|
|
295
|
+
*/
|
|
296
|
+
name?: string;
|
|
297
|
+
/**
|
|
298
|
+
* State or region for a manually entered location; null for a configured Work
|
|
299
|
+
* Location resource
|
|
300
|
+
*/
|
|
301
|
+
state?: string;
|
|
302
|
+
/**
|
|
303
|
+
* Canonical Work Location resource identifier for a configured location; null for
|
|
304
|
+
* a manually entered location. Request expand=work_locations on the parent job
|
|
305
|
+
* post to retrieve the corresponding Work Location resources.
|
|
306
|
+
*/
|
|
307
|
+
work_location_id?: string;
|
|
308
|
+
/**
|
|
309
|
+
* Workplace type for a manually entered location: ON_SITE, REMOTE, or HYBRID.
|
|
310
|
+
* Configured Work Location resources return null.
|
|
311
|
+
*/
|
|
312
|
+
workplace_type?: 'ON_SITE' | 'REMOTE' | 'HYBRID';
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
export interface JobPostListParams {
|
|
316
|
+
cursor?: string;
|
|
317
|
+
expand?: string;
|
|
318
|
+
filter?: string;
|
|
319
|
+
/**
|
|
320
|
+
* Return job posts for this Rippling job requisition identifier.
|
|
321
|
+
*/
|
|
322
|
+
job_requisition_id?: string;
|
|
323
|
+
/**
|
|
324
|
+
* The maximum number of results to return. Defaults to 50. Maximum is 100.
|
|
325
|
+
*/
|
|
326
|
+
limit?: number;
|
|
327
|
+
order_by?: string;
|
|
328
|
+
/**
|
|
329
|
+
* Filter job posts by external job board publication state. When omitted, returns
|
|
330
|
+
* both published and unpublished posts.
|
|
331
|
+
*/
|
|
332
|
+
published?: boolean;
|
|
333
|
+
/**
|
|
334
|
+
* Return job posts for this customer-defined requisition identifier. Requires the
|
|
335
|
+
* job-requisitions.read scope.
|
|
336
|
+
*/
|
|
337
|
+
requisition_id?: string;
|
|
338
|
+
}
|
|
339
|
+
export interface JobPostRetrieveParams {
|
|
340
|
+
expand?: string;
|
|
341
|
+
}
|
|
342
|
+
export declare namespace JobPosts {
|
|
343
|
+
export { type JobPostListResponse as JobPostListResponse, type JobPostRetrieveResponse as JobPostRetrieveResponse, type JobPostListResponsesPageCursorURL as JobPostListResponsesPageCursorURL, type JobPostListParams as JobPostListParams, type JobPostRetrieveParams as JobPostRetrieveParams, };
|
|
344
|
+
}
|
|
345
|
+
//# sourceMappingURL=job-posts.d.ts.map
|