@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
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.BusinessStructurePaths = void 0;
|
|
5
5
|
const resource_1 = require("../core/resource.js");
|
|
6
6
|
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const headers_1 = require("../internal/headers.js");
|
|
7
8
|
const path_1 = require("../internal/utils/path.js");
|
|
8
9
|
/**
|
|
9
10
|
* Business structure used for defining hierarchy of company's org attributes
|
|
@@ -19,12 +20,27 @@ class BusinessStructurePaths extends resource_1.APIResource {
|
|
|
19
20
|
list(query = {}, options) {
|
|
20
21
|
return this._client.getAPIList('/business-structure-paths/', (pagination_1.PageCursorURL), { query, ...options });
|
|
21
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Create a new business-structure-path
|
|
25
|
+
*/
|
|
26
|
+
create(body, options) {
|
|
27
|
+
return this._client.post('/business-structure-paths/', { body, ...options });
|
|
28
|
+
}
|
|
22
29
|
/**
|
|
23
30
|
* Retrieve a specific business-structure-path
|
|
24
31
|
*/
|
|
25
32
|
retrieve(id, query = {}, options) {
|
|
26
33
|
return this._client.get((0, path_1.path) `/business-structure-paths/${id}/`, { query, ...options });
|
|
27
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* Delete a Business Structure path and all of its descendant paths.
|
|
37
|
+
*/
|
|
38
|
+
delete(id, options) {
|
|
39
|
+
return this._client.delete((0, path_1.path) `/business-structure-paths/${id}/`, {
|
|
40
|
+
...options,
|
|
41
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
28
44
|
}
|
|
29
45
|
exports.BusinessStructurePaths = BusinessStructurePaths;
|
|
30
46
|
//# sourceMappingURL=business-structure-paths.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business-structure-paths.js","sourceRoot":"","sources":["../src/resources/business-structure-paths.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;
|
|
1
|
+
{"version":3,"file":"business-structure-paths.js","sourceRoot":"","sources":["../src/resources/business-structure-paths.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAChE,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,sBAAuB,SAAQ,sBAAW;IACrD;;;;;;OAMG;IACH,IAAI,CACF,QAA4D,EAAE,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,4BAA4B,EAC5B,CAAA,0BAAgD,CAAA,EAChD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAAgE,EAAE,EAClE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,GAAG,EAAE;YACjE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAjDD,wDAiDC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../core/resource.mjs";
|
|
3
3
|
import { PageCursorURL } from "../core/pagination.mjs";
|
|
4
|
+
import { buildHeaders } from "../internal/headers.mjs";
|
|
4
5
|
import { path } from "../internal/utils/path.mjs";
|
|
5
6
|
/**
|
|
6
7
|
* Business structure used for defining hierarchy of company's org attributes
|
|
@@ -16,11 +17,26 @@ export class BusinessStructurePaths extends APIResource {
|
|
|
16
17
|
list(query = {}, options) {
|
|
17
18
|
return this._client.getAPIList('/business-structure-paths/', (PageCursorURL), { query, ...options });
|
|
18
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Create a new business-structure-path
|
|
22
|
+
*/
|
|
23
|
+
create(body, options) {
|
|
24
|
+
return this._client.post('/business-structure-paths/', { body, ...options });
|
|
25
|
+
}
|
|
19
26
|
/**
|
|
20
27
|
* Retrieve a specific business-structure-path
|
|
21
28
|
*/
|
|
22
29
|
retrieve(id, query = {}, options) {
|
|
23
30
|
return this._client.get(path `/business-structure-paths/${id}/`, { query, ...options });
|
|
24
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Delete a Business Structure path and all of its descendant paths.
|
|
34
|
+
*/
|
|
35
|
+
delete(id, options) {
|
|
36
|
+
return this._client.delete(path `/business-structure-paths/${id}/`, {
|
|
37
|
+
...options,
|
|
38
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
39
|
+
});
|
|
40
|
+
}
|
|
25
41
|
}
|
|
26
42
|
//# sourceMappingURL=business-structure-paths.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business-structure-paths.mjs","sourceRoot":"","sources":["../src/resources/business-structure-paths.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,OAAO,EAAE,aAAa,EAAe,+BAA2B;
|
|
1
|
+
{"version":3,"file":"business-structure-paths.mjs","sourceRoot":"","sources":["../src/resources/business-structure-paths.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,OAAO,EAAE,aAAa,EAAe,+BAA2B;AAChE,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,sBAAuB,SAAQ,WAAW;IACrD;;;;;;OAMG;IACH,IAAI,CACF,QAA4D,EAAE,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,4BAA4B,EAC5B,CAAA,aAAgD,CAAA,EAChD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAAgE,EAAE,EAClE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,6BAA6B,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,6BAA6B,EAAE,GAAG,EAAE;YACjE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Developer Platform account and team management
|
|
7
|
+
*/
|
|
8
|
+
export declare class DeveloperProgramApplication extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* A list of developer program application.
|
|
11
|
+
*
|
|
12
|
+
* - Requires: `Developer Program`
|
|
13
|
+
*/
|
|
14
|
+
list(options?: RequestOptions): PagePromise<DeveloperProgramApplicationListResponsesPageCursorURL, DeveloperProgramApplicationListResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Submit a Developer Program application for the authenticated company.
|
|
17
|
+
*/
|
|
18
|
+
create(body?: DeveloperProgramApplicationCreateParams | null | undefined, options?: RequestOptions): APIPromise<DeveloperProgramApplicationCreateResponse>;
|
|
19
|
+
}
|
|
20
|
+
export type DeveloperProgramApplicationListResponsesPageCursorURL = PageCursorURL<DeveloperProgramApplicationListResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Developer Program application resource for Path B existing-company apply.
|
|
23
|
+
*/
|
|
24
|
+
export interface DeveloperProgramApplicationListResponse {
|
|
25
|
+
/**
|
|
26
|
+
* Stable application ID
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
/**
|
|
30
|
+
* What the company plans to build on Rippling
|
|
31
|
+
*/
|
|
32
|
+
build_description?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Rippling company ID on the application
|
|
35
|
+
*/
|
|
36
|
+
company_id?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Applicant email on the application
|
|
39
|
+
*/
|
|
40
|
+
email?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Time after which ops can no longer approve this pending application
|
|
43
|
+
*/
|
|
44
|
+
expires_at?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Applicant role ID
|
|
47
|
+
*/
|
|
48
|
+
role_id?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Deprecated alias of id. Prefer id.
|
|
51
|
+
*/
|
|
52
|
+
signup_id?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Application checklist stages
|
|
55
|
+
*/
|
|
56
|
+
stages?: DeveloperProgramApplicationListResponse.Stages;
|
|
57
|
+
/**
|
|
58
|
+
* Application status: EMAIL_VERIFICATION_PENDING, SUBMITTED, APPROVED, VERIFIED,
|
|
59
|
+
* REJECTED, or EXPIRED. Existing-company apply writes SUBMITTED and never
|
|
60
|
+
* EMAIL_VERIFICATION_PENDING. VERIFIED means provision finished, not email
|
|
61
|
+
* verified.
|
|
62
|
+
*/
|
|
63
|
+
status?: 'EMAIL_VERIFICATION_PENDING' | 'SUBMITTED' | 'APPROVED' | 'VERIFIED' | 'REJECTED' | 'EXPIRED';
|
|
64
|
+
/**
|
|
65
|
+
* Time the application was submitted
|
|
66
|
+
*/
|
|
67
|
+
submitted_at?: string;
|
|
68
|
+
}
|
|
69
|
+
export declare namespace DeveloperProgramApplicationListResponse {
|
|
70
|
+
/**
|
|
71
|
+
* Application checklist stages
|
|
72
|
+
*/
|
|
73
|
+
interface Stages {
|
|
74
|
+
/**
|
|
75
|
+
* Whether ops approved the application and provisioning is pending
|
|
76
|
+
*/
|
|
77
|
+
access_ready?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Whether the application has been submitted
|
|
80
|
+
*/
|
|
81
|
+
application_submitted?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Whether the applicant email is confirmed
|
|
84
|
+
*/
|
|
85
|
+
email_confirmed?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Whether Developer Program access has been provisioned
|
|
88
|
+
*/
|
|
89
|
+
start_building?: boolean;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Developer Program application resource for Path B existing-company apply.
|
|
94
|
+
*/
|
|
95
|
+
export interface DeveloperProgramApplicationCreateResponse {
|
|
96
|
+
/**
|
|
97
|
+
* Stable application ID
|
|
98
|
+
*/
|
|
99
|
+
id: string;
|
|
100
|
+
/**
|
|
101
|
+
* What the company plans to build on Rippling
|
|
102
|
+
*/
|
|
103
|
+
build_description?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Rippling company ID on the application
|
|
106
|
+
*/
|
|
107
|
+
company_id?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Applicant email on the application
|
|
110
|
+
*/
|
|
111
|
+
email?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Time after which ops can no longer approve this pending application
|
|
114
|
+
*/
|
|
115
|
+
expires_at?: string;
|
|
116
|
+
/**
|
|
117
|
+
* Applicant role ID
|
|
118
|
+
*/
|
|
119
|
+
role_id?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Deprecated alias of id. Prefer id.
|
|
122
|
+
*/
|
|
123
|
+
signup_id?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Application checklist stages
|
|
126
|
+
*/
|
|
127
|
+
stages?: DeveloperProgramApplicationCreateResponse.Stages;
|
|
128
|
+
/**
|
|
129
|
+
* Application status: EMAIL_VERIFICATION_PENDING, SUBMITTED, APPROVED, VERIFIED,
|
|
130
|
+
* REJECTED, or EXPIRED. Existing-company apply writes SUBMITTED and never
|
|
131
|
+
* EMAIL_VERIFICATION_PENDING. VERIFIED means provision finished, not email
|
|
132
|
+
* verified.
|
|
133
|
+
*/
|
|
134
|
+
status?: 'EMAIL_VERIFICATION_PENDING' | 'SUBMITTED' | 'APPROVED' | 'VERIFIED' | 'REJECTED' | 'EXPIRED';
|
|
135
|
+
/**
|
|
136
|
+
* Time the application was submitted
|
|
137
|
+
*/
|
|
138
|
+
submitted_at?: string;
|
|
139
|
+
}
|
|
140
|
+
export declare namespace DeveloperProgramApplicationCreateResponse {
|
|
141
|
+
/**
|
|
142
|
+
* Application checklist stages
|
|
143
|
+
*/
|
|
144
|
+
interface Stages {
|
|
145
|
+
/**
|
|
146
|
+
* Whether ops approved the application and provisioning is pending
|
|
147
|
+
*/
|
|
148
|
+
access_ready?: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Whether the application has been submitted
|
|
151
|
+
*/
|
|
152
|
+
application_submitted?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Whether the applicant email is confirmed
|
|
155
|
+
*/
|
|
156
|
+
email_confirmed?: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* Whether Developer Program access has been provisioned
|
|
159
|
+
*/
|
|
160
|
+
start_building?: boolean;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
export interface DeveloperProgramApplicationCreateParams {
|
|
164
|
+
/**
|
|
165
|
+
* What the company plans to build on Rippling
|
|
166
|
+
*/
|
|
167
|
+
build_description?: string;
|
|
168
|
+
/**
|
|
169
|
+
* Apply entrypoint: llm_cli_apply or web_apply
|
|
170
|
+
*/
|
|
171
|
+
entrypoint?: 'llm_cli_apply' | 'web_apply';
|
|
172
|
+
}
|
|
173
|
+
export declare namespace DeveloperProgramApplication {
|
|
174
|
+
export { type DeveloperProgramApplicationListResponse as DeveloperProgramApplicationListResponse, type DeveloperProgramApplicationCreateResponse as DeveloperProgramApplicationCreateResponse, type DeveloperProgramApplicationListResponsesPageCursorURL as DeveloperProgramApplicationListResponsesPageCursorURL, type DeveloperProgramApplicationCreateParams as DeveloperProgramApplicationCreateParams, };
|
|
175
|
+
}
|
|
176
|
+
//# sourceMappingURL=developer-program-application.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"developer-program-application.d.mts","sourceRoot":"","sources":["../src/resources/developer-program-application.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { PageCursorURL, PagePromise } from "../core/pagination.js";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
5
|
+
/**
|
|
6
|
+
* Developer Platform account and team management
|
|
7
|
+
*/
|
|
8
|
+
export declare class DeveloperProgramApplication extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* A list of developer program application.
|
|
11
|
+
*
|
|
12
|
+
* - Requires: `Developer Program`
|
|
13
|
+
*/
|
|
14
|
+
list(options?: RequestOptions): PagePromise<DeveloperProgramApplicationListResponsesPageCursorURL, DeveloperProgramApplicationListResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Submit a Developer Program application for the authenticated company.
|
|
17
|
+
*/
|
|
18
|
+
create(body?: DeveloperProgramApplicationCreateParams | null | undefined, options?: RequestOptions): APIPromise<DeveloperProgramApplicationCreateResponse>;
|
|
19
|
+
}
|
|
20
|
+
export type DeveloperProgramApplicationListResponsesPageCursorURL = PageCursorURL<DeveloperProgramApplicationListResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Developer Program application resource for Path B existing-company apply.
|
|
23
|
+
*/
|
|
24
|
+
export interface DeveloperProgramApplicationListResponse {
|
|
25
|
+
/**
|
|
26
|
+
* Stable application ID
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
/**
|
|
30
|
+
* What the company plans to build on Rippling
|
|
31
|
+
*/
|
|
32
|
+
build_description?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Rippling company ID on the application
|
|
35
|
+
*/
|
|
36
|
+
company_id?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Applicant email on the application
|
|
39
|
+
*/
|
|
40
|
+
email?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Time after which ops can no longer approve this pending application
|
|
43
|
+
*/
|
|
44
|
+
expires_at?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Applicant role ID
|
|
47
|
+
*/
|
|
48
|
+
role_id?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Deprecated alias of id. Prefer id.
|
|
51
|
+
*/
|
|
52
|
+
signup_id?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Application checklist stages
|
|
55
|
+
*/
|
|
56
|
+
stages?: DeveloperProgramApplicationListResponse.Stages;
|
|
57
|
+
/**
|
|
58
|
+
* Application status: EMAIL_VERIFICATION_PENDING, SUBMITTED, APPROVED, VERIFIED,
|
|
59
|
+
* REJECTED, or EXPIRED. Existing-company apply writes SUBMITTED and never
|
|
60
|
+
* EMAIL_VERIFICATION_PENDING. VERIFIED means provision finished, not email
|
|
61
|
+
* verified.
|
|
62
|
+
*/
|
|
63
|
+
status?: 'EMAIL_VERIFICATION_PENDING' | 'SUBMITTED' | 'APPROVED' | 'VERIFIED' | 'REJECTED' | 'EXPIRED';
|
|
64
|
+
/**
|
|
65
|
+
* Time the application was submitted
|
|
66
|
+
*/
|
|
67
|
+
submitted_at?: string;
|
|
68
|
+
}
|
|
69
|
+
export declare namespace DeveloperProgramApplicationListResponse {
|
|
70
|
+
/**
|
|
71
|
+
* Application checklist stages
|
|
72
|
+
*/
|
|
73
|
+
interface Stages {
|
|
74
|
+
/**
|
|
75
|
+
* Whether ops approved the application and provisioning is pending
|
|
76
|
+
*/
|
|
77
|
+
access_ready?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Whether the application has been submitted
|
|
80
|
+
*/
|
|
81
|
+
application_submitted?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Whether the applicant email is confirmed
|
|
84
|
+
*/
|
|
85
|
+
email_confirmed?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Whether Developer Program access has been provisioned
|
|
88
|
+
*/
|
|
89
|
+
start_building?: boolean;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Developer Program application resource for Path B existing-company apply.
|
|
94
|
+
*/
|
|
95
|
+
export interface DeveloperProgramApplicationCreateResponse {
|
|
96
|
+
/**
|
|
97
|
+
* Stable application ID
|
|
98
|
+
*/
|
|
99
|
+
id: string;
|
|
100
|
+
/**
|
|
101
|
+
* What the company plans to build on Rippling
|
|
102
|
+
*/
|
|
103
|
+
build_description?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Rippling company ID on the application
|
|
106
|
+
*/
|
|
107
|
+
company_id?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Applicant email on the application
|
|
110
|
+
*/
|
|
111
|
+
email?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Time after which ops can no longer approve this pending application
|
|
114
|
+
*/
|
|
115
|
+
expires_at?: string;
|
|
116
|
+
/**
|
|
117
|
+
* Applicant role ID
|
|
118
|
+
*/
|
|
119
|
+
role_id?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Deprecated alias of id. Prefer id.
|
|
122
|
+
*/
|
|
123
|
+
signup_id?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Application checklist stages
|
|
126
|
+
*/
|
|
127
|
+
stages?: DeveloperProgramApplicationCreateResponse.Stages;
|
|
128
|
+
/**
|
|
129
|
+
* Application status: EMAIL_VERIFICATION_PENDING, SUBMITTED, APPROVED, VERIFIED,
|
|
130
|
+
* REJECTED, or EXPIRED. Existing-company apply writes SUBMITTED and never
|
|
131
|
+
* EMAIL_VERIFICATION_PENDING. VERIFIED means provision finished, not email
|
|
132
|
+
* verified.
|
|
133
|
+
*/
|
|
134
|
+
status?: 'EMAIL_VERIFICATION_PENDING' | 'SUBMITTED' | 'APPROVED' | 'VERIFIED' | 'REJECTED' | 'EXPIRED';
|
|
135
|
+
/**
|
|
136
|
+
* Time the application was submitted
|
|
137
|
+
*/
|
|
138
|
+
submitted_at?: string;
|
|
139
|
+
}
|
|
140
|
+
export declare namespace DeveloperProgramApplicationCreateResponse {
|
|
141
|
+
/**
|
|
142
|
+
* Application checklist stages
|
|
143
|
+
*/
|
|
144
|
+
interface Stages {
|
|
145
|
+
/**
|
|
146
|
+
* Whether ops approved the application and provisioning is pending
|
|
147
|
+
*/
|
|
148
|
+
access_ready?: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Whether the application has been submitted
|
|
151
|
+
*/
|
|
152
|
+
application_submitted?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Whether the applicant email is confirmed
|
|
155
|
+
*/
|
|
156
|
+
email_confirmed?: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* Whether Developer Program access has been provisioned
|
|
159
|
+
*/
|
|
160
|
+
start_building?: boolean;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
export interface DeveloperProgramApplicationCreateParams {
|
|
164
|
+
/**
|
|
165
|
+
* What the company plans to build on Rippling
|
|
166
|
+
*/
|
|
167
|
+
build_description?: string;
|
|
168
|
+
/**
|
|
169
|
+
* Apply entrypoint: llm_cli_apply or web_apply
|
|
170
|
+
*/
|
|
171
|
+
entrypoint?: 'llm_cli_apply' | 'web_apply';
|
|
172
|
+
}
|
|
173
|
+
export declare namespace DeveloperProgramApplication {
|
|
174
|
+
export { type DeveloperProgramApplicationListResponse as DeveloperProgramApplicationListResponse, type DeveloperProgramApplicationCreateResponse as DeveloperProgramApplicationCreateResponse, type DeveloperProgramApplicationListResponsesPageCursorURL as DeveloperProgramApplicationListResponsesPageCursorURL, type DeveloperProgramApplicationCreateParams as DeveloperProgramApplicationCreateParams, };
|
|
175
|
+
}
|
|
176
|
+
//# sourceMappingURL=developer-program-application.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"developer-program-application.d.ts","sourceRoot":"","sources":["../src/resources/developer-program-application.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DeveloperProgramApplication = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
/**
|
|
8
|
+
* Developer Platform account and team management
|
|
9
|
+
*/
|
|
10
|
+
class DeveloperProgramApplication extends resource_1.APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* A list of developer program application.
|
|
13
|
+
*
|
|
14
|
+
* - Requires: `Developer Program`
|
|
15
|
+
*/
|
|
16
|
+
list(options) {
|
|
17
|
+
return this._client.getAPIList('/developer-program-application/', (pagination_1.PageCursorURL), options);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Submit a Developer Program application for the authenticated company.
|
|
21
|
+
*/
|
|
22
|
+
create(body = {}, options) {
|
|
23
|
+
return this._client.post('/developer-program-application/', { body, ...options });
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.DeveloperProgramApplication = DeveloperProgramApplication;
|
|
27
|
+
//# sourceMappingURL=developer-program-application.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"developer-program-application.js","sourceRoot":"","sources":["../src/resources/developer-program-application.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAAgE;AAGhE;;GAEG;AACH,MAAa,2BAA4B,SAAQ,sBAAW;IAC1D;;;;OAIG;IACH,IAAI,CACF,OAAwB;QAKxB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,iCAAiC,EACjC,CAAA,0BAAsD,CAAA,EACtD,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAAmE,EAAE,EACrE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iCAAiC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;CACF;AA5BD,kEA4BC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { PageCursorURL } from "../core/pagination.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Developer Platform account and team management
|
|
6
|
+
*/
|
|
7
|
+
export class DeveloperProgramApplication extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* A list of developer program application.
|
|
10
|
+
*
|
|
11
|
+
* - Requires: `Developer Program`
|
|
12
|
+
*/
|
|
13
|
+
list(options) {
|
|
14
|
+
return this._client.getAPIList('/developer-program-application/', (PageCursorURL), options);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Submit a Developer Program application for the authenticated company.
|
|
18
|
+
*/
|
|
19
|
+
create(body = {}, options) {
|
|
20
|
+
return this._client.post('/developer-program-application/', { body, ...options });
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=developer-program-application.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"developer-program-application.mjs","sourceRoot":"","sources":["../src/resources/developer-program-application.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,aAAa,EAAe,+BAA2B;AAGhE;;GAEG;AACH,MAAM,OAAO,2BAA4B,SAAQ,WAAW;IAC1D;;;;OAIG;IACH,IAAI,CACF,OAAwB;QAKxB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,iCAAiC,EACjC,CAAA,aAAsD,CAAA,EACtD,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAAmE,EAAE,EACrE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iCAAiC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;CACF"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Developer Platform account and team management
|
|
6
|
+
*/
|
|
7
|
+
export declare class DeveloperUsers extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* A list of App Shop publisher users.
|
|
10
|
+
*
|
|
11
|
+
* - Requires: `Developer Program`
|
|
12
|
+
* - Filterable fields: `email`, `role_state`
|
|
13
|
+
*/
|
|
14
|
+
list(query?: DeveloperUserListParams | null | undefined, options?: RequestOptions): PagePromise<DeveloperUserListResponsesPageCursorURL, DeveloperUserListResponse>;
|
|
15
|
+
}
|
|
16
|
+
export type DeveloperUserListResponsesPageCursorURL = PageCursorURL<DeveloperUserListResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* App Shop Publishers Super Group member.
|
|
19
|
+
*/
|
|
20
|
+
export interface DeveloperUserListResponse {
|
|
21
|
+
/**
|
|
22
|
+
* Role ID of a member of the App Shop Publishers Super Group
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The publisher's work or invite email
|
|
27
|
+
*/
|
|
28
|
+
email?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The publisher's full name
|
|
31
|
+
*/
|
|
32
|
+
full_name?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Whether this publisher is a Super Admin
|
|
35
|
+
*/
|
|
36
|
+
is_super_admin?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Role state: INIT, HIRED, ACCEPTED, ACTIVE, or TERMINATED
|
|
39
|
+
*/
|
|
40
|
+
role_state?: 'INIT' | 'HIRED' | 'ACCEPTED' | 'ACTIVE' | 'TERMINATED';
|
|
41
|
+
}
|
|
42
|
+
export interface DeveloperUserListParams {
|
|
43
|
+
cursor?: string;
|
|
44
|
+
filter?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The maximum number of results to return. Defaults to 50. Maximum is 100.
|
|
47
|
+
*/
|
|
48
|
+
limit?: number;
|
|
49
|
+
}
|
|
50
|
+
export declare namespace DeveloperUsers {
|
|
51
|
+
export { type DeveloperUserListResponse as DeveloperUserListResponse, type DeveloperUserListResponsesPageCursorURL as DeveloperUserListResponsesPageCursorURL, type DeveloperUserListParams as DeveloperUserListParams, };
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=developer-users.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"developer-users.d.mts","sourceRoot":"","sources":["../src/resources/developer-users.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,+BAA2B;AAChE,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,KAAK,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,uCAAuC,EAAE,yBAAyB,CAAC;CAMnF;AAED,MAAM,MAAM,uCAAuC,GAAG,aAAa,CAAC,yBAAyB,CAAC,CAAC;AAE/F;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,YAAY,CAAC;CACtE;AAED,MAAM,WAAW,uBAAuB;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { PageCursorURL, PagePromise } from "../core/pagination.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Developer Platform account and team management
|
|
6
|
+
*/
|
|
7
|
+
export declare class DeveloperUsers extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* A list of App Shop publisher users.
|
|
10
|
+
*
|
|
11
|
+
* - Requires: `Developer Program`
|
|
12
|
+
* - Filterable fields: `email`, `role_state`
|
|
13
|
+
*/
|
|
14
|
+
list(query?: DeveloperUserListParams | null | undefined, options?: RequestOptions): PagePromise<DeveloperUserListResponsesPageCursorURL, DeveloperUserListResponse>;
|
|
15
|
+
}
|
|
16
|
+
export type DeveloperUserListResponsesPageCursorURL = PageCursorURL<DeveloperUserListResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* App Shop Publishers Super Group member.
|
|
19
|
+
*/
|
|
20
|
+
export interface DeveloperUserListResponse {
|
|
21
|
+
/**
|
|
22
|
+
* Role ID of a member of the App Shop Publishers Super Group
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The publisher's work or invite email
|
|
27
|
+
*/
|
|
28
|
+
email?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The publisher's full name
|
|
31
|
+
*/
|
|
32
|
+
full_name?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Whether this publisher is a Super Admin
|
|
35
|
+
*/
|
|
36
|
+
is_super_admin?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Role state: INIT, HIRED, ACCEPTED, ACTIVE, or TERMINATED
|
|
39
|
+
*/
|
|
40
|
+
role_state?: 'INIT' | 'HIRED' | 'ACCEPTED' | 'ACTIVE' | 'TERMINATED';
|
|
41
|
+
}
|
|
42
|
+
export interface DeveloperUserListParams {
|
|
43
|
+
cursor?: string;
|
|
44
|
+
filter?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The maximum number of results to return. Defaults to 50. Maximum is 100.
|
|
47
|
+
*/
|
|
48
|
+
limit?: number;
|
|
49
|
+
}
|
|
50
|
+
export declare namespace DeveloperUsers {
|
|
51
|
+
export { type DeveloperUserListResponse as DeveloperUserListResponse, type DeveloperUserListResponsesPageCursorURL as DeveloperUserListResponsesPageCursorURL, type DeveloperUserListParams as DeveloperUserListParams, };
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=developer-users.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"developer-users.d.ts","sourceRoot":"","sources":["../src/resources/developer-users.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,8BAA2B;AAChE,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,KAAK,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,uCAAuC,EAAE,yBAAyB,CAAC;CAMnF;AAED,MAAM,MAAM,uCAAuC,GAAG,aAAa,CAAC,yBAAyB,CAAC,CAAC;AAE/F;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,YAAY,CAAC;CACtE;AAED,MAAM,WAAW,uBAAuB;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DeveloperUsers = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
/**
|
|
8
|
+
* Developer Platform account and team management
|
|
9
|
+
*/
|
|
10
|
+
class DeveloperUsers extends resource_1.APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* A list of App Shop publisher users.
|
|
13
|
+
*
|
|
14
|
+
* - Requires: `Developer Program`
|
|
15
|
+
* - Filterable fields: `email`, `role_state`
|
|
16
|
+
*/
|
|
17
|
+
list(query = {}, options) {
|
|
18
|
+
return this._client.getAPIList('/developer-users/', (pagination_1.PageCursorURL), {
|
|
19
|
+
query,
|
|
20
|
+
...options,
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.DeveloperUsers = DeveloperUsers;
|
|
25
|
+
//# sourceMappingURL=developer-users.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"developer-users.js","sourceRoot":"","sources":["../src/resources/developer-users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAC/C,sDAAgE;AAGhE;;GAEG;AACH,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;;;;OAKG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,0BAAwC,CAAA,EAAE;YAC5F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAhBD,wCAgBC"}
|