@rippling/rippling-sdk 0.2.0-alpha.58 → 0.2.0-alpha.60
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/manifest/dental-practice-management/dental-practice-management.ts +5 -10
- package/examples/manifest/dental-practice-management/functions/chair-schedule.ts +7 -10
- package/examples/manifest/dental-practice-management/functions/operatory-list.ts +7 -10
- package/examples/manifest/dental-practice-management/functions/patient-list.ts +7 -10
- package/examples/manifest/dental-practice-management/functions/treatment-plan-list.ts +7 -10
- package/examples/manifest/gym-membership-management/functions/check-in-desk.ts +7 -10
- package/examples/manifest/gym-membership-management/functions/member-list.ts +7 -10
- package/examples/manifest/gym-membership-management/functions/today-schedule.ts +7 -10
- package/examples/manifest/gym-membership-management/functions/trainer-list.ts +7 -10
- package/examples/manifest/gym-membership-management/gym-membership-management.ts +5 -10
- package/examples/manifest/simple-todo-app/functions/todo-list.ts +7 -10
- package/examples/manifest/simple-todo-app/simple-todo-app.ts +2 -3
- package/internal/tslib.js +0 -4
- package/lib/manifest/manifest-function.d.mts +3 -3
- package/lib/manifest/manifest-function.d.ts +3 -3
- package/lib/manifest/manifest-function.js +3 -3
- package/lib/manifest/manifest-function.mjs +3 -3
- package/lib/manifest/sdui-page.d.mts +0 -8
- package/lib/manifest/sdui-page.d.mts.map +1 -1
- package/lib/manifest/sdui-page.d.ts +0 -8
- package/lib/manifest/sdui-page.d.ts.map +1 -1
- package/lib/manifest/sdui-page.js +0 -4
- package/lib/manifest/sdui-page.js.map +1 -1
- package/lib/manifest/sdui-page.mjs +1 -5
- package/lib/manifest/sdui-page.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/business-structure-paths.d.mts +109 -0
- package/resources/business-structure-paths.d.mts.map +1 -0
- package/resources/business-structure-paths.d.ts +109 -0
- package/resources/business-structure-paths.d.ts.map +1 -0
- package/resources/business-structure-paths.js +30 -0
- package/resources/business-structure-paths.js.map +1 -0
- package/resources/business-structure-paths.mjs +26 -0
- package/resources/business-structure-paths.mjs.map +1 -0
- package/resources/employee-documents.d.mts +14 -10
- package/resources/employee-documents.d.mts.map +1 -1
- package/resources/employee-documents.d.ts +14 -10
- package/resources/employee-documents.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/src/client.ts +22 -0
- package/src/lib/manifest/manifest-function.ts +3 -3
- package/src/lib/manifest/sdui-page.ts +1 -12
- package/src/resources/business-structure-paths.ts +157 -0
- package/src/resources/employee-documents.ts +14 -10
- package/src/resources/index.ts +8 -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/examples/sdui/sdui-crud-todo/rippling-function.ts +0 -358
- package/examples/sdui/sdui-showcase/rippling-function.ts +0 -366
- package/examples/sdui/sdui-tab-multi-view/rippling-function.ts +0 -1042
- package/examples/sdui/vote/rippling-function.ts +0 -315
- package/lib/sdui/actions.d.mts +0 -25
- package/lib/sdui/actions.d.mts.map +0 -1
- package/lib/sdui/actions.d.ts +0 -25
- package/lib/sdui/actions.d.ts.map +0 -1
- package/lib/sdui/actions.js +0 -63
- package/lib/sdui/actions.js.map +0 -1
- package/lib/sdui/actions.mjs +0 -52
- package/lib/sdui/actions.mjs.map +0 -1
- package/lib/sdui/component.d.mts +0 -58
- package/lib/sdui/component.d.mts.map +0 -1
- package/lib/sdui/component.d.ts +0 -58
- package/lib/sdui/component.d.ts.map +0 -1
- package/lib/sdui/component.js +0 -128
- package/lib/sdui/component.js.map +0 -1
- package/lib/sdui/component.mjs +0 -124
- package/lib/sdui/component.mjs.map +0 -1
- package/lib/sdui/components.d.mts +0 -1047
- package/lib/sdui/components.d.mts.map +0 -1
- package/lib/sdui/components.d.ts +0 -1047
- package/lib/sdui/components.d.ts.map +0 -1
- package/lib/sdui/components.js +0 -845
- package/lib/sdui/components.js.map +0 -1
- package/lib/sdui/components.mjs +0 -840
- package/lib/sdui/components.mjs.map +0 -1
- package/lib/sdui/conditions.d.mts +0 -25
- package/lib/sdui/conditions.d.mts.map +0 -1
- package/lib/sdui/conditions.d.ts +0 -25
- package/lib/sdui/conditions.d.ts.map +0 -1
- package/lib/sdui/conditions.js +0 -47
- package/lib/sdui/conditions.js.map +0 -1
- package/lib/sdui/conditions.mjs +0 -35
- package/lib/sdui/conditions.mjs.map +0 -1
- package/lib/sdui/directives.d.mts +0 -18
- package/lib/sdui/directives.d.mts.map +0 -1
- package/lib/sdui/directives.d.ts +0 -18
- package/lib/sdui/directives.d.ts.map +0 -1
- package/lib/sdui/directives.js +0 -31
- package/lib/sdui/directives.js.map +0 -1
- package/lib/sdui/directives.mjs +0 -24
- package/lib/sdui/directives.mjs.map +0 -1
- package/lib/sdui/index.d.mts +0 -375
- package/lib/sdui/index.d.mts.map +0 -1
- package/lib/sdui/index.d.ts +0 -375
- package/lib/sdui/index.d.ts.map +0 -1
- package/lib/sdui/index.js +0 -386
- package/lib/sdui/index.js.map +0 -1
- package/lib/sdui/index.mjs +0 -215
- package/lib/sdui/index.mjs.map +0 -1
- package/lib/sdui/propTypes.d.mts +0 -5971
- package/lib/sdui/propTypes.d.mts.map +0 -1
- package/lib/sdui/propTypes.d.ts +0 -5971
- package/lib/sdui/propTypes.d.ts.map +0 -1
- package/lib/sdui/propTypes.js +0 -14
- package/lib/sdui/propTypes.js.map +0 -1
- package/lib/sdui/propTypes.mjs +0 -13
- package/lib/sdui/propTypes.mjs.map +0 -1
- package/lib/sdui/props.d.mts +0 -12
- package/lib/sdui/props.d.mts.map +0 -1
- package/lib/sdui/props.d.ts +0 -12
- package/lib/sdui/props.d.ts.map +0 -1
- package/lib/sdui/props.js +0 -25
- package/lib/sdui/props.js.map +0 -1
- package/lib/sdui/props.mjs +0 -21
- package/lib/sdui/props.mjs.map +0 -1
- package/lib/sdui/render.d.mts +0 -23
- package/lib/sdui/render.d.mts.map +0 -1
- package/lib/sdui/render.d.ts +0 -23
- package/lib/sdui/render.d.ts.map +0 -1
- package/lib/sdui/render.js +0 -48
- package/lib/sdui/render.js.map +0 -1
- package/lib/sdui/render.mjs +0 -45
- package/lib/sdui/render.mjs.map +0 -1
- package/lib/sdui/state.d.mts +0 -22
- package/lib/sdui/state.d.mts.map +0 -1
- package/lib/sdui/state.d.ts +0 -22
- package/lib/sdui/state.d.ts.map +0 -1
- package/lib/sdui/state.js +0 -59
- package/lib/sdui/state.js.map +0 -1
- package/lib/sdui/state.mjs +0 -55
- package/lib/sdui/state.mjs.map +0 -1
- package/lib/sdui.d.mts +0 -3
- package/lib/sdui.d.mts.map +0 -1
- package/lib/sdui.d.ts +0 -3
- package/lib/sdui.d.ts.map +0 -1
- package/lib/sdui.js +0 -8
- package/lib/sdui.js.map +0 -1
- package/lib/sdui.mjs +0 -3
- package/lib/sdui.mjs.map +0 -1
- package/src/lib/sdui/actions.ts +0 -71
- package/src/lib/sdui/component.ts +0 -162
- package/src/lib/sdui/components.ts +0 -1572
- package/src/lib/sdui/conditions.ts +0 -59
- package/src/lib/sdui/directives.ts +0 -45
- package/src/lib/sdui/index.ts +0 -650
- package/src/lib/sdui/propTypes.ts +0 -8087
- package/src/lib/sdui/props.ts +0 -32
- package/src/lib/sdui/render.ts +0 -66
- package/src/lib/sdui/state.ts +0 -66
- package/src/lib/sdui.ts +0 -2
|
@@ -7,9 +7,9 @@ import { optionalStringComponentField, requireStringComponentField } from "./_ex
|
|
|
7
7
|
* serverless infrastructure. The handler must export `onRipplingEvent`.
|
|
8
8
|
*
|
|
9
9
|
* Functions have two primary uses:
|
|
10
|
-
* 1. **
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* 1. **Rendering SDUI for Custom Apps** — the function returns an SDUI spec
|
|
11
|
+
* payload that renders as a page tab. Wrap the function in an {@link SduiPage}
|
|
12
|
+
* and reference it from an {@link App}.
|
|
13
13
|
* 2. **Workflow / event handlers** — functions invoked from rules, automations,
|
|
14
14
|
* or callbacks that do not render UI.
|
|
15
15
|
*
|
|
@@ -24,12 +24,6 @@ export interface SduiPageProps {
|
|
|
24
24
|
* Required.
|
|
25
25
|
*/
|
|
26
26
|
function: ManifestFunction | string;
|
|
27
|
-
/**
|
|
28
|
-
* Human-readable description of what this page shows.
|
|
29
|
-
*
|
|
30
|
-
* Required.
|
|
31
|
-
*/
|
|
32
|
-
description: string;
|
|
33
27
|
}
|
|
34
28
|
/**
|
|
35
29
|
* Defines an SDUI page and registers it with the manifest.
|
|
@@ -44,7 +38,6 @@ export interface SduiPageProps {
|
|
|
44
38
|
* sduiPageId: 'gym_today_schedule',
|
|
45
39
|
* name: 'Today\'s schedule',
|
|
46
40
|
* function: todayScheduleFn,
|
|
47
|
-
* description: 'SDUI list of class sessions for front desk',
|
|
48
41
|
* });
|
|
49
42
|
* const memberListPage = new SduiPage(manifest, {
|
|
50
43
|
* sduiPageId: 'gym_members',
|
|
@@ -68,7 +61,6 @@ export declare class SduiPage {
|
|
|
68
61
|
private readonly _sduiPageId;
|
|
69
62
|
private readonly _name;
|
|
70
63
|
private readonly _functionApiName;
|
|
71
|
-
private readonly _description;
|
|
72
64
|
/**
|
|
73
65
|
* @param scope - The manifest to register this page with.
|
|
74
66
|
* @param props - Initialization properties.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdui-page.d.mts","sourceRoot":"","sources":["../../src/lib/manifest/sdui-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,8BAA8B,EAAE,wCAAoC;AAC9G,OAAO,KAAK,EAAE,gBAAgB,EAAE,gCAA4B;AAC5D,OA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Aa,EACpB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC9B,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,gBAAgB,GACrD,QAAQ;IAcX;;OAEG;IACH,aAAa,IAAI,MAAM;IAIvB;;OAEG;IACH,OAAO,IAAI,MAAM;IAIjB;;OAEG;IACH,kBAAkB,IAAI,MAAM;IAI5B;;;;OAIG;IACH,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;CAQ9B"}
|
|
@@ -24,12 +24,6 @@ export interface SduiPageProps {
|
|
|
24
24
|
* Required.
|
|
25
25
|
*/
|
|
26
26
|
function: ManifestFunction | string;
|
|
27
|
-
/**
|
|
28
|
-
* Human-readable description of what this page shows.
|
|
29
|
-
*
|
|
30
|
-
* Required.
|
|
31
|
-
*/
|
|
32
|
-
description: string;
|
|
33
27
|
}
|
|
34
28
|
/**
|
|
35
29
|
* Defines an SDUI page and registers it with the manifest.
|
|
@@ -44,7 +38,6 @@ export interface SduiPageProps {
|
|
|
44
38
|
* sduiPageId: 'gym_today_schedule',
|
|
45
39
|
* name: 'Today\'s schedule',
|
|
46
40
|
* function: todayScheduleFn,
|
|
47
|
-
* description: 'SDUI list of class sessions for front desk',
|
|
48
41
|
* });
|
|
49
42
|
* const memberListPage = new SduiPage(manifest, {
|
|
50
43
|
* sduiPageId: 'gym_members',
|
|
@@ -68,7 +61,6 @@ export declare class SduiPage {
|
|
|
68
61
|
private readonly _sduiPageId;
|
|
69
62
|
private readonly _name;
|
|
70
63
|
private readonly _functionApiName;
|
|
71
|
-
private readonly _description;
|
|
72
64
|
/**
|
|
73
65
|
* @param scope - The manifest to register this page with.
|
|
74
66
|
* @param props - Initialization properties.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdui-page.d.ts","sourceRoot":"","sources":["../../src/lib/manifest/sdui-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,8BAA8B,EAAE,uCAAo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InG,wEAAwE;IACxE,MAAM,CAAC,sBAAsB,CAC3B,KAAK,EAAE,aAAa,EACpB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC9B,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,gBAAgB,GACrD,QAAQ;IAcX;;OAEG;IACH,aAAa,IAAI,MAAM;IAIvB;;OAEG;IACH,OAAO,IAAI,MAAM;IAIjB;;OAEG;IACH,kBAAkB,IAAI,MAAM;IAI5B;;;;OAIG;IACH,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;CAQ9B"}
|
|
@@ -16,7 +16,6 @@ const _existing_component_fields_1 = require("./_existing-component-fields.js");
|
|
|
16
16
|
* sduiPageId: 'gym_today_schedule',
|
|
17
17
|
* name: 'Today\'s schedule',
|
|
18
18
|
* function: todayScheduleFn,
|
|
19
|
-
* description: 'SDUI list of class sessions for front desk',
|
|
20
19
|
* });
|
|
21
20
|
* const memberListPage = new SduiPage(manifest, {
|
|
22
21
|
* sduiPageId: 'gym_members',
|
|
@@ -56,7 +55,6 @@ class SduiPage {
|
|
|
56
55
|
this._sduiPageId = props.sduiPageId;
|
|
57
56
|
this._name = props.name;
|
|
58
57
|
this._functionApiName = typeof props.function === 'string' ? props.function : props.function.getApiName();
|
|
59
|
-
this._description = props.description;
|
|
60
58
|
scope._register(this);
|
|
61
59
|
}
|
|
62
60
|
/**
|
|
@@ -72,7 +70,6 @@ class SduiPage {
|
|
|
72
70
|
sduiPageId: (0, _existing_component_fields_1.requireStringComponentField)(component, 'sdui_page_id', SduiPage.componentType),
|
|
73
71
|
name: (0, _existing_component_fields_1.requireStringComponentField)(component, 'name', SduiPage.componentType),
|
|
74
72
|
function: resolveFunction(functionApiName),
|
|
75
|
-
description: (0, _existing_component_fields_1.optionalStringComponentField)(component, 'description'),
|
|
76
73
|
};
|
|
77
74
|
return new SduiPage(scope, props);
|
|
78
75
|
}
|
|
@@ -105,7 +102,6 @@ class SduiPage {
|
|
|
105
102
|
name: this._name,
|
|
106
103
|
sdui_page_id: this._sduiPageId,
|
|
107
104
|
function_api_name: this._functionApiName,
|
|
108
|
-
description: this._description,
|
|
109
105
|
};
|
|
110
106
|
}
|
|
111
107
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdui-page.js","sourceRoot":"","sources":["../../src/lib/manifest/sdui-page.ts"],"names":[],"mappings":";;;AAAA,8EAA8G;AAG9G,
|
|
1
|
+
{"version":3,"file":"sdui-page.js","sourceRoot":"","sources":["../../src/lib/manifest/sdui-page.ts"],"names":[],"mappings":";;;AAAA,8EAA8G;AAG9G,gFAA2E;AA2B3E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,QAAQ;IAGnB,MAAM,CAAC,oBAAoB,CAAC,UAAkB;QAC5C,OAAO;YACL,IAAI,EAAE,QAAQ,CAAC,aAAa;YAC5B,YAAY,EAAE,UAAU;SACzB,CAAC;IACJ,CAAC;IAMD;;;;OAIG;IACH,YAAY,KAAoB,EAAE,KAAoB;QACpD,IAAI,CAAC,KAAK,CAAC,UAAU;YAAE,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;QACjE,IAAI,CAAC,KAAK,CAAC,IAAI;YAAE,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAC;QACrD,IAAI,CAAC,KAAK,CAAC,QAAQ;YAAE,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;QAC7D,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,UAAU,CAAC;QACpC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,gBAAgB,GAAG,OAAO,KAAK,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;QAC1G,KAAK,CAAC,SAAS,CAAC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
import { getExistingManifestContext } from "./existing-manifest-context.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { requireStringComponentField } from "./_existing-component-fields.mjs";
|
|
3
3
|
/**
|
|
4
4
|
* Defines an SDUI page and registers it with the manifest.
|
|
5
5
|
*
|
|
@@ -13,7 +13,6 @@ import { optionalStringComponentField, requireStringComponentField } from "./_ex
|
|
|
13
13
|
* sduiPageId: 'gym_today_schedule',
|
|
14
14
|
* name: 'Today\'s schedule',
|
|
15
15
|
* function: todayScheduleFn,
|
|
16
|
-
* description: 'SDUI list of class sessions for front desk',
|
|
17
16
|
* });
|
|
18
17
|
* const memberListPage = new SduiPage(manifest, {
|
|
19
18
|
* sduiPageId: 'gym_members',
|
|
@@ -53,7 +52,6 @@ export class SduiPage {
|
|
|
53
52
|
this._sduiPageId = props.sduiPageId;
|
|
54
53
|
this._name = props.name;
|
|
55
54
|
this._functionApiName = typeof props.function === 'string' ? props.function : props.function.getApiName();
|
|
56
|
-
this._description = props.description;
|
|
57
55
|
scope._register(this);
|
|
58
56
|
}
|
|
59
57
|
/**
|
|
@@ -69,7 +67,6 @@ export class SduiPage {
|
|
|
69
67
|
sduiPageId: requireStringComponentField(component, 'sdui_page_id', SduiPage.componentType),
|
|
70
68
|
name: requireStringComponentField(component, 'name', SduiPage.componentType),
|
|
71
69
|
function: resolveFunction(functionApiName),
|
|
72
|
-
description: optionalStringComponentField(component, 'description'),
|
|
73
70
|
};
|
|
74
71
|
return new SduiPage(scope, props);
|
|
75
72
|
}
|
|
@@ -102,7 +99,6 @@ export class SduiPage {
|
|
|
102
99
|
name: this._name,
|
|
103
100
|
sdui_page_id: this._sduiPageId,
|
|
104
101
|
function_api_name: this._functionApiName,
|
|
105
|
-
description: this._description,
|
|
106
102
|
};
|
|
107
103
|
}
|
|
108
104
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdui-page.mjs","sourceRoot":"","sources":["../../src/lib/manifest/sdui-page.ts"],"names":[],"mappings":"AAA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,CAAC;IACtE,CAAC;IAED,wEAAwE;IACxE,MAAM,CAAC,sBAAsB,CAC3B,KAAoB,EACpB,SAA8B,EAC9B,eAAsD;QAEtD,MAAM,eAAe,GAAG,2BAA2B,CACjD,SAAS,EACT,mBAAmB,EACnB,QAAQ,CAAC,aAAa,CACvB,CAAC;QACF,MAAM,KAAK,GAAkB;YAC3B,UAAU,EAAE,2BAA2B,CAAC,SAAS,EAAE,cAAc,EAAE,QAAQ,CAAC,aAAa,CAAC;YAC1F,IAAI,EAAE,2BAA2B,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,aAAa,CAAC;YAC5E,QAAQ,EAAE,eAAe,CAAC,eAAe,CAAC;SAC3C,CAAC;QACF,OAAO,IAAI,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACpC,CAAC;IAED;;OAEG;IACH,aAAa;QACX,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,CAAC;IAED;;OAEG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED;;OAEG;IACH,kBAAkB;QAChB,OAAO,IAAI,CAAC,gBAAgB,CAAC;IAC/B,CAAC;IAED;;;;OAIG;IACH,MAAM;QACJ,OAAO;YACL,IAAI,EAAE,QAAQ,CAAC,aAAa;YAC5B,IAAI,EAAE,IAAI,CAAC,KAAK;YAChB,YAAY,EAAE,IAAI,CAAC,WAAW;YAC9B,iBAAiB,EAAE,IAAI,CAAC,gBAAgB;SACzC,CAAC;IACJ,CAAC;;AAvFe,sBAAa,GAAG,WAAoB,CAAC"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import * as BusinessPartnersAPI from "./business-partners.mjs";
|
|
3
|
+
import * as JobCodesAPI from "./job-codes.mjs";
|
|
4
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
5
|
+
import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
|
|
6
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
7
|
+
/**
|
|
8
|
+
* Business structure used for defining hierarchy of company's org attributes
|
|
9
|
+
*/
|
|
10
|
+
export declare class BusinessStructurePaths extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* A list of business-structure-paths.
|
|
13
|
+
*
|
|
14
|
+
* - Requires: `API Tier 2`
|
|
15
|
+
* - Expandable fields: `parent`, `job_codes`
|
|
16
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
17
|
+
*/
|
|
18
|
+
list(query?: BusinessStructurePathListParams | null | undefined, options?: RequestOptions): PagePromise<BusinessStructurePathListResponsesPageCursorURL, BusinessStructurePathListResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieve a specific business-structure-path
|
|
21
|
+
*/
|
|
22
|
+
retrieve(id: string, query?: BusinessStructurePathRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<BusinessStructurePathRetrieveResponse>;
|
|
23
|
+
}
|
|
24
|
+
export type BusinessStructurePathListResponsesPageCursorURL = PageCursorURL<BusinessStructurePathListResponse>;
|
|
25
|
+
export interface BusinessStructurePathListResponse {
|
|
26
|
+
/**
|
|
27
|
+
* Identifier field
|
|
28
|
+
*/
|
|
29
|
+
id: string;
|
|
30
|
+
/**
|
|
31
|
+
* Record creation date
|
|
32
|
+
*/
|
|
33
|
+
created_at: string;
|
|
34
|
+
/**
|
|
35
|
+
* Record update date
|
|
36
|
+
*/
|
|
37
|
+
updated_at: string;
|
|
38
|
+
/**
|
|
39
|
+
* Ordered list of full JobCode objects for each job in the path, top to bottom.
|
|
40
|
+
* Populate via ?expand=job_codes. Requires both business-structure-paths.read and
|
|
41
|
+
* job-codes.read scopes.
|
|
42
|
+
*
|
|
43
|
+
* Expandable field
|
|
44
|
+
*/
|
|
45
|
+
job_codes?: Array<JobCodesAPI.JobCode>;
|
|
46
|
+
/**
|
|
47
|
+
* Ordered list of Job code IDs from top to bottom.
|
|
48
|
+
*/
|
|
49
|
+
job_codes_id?: Array<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Name of the path (e.g. 'SF Office > Coffee > Barista').
|
|
52
|
+
*/
|
|
53
|
+
name?: string;
|
|
54
|
+
parent?: unknown;
|
|
55
|
+
/**
|
|
56
|
+
* Id of the parent BusinessStructurePath. None for root path.
|
|
57
|
+
*/
|
|
58
|
+
parent_id?: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Meta information for the response.
|
|
62
|
+
*/
|
|
63
|
+
export interface BusinessStructurePathRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
64
|
+
/**
|
|
65
|
+
* Identifier field
|
|
66
|
+
*/
|
|
67
|
+
id: string;
|
|
68
|
+
/**
|
|
69
|
+
* Record creation date
|
|
70
|
+
*/
|
|
71
|
+
created_at: string;
|
|
72
|
+
/**
|
|
73
|
+
* Record update date
|
|
74
|
+
*/
|
|
75
|
+
updated_at: string;
|
|
76
|
+
/**
|
|
77
|
+
* Ordered list of full JobCode objects for each job in the path, top to bottom.
|
|
78
|
+
* Populate via ?expand=job_codes. Requires both business-structure-paths.read and
|
|
79
|
+
* job-codes.read scopes.
|
|
80
|
+
*
|
|
81
|
+
* Expandable field
|
|
82
|
+
*/
|
|
83
|
+
job_codes?: Array<JobCodesAPI.JobCode>;
|
|
84
|
+
/**
|
|
85
|
+
* Ordered list of Job code IDs from top to bottom.
|
|
86
|
+
*/
|
|
87
|
+
job_codes_id?: Array<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Name of the path (e.g. 'SF Office > Coffee > Barista').
|
|
90
|
+
*/
|
|
91
|
+
name?: string;
|
|
92
|
+
parent?: unknown;
|
|
93
|
+
/**
|
|
94
|
+
* Id of the parent BusinessStructurePath. None for root path.
|
|
95
|
+
*/
|
|
96
|
+
parent_id?: string;
|
|
97
|
+
}
|
|
98
|
+
export interface BusinessStructurePathListParams {
|
|
99
|
+
cursor?: string;
|
|
100
|
+
expand?: string;
|
|
101
|
+
order_by?: string;
|
|
102
|
+
}
|
|
103
|
+
export interface BusinessStructurePathRetrieveParams {
|
|
104
|
+
expand?: string;
|
|
105
|
+
}
|
|
106
|
+
export declare namespace BusinessStructurePaths {
|
|
107
|
+
export { type BusinessStructurePathListResponse as BusinessStructurePathListResponse, type BusinessStructurePathRetrieveResponse as BusinessStructurePathRetrieveResponse, type BusinessStructurePathListResponsesPageCursorURL as BusinessStructurePathListResponsesPageCursorURL, type BusinessStructurePathListParams as BusinessStructurePathListParams, type BusinessStructurePathRetrieveParams as BusinessStructurePathRetrieveParams, };
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=business-structure-paths.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business-structure-paths.d.mts","sourceRoot":"","sources":["../src/resources/business-structure-paths.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,KAAK,mBAAmB,gCAA4B;AAC3D,OAAO,KAAK,WAAW,wBAAoB;AAC3C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,+BAA2B;AAChE,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,WAAW;IACrD;;;;;;OAMG;IACH,IAAI,CACF,KAAK,GAAE,+BAA+B,GAAG,IAAI,GAAG,SAAc,EAC9D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,+CAA+C,EAAE,iCAAiC,CAAC;IAQlG;;OAEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,mCAAmC,GAAG,IAAI,GAAG,SAAc,EAClE,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qCAAqC,CAAC;CAGrD;AAED,MAAM,MAAM,+CAA+C,GACzD,aAAa,CAAC,iCAAiC,CAAC,CAAC;AAEnD,MAAM,WAAW,iCAAiC;IAChD;;O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C,EACnF,KAAK,+CAA+C,IAAI,+CAA+C,EACvG,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;CACH"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as BusinessPartnersAPI from "./business-partners.js";
|
|
3
|
+
import * as JobCodesAPI from "./job-codes.js";
|
|
4
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
5
|
+
import { PageCursorURL, PagePromise } from "../core/pagination.js";
|
|
6
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
7
|
+
/**
|
|
8
|
+
* Business structure used for defining hierarchy of company's org attributes
|
|
9
|
+
*/
|
|
10
|
+
export declare class BusinessStructurePaths extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* A list of business-structure-paths.
|
|
13
|
+
*
|
|
14
|
+
* - Requires: `API Tier 2`
|
|
15
|
+
* - Expandable fields: `parent`, `job_codes`
|
|
16
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
17
|
+
*/
|
|
18
|
+
list(query?: BusinessStructurePathListParams | null | undefined, options?: RequestOptions): PagePromise<BusinessStructurePathListResponsesPageCursorURL, BusinessStructurePathListResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieve a specific business-structure-path
|
|
21
|
+
*/
|
|
22
|
+
retrieve(id: string, query?: BusinessStructurePathRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<BusinessStructurePathRetrieveResponse>;
|
|
23
|
+
}
|
|
24
|
+
export type BusinessStructurePathListResponsesPageCursorURL = PageCursorURL<BusinessStructurePathListResponse>;
|
|
25
|
+
export interface BusinessStructurePathListResponse {
|
|
26
|
+
/**
|
|
27
|
+
* Identifier field
|
|
28
|
+
*/
|
|
29
|
+
id: string;
|
|
30
|
+
/**
|
|
31
|
+
* Record creation date
|
|
32
|
+
*/
|
|
33
|
+
created_at: string;
|
|
34
|
+
/**
|
|
35
|
+
* Record update date
|
|
36
|
+
*/
|
|
37
|
+
updated_at: string;
|
|
38
|
+
/**
|
|
39
|
+
* Ordered list of full JobCode objects for each job in the path, top to bottom.
|
|
40
|
+
* Populate via ?expand=job_codes. Requires both business-structure-paths.read and
|
|
41
|
+
* job-codes.read scopes.
|
|
42
|
+
*
|
|
43
|
+
* Expandable field
|
|
44
|
+
*/
|
|
45
|
+
job_codes?: Array<JobCodesAPI.JobCode>;
|
|
46
|
+
/**
|
|
47
|
+
* Ordered list of Job code IDs from top to bottom.
|
|
48
|
+
*/
|
|
49
|
+
job_codes_id?: Array<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Name of the path (e.g. 'SF Office > Coffee > Barista').
|
|
52
|
+
*/
|
|
53
|
+
name?: string;
|
|
54
|
+
parent?: unknown;
|
|
55
|
+
/**
|
|
56
|
+
* Id of the parent BusinessStructurePath. None for root path.
|
|
57
|
+
*/
|
|
58
|
+
parent_id?: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Meta information for the response.
|
|
62
|
+
*/
|
|
63
|
+
export interface BusinessStructurePathRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
64
|
+
/**
|
|
65
|
+
* Identifier field
|
|
66
|
+
*/
|
|
67
|
+
id: string;
|
|
68
|
+
/**
|
|
69
|
+
* Record creation date
|
|
70
|
+
*/
|
|
71
|
+
created_at: string;
|
|
72
|
+
/**
|
|
73
|
+
* Record update date
|
|
74
|
+
*/
|
|
75
|
+
updated_at: string;
|
|
76
|
+
/**
|
|
77
|
+
* Ordered list of full JobCode objects for each job in the path, top to bottom.
|
|
78
|
+
* Populate via ?expand=job_codes. Requires both business-structure-paths.read and
|
|
79
|
+
* job-codes.read scopes.
|
|
80
|
+
*
|
|
81
|
+
* Expandable field
|
|
82
|
+
*/
|
|
83
|
+
job_codes?: Array<JobCodesAPI.JobCode>;
|
|
84
|
+
/**
|
|
85
|
+
* Ordered list of Job code IDs from top to bottom.
|
|
86
|
+
*/
|
|
87
|
+
job_codes_id?: Array<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Name of the path (e.g. 'SF Office > Coffee > Barista').
|
|
90
|
+
*/
|
|
91
|
+
name?: string;
|
|
92
|
+
parent?: unknown;
|
|
93
|
+
/**
|
|
94
|
+
* Id of the parent BusinessStructurePath. None for root path.
|
|
95
|
+
*/
|
|
96
|
+
parent_id?: string;
|
|
97
|
+
}
|
|
98
|
+
export interface BusinessStructurePathListParams {
|
|
99
|
+
cursor?: string;
|
|
100
|
+
expand?: string;
|
|
101
|
+
order_by?: string;
|
|
102
|
+
}
|
|
103
|
+
export interface BusinessStructurePathRetrieveParams {
|
|
104
|
+
expand?: string;
|
|
105
|
+
}
|
|
106
|
+
export declare namespace BusinessStructurePaths {
|
|
107
|
+
export { type BusinessStructurePathListResponse as BusinessStructurePathListResponse, type BusinessStructurePathRetrieveResponse as BusinessStructurePathRetrieveResponse, type BusinessStructurePathListResponsesPageCursorURL as BusinessStructurePathListResponsesPageCursorURL, type BusinessStructurePathListParams as BusinessStructurePathListParams, type BusinessStructurePathRetrieveParams as BusinessStructurePathRetrieveParams, };
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=business-structure-paths.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business-structure-paths.d.ts","sourceRoot":"","sources":["../src/resources/business-structure-paths.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,mBAAmB,+BAA4B;AAC3D,OAAO,KAAK,WAAW,uBAAoB;AAC3C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,8BAA2B;AAChE,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,WAAW;IACrD;;;;;;OAMG;IACH,IAAI,CACF,KAAK,GAAE,+BAA+B,GAAG,IAAI,GAAG,SAAc,EA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C;CACpB;AAED,MAAM,WAAW,+BAA+B;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,mCAAmC;IAClD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,sBAAsB,CAAC;IAC9C,OAAO,EACL,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,+CAA+C,IAAI,+CAA+C,EACvG,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;CACH"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.BusinessStructurePaths = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
/**
|
|
9
|
+
* Business structure used for defining hierarchy of company's org attributes
|
|
10
|
+
*/
|
|
11
|
+
class BusinessStructurePaths extends resource_1.APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* A list of business-structure-paths.
|
|
14
|
+
*
|
|
15
|
+
* - Requires: `API Tier 2`
|
|
16
|
+
* - Expandable fields: `parent`, `job_codes`
|
|
17
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
18
|
+
*/
|
|
19
|
+
list(query = {}, options) {
|
|
20
|
+
return this._client.getAPIList('/business-structure-paths/', (pagination_1.PageCursorURL), { query, ...options });
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Retrieve a specific business-structure-path
|
|
24
|
+
*/
|
|
25
|
+
retrieve(id, query = {}, options) {
|
|
26
|
+
return this._client.get((0, path_1.path) `/business-structure-paths/${id}/`, { query, ...options });
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.BusinessStructurePaths = BusinessStructurePaths;
|
|
30
|
+
//# sourceMappingURL=business-structure-paths.js.map
|
|
@@ -0,0 +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;AAEhE,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,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;CACF;AA7BD,wDA6BC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Business structure used for defining hierarchy of company's org attributes
|
|
7
|
+
*/
|
|
8
|
+
export class BusinessStructurePaths extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* A list of business-structure-paths.
|
|
11
|
+
*
|
|
12
|
+
* - Requires: `API Tier 2`
|
|
13
|
+
* - Expandable fields: `parent`, `job_codes`
|
|
14
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
15
|
+
*/
|
|
16
|
+
list(query = {}, options) {
|
|
17
|
+
return this._client.getAPIList('/business-structure-paths/', (PageCursorURL), { query, ...options });
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Retrieve a specific business-structure-path
|
|
21
|
+
*/
|
|
22
|
+
retrieve(id, query = {}, options) {
|
|
23
|
+
return this._client.get(path `/business-structure-paths/${id}/`, { query, ...options });
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=business-structure-paths.mjs.map
|
|
@@ -0,0 +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;AAEhE,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,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;CACF"}
|
|
@@ -47,11 +47,13 @@ export declare namespace EmployeeDocumentCreateResponse {
|
|
|
47
47
|
*/
|
|
48
48
|
worker_id: string;
|
|
49
49
|
/**
|
|
50
|
-
* Optional
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
50
|
+
* Optional destination folder for documents. Accepts either: (1) an ObjectId
|
|
51
|
+
* string for custom folders, or (2) a default folder identifier ('root',
|
|
52
|
+
* 'confidential_documents', 'notices', 'work_authorization'). When omitted,
|
|
53
|
+
* documents land at the root of the worker's profile (current default behavior).
|
|
54
|
+
* When supplied, the folder must exist, be in an active state, be provisioned for
|
|
55
|
+
* the target worker, and the caller must have UPLOAD permission on it — otherwise
|
|
56
|
+
* behavior is governed by `on_invalid_folder`.
|
|
55
57
|
*/
|
|
56
58
|
folder_id?: string;
|
|
57
59
|
/**
|
|
@@ -106,11 +108,13 @@ export declare namespace EmployeeDocumentCreateParams {
|
|
|
106
108
|
*/
|
|
107
109
|
worker_id: string;
|
|
108
110
|
/**
|
|
109
|
-
* Optional
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
111
|
+
* Optional destination folder for documents. Accepts either: (1) an ObjectId
|
|
112
|
+
* string for custom folders, or (2) a default folder identifier ('root',
|
|
113
|
+
* 'confidential_documents', 'notices', 'work_authorization'). When omitted,
|
|
114
|
+
* documents land at the root of the worker's profile (current default behavior).
|
|
115
|
+
* When supplied, the folder must exist, be in an active state, be provisioned for
|
|
116
|
+
* the target worker, and the caller must have UPLOAD permission on it — otherwise
|
|
117
|
+
* behavior is governed by `on_invalid_folder`.
|
|
114
118
|
*/
|
|
115
119
|
folder_id?: string;
|
|
116
120
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"employee-documents.d.mts","sourceRoot":"","sources":["../src/resources/employee-documents.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,WAAW;IAChD;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;CAG9C;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,KAAK,EAAE,KAAK,CAAC,8BAA8B,CAAC,IAAI,CAAC,CAAC;IAElD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,yBAAiB,8BAA8B,CAAC;IAC9C;;OAEG;IACH,UAAiB,IAAI;QACnB;;;WAGG;QACH,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAEhC;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB
|
|
1
|
+
{"version":3,"file":"employee-documents.d.mts","sourceRoot":"","sources":["../src/resources/employee-documents.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,WAAW;IAChD;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;CAG9C;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,KAAK,EAAE,KAAK,CAAC,8BAA8B,CAAC,IAAI,CAAC,CAAC;IAElD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,yBAAiB,8BAA8B,CA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4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
|
@@ -47,11 +47,13 @@ export declare namespace EmployeeDocumentCreateResponse {
|
|
|
47
47
|
*/
|
|
48
48
|
worker_id: string;
|
|
49
49
|
/**
|
|
50
|
-
* Optional
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
50
|
+
* Optional destination folder for documents. Accepts either: (1) an ObjectId
|
|
51
|
+
* string for custom folders, or (2) a default folder identifier ('root',
|
|
52
|
+
* 'confidential_documents', 'notices', 'work_authorization'). When omitted,
|
|
53
|
+
* documents land at the root of the worker's profile (current default behavior).
|
|
54
|
+
* When supplied, the folder must exist, be in an active state, be provisioned for
|
|
55
|
+
* the target worker, and the caller must have UPLOAD permission on it — otherwise
|
|
56
|
+
* behavior is governed by `on_invalid_folder`.
|
|
55
57
|
*/
|
|
56
58
|
folder_id?: string;
|
|
57
59
|
/**
|
|
@@ -106,11 +108,13 @@ export declare namespace EmployeeDocumentCreateParams {
|
|
|
106
108
|
*/
|
|
107
109
|
worker_id: string;
|
|
108
110
|
/**
|
|
109
|
-
* Optional
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
111
|
+
* Optional destination folder for documents. Accepts either: (1) an ObjectId
|
|
112
|
+
* string for custom folders, or (2) a default folder identifier ('root',
|
|
113
|
+
* 'confidential_documents', 'notices', 'work_authorization'). When omitted,
|
|
114
|
+
* documents land at the root of the worker's profile (current default behavior).
|
|
115
|
+
* When supplied, the folder must exist, be in an active state, be provisioned for
|
|
116
|
+
* the target worker, and the caller must have UPLOAD permission on it — otherwise
|
|
117
|
+
* behavior is governed by `on_invalid_folder`.
|
|
114
118
|
*/
|
|
115
119
|
folder_id?: string;
|
|
116
120
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"employee-documents.d.ts","sourceRoot":"","sources":["../src/resources/employee-documents.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,WAAW;IAChD;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;CAG9C;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,KAAK,EAAE,KAAK,CAAC,8BAA8B,CAAC,IAAI,CAAC,CAAC;IAElD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,yBAAiB,8BAA8B,CAAC;IAC9C;;OAEG;IACH,UAAiB,IAAI;QACnB;;;WAGG;QACH,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAEhC;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB
|
|
1
|
+
{"version":3,"file":"employee-documents.d.ts","sourceRoot":"","sources":["../src/resources/employee-documents.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,WAAW;IAChD;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;CAG9C;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,KAAK,EAAE,KA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zB;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,iBAAiB,CAAC;IACzC,OAAO,EACL,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
package/resources/index.d.mts
CHANGED
|
@@ -3,6 +3,7 @@ export { BreakPolicies, type BreakPolicyListResponse, type BreakPolicyRetrieveRe
|
|
|
3
3
|
export { BreakTypes, type BreakTypeListResponse, type BreakTypeRetrieveResponse, type BreakTypeListParams, type BreakTypeRetrieveParams, type BreakTypeListResponsesPageCursorURL, } from "./break-types.mjs";
|
|
4
4
|
export { BusinessPartnerGroups, type BusinessPartnerGroup, type BusinessPartnerGroupRetrieveResponse, type BusinessPartnerGroupListParams, type BusinessPartnerGroupCreateParams, type BusinessPartnerGroupRetrieveParams, type BusinessPartnerGroupsPageCursorURL, } from "./business-partner-groups.mjs";
|
|
5
5
|
export { BusinessPartners, type BusinessPartner, type Meta, type BusinessPartnerRetrieveResponse, type BusinessPartnerListParams, type BusinessPartnerCreateParams, type BusinessPartnerRetrieveParams, type BusinessPartnersPageCursorURL, } from "./business-partners.mjs";
|
|
6
|
+
export { BusinessStructurePaths, type BusinessStructurePathListResponse, type BusinessStructurePathRetrieveResponse, type BusinessStructurePathListParams, type BusinessStructurePathRetrieveParams, type BusinessStructurePathListResponsesPageCursorURL, } from "./business-structure-paths.mjs";
|
|
6
7
|
export { CandidateApplications, type CandidateApplicationListResponse, type CandidateApplicationListParams, type CandidateApplicationListResponsesPageCursorURL, } from "./candidate-applications.mjs";
|
|
7
8
|
export { Candidates, type CandidateListResponse, type CandidateListParams, type CandidateListResponsesPageCursorURL, } from "./candidates.mjs";
|
|
8
9
|
export { Companies, type Company, type CompanyListParams, type CompaniesPageCursorURL } from "./companies.mjs";
|