@rippling/rippling-sdk 0.2.0-alpha.94 → 0.2.0-alpha.96
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 +72 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +72 -6
- package/client.d.ts.map +1 -1
- package/client.js +66 -0
- package/client.js.map +1 -1
- package/client.mjs +66 -0
- 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/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 +14 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +14 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +24 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +11 -0
- 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/metadata/components.d.mts +1 -242
- package/resources/metadata/components.d.mts.map +1 -1
- package/resources/metadata/components.d.ts +1 -242
- package/resources/metadata/components.d.ts.map +1 -1
- package/resources/metadata/components.js +0 -51
- package/resources/metadata/components.js.map +1 -1
- package/resources/metadata/components.mjs +0 -51
- package/resources/metadata/components.mjs.map +1 -1
- package/resources/metadata/deployment-runs.d.mts +1 -133
- package/resources/metadata/deployment-runs.d.mts.map +1 -1
- package/resources/metadata/deployment-runs.d.ts +1 -133
- package/resources/metadata/deployment-runs.d.ts.map +1 -1
- package/resources/metadata/deployment-runs.js +0 -60
- package/resources/metadata/deployment-runs.js.map +1 -1
- package/resources/metadata/deployment-runs.mjs +0 -60
- package/resources/metadata/deployment-runs.mjs.map +1 -1
- package/resources/metadata/index.d.mts +3 -5
- package/resources/metadata/index.d.mts.map +1 -1
- package/resources/metadata/index.d.ts +3 -5
- package/resources/metadata/index.d.ts.map +1 -1
- package/resources/metadata/index.js +1 -5
- package/resources/metadata/index.js.map +1 -1
- package/resources/metadata/index.mjs +0 -2
- package/resources/metadata/index.mjs.map +1 -1
- package/resources/metadata/metadata.d.mts +6 -14
- package/resources/metadata/metadata.d.mts.map +1 -1
- package/resources/metadata/metadata.d.ts +6 -14
- package/resources/metadata/metadata.d.ts.map +1 -1
- package/resources/metadata/metadata.js +0 -8
- package/resources/metadata/metadata.js.map +1 -1
- package/resources/metadata/metadata.mjs +0 -8
- package/resources/metadata/metadata.mjs.map +1 -1
- package/resources/metadata/validation-runs.d.mts +1 -133
- package/resources/metadata/validation-runs.d.mts.map +1 -1
- package/resources/metadata/validation-runs.d.ts +1 -133
- package/resources/metadata/validation-runs.d.ts.map +1 -1
- package/resources/metadata/validation-runs.js +0 -60
- package/resources/metadata/validation-runs.js.map +1 -1
- package/resources/metadata/validation-runs.mjs +0 -60
- package/resources/metadata/validation-runs.mjs.map +1 -1
- 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-upgrades.d.mts +140 -0
- package/resources/package-upgrades.d.mts.map +1 -0
- package/resources/package-upgrades.d.ts +140 -0
- package/resources/package-upgrades.d.ts.map +1 -0
- package/resources/package-upgrades.js +25 -0
- package/resources/package-upgrades.js.map +1 -0
- package/resources/package-upgrades.mjs +21 -0
- package/resources/package-upgrades.mjs.map +1 -0
- package/resources/package-versions/index.d.mts +2 -2
- package/resources/package-versions/index.d.mts.map +1 -1
- package/resources/package-versions/index.d.ts +2 -2
- package/resources/package-versions/index.d.ts.map +1 -1
- package/resources/package-versions/index.js +3 -3
- package/resources/package-versions/index.js.map +1 -1
- package/resources/package-versions/index.mjs +1 -1
- package/resources/package-versions/index.mjs.map +1 -1
- package/resources/package-versions/package-versions.d.mts +51 -5
- package/resources/package-versions/package-versions.d.mts.map +1 -1
- package/resources/package-versions/package-versions.d.ts +51 -5
- package/resources/package-versions/package-versions.d.ts.map +1 -1
- package/resources/package-versions/package-versions.js +10 -4
- package/resources/package-versions/package-versions.js.map +1 -1
- package/resources/package-versions/package-versions.mjs +10 -4
- package/resources/package-versions/package-versions.mjs.map +1 -1
- 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/packages/available-upgrades.d.mts +33 -0
- package/resources/packages/available-upgrades.d.mts.map +1 -0
- package/resources/packages/available-upgrades.d.ts +33 -0
- package/resources/packages/available-upgrades.d.ts.map +1 -0
- package/resources/packages/available-upgrades.js +20 -0
- package/resources/packages/available-upgrades.js.map +1 -0
- package/resources/packages/available-upgrades.mjs +16 -0
- package/resources/packages/available-upgrades.mjs.map +1 -0
- package/resources/packages/index.d.mts +3 -1
- package/resources/packages/index.d.mts.map +1 -1
- package/resources/packages/index.d.ts +3 -1
- package/resources/packages/index.d.ts.map +1 -1
- package/resources/packages/index.js +5 -1
- package/resources/packages/index.js.map +1 -1
- package/resources/packages/index.mjs +3 -1
- package/resources/packages/index.mjs.map +1 -1
- package/resources/{package-versions → packages}/next-versions.d.mts +3 -3
- package/resources/packages/next-versions.d.mts.map +1 -0
- package/resources/{package-versions → packages}/next-versions.d.ts +3 -3
- package/resources/packages/next-versions.d.ts.map +1 -0
- package/resources/{package-versions → packages}/next-versions.js +4 -4
- package/resources/packages/next-versions.js.map +1 -0
- package/resources/{package-versions → packages}/next-versions.mjs +4 -4
- package/resources/packages/next-versions.mjs.map +1 -0
- package/resources/packages/packages.d.mts +18 -10
- package/resources/packages/packages.d.mts.map +1 -1
- package/resources/packages/packages.d.ts +18 -10
- package/resources/packages/packages.d.ts.map +1 -1
- package/resources/packages/packages.js +19 -11
- package/resources/packages/packages.js.map +1 -1
- package/resources/packages/packages.mjs +20 -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 +254 -0
- 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/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 +92 -0
- 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/metadata/components.ts +0 -281
- package/src/resources/metadata/deployment-runs.ts +0 -170
- package/src/resources/metadata/index.ts +0 -16
- package/src/resources/metadata/metadata.ts +0 -38
- package/src/resources/metadata/validation-runs.ts +0 -170
- package/src/resources/package-sandbox-links.ts +195 -0
- package/src/resources/package-upgrades.ts +183 -0
- package/src/resources/package-versions/index.ts +2 -1
- package/src/resources/package-versions/package-versions.ts +65 -9
- package/src/resources/package-versions/publish.ts +74 -0
- package/src/resources/packages/available-upgrades.ts +51 -0
- package/src/resources/packages/index.ts +14 -1
- package/src/resources/{package-versions → packages}/next-versions.ts +4 -4
- package/src/resources/packages/packages.ts +52 -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/resources/metadata/component-schemas.d.mts +0 -93
- package/resources/metadata/component-schemas.d.mts.map +0 -1
- package/resources/metadata/component-schemas.d.ts +0 -93
- package/resources/metadata/component-schemas.d.ts.map +0 -1
- package/resources/metadata/component-schemas.js +0 -28
- package/resources/metadata/component-schemas.js.map +0 -1
- package/resources/metadata/component-schemas.mjs +0 -24
- package/resources/metadata/component-schemas.mjs.map +0 -1
- package/resources/metadata/component-types.d.mts +0 -47
- package/resources/metadata/component-types.d.mts.map +0 -1
- package/resources/metadata/component-types.d.ts +0 -47
- package/resources/metadata/component-types.d.ts.map +0 -1
- package/resources/metadata/component-types.js +0 -27
- package/resources/metadata/component-types.js.map +0 -1
- package/resources/metadata/component-types.mjs +0 -23
- package/resources/metadata/component-types.mjs.map +0 -1
- package/resources/package-versions/next-versions.d.mts.map +0 -1
- package/resources/package-versions/next-versions.d.ts.map +0 -1
- package/resources/package-versions/next-versions.js.map +0 -1
- package/resources/package-versions/next-versions.mjs.map +0 -1
- package/src/resources/metadata/component-schemas.ts +0 -109
- package/src/resources/metadata/component-types.ts +0 -56
|
@@ -5,6 +5,7 @@ import * as BusinessPartnersAPI from './business-partners';
|
|
|
5
5
|
import * as JobCodesAPI from './job-codes';
|
|
6
6
|
import { APIPromise } from '../core/api-promise';
|
|
7
7
|
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
8
|
+
import { buildHeaders } from '../internal/headers';
|
|
8
9
|
import { RequestOptions } from '../internal/request-options';
|
|
9
10
|
import { path } from '../internal/utils/path';
|
|
10
11
|
|
|
@@ -30,6 +31,16 @@ export class BusinessStructurePaths extends APIResource {
|
|
|
30
31
|
);
|
|
31
32
|
}
|
|
32
33
|
|
|
34
|
+
/**
|
|
35
|
+
* Create a new business-structure-path
|
|
36
|
+
*/
|
|
37
|
+
create(
|
|
38
|
+
body: BusinessStructurePathCreateParams,
|
|
39
|
+
options?: RequestOptions,
|
|
40
|
+
): APIPromise<BusinessStructurePathCreateResponse> {
|
|
41
|
+
return this._client.post('/business-structure-paths/', { body, ...options });
|
|
42
|
+
}
|
|
43
|
+
|
|
33
44
|
/**
|
|
34
45
|
* Retrieve a specific business-structure-path
|
|
35
46
|
*/
|
|
@@ -40,6 +51,16 @@ export class BusinessStructurePaths extends APIResource {
|
|
|
40
51
|
): APIPromise<BusinessStructurePathRetrieveResponse> {
|
|
41
52
|
return this._client.get(path`/business-structure-paths/${id}/`, { query, ...options });
|
|
42
53
|
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Delete a Business Structure path and all of its descendant paths.
|
|
57
|
+
*/
|
|
58
|
+
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
59
|
+
return this._client.delete(path`/business-structure-paths/${id}/`, {
|
|
60
|
+
...options,
|
|
61
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
62
|
+
});
|
|
63
|
+
}
|
|
43
64
|
}
|
|
44
65
|
|
|
45
66
|
export type BusinessStructurePathListResponsesPageCursorURL =
|
|
@@ -88,6 +109,49 @@ export interface BusinessStructurePathListResponse {
|
|
|
88
109
|
parent_id?: string;
|
|
89
110
|
}
|
|
90
111
|
|
|
112
|
+
export interface BusinessStructurePathCreateResponse {
|
|
113
|
+
/**
|
|
114
|
+
* Identifier field
|
|
115
|
+
*/
|
|
116
|
+
id: string;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Record creation date
|
|
120
|
+
*/
|
|
121
|
+
created_at: string;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Record update date
|
|
125
|
+
*/
|
|
126
|
+
updated_at: string;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Ordered list of full JobCode objects for each job in the path, top to bottom.
|
|
130
|
+
* Populate via ?expand=job_codes. Requires both business-structure-paths.read and
|
|
131
|
+
* job-codes.read scopes.
|
|
132
|
+
*
|
|
133
|
+
* Expandable field
|
|
134
|
+
*/
|
|
135
|
+
job_codes?: Array<JobCodesAPI.JobCode>;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Ordered list of Job code IDs from top to bottom.
|
|
139
|
+
*/
|
|
140
|
+
job_codes_id?: Array<string>;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Name of the path (e.g. 'SF Office > Coffee > Barista').
|
|
144
|
+
*/
|
|
145
|
+
name?: string;
|
|
146
|
+
|
|
147
|
+
parent?: unknown;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Id of the parent BusinessStructurePath. None for root path.
|
|
151
|
+
*/
|
|
152
|
+
parent_id?: string;
|
|
153
|
+
}
|
|
154
|
+
|
|
91
155
|
/**
|
|
92
156
|
* Meta information for the response.
|
|
93
157
|
*/
|
|
@@ -147,6 +211,18 @@ export interface BusinessStructurePathListParams {
|
|
|
147
211
|
order_by?: string;
|
|
148
212
|
}
|
|
149
213
|
|
|
214
|
+
export interface BusinessStructurePathCreateParams {
|
|
215
|
+
/**
|
|
216
|
+
* The Job Code to place at this Business Structure path.
|
|
217
|
+
*/
|
|
218
|
+
job_code_id: string;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Id of the parent BusinessStructurePath. None for root path.
|
|
222
|
+
*/
|
|
223
|
+
parent_id?: string;
|
|
224
|
+
}
|
|
225
|
+
|
|
150
226
|
export interface BusinessStructurePathRetrieveParams {
|
|
151
227
|
expand?: string;
|
|
152
228
|
}
|
|
@@ -154,9 +230,11 @@ export interface BusinessStructurePathRetrieveParams {
|
|
|
154
230
|
export declare namespace BusinessStructurePaths {
|
|
155
231
|
export {
|
|
156
232
|
type BusinessStructurePathListResponse as BusinessStructurePathListResponse,
|
|
233
|
+
type BusinessStructurePathCreateResponse as BusinessStructurePathCreateResponse,
|
|
157
234
|
type BusinessStructurePathRetrieveResponse as BusinessStructurePathRetrieveResponse,
|
|
158
235
|
type BusinessStructurePathListResponsesPageCursorURL as BusinessStructurePathListResponsesPageCursorURL,
|
|
159
236
|
type BusinessStructurePathListParams as BusinessStructurePathListParams,
|
|
237
|
+
type BusinessStructurePathCreateParams as BusinessStructurePathCreateParams,
|
|
160
238
|
type BusinessStructurePathRetrieveParams as BusinessStructurePathRetrieveParams,
|
|
161
239
|
};
|
|
162
240
|
}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
6
|
+
import { RequestOptions } from '../internal/request-options';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Developer Platform account and team management
|
|
10
|
+
*/
|
|
11
|
+
export class DeveloperProgramApplication extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* A list of developer program application.
|
|
14
|
+
*
|
|
15
|
+
* - Requires: `Developer Program`
|
|
16
|
+
*/
|
|
17
|
+
list(
|
|
18
|
+
options?: RequestOptions,
|
|
19
|
+
): PagePromise<
|
|
20
|
+
DeveloperProgramApplicationListResponsesPageCursorURL,
|
|
21
|
+
DeveloperProgramApplicationListResponse
|
|
22
|
+
> {
|
|
23
|
+
return this._client.getAPIList(
|
|
24
|
+
'/developer-program-application/',
|
|
25
|
+
PageCursorURL<DeveloperProgramApplicationListResponse>,
|
|
26
|
+
options,
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Submit a Developer Program application for the authenticated company.
|
|
32
|
+
*/
|
|
33
|
+
create(
|
|
34
|
+
body: DeveloperProgramApplicationCreateParams | null | undefined = {},
|
|
35
|
+
options?: RequestOptions,
|
|
36
|
+
): APIPromise<DeveloperProgramApplicationCreateResponse> {
|
|
37
|
+
return this._client.post('/developer-program-application/', { body, ...options });
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export type DeveloperProgramApplicationListResponsesPageCursorURL =
|
|
42
|
+
PageCursorURL<DeveloperProgramApplicationListResponse>;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Developer Program application resource for Path B existing-company apply.
|
|
46
|
+
*/
|
|
47
|
+
export interface DeveloperProgramApplicationListResponse {
|
|
48
|
+
/**
|
|
49
|
+
* Stable application ID
|
|
50
|
+
*/
|
|
51
|
+
id: string;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* What the company plans to build on Rippling
|
|
55
|
+
*/
|
|
56
|
+
build_description?: string;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Rippling company ID on the application
|
|
60
|
+
*/
|
|
61
|
+
company_id?: string;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Applicant email on the application
|
|
65
|
+
*/
|
|
66
|
+
email?: string;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Time after which ops can no longer approve this pending application
|
|
70
|
+
*/
|
|
71
|
+
expires_at?: string;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Applicant role ID
|
|
75
|
+
*/
|
|
76
|
+
role_id?: string;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Deprecated alias of id. Prefer id.
|
|
80
|
+
*/
|
|
81
|
+
signup_id?: string;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Application checklist stages
|
|
85
|
+
*/
|
|
86
|
+
stages?: DeveloperProgramApplicationListResponse.Stages;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Application status: EMAIL_VERIFICATION_PENDING, SUBMITTED, APPROVED, VERIFIED,
|
|
90
|
+
* REJECTED, or EXPIRED. Existing-company apply writes SUBMITTED and never
|
|
91
|
+
* EMAIL_VERIFICATION_PENDING. VERIFIED means provision finished, not email
|
|
92
|
+
* verified.
|
|
93
|
+
*/
|
|
94
|
+
status?: 'EMAIL_VERIFICATION_PENDING' | 'SUBMITTED' | 'APPROVED' | 'VERIFIED' | 'REJECTED' | 'EXPIRED';
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Time the application was submitted
|
|
98
|
+
*/
|
|
99
|
+
submitted_at?: string;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export namespace DeveloperProgramApplicationListResponse {
|
|
103
|
+
/**
|
|
104
|
+
* Application checklist stages
|
|
105
|
+
*/
|
|
106
|
+
export interface Stages {
|
|
107
|
+
/**
|
|
108
|
+
* Whether ops approved the application and provisioning is pending
|
|
109
|
+
*/
|
|
110
|
+
access_ready?: boolean;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Whether the application has been submitted
|
|
114
|
+
*/
|
|
115
|
+
application_submitted?: boolean;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Whether the applicant email is confirmed
|
|
119
|
+
*/
|
|
120
|
+
email_confirmed?: boolean;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Whether Developer Program access has been provisioned
|
|
124
|
+
*/
|
|
125
|
+
start_building?: boolean;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Developer Program application resource for Path B existing-company apply.
|
|
131
|
+
*/
|
|
132
|
+
export interface DeveloperProgramApplicationCreateResponse {
|
|
133
|
+
/**
|
|
134
|
+
* Stable application ID
|
|
135
|
+
*/
|
|
136
|
+
id: string;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* What the company plans to build on Rippling
|
|
140
|
+
*/
|
|
141
|
+
build_description?: string;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Rippling company ID on the application
|
|
145
|
+
*/
|
|
146
|
+
company_id?: string;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Applicant email on the application
|
|
150
|
+
*/
|
|
151
|
+
email?: string;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Time after which ops can no longer approve this pending application
|
|
155
|
+
*/
|
|
156
|
+
expires_at?: string;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Applicant role ID
|
|
160
|
+
*/
|
|
161
|
+
role_id?: string;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Deprecated alias of id. Prefer id.
|
|
165
|
+
*/
|
|
166
|
+
signup_id?: string;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Application checklist stages
|
|
170
|
+
*/
|
|
171
|
+
stages?: DeveloperProgramApplicationCreateResponse.Stages;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Application status: EMAIL_VERIFICATION_PENDING, SUBMITTED, APPROVED, VERIFIED,
|
|
175
|
+
* REJECTED, or EXPIRED. Existing-company apply writes SUBMITTED and never
|
|
176
|
+
* EMAIL_VERIFICATION_PENDING. VERIFIED means provision finished, not email
|
|
177
|
+
* verified.
|
|
178
|
+
*/
|
|
179
|
+
status?: 'EMAIL_VERIFICATION_PENDING' | 'SUBMITTED' | 'APPROVED' | 'VERIFIED' | 'REJECTED' | 'EXPIRED';
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Time the application was submitted
|
|
183
|
+
*/
|
|
184
|
+
submitted_at?: string;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export namespace DeveloperProgramApplicationCreateResponse {
|
|
188
|
+
/**
|
|
189
|
+
* Application checklist stages
|
|
190
|
+
*/
|
|
191
|
+
export interface Stages {
|
|
192
|
+
/**
|
|
193
|
+
* Whether ops approved the application and provisioning is pending
|
|
194
|
+
*/
|
|
195
|
+
access_ready?: boolean;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Whether the application has been submitted
|
|
199
|
+
*/
|
|
200
|
+
application_submitted?: boolean;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Whether the applicant email is confirmed
|
|
204
|
+
*/
|
|
205
|
+
email_confirmed?: boolean;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Whether Developer Program access has been provisioned
|
|
209
|
+
*/
|
|
210
|
+
start_building?: boolean;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export interface DeveloperProgramApplicationCreateParams {
|
|
215
|
+
/**
|
|
216
|
+
* What the company plans to build on Rippling
|
|
217
|
+
*/
|
|
218
|
+
build_description?: string;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Apply entrypoint: llm_cli_apply or web_apply
|
|
222
|
+
*/
|
|
223
|
+
entrypoint?: 'llm_cli_apply' | 'web_apply';
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export declare namespace DeveloperProgramApplication {
|
|
227
|
+
export {
|
|
228
|
+
type DeveloperProgramApplicationListResponse as DeveloperProgramApplicationListResponse,
|
|
229
|
+
type DeveloperProgramApplicationCreateResponse as DeveloperProgramApplicationCreateResponse,
|
|
230
|
+
type DeveloperProgramApplicationListResponsesPageCursorURL as DeveloperProgramApplicationListResponsesPageCursorURL,
|
|
231
|
+
type DeveloperProgramApplicationCreateParams as DeveloperProgramApplicationCreateParams,
|
|
232
|
+
};
|
|
233
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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 DeveloperUsers extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* A list of App Shop publisher users.
|
|
13
|
+
*
|
|
14
|
+
* - Requires: `Developer Program`
|
|
15
|
+
* - Filterable fields: `email`, `role_state`
|
|
16
|
+
*/
|
|
17
|
+
list(
|
|
18
|
+
query: DeveloperUserListParams | null | undefined = {},
|
|
19
|
+
options?: RequestOptions,
|
|
20
|
+
): PagePromise<DeveloperUserListResponsesPageCursorURL, DeveloperUserListResponse> {
|
|
21
|
+
return this._client.getAPIList('/developer-users/', PageCursorURL<DeveloperUserListResponse>, {
|
|
22
|
+
query,
|
|
23
|
+
...options,
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type DeveloperUserListResponsesPageCursorURL = PageCursorURL<DeveloperUserListResponse>;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* App Shop Publishers Super Group member.
|
|
32
|
+
*/
|
|
33
|
+
export interface DeveloperUserListResponse {
|
|
34
|
+
/**
|
|
35
|
+
* Role ID of a member of the App Shop Publishers Super Group
|
|
36
|
+
*/
|
|
37
|
+
id?: string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* The publisher's work or invite email
|
|
41
|
+
*/
|
|
42
|
+
email?: string;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* The publisher's full name
|
|
46
|
+
*/
|
|
47
|
+
full_name?: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Whether this publisher is a Super Admin
|
|
51
|
+
*/
|
|
52
|
+
is_super_admin?: boolean;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Role state: INIT, HIRED, ACCEPTED, ACTIVE, or TERMINATED
|
|
56
|
+
*/
|
|
57
|
+
role_state?: 'INIT' | 'HIRED' | 'ACCEPTED' | 'ACTIVE' | 'TERMINATED';
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export interface DeveloperUserListParams {
|
|
61
|
+
cursor?: string;
|
|
62
|
+
|
|
63
|
+
filter?: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* The maximum number of results to return. Defaults to 50. Maximum is 100.
|
|
67
|
+
*/
|
|
68
|
+
limit?: number;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export declare namespace DeveloperUsers {
|
|
72
|
+
export {
|
|
73
|
+
type DeveloperUserListResponse as DeveloperUserListResponse,
|
|
74
|
+
type DeveloperUserListResponsesPageCursorURL as DeveloperUserListResponsesPageCursorURL,
|
|
75
|
+
type DeveloperUserListParams as DeveloperUserListParams,
|
|
76
|
+
};
|
|
77
|
+
}
|
|
@@ -83,6 +83,18 @@ export interface EarningsInputListResponse {
|
|
|
83
83
|
*/
|
|
84
84
|
earning_code?: string;
|
|
85
85
|
|
|
86
|
+
/**
|
|
87
|
+
* End of the period this earning was earned. Used for regular-rate-of-pay (RROP)
|
|
88
|
+
* attribution. Distinct from pay_period_basis_date, which selects the pay run.
|
|
89
|
+
*/
|
|
90
|
+
earning_end_date?: string;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Start of the period this earning was earned. Used for regular-rate-of-pay (RROP)
|
|
94
|
+
* attribution. Distinct from pay_period_basis_date, which selects the pay run.
|
|
95
|
+
*/
|
|
96
|
+
earning_start_date?: string;
|
|
97
|
+
|
|
86
98
|
/**
|
|
87
99
|
* External reference identifier for this earning.
|
|
88
100
|
*/
|
|
@@ -159,6 +171,18 @@ export interface EarningsInputCreateResponse {
|
|
|
159
171
|
*/
|
|
160
172
|
earning_code?: string;
|
|
161
173
|
|
|
174
|
+
/**
|
|
175
|
+
* End of the period this earning was earned. Used for regular-rate-of-pay (RROP)
|
|
176
|
+
* attribution. Distinct from pay_period_basis_date, which selects the pay run.
|
|
177
|
+
*/
|
|
178
|
+
earning_end_date?: string;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Start of the period this earning was earned. Used for regular-rate-of-pay (RROP)
|
|
182
|
+
* attribution. Distinct from pay_period_basis_date, which selects the pay run.
|
|
183
|
+
*/
|
|
184
|
+
earning_start_date?: string;
|
|
185
|
+
|
|
162
186
|
/**
|
|
163
187
|
* External reference identifier for this earning.
|
|
164
188
|
*/
|
|
@@ -233,6 +257,18 @@ export interface EarningsInputCreateParams {
|
|
|
233
257
|
*/
|
|
234
258
|
earning_code?: string;
|
|
235
259
|
|
|
260
|
+
/**
|
|
261
|
+
* End of the period this earning was earned. Used for regular-rate-of-pay (RROP)
|
|
262
|
+
* attribution. Distinct from pay_period_basis_date, which selects the pay run.
|
|
263
|
+
*/
|
|
264
|
+
earning_end_date?: string;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Start of the period this earning was earned. Used for regular-rate-of-pay (RROP)
|
|
268
|
+
* attribution. Distinct from pay_period_basis_date, which selects the pay run.
|
|
269
|
+
*/
|
|
270
|
+
earning_start_date?: string;
|
|
271
|
+
|
|
236
272
|
/**
|
|
237
273
|
* External reference identifier for this earning.
|
|
238
274
|
*/
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Baseline required fields for submitting hires by country and hire type
|
|
9
|
+
*/
|
|
10
|
+
export class HireRequirements extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Return baseline required fields for a country and hire type. POST /hires/
|
|
13
|
+
* remains authoritative for company-specific validation.
|
|
14
|
+
*/
|
|
15
|
+
list(query: HireRequirementListParams, options?: RequestOptions): APIPromise<HireRequirementListResponse> {
|
|
16
|
+
return this._client.get('/hire-requirements/', { query, ...options });
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Public GET /hire-requirements/ body. Shape matches hiring's catalog JSON.
|
|
22
|
+
*/
|
|
23
|
+
export interface HireRequirementListResponse {
|
|
24
|
+
/**
|
|
25
|
+
* ISO 3166-1 alpha-2 country code used for the lookup.
|
|
26
|
+
*/
|
|
27
|
+
country_code: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Hiring-owned field catalog grouped by request section.
|
|
31
|
+
*/
|
|
32
|
+
fields_by_group: Array<unknown>;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Hire type used for the lookup.
|
|
36
|
+
*/
|
|
37
|
+
hire_type: string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Catalog groups that apply for this selector tuple.
|
|
41
|
+
*/
|
|
42
|
+
required_groups: Array<string>;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Baseline requirement contract version for this selector tuple.
|
|
46
|
+
*/
|
|
47
|
+
requirements_version: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Item-level fields such as client_request_id.
|
|
51
|
+
*/
|
|
52
|
+
top_level_fields?: Array<HireRequirementListResponse.TopLevelField>;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Public field paths that are not writable for this selector tuple.
|
|
56
|
+
*/
|
|
57
|
+
unsupported_fields?: Array<string>;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Non-fatal warnings for this lookup.
|
|
61
|
+
*/
|
|
62
|
+
warnings?: Array<string>;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export namespace HireRequirementListResponse {
|
|
66
|
+
export interface TopLevelField {
|
|
67
|
+
/**
|
|
68
|
+
* JSON type string, or a list of allowed types for custom-field values.
|
|
69
|
+
*/
|
|
70
|
+
type: unknown;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Public field name relative to its group, or omitted for array item descriptors.
|
|
74
|
+
*/
|
|
75
|
+
field?: string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Nested object fields when type is object.
|
|
79
|
+
*/
|
|
80
|
+
fields?: Array<unknown>;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* date means YYYY-MM-DD.
|
|
84
|
+
*/
|
|
85
|
+
format?: string;
|
|
86
|
+
|
|
87
|
+
items?: unknown;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Sibling-field condition when requiredness is dependent.
|
|
91
|
+
*/
|
|
92
|
+
required_when?: TopLevelField.RequiredWhen;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* required, optional, or dependent.
|
|
96
|
+
*/
|
|
97
|
+
requiredness?: string;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export namespace TopLevelField {
|
|
101
|
+
/**
|
|
102
|
+
* Sibling-field condition when requiredness is dependent.
|
|
103
|
+
*/
|
|
104
|
+
export interface RequiredWhen {
|
|
105
|
+
/**
|
|
106
|
+
* Sibling field in the same object that this condition inspects.
|
|
107
|
+
*/
|
|
108
|
+
field: string;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* equals, not_equals, present, or absent.
|
|
112
|
+
*/
|
|
113
|
+
operator: string;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Comparison value for equals and not_equals. Omitted for present and absent.
|
|
117
|
+
*/
|
|
118
|
+
value?: unknown;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export interface HireRequirementListParams {
|
|
124
|
+
/**
|
|
125
|
+
* ISO 3166-1 alpha-2 country code. First milestone supports US and CA.
|
|
126
|
+
*/
|
|
127
|
+
country_code: string;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Hire type. First milestone supports direct_hire only.
|
|
131
|
+
*/
|
|
132
|
+
hire_type: 'direct_hire';
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export declare namespace HireRequirements {
|
|
136
|
+
export {
|
|
137
|
+
type HireRequirementListResponse as HireRequirementListResponse,
|
|
138
|
+
type HireRequirementListParams as HireRequirementListParams,
|
|
139
|
+
};
|
|
140
|
+
}
|