@rippling/rippling-sdk 0.2.0-alpha.34 → 0.2.0-alpha.36
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 +6 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -0
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/examples/.keep +4 -0
- package/examples/manifest/dental-practice-management/dental-practice-management.ts +651 -0
- package/examples/manifest/dental-practice-management/manifest.json +1870 -0
- package/examples/manifest/gym-membership-management/gym-membership-management.ts +757 -0
- package/examples/manifest/gym-membership-management/manifest.json +1975 -0
- package/examples/sdui/sdui-crud-todo/rippling-function.ts +367 -0
- package/examples/sdui/sdui-crud-todo/sdui-crud-todo.ts +282 -0
- package/examples/sdui/sdui-showcase/rippling-function.ts +381 -0
- package/examples/sdui/sdui-showcase/sdui-showcase.ts +351 -0
- package/examples/sdui/sdui-tab-multi-view/rippling-function.ts +1061 -0
- package/examples/sdui/sdui-tab-multi-view/sdui-tab-multi-view.ts +924 -0
- package/examples/sdui/vote/rippling-function.ts +330 -0
- package/examples/sdui/vote/vote.ts +298 -0
- package/lib/manifest/app.d.mts +81 -13
- package/lib/manifest/app.d.mts.map +1 -1
- package/lib/manifest/app.d.ts +81 -13
- package/lib/manifest/app.d.ts.map +1 -1
- package/lib/manifest/app.js +37 -16
- package/lib/manifest/app.js.map +1 -1
- package/lib/manifest/app.mjs +37 -16
- package/lib/manifest/app.mjs.map +1 -1
- package/lib/manifest/category.d.mts +63 -7
- package/lib/manifest/category.d.mts.map +1 -1
- package/lib/manifest/category.d.ts +63 -7
- package/lib/manifest/category.d.ts.map +1 -1
- package/lib/manifest/category.js +45 -10
- package/lib/manifest/category.js.map +1 -1
- package/lib/manifest/category.mjs +43 -8
- package/lib/manifest/category.mjs.map +1 -1
- package/lib/manifest/custom-object-field-section.d.mts +56 -6
- package/lib/manifest/custom-object-field-section.d.mts.map +1 -1
- package/lib/manifest/custom-object-field-section.d.ts +56 -6
- package/lib/manifest/custom-object-field-section.d.ts.map +1 -1
- package/lib/manifest/custom-object-field-section.js +41 -14
- package/lib/manifest/custom-object-field-section.js.map +1 -1
- package/lib/manifest/custom-object-field-section.mjs +39 -12
- package/lib/manifest/custom-object-field-section.mjs.map +1 -1
- package/lib/manifest/custom-object-page-layout.d.mts +201 -41
- package/lib/manifest/custom-object-page-layout.d.mts.map +1 -1
- package/lib/manifest/custom-object-page-layout.d.ts +201 -41
- package/lib/manifest/custom-object-page-layout.d.ts.map +1 -1
- package/lib/manifest/custom-object-page-layout.js +76 -30
- package/lib/manifest/custom-object-page-layout.js.map +1 -1
- package/lib/manifest/custom-object-page-layout.mjs +74 -28
- package/lib/manifest/custom-object-page-layout.mjs.map +1 -1
- package/lib/manifest/custom-object.d.mts +128 -15
- package/lib/manifest/custom-object.d.mts.map +1 -1
- package/lib/manifest/custom-object.d.ts +128 -15
- package/lib/manifest/custom-object.d.ts.map +1 -1
- package/lib/manifest/custom-object.js +61 -26
- package/lib/manifest/custom-object.js.map +1 -1
- package/lib/manifest/custom-object.mjs +61 -26
- package/lib/manifest/custom-object.mjs.map +1 -1
- package/lib/manifest/field.d.mts +265 -54
- package/lib/manifest/field.d.mts.map +1 -1
- package/lib/manifest/field.d.ts +265 -54
- package/lib/manifest/field.d.ts.map +1 -1
- package/lib/manifest/field.js +100 -57
- package/lib/manifest/field.js.map +1 -1
- package/lib/manifest/field.mjs +100 -57
- package/lib/manifest/field.mjs.map +1 -1
- package/lib/manifest/list-view.d.mts +105 -14
- package/lib/manifest/list-view.d.mts.map +1 -1
- package/lib/manifest/list-view.d.ts +105 -14
- package/lib/manifest/list-view.d.ts.map +1 -1
- package/lib/manifest/list-view.js +50 -14
- package/lib/manifest/list-view.js.map +1 -1
- package/lib/manifest/list-view.mjs +48 -12
- package/lib/manifest/list-view.mjs.map +1 -1
- package/lib/manifest/manifest-builder.d.mts +77 -11
- package/lib/manifest/manifest-builder.d.mts.map +1 -1
- package/lib/manifest/manifest-builder.d.ts +77 -11
- package/lib/manifest/manifest-builder.d.ts.map +1 -1
- package/lib/manifest/manifest-builder.js +46 -24
- package/lib/manifest/manifest-builder.js.map +1 -1
- package/lib/manifest/manifest-builder.mjs +44 -22
- package/lib/manifest/manifest-builder.mjs.map +1 -1
- package/lib/manifest/manifest-function.d.mts +92 -12
- package/lib/manifest/manifest-function.d.mts.map +1 -1
- package/lib/manifest/manifest-function.d.ts +92 -12
- package/lib/manifest/manifest-function.d.ts.map +1 -1
- package/lib/manifest/manifest-function.js +40 -11
- package/lib/manifest/manifest-function.js.map +1 -1
- package/lib/manifest/manifest-function.mjs +38 -9
- package/lib/manifest/manifest-function.mjs.map +1 -1
- package/lib/manifest/rule.d.mts +94 -16
- package/lib/manifest/rule.d.mts.map +1 -1
- package/lib/manifest/rule.d.ts +94 -16
- package/lib/manifest/rule.d.ts.map +1 -1
- package/lib/manifest/rule.js +36 -15
- package/lib/manifest/rule.js.map +1 -1
- package/lib/manifest/rule.mjs +36 -15
- package/lib/manifest/rule.mjs.map +1 -1
- package/lib/manifest/sdui-page.d.mts +67 -11
- package/lib/manifest/sdui-page.d.mts.map +1 -1
- package/lib/manifest/sdui-page.d.ts +67 -11
- package/lib/manifest/sdui-page.d.ts.map +1 -1
- package/lib/manifest/sdui-page.js +44 -13
- package/lib/manifest/sdui-page.js.map +1 -1
- package/lib/manifest/sdui-page.mjs +42 -11
- package/lib/manifest/sdui-page.mjs.map +1 -1
- package/lib/manifest/validation.d.mts +87 -12
- package/lib/manifest/validation.d.mts.map +1 -1
- package/lib/manifest/validation.d.ts +87 -12
- package/lib/manifest/validation.d.ts.map +1 -1
- package/lib/manifest/validation.js +41 -15
- package/lib/manifest/validation.js.map +1 -1
- package/lib/manifest/validation.mjs +39 -13
- package/lib/manifest/validation.mjs.map +1 -1
- package/lib/sdui/actions.d.mts +25 -0
- package/lib/sdui/actions.d.mts.map +1 -0
- package/lib/sdui/actions.d.ts +25 -0
- package/lib/sdui/actions.d.ts.map +1 -0
- package/lib/sdui/actions.js +53 -0
- package/lib/sdui/actions.js.map +1 -0
- package/lib/sdui/actions.mjs +42 -0
- package/lib/sdui/actions.mjs.map +1 -0
- package/lib/sdui/component.d.mts +41 -0
- package/lib/sdui/component.d.mts.map +1 -0
- package/lib/sdui/component.d.ts +41 -0
- package/lib/sdui/component.d.ts.map +1 -0
- package/lib/sdui/component.js +95 -0
- package/lib/sdui/component.js.map +1 -0
- package/lib/sdui/component.mjs +91 -0
- package/lib/sdui/component.mjs.map +1 -0
- package/lib/sdui/components.d.mts +149 -0
- package/lib/sdui/components.d.mts.map +1 -0
- package/lib/sdui/components.d.ts +149 -0
- package/lib/sdui/components.d.ts.map +1 -0
- package/lib/sdui/components.js +303 -0
- package/lib/sdui/components.js.map +1 -0
- package/lib/sdui/components.mjs +298 -0
- package/lib/sdui/components.mjs.map +1 -0
- package/lib/sdui/conditions.d.mts +25 -0
- package/lib/sdui/conditions.d.mts.map +1 -0
- package/lib/sdui/conditions.d.ts +25 -0
- package/lib/sdui/conditions.d.ts.map +1 -0
- package/lib/sdui/conditions.js +47 -0
- package/lib/sdui/conditions.js.map +1 -0
- package/lib/sdui/conditions.mjs +35 -0
- package/lib/sdui/conditions.mjs.map +1 -0
- package/lib/sdui/directives.d.mts +18 -0
- package/lib/sdui/directives.d.mts.map +1 -0
- package/lib/sdui/directives.d.ts +18 -0
- package/lib/sdui/directives.d.ts.map +1 -0
- package/lib/sdui/directives.js +28 -0
- package/lib/sdui/directives.js.map +1 -0
- package/lib/sdui/directives.mjs +21 -0
- package/lib/sdui/directives.mjs.map +1 -0
- package/lib/sdui/index.d.mts +362 -0
- package/lib/sdui/index.d.mts.map +1 -0
- package/lib/sdui/index.d.ts +362 -0
- package/lib/sdui/index.d.ts.map +1 -0
- package/lib/sdui/index.js +375 -0
- package/lib/sdui/index.js.map +1 -0
- package/lib/sdui/index.mjs +199 -0
- package/lib/sdui/index.mjs.map +1 -0
- package/lib/sdui/props.d.mts +12 -0
- package/lib/sdui/props.d.mts.map +1 -0
- package/lib/sdui/props.d.ts +12 -0
- package/lib/sdui/props.d.ts.map +1 -0
- package/lib/sdui/props.js +25 -0
- package/lib/sdui/props.js.map +1 -0
- package/lib/sdui/props.mjs +21 -0
- package/lib/sdui/props.mjs.map +1 -0
- package/lib/sdui/render.d.mts +23 -0
- package/lib/sdui/render.d.mts.map +1 -0
- package/lib/sdui/render.d.ts +23 -0
- package/lib/sdui/render.d.ts.map +1 -0
- package/lib/sdui/render.js +40 -0
- package/lib/sdui/render.js.map +1 -0
- package/lib/sdui/render.mjs +37 -0
- package/lib/sdui/render.mjs.map +1 -0
- package/lib/sdui/state.d.mts +22 -0
- package/lib/sdui/state.d.mts.map +1 -0
- package/lib/sdui/state.d.ts +22 -0
- package/lib/sdui/state.d.ts.map +1 -0
- package/lib/sdui/state.js +57 -0
- package/lib/sdui/state.js.map +1 -0
- package/lib/sdui/state.mjs +53 -0
- package/lib/sdui/state.mjs.map +1 -0
- package/package.json +11 -1
- package/resources/company-legal-entity-workers.d.mts +79 -0
- package/resources/company-legal-entity-workers.d.mts.map +1 -0
- package/resources/company-legal-entity-workers.d.ts +79 -0
- package/resources/company-legal-entity-workers.d.ts.map +1 -0
- package/resources/company-legal-entity-workers.js +30 -0
- package/resources/company-legal-entity-workers.js.map +1 -0
- package/resources/company-legal-entity-workers.mjs +26 -0
- package/resources/company-legal-entity-workers.mjs.map +1 -0
- package/resources/draft-hires.d.mts +4 -0
- package/resources/draft-hires.d.mts.map +1 -1
- package/resources/draft-hires.d.ts +4 -0
- package/resources/draft-hires.d.ts.map +1 -1
- package/resources/files.d.mts +16 -1
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +16 -1
- package/resources/files.d.ts.map +1 -1
- package/resources/headcount-positions.d.mts +2 -2
- package/resources/headcount-positions.d.mts.map +1 -1
- package/resources/headcount-positions.d.ts +2 -2
- package/resources/headcount-positions.d.ts.map +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/legal-entities.d.mts +1 -1
- package/resources/legal-entities.d.mts.map +1 -1
- package/resources/legal-entities.d.ts +1 -1
- package/resources/legal-entities.d.ts.map +1 -1
- package/resources/location-factors.d.mts +2 -2
- package/resources/location-factors.d.mts.map +1 -1
- package/resources/location-factors.d.ts +2 -2
- package/resources/location-factors.d.ts.map +1 -1
- package/resources/shared.d.mts +1 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +1 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/workers.d.mts +2 -2
- package/resources/workers.d.mts.map +1 -1
- package/resources/workers.d.ts +2 -2
- package/resources/workers.d.ts.map +1 -1
- package/src/client.ts +20 -0
- package/src/lib/manifest/app.ts +81 -26
- package/src/lib/manifest/category.ts +63 -14
- package/src/lib/manifest/custom-object-field-section.ts +56 -17
- package/src/lib/manifest/custom-object-page-layout.ts +201 -66
- package/src/lib/manifest/custom-object.ts +128 -37
- package/src/lib/manifest/field.ts +265 -75
- package/src/lib/manifest/list-view.ts +105 -25
- package/src/lib/manifest/manifest-builder.ts +75 -32
- package/src/lib/manifest/manifest-function.ts +92 -22
- package/src/lib/manifest/rule.ts +95 -29
- package/src/lib/manifest/sdui-page.ts +67 -21
- package/src/lib/manifest/validation.ts +87 -24
- package/src/lib/sdui/actions.ts +58 -0
- package/src/lib/sdui/component.ts +122 -0
- package/src/lib/sdui/components.ts +308 -0
- package/src/lib/sdui/conditions.ts +59 -0
- package/src/lib/sdui/directives.ts +42 -0
- package/src/lib/sdui/index.ts +365 -0
- package/src/lib/sdui/props.ts +32 -0
- package/src/lib/sdui/render.ts +58 -0
- package/src/lib/sdui/state.ts +60 -0
- package/src/resources/company-legal-entity-workers.ts +115 -0
- package/src/resources/draft-hires.ts +5 -0
- package/src/resources/files.ts +18 -1
- package/src/resources/headcount-positions.ts +2 -0
- package/src/resources/index.ts +7 -0
- package/src/resources/legal-entities.ts +1 -0
- package/src/resources/location-factors.ts +2 -0
- package/src/resources/shared.ts +1 -0
- package/src/resources/workers.ts +2 -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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workers.d.ts","sourceRoot":"","sources":["../src/resources/workers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,KAAK,gBAAgB;OACrB,KAAK,cAAc;OACnB,KAAK,kBAAkB;OACvB,KAAK,gBAAgB;OACrB,KAAK,SAAS;OACd,KAAK,QAAQ;OACb,KAAK,QAAQ;OACb,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,oBAAoB,EAAE,MAAM,CAAC;IAI5C;;OAEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAGtC;AAED,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;AAEzD,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAA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ACH,UAAiB,QAAQ;QACvB;;WAEG;QACH,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAC;QAExB;;WAEG;QACH,gBAAgB,EAAE,MAAM,CAAC;KAC1B;IAED;;OAEG;IACH,UAAiB,kBAAkB;QACjC;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;;WAGG;QACH,IAAI,CAAC,EACD,WAAW,GACX,aAAa,GACb,YAAY,GACZ,OAAO,GACP,aAAa,GACb,gBAAgB,GAChB,SAAS,GACT,QAAQ,CAAC;KACd;CACF;AAED;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,mBAAmB,CAAC,IAAI,EAAE,MAAM;CAAG;AAEnF,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
package/src/client.ts
CHANGED
|
@@ -51,6 +51,13 @@ import {
|
|
|
51
51
|
Candidates,
|
|
52
52
|
} from './resources/candidates';
|
|
53
53
|
import { Companies, CompaniesPageCursorURL, Company, CompanyListParams } from './resources/companies';
|
|
54
|
+
import {
|
|
55
|
+
CompanyLegalEntityWorkerListParams,
|
|
56
|
+
CompanyLegalEntityWorkerListResponse,
|
|
57
|
+
CompanyLegalEntityWorkerListResponsesPageCursorURL,
|
|
58
|
+
CompanyLegalEntityWorkerRetrieveResponse,
|
|
59
|
+
CompanyLegalEntityWorkers,
|
|
60
|
+
} from './resources/company-legal-entity-workers';
|
|
54
61
|
import {
|
|
55
62
|
CompensationBandsDetailListParams,
|
|
56
63
|
CompensationBandsDetailListResponse,
|
|
@@ -1344,6 +1351,10 @@ export class RipplingSDK {
|
|
|
1344
1351
|
* An application by a candidate to a specific job requisition
|
|
1345
1352
|
*/
|
|
1346
1353
|
candidateApplications: API.CandidateApplications = new API.CandidateApplications(this);
|
|
1354
|
+
/**
|
|
1355
|
+
* Workers who work or have worked at the company
|
|
1356
|
+
*/
|
|
1357
|
+
companyLegalEntityWorkers: API.CompanyLegalEntityWorkers = new API.CompanyLegalEntityWorkers(this);
|
|
1347
1358
|
/**
|
|
1348
1359
|
* Compensation bands details associated with workers
|
|
1349
1360
|
*/
|
|
@@ -1481,6 +1492,7 @@ RipplingSDK.JobAssignments = JobAssignments;
|
|
|
1481
1492
|
RipplingSDK.JobPayRateExceptions = JobPayRateExceptions;
|
|
1482
1493
|
RipplingSDK.Candidates = Candidates;
|
|
1483
1494
|
RipplingSDK.CandidateApplications = CandidateApplications;
|
|
1495
|
+
RipplingSDK.CompanyLegalEntityWorkers = CompanyLegalEntityWorkers;
|
|
1484
1496
|
RipplingSDK.CompensationBandsDetails = CompensationBandsDetails;
|
|
1485
1497
|
RipplingSDK.CustomApps = CustomApps;
|
|
1486
1498
|
RipplingSDK.CustomFields = CustomFields;
|
|
@@ -1823,6 +1835,14 @@ export declare namespace RipplingSDK {
|
|
|
1823
1835
|
type CandidateApplicationListParams as CandidateApplicationListParams,
|
|
1824
1836
|
};
|
|
1825
1837
|
|
|
1838
|
+
export {
|
|
1839
|
+
CompanyLegalEntityWorkers as CompanyLegalEntityWorkers,
|
|
1840
|
+
type CompanyLegalEntityWorkerListResponse as CompanyLegalEntityWorkerListResponse,
|
|
1841
|
+
type CompanyLegalEntityWorkerRetrieveResponse as CompanyLegalEntityWorkerRetrieveResponse,
|
|
1842
|
+
type CompanyLegalEntityWorkerListResponsesPageCursorURL as CompanyLegalEntityWorkerListResponsesPageCursorURL,
|
|
1843
|
+
type CompanyLegalEntityWorkerListParams as CompanyLegalEntityWorkerListParams,
|
|
1844
|
+
};
|
|
1845
|
+
|
|
1826
1846
|
export {
|
|
1827
1847
|
CompensationBandsDetails as CompensationBandsDetails,
|
|
1828
1848
|
type CompensationBandsDetailListResponse as CompensationBandsDetailListResponse,
|
package/src/lib/manifest/app.ts
CHANGED
|
@@ -1,44 +1,66 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* The contents of this file were inserted manually and are not generated by Stainless.
|
|
3
|
-
*
|
|
4
|
-
* Unity App definitions that group pages for navigation.
|
|
5
|
-
* Backend schema: CUSTOM_APP (v2)
|
|
6
|
-
*
|
|
7
|
-
* Pages are declared at construction as a flat array of live refs — pass a
|
|
8
|
-
* `CustomObject` for an object-page tab, or an `SduiPage` for a custom SDUI
|
|
9
|
-
* surface. The tab `api_name` is derived from the ref's own identifier.
|
|
10
|
-
* External refs (e.g. native-model `employee`, or an externally-authored
|
|
11
|
-
* SDUI page) are not supported yet; add when a real case appears.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
1
|
import { CustomObject } from './custom-object';
|
|
15
2
|
import type { ManifestScope } from './manifest-builder';
|
|
16
3
|
import { SduiPage } from './sdui-page';
|
|
17
4
|
|
|
18
5
|
/**
|
|
19
|
-
* A single page entry in an App
|
|
20
|
-
*
|
|
21
|
-
*
|
|
6
|
+
* A single page entry in an {@link App}.
|
|
7
|
+
*
|
|
8
|
+
* - Pass a {@link CustomObject} to create an object-page tab.
|
|
9
|
+
* - Pass an {@link SduiPage} to create a custom SDUI surface tab.
|
|
22
10
|
*/
|
|
23
11
|
export type AppPage = CustomObject | SduiPage;
|
|
24
12
|
|
|
13
|
+
/**
|
|
14
|
+
* S3 icon reference for an {@link App}.
|
|
15
|
+
*/
|
|
25
16
|
export interface AppIcon {
|
|
17
|
+
/** S3 bucket holding the icon asset. */
|
|
26
18
|
s3Bucket: string;
|
|
19
|
+
/** S3 key (path) within `s3Bucket`. */
|
|
27
20
|
s3Key: string;
|
|
28
21
|
}
|
|
29
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Initialization properties for {@link App}.
|
|
25
|
+
*/
|
|
30
26
|
export interface AppProps {
|
|
31
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Unique identifier for this app (e.g. `'gym_membership_management_app'`).
|
|
29
|
+
*
|
|
30
|
+
* Required.
|
|
31
|
+
*/
|
|
32
32
|
apiName: string;
|
|
33
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* Display name shown as the app title in the Rippling UI.
|
|
35
|
+
*
|
|
36
|
+
* Required.
|
|
37
|
+
*/
|
|
34
38
|
name: string;
|
|
35
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Human-readable description of what this app does.
|
|
41
|
+
*
|
|
42
|
+
* Optional. @default null
|
|
43
|
+
*/
|
|
36
44
|
description?: string;
|
|
37
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* App type discriminator.
|
|
47
|
+
*
|
|
48
|
+
* Optional. @default `'custom'`
|
|
49
|
+
*/
|
|
38
50
|
appType?: string;
|
|
39
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* S3 icon for this app.
|
|
53
|
+
*
|
|
54
|
+
* Optional. @default null
|
|
55
|
+
*/
|
|
40
56
|
icon?: AppIcon;
|
|
41
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* Pages shown as tabs in the app. Pass {@link CustomObject} instances for object-page
|
|
59
|
+
* tabs and {@link SduiPage} instances for custom SDUI surfaces. Tab order matches
|
|
60
|
+
* the array order.
|
|
61
|
+
*
|
|
62
|
+
* Optional. @default `[]`
|
|
63
|
+
*/
|
|
42
64
|
pages?: AppPage[];
|
|
43
65
|
}
|
|
44
66
|
|
|
@@ -60,6 +82,28 @@ function resolvePage(entry: AppPage): Record<string, any> {
|
|
|
60
82
|
}
|
|
61
83
|
}
|
|
62
84
|
|
|
85
|
+
/**
|
|
86
|
+
* Defines a Rippling app and registers it with the manifest.
|
|
87
|
+
*
|
|
88
|
+
* An app is the top-level navigation container. It groups one or more pages —
|
|
89
|
+
* either custom-object record pages or SDUI surfaces — as tabs visible to users.
|
|
90
|
+
* You would normally define the app last in your manifest file, after all objects,
|
|
91
|
+
* functions, and SDUI pages have been declared.
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* ```ts
|
|
95
|
+
* new App(manifest, {
|
|
96
|
+
* apiName: 'gym_membership_management_app',
|
|
97
|
+
* name: 'Gym Membership Management',
|
|
98
|
+
* description: 'Members, trainers, schedules, and check-in',
|
|
99
|
+
* appType: 'custom',
|
|
100
|
+
* pages: [memberObj, trainerObj, sessionObj, todaySchedulePage, checkInDeskPage],
|
|
101
|
+
* });
|
|
102
|
+
* ```
|
|
103
|
+
*
|
|
104
|
+
* @see {@link CustomObject} — object-page tab source.
|
|
105
|
+
* @see {@link SduiPage} — SDUI surface tab source.
|
|
106
|
+
*/
|
|
63
107
|
export class App {
|
|
64
108
|
private readonly _apiName: string;
|
|
65
109
|
private readonly _name: string;
|
|
@@ -69,7 +113,10 @@ export class App {
|
|
|
69
113
|
/** Wire-format pages, resolved eagerly at construction. */
|
|
70
114
|
private readonly _pages: Record<string, any>[];
|
|
71
115
|
|
|
72
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* @param scope - The manifest to register this app with.
|
|
118
|
+
* @param props - Initialization properties.
|
|
119
|
+
*/
|
|
73
120
|
constructor(scope: ManifestScope, props: AppProps) {
|
|
74
121
|
this._apiName = props.apiName;
|
|
75
122
|
this._name = props.name;
|
|
@@ -80,17 +127,25 @@ export class App {
|
|
|
80
127
|
scope._register(this);
|
|
81
128
|
}
|
|
82
129
|
|
|
83
|
-
/**
|
|
130
|
+
/**
|
|
131
|
+
* Returns the api_name of this app (e.g. `'gym_membership_management_app'`).
|
|
132
|
+
*/
|
|
84
133
|
getApiName(): string {
|
|
85
134
|
return this._apiName;
|
|
86
135
|
}
|
|
87
136
|
|
|
88
|
-
/**
|
|
137
|
+
/**
|
|
138
|
+
* Returns the display name of this app.
|
|
139
|
+
*/
|
|
89
140
|
getName(): string {
|
|
90
141
|
return this._name;
|
|
91
142
|
}
|
|
92
143
|
|
|
93
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* Serializes this app to the wire format consumed by the manifest install endpoint.
|
|
146
|
+
*
|
|
147
|
+
* @returns A plain object with `type: 'CUSTOM_APP'`. Optional fields are omitted when unset.
|
|
148
|
+
*/
|
|
94
149
|
toDict(): Record<string, any> {
|
|
95
150
|
const component: Record<string, any> = {
|
|
96
151
|
type: 'CUSTOM_APP',
|
|
@@ -1,27 +1,68 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* The contents of this file were inserted manually and are not generated by Stainless.
|
|
3
|
-
*
|
|
4
|
-
* Rippling category definitions for grouping objects in navigation.
|
|
5
|
-
* Backend schema: CUSTOM_CATEGORY (v2)
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
import type { ManifestScope } from './manifest-builder';
|
|
9
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Initialization properties for {@link Category}.
|
|
5
|
+
*/
|
|
10
6
|
export interface CategoryProps {
|
|
11
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Unique identifier for this category (e.g. `'gym__c'`). Must end with `__c`.
|
|
9
|
+
*
|
|
10
|
+
* Required.
|
|
11
|
+
*/
|
|
12
12
|
apiName: string;
|
|
13
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Display name shown in the Rippling UI (e.g. `'Gym'`).
|
|
15
|
+
*
|
|
16
|
+
* Required.
|
|
17
|
+
*/
|
|
14
18
|
name: string;
|
|
15
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* Human-readable description of what this category groups.
|
|
21
|
+
*
|
|
22
|
+
* Optional. @default null
|
|
23
|
+
*/
|
|
16
24
|
description?: string | null;
|
|
17
25
|
}
|
|
18
26
|
|
|
27
|
+
/**
|
|
28
|
+
* Defines a category and registers it with the manifest.
|
|
29
|
+
*
|
|
30
|
+
* A category is the navigation grouping that organizes related custom objects
|
|
31
|
+
* in the Rippling sidebar. You would normally define one category per domain,
|
|
32
|
+
* then pass it (or its api_name string) to each {@link CustomObject} in that domain.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const manifest = new ManifestBuilder({
|
|
37
|
+
* key: 'gym_membership_management',
|
|
38
|
+
* name: 'Gym Membership Management',
|
|
39
|
+
* });
|
|
40
|
+
*
|
|
41
|
+
* const gymCategory = new Category(manifest, {
|
|
42
|
+
* apiName: 'gym__c',
|
|
43
|
+
* name: 'Gym',
|
|
44
|
+
* description: 'Memberships, staff, schedules, and attendance',
|
|
45
|
+
* });
|
|
46
|
+
*
|
|
47
|
+
* // Pass the instance to any CustomObject in this domain:
|
|
48
|
+
* const memberObj = new CustomObject(manifest, {
|
|
49
|
+
* apiName: 'gym_member__c',
|
|
50
|
+
* name: 'Member',
|
|
51
|
+
* category: gymCategory,
|
|
52
|
+
* });
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @see {@link CustomObject} — references this category via instance or api_name string.
|
|
56
|
+
*/
|
|
19
57
|
export class Category {
|
|
20
58
|
private readonly _apiName: string;
|
|
21
59
|
private readonly _name: string;
|
|
22
60
|
private readonly _description: string | null;
|
|
23
61
|
|
|
24
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* @param scope - The manifest to register this category with.
|
|
64
|
+
* @param props - Initialization properties.
|
|
65
|
+
*/
|
|
25
66
|
constructor(scope: ManifestScope, props: CategoryProps) {
|
|
26
67
|
this._apiName = props.apiName;
|
|
27
68
|
this._name = props.name;
|
|
@@ -29,17 +70,25 @@ export class Category {
|
|
|
29
70
|
scope._register(this);
|
|
30
71
|
}
|
|
31
72
|
|
|
32
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* Returns the api_name of this category (e.g. `'gym__c'`).
|
|
75
|
+
*/
|
|
33
76
|
getApiName(): string {
|
|
34
77
|
return this._apiName;
|
|
35
78
|
}
|
|
36
79
|
|
|
37
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Returns the display name of this category (e.g. `'Gym'`).
|
|
82
|
+
*/
|
|
38
83
|
getName(): string {
|
|
39
84
|
return this._name;
|
|
40
85
|
}
|
|
41
86
|
|
|
42
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* Serializes this category to the wire format consumed by the manifest install endpoint.
|
|
89
|
+
*
|
|
90
|
+
* @returns A plain object with `type: 'CUSTOM_CATEGORY'` and all configured fields.
|
|
91
|
+
*/
|
|
43
92
|
toDict(): Record<string, any> {
|
|
44
93
|
return {
|
|
45
94
|
type: 'CUSTOM_CATEGORY',
|
|
@@ -1,30 +1,58 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* The contents of this file were inserted manually and are not generated by Stainless.
|
|
3
|
-
*
|
|
4
|
-
* Custom object field sections (UI grouping of fields on detail pages).
|
|
5
|
-
* Backend schema: CUSTOM_OBJECT_FIELD_SECTION (v2)
|
|
6
|
-
*
|
|
7
|
-
* Construction is CDK-style: `new CustomObjectFieldSection(customObject, props)`
|
|
8
|
-
* — the CO is the first positional arg, and the section auto-registers with
|
|
9
|
-
* the manifest via the CO's scope chain.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
1
|
import { generateId } from './_helpers';
|
|
13
2
|
import type { CustomObject } from './custom-object';
|
|
14
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Initialization properties for {@link CustomObjectFieldSection}.
|
|
6
|
+
*/
|
|
15
7
|
export interface CustomObjectFieldSectionProps {
|
|
16
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Display name of the section shown as a group header on the detail page
|
|
10
|
+
* (e.g. `'Profile'`, `'Membership'`).
|
|
11
|
+
*
|
|
12
|
+
* Required.
|
|
13
|
+
*/
|
|
17
14
|
name: string;
|
|
18
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Stable identifier for this section. Pass a human-readable slug
|
|
17
|
+
* (e.g. `'sec_gm_profile'`) to keep it stable across manifest regenerations.
|
|
18
|
+
*
|
|
19
|
+
* Optional. Auto-generated when omitted. @default generateId('sec')
|
|
20
|
+
*/
|
|
19
21
|
sectionId?: string;
|
|
20
22
|
}
|
|
21
23
|
|
|
24
|
+
/**
|
|
25
|
+
* Defines a field section and registers it with the manifest.
|
|
26
|
+
*
|
|
27
|
+
* A field section is a named group of fields displayed together on a custom
|
|
28
|
+
* object's detail page. After creating a section, pass it as the `section`
|
|
29
|
+
* prop on any field that should belong to it.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const profileSection = new CustomObjectFieldSection(memberObj, {
|
|
34
|
+
* name: 'Profile',
|
|
35
|
+
* sectionId: 'sec_gm_profile',
|
|
36
|
+
* });
|
|
37
|
+
*
|
|
38
|
+
* const firstName = new TextField(memberObj, {
|
|
39
|
+
* apiName: 'first_name__c',
|
|
40
|
+
* displayName: 'First name',
|
|
41
|
+
* section: profileSection,
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @see {@link CustomObjectPageLayout} — controls which sections appear on which tab.
|
|
46
|
+
*/
|
|
22
47
|
export class CustomObjectFieldSection {
|
|
23
48
|
private readonly _sectionId: string;
|
|
24
49
|
private readonly _name: string;
|
|
25
50
|
private readonly _model: CustomObject;
|
|
26
51
|
|
|
27
|
-
/**
|
|
52
|
+
/**
|
|
53
|
+
* @param customObject - The custom object this section belongs to.
|
|
54
|
+
* @param props - Initialization properties.
|
|
55
|
+
*/
|
|
28
56
|
constructor(customObject: CustomObject, props: CustomObjectFieldSectionProps) {
|
|
29
57
|
this._sectionId = props.sectionId ?? generateId('sec');
|
|
30
58
|
this._name = props.name;
|
|
@@ -32,17 +60,28 @@ export class CustomObjectFieldSection {
|
|
|
32
60
|
customObject._register(this);
|
|
33
61
|
}
|
|
34
62
|
|
|
35
|
-
/**
|
|
63
|
+
/**
|
|
64
|
+
* Returns the stable identifier for this section (e.g. `'sec_gm_profile'`).
|
|
65
|
+
*
|
|
66
|
+
* Use this value in page layout field entries via `getSectionId()`, or pass
|
|
67
|
+
* the section instance directly to field `section` props.
|
|
68
|
+
*/
|
|
36
69
|
getSectionId(): string {
|
|
37
70
|
return this._sectionId;
|
|
38
71
|
}
|
|
39
72
|
|
|
40
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* Returns the api_name of the custom object this section belongs to.
|
|
75
|
+
*/
|
|
41
76
|
getModelApiName(): string {
|
|
42
77
|
return this._model.getApiName();
|
|
43
78
|
}
|
|
44
79
|
|
|
45
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Serializes this section to the wire format consumed by the manifest install endpoint.
|
|
82
|
+
*
|
|
83
|
+
* @returns A plain object with `type: 'CUSTOM_OBJECT_FIELD_SECTION'`.
|
|
84
|
+
*/
|
|
46
85
|
toDict(): Record<string, any> {
|
|
47
86
|
return {
|
|
48
87
|
type: 'CUSTOM_OBJECT_FIELD_SECTION',
|