@rippling/rippling-sdk 0.2.0-alpha.112 → 0.2.0-alpha.114
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.d.mts +41 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +41 -8
- package/client.d.ts.map +1 -1
- package/client.js +35 -0
- package/client.js.map +1 -1
- package/client.mjs +35 -0
- package/client.mjs.map +1 -1
- package/lib/manifest/app.d.mts +20 -1
- package/lib/manifest/app.d.mts.map +1 -1
- package/lib/manifest/app.d.ts +20 -1
- package/lib/manifest/app.d.ts.map +1 -1
- package/lib/manifest/app.js +50 -0
- package/lib/manifest/app.js.map +1 -1
- package/lib/manifest/app.mjs +51 -1
- package/lib/manifest/app.mjs.map +1 -1
- package/lib/manifest/composition.d.mts +3 -0
- package/lib/manifest/composition.d.mts.map +1 -1
- package/lib/manifest/composition.d.ts +3 -0
- package/lib/manifest/composition.d.ts.map +1 -1
- package/lib/manifest/composition.js.map +1 -1
- package/lib/manifest/composition.mjs.map +1 -1
- package/lib/manifest/definitions/app.js +4 -1
- package/lib/manifest/definitions/app.js.map +1 -1
- package/lib/manifest/definitions/app.mjs +4 -1
- package/lib/manifest/definitions/app.mjs.map +1 -1
- package/lib/manifest/definitions/canvas-instance.d.mts +114 -0
- package/lib/manifest/definitions/canvas-instance.d.mts.map +1 -0
- package/lib/manifest/definitions/canvas-instance.d.ts +114 -0
- package/lib/manifest/definitions/canvas-instance.d.ts.map +1 -0
- package/lib/manifest/definitions/canvas-instance.js +31 -0
- package/lib/manifest/definitions/canvas-instance.js.map +1 -0
- package/lib/manifest/definitions/canvas-instance.mjs +28 -0
- package/lib/manifest/definitions/canvas-instance.mjs.map +1 -0
- package/lib/manifest/definitions/function.d.mts.map +1 -1
- package/lib/manifest/definitions/function.d.ts.map +1 -1
- package/lib/manifest/definitions/function.js +1 -0
- package/lib/manifest/definitions/function.js.map +1 -1
- package/lib/manifest/definitions/function.mjs +1 -0
- package/lib/manifest/definitions/function.mjs.map +1 -1
- package/lib/manifest/definitions/group.d.mts +64 -0
- package/lib/manifest/definitions/group.d.mts.map +1 -0
- package/lib/manifest/definitions/group.d.ts +64 -0
- package/lib/manifest/definitions/group.d.ts.map +1 -0
- package/lib/manifest/definitions/group.js +57 -0
- package/lib/manifest/definitions/group.js.map +1 -0
- package/lib/manifest/definitions/group.mjs +50 -0
- package/lib/manifest/definitions/group.mjs.map +1 -0
- package/lib/manifest/definitions/index.d.mts +5 -0
- package/lib/manifest/definitions/index.d.mts.map +1 -1
- package/lib/manifest/definitions/index.d.ts +5 -0
- package/lib/manifest/definitions/index.d.ts.map +1 -1
- package/lib/manifest/definitions/index.js +9 -1
- package/lib/manifest/definitions/index.js.map +1 -1
- package/lib/manifest/definitions/index.mjs +3 -0
- package/lib/manifest/definitions/index.mjs.map +1 -1
- package/lib/manifest/definitions/saved-super-group.d.mts +12 -0
- package/lib/manifest/definitions/saved-super-group.d.mts.map +1 -0
- package/lib/manifest/definitions/saved-super-group.d.ts +12 -0
- package/lib/manifest/definitions/saved-super-group.d.ts.map +1 -0
- package/lib/manifest/definitions/saved-super-group.js +26 -0
- package/lib/manifest/definitions/saved-super-group.js.map +1 -0
- package/lib/manifest/definitions/saved-super-group.mjs +21 -0
- package/lib/manifest/definitions/saved-super-group.mjs.map +1 -0
- package/lib/manifest/existing-manifest-context.d.mts +3 -0
- package/lib/manifest/existing-manifest-context.d.mts.map +1 -1
- package/lib/manifest/existing-manifest-context.d.ts +3 -0
- package/lib/manifest/existing-manifest-context.d.ts.map +1 -1
- package/lib/manifest/existing-manifest-context.js +15 -0
- package/lib/manifest/existing-manifest-context.js.map +1 -1
- package/lib/manifest/existing-manifest-context.mjs +15 -0
- package/lib/manifest/existing-manifest-context.mjs.map +1 -1
- package/lib/manifest/group.d.mts +83 -0
- package/lib/manifest/group.d.mts.map +1 -0
- package/lib/manifest/group.d.ts +83 -0
- package/lib/manifest/group.d.ts.map +1 -0
- package/lib/manifest/group.js +207 -0
- package/lib/manifest/group.js.map +1 -0
- package/lib/manifest/group.mjs +203 -0
- package/lib/manifest/group.mjs.map +1 -0
- package/lib/manifest/index.d.mts +2 -0
- package/lib/manifest/index.d.mts.map +1 -1
- package/lib/manifest/index.d.ts +2 -0
- package/lib/manifest/index.d.ts.map +1 -1
- package/lib/manifest/index.js +5 -1
- package/lib/manifest/index.js.map +1 -1
- package/lib/manifest/index.mjs +2 -0
- package/lib/manifest/index.mjs.map +1 -1
- package/lib/manifest/manifest-builder.d.mts +1 -1
- package/lib/manifest/manifest-builder.d.mts.map +1 -1
- package/lib/manifest/manifest-builder.d.ts +1 -1
- package/lib/manifest/manifest-builder.d.ts.map +1 -1
- package/lib/manifest/manifest-builder.js.map +1 -1
- package/lib/manifest/manifest-builder.mjs.map +1 -1
- package/lib/manifest/manifest-function.d.mts +16 -0
- package/lib/manifest/manifest-function.d.mts.map +1 -1
- package/lib/manifest/manifest-function.d.ts +16 -0
- package/lib/manifest/manifest-function.d.ts.map +1 -1
- package/lib/manifest/manifest-function.js +67 -0
- package/lib/manifest/manifest-function.js.map +1 -1
- package/lib/manifest/manifest-function.mjs +68 -1
- package/lib/manifest/manifest-function.mjs.map +1 -1
- package/lib/manifest/saved-super-group.d.mts +43 -0
- package/lib/manifest/saved-super-group.d.mts.map +1 -0
- package/lib/manifest/saved-super-group.d.ts +43 -0
- package/lib/manifest/saved-super-group.d.ts.map +1 -0
- package/lib/manifest/saved-super-group.js +136 -0
- package/lib/manifest/saved-super-group.js.map +1 -0
- package/lib/manifest/saved-super-group.mjs +132 -0
- package/lib/manifest/saved-super-group.mjs.map +1 -0
- package/package.json +1 -1
- package/resources/application-submissions.d.mts +261 -0
- package/resources/application-submissions.d.mts.map +1 -0
- package/resources/application-submissions.d.ts +261 -0
- package/resources/application-submissions.d.ts.map +1 -0
- package/resources/application-submissions.js +112 -0
- package/resources/application-submissions.js.map +1 -0
- package/resources/application-submissions.mjs +108 -0
- package/resources/application-submissions.mjs.map +1 -0
- package/resources/bills.d.mts +913 -12
- package/resources/bills.d.mts.map +1 -1
- package/resources/bills.d.ts +913 -12
- package/resources/bills.d.ts.map +1 -1
- package/resources/bills.js +221 -0
- package/resources/bills.js.map +1 -1
- package/resources/bills.mjs +221 -0
- package/resources/bills.mjs.map +1 -1
- package/resources/candidate-applications.d.mts +247 -9
- package/resources/candidate-applications.d.mts.map +1 -1
- package/resources/candidate-applications.d.ts +247 -9
- package/resources/candidate-applications.d.ts.map +1 -1
- package/resources/candidate-applications.js +37 -5
- package/resources/candidate-applications.js.map +1 -1
- package/resources/candidate-applications.mjs +37 -5
- package/resources/candidate-applications.mjs.map +1 -1
- package/resources/card-transactions.d.mts +1580 -30
- package/resources/card-transactions.d.mts.map +1 -1
- package/resources/card-transactions.d.ts +1580 -30
- package/resources/card-transactions.d.ts.map +1 -1
- package/resources/card-transactions.js +404 -4
- package/resources/card-transactions.js.map +1 -1
- package/resources/card-transactions.mjs +404 -4
- package/resources/card-transactions.mjs.map +1 -1
- package/resources/custom-objects/custom-objects.d.mts +4 -0
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts +4 -0
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.js +4 -0
- package/resources/custom-objects/custom-objects.js.map +1 -1
- package/resources/custom-objects/custom-objects.mjs +4 -0
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/index.d.mts +1 -0
- package/resources/custom-objects/index.d.mts.map +1 -1
- package/resources/custom-objects/index.d.ts +1 -0
- package/resources/custom-objects/index.d.ts.map +1 -1
- package/resources/custom-objects/index.js +3 -1
- package/resources/custom-objects/index.js.map +1 -1
- package/resources/custom-objects/index.mjs +1 -0
- package/resources/custom-objects/index.mjs.map +1 -1
- package/resources/custom-objects/record-actions.d.mts +98 -0
- package/resources/custom-objects/record-actions.d.mts.map +1 -0
- package/resources/custom-objects/record-actions.d.ts +98 -0
- package/resources/custom-objects/record-actions.d.ts.map +1 -0
- package/resources/custom-objects/record-actions.js +58 -0
- package/resources/custom-objects/record-actions.js.map +1 -0
- package/resources/custom-objects/record-actions.mjs +54 -0
- package/resources/custom-objects/record-actions.mjs.map +1 -0
- package/resources/earnings-inputs.d.mts +14 -2
- package/resources/earnings-inputs.d.mts.map +1 -1
- package/resources/earnings-inputs.d.ts +14 -2
- package/resources/earnings-inputs.d.ts.map +1 -1
- package/resources/earnings-inputs.js +14 -2
- package/resources/earnings-inputs.js.map +1 -1
- package/resources/earnings-inputs.mjs +14 -2
- package/resources/earnings-inputs.mjs.map +1 -1
- package/resources/index.d.mts +9 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +13 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +5 -0
- package/resources/index.mjs.map +1 -1
- package/resources/job-posts.d.mts +345 -0
- package/resources/job-posts.d.mts.map +1 -0
- package/resources/job-posts.d.ts +345 -0
- package/resources/job-posts.d.ts.map +1 -0
- package/resources/job-posts.js +110 -0
- package/resources/job-posts.js.map +1 -0
- package/resources/job-posts.mjs +106 -0
- package/resources/job-posts.mjs.map +1 -0
- package/resources/job-requisitions.d.mts +96 -4
- package/resources/job-requisitions.d.mts.map +1 -1
- package/resources/job-requisitions.d.ts +96 -4
- package/resources/job-requisitions.d.ts.map +1 -1
- package/resources/job-requisitions.js +64 -3
- package/resources/job-requisitions.js.map +1 -1
- package/resources/job-requisitions.mjs +64 -3
- package/resources/job-requisitions.mjs.map +1 -1
- package/resources/record-detail-related-records.d.mts +60 -30
- package/resources/record-detail-related-records.d.mts.map +1 -1
- package/resources/record-detail-related-records.d.ts +60 -30
- package/resources/record-detail-related-records.d.ts.map +1 -1
- package/resources/record-details.d.mts +120 -60
- package/resources/record-details.d.mts.map +1 -1
- package/resources/record-details.d.ts +120 -60
- package/resources/record-details.d.ts.map +1 -1
- package/resources/reimbursements.d.mts +1106 -64
- package/resources/reimbursements.d.mts.map +1 -1
- package/resources/reimbursements.d.ts +1106 -64
- package/resources/reimbursements.d.ts.map +1 -1
- package/resources/reimbursements.js +208 -0
- package/resources/reimbursements.js.map +1 -1
- package/resources/reimbursements.mjs +208 -0
- package/resources/reimbursements.mjs.map +1 -1
- package/resources/scheduled-payout-labels.d.mts +267 -0
- package/resources/scheduled-payout-labels.d.mts.map +1 -0
- package/resources/scheduled-payout-labels.d.ts +267 -0
- package/resources/scheduled-payout-labels.d.ts.map +1 -0
- package/resources/scheduled-payout-labels.js +151 -0
- package/resources/scheduled-payout-labels.js.map +1 -0
- package/resources/scheduled-payout-labels.mjs +147 -0
- package/resources/scheduled-payout-labels.mjs.map +1 -0
- package/resources/scheduled-payout-types.d.mts +680 -0
- package/resources/scheduled-payout-types.d.mts.map +1 -0
- package/resources/scheduled-payout-types.d.ts +680 -0
- package/resources/scheduled-payout-types.d.ts.map +1 -0
- package/resources/scheduled-payout-types.js +546 -0
- package/resources/scheduled-payout-types.js.map +1 -0
- package/resources/scheduled-payout-types.mjs +542 -0
- package/resources/scheduled-payout-types.mjs.map +1 -0
- package/resources/scheduled-payouts.d.mts +1588 -0
- package/resources/scheduled-payouts.d.mts.map +1 -0
- package/resources/scheduled-payouts.d.ts +1588 -0
- package/resources/scheduled-payouts.d.ts.map +1 -0
- package/resources/scheduled-payouts.js +582 -0
- package/resources/scheduled-payouts.js.map +1 -0
- package/resources/scheduled-payouts.mjs +578 -0
- package/resources/scheduled-payouts.mjs.map +1 -0
- package/src/client.ts +150 -0
- package/src/lib/manifest/app.ts +72 -2
- package/src/lib/manifest/composition.ts +8 -2
- package/src/lib/manifest/definitions/README.md +3 -1
- package/src/lib/manifest/definitions/app.ts +4 -1
- package/src/lib/manifest/definitions/canvas-instance.ts +143 -0
- package/src/lib/manifest/definitions/function.ts +1 -0
- package/src/lib/manifest/definitions/group.ts +159 -0
- package/src/lib/manifest/definitions/index.ts +42 -0
- package/src/lib/manifest/definitions/saved-super-group.ts +28 -0
- package/src/lib/manifest/existing-manifest-context.ts +24 -0
- package/src/lib/manifest/group.ts +282 -0
- package/src/lib/manifest/index.ts +16 -0
- package/src/lib/manifest/manifest-builder.ts +2 -0
- package/src/lib/manifest/manifest-function.ts +91 -1
- package/src/lib/manifest/saved-super-group.ts +171 -0
- package/src/resources/application-submissions.ts +315 -0
- package/src/resources/bills.ts +1085 -12
- package/src/resources/candidate-applications.ts +282 -9
- package/src/resources/card-transactions.ts +1874 -32
- package/src/resources/custom-objects/custom-objects.ts +16 -0
- package/src/resources/custom-objects/index.ts +6 -0
- package/src/resources/custom-objects/record-actions.ts +125 -0
- package/src/resources/earnings-inputs.ts +14 -2
- package/src/resources/index.ts +57 -0
- package/src/resources/job-posts.ts +415 -0
- package/src/resources/job-requisitions.ts +110 -3
- package/src/resources/record-detail-related-records.ts +60 -30
- package/src/resources/record-details.ts +120 -60
- package/src/resources/reimbursements.ts +1299 -63
- package/src/resources/scheduled-payout-labels.ts +373 -0
- package/src/resources/scheduled-payout-types.ts +755 -0
- package/src/resources/scheduled-payouts.ts +1947 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -10,6 +10,13 @@ import {
|
|
|
10
10
|
FieldUpdateParams,
|
|
11
11
|
Fields,
|
|
12
12
|
} from './fields';
|
|
13
|
+
import * as RecordActionsAPI from './record-actions';
|
|
14
|
+
import {
|
|
15
|
+
RecordActionListParams,
|
|
16
|
+
RecordActionListResponse,
|
|
17
|
+
RecordActionListResponsesPageCursorURL,
|
|
18
|
+
RecordActions,
|
|
19
|
+
} from './record-actions';
|
|
13
20
|
import * as ListViewsAPI from './list-views/list-views';
|
|
14
21
|
import {
|
|
15
22
|
ListViewCreateParams,
|
|
@@ -54,6 +61,7 @@ export class CustomObjects extends APIResource {
|
|
|
54
61
|
fields: FieldsAPI.Fields = new FieldsAPI.Fields(this._client);
|
|
55
62
|
records: RecordsAPI.Records = new RecordsAPI.Records(this._client);
|
|
56
63
|
listViews: ListViewsAPI.ListViews = new ListViewsAPI.ListViews(this._client);
|
|
64
|
+
recordActions: RecordActionsAPI.RecordActions = new RecordActionsAPI.RecordActions(this._client);
|
|
57
65
|
|
|
58
66
|
/**
|
|
59
67
|
* A list of custom objects.
|
|
@@ -395,6 +403,7 @@ export interface CustomObjectUpdateParams {
|
|
|
395
403
|
CustomObjects.Fields = Fields;
|
|
396
404
|
CustomObjects.Records = Records;
|
|
397
405
|
CustomObjects.ListViews = ListViews;
|
|
406
|
+
CustomObjects.RecordActions = RecordActions;
|
|
398
407
|
|
|
399
408
|
export declare namespace CustomObjects {
|
|
400
409
|
export {
|
|
@@ -444,4 +453,11 @@ export declare namespace CustomObjects {
|
|
|
444
453
|
type ListViewCreateParams as ListViewCreateParams,
|
|
445
454
|
type ListViewUpdateParams as ListViewUpdateParams,
|
|
446
455
|
};
|
|
456
|
+
|
|
457
|
+
export {
|
|
458
|
+
RecordActions as RecordActions,
|
|
459
|
+
type RecordActionListResponse as RecordActionListResponse,
|
|
460
|
+
type RecordActionListResponsesPageCursorURL as RecordActionListResponsesPageCursorURL,
|
|
461
|
+
type RecordActionListParams as RecordActionListParams,
|
|
462
|
+
};
|
|
447
463
|
}
|
|
@@ -27,6 +27,12 @@ export {
|
|
|
27
27
|
type ListViewUpdateParams,
|
|
28
28
|
type ListViewListResponsesPageCursorURL,
|
|
29
29
|
} from './list-views/index';
|
|
30
|
+
export {
|
|
31
|
+
RecordActions,
|
|
32
|
+
type RecordActionListResponse,
|
|
33
|
+
type RecordActionListParams,
|
|
34
|
+
type RecordActionListResponsesPageCursorURL,
|
|
35
|
+
} from './record-actions';
|
|
30
36
|
export {
|
|
31
37
|
Records,
|
|
32
38
|
type CustomObjectDataRow,
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { PageCursorURL, PagePromise } from '../../core/pagination';
|
|
5
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
6
|
+
import { path } from '../../internal/utils/path';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Custom object datarows defined by the company
|
|
10
|
+
*/
|
|
11
|
+
export class RecordActions extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Lists callable native actions for this Custom Object. Execution remains
|
|
14
|
+
* separately authorized.
|
|
15
|
+
*
|
|
16
|
+
* @example SDK usage
|
|
17
|
+
* ```ts
|
|
18
|
+
* // Automatically fetches more pages as needed.
|
|
19
|
+
* for await (const recordActionListResponse of client.customObjects.recordActions.list(
|
|
20
|
+
* 'custom_object_api_name',
|
|
21
|
+
* )) {
|
|
22
|
+
* // ...
|
|
23
|
+
* }
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @example HTTP
|
|
27
|
+
* Representative request and response shapes.
|
|
28
|
+
* ```
|
|
29
|
+
* GET /custom-objects/{custom_object_api_name}/record-actions/?limit=100&cursor=cursor&visibility_preference=LIST_VIEW HTTP/1.1
|
|
30
|
+
* Host: rest.ripplingapis.com
|
|
31
|
+
* Accept: application/json
|
|
32
|
+
* Rippling-Api-Version: 2024-08-01
|
|
33
|
+
*
|
|
34
|
+
* HTTP/1.1 200 OK
|
|
35
|
+
* Content-Type: application/json
|
|
36
|
+
*
|
|
37
|
+
* {
|
|
38
|
+
* "results": [
|
|
39
|
+
* {
|
|
40
|
+
* "id": "string",
|
|
41
|
+
* "api_name": "string",
|
|
42
|
+
* "name": "string",
|
|
43
|
+
* "function_api_name": "string",
|
|
44
|
+
* "visibility_preferences": [
|
|
45
|
+
* "LIST_VIEW"
|
|
46
|
+
* ]
|
|
47
|
+
* }
|
|
48
|
+
* ],
|
|
49
|
+
* "next_link": "string"
|
|
50
|
+
* }
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
list(
|
|
54
|
+
customObjectAPIName: string,
|
|
55
|
+
query: RecordActionListParams | null | undefined = {},
|
|
56
|
+
options?: RequestOptions,
|
|
57
|
+
): PagePromise<RecordActionListResponsesPageCursorURL, RecordActionListResponse> {
|
|
58
|
+
return this._client.getAPIList(
|
|
59
|
+
path`/custom-objects/${customObjectAPIName}/record-actions/`,
|
|
60
|
+
PageCursorURL<RecordActionListResponse>,
|
|
61
|
+
{ query, ...options },
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export type RecordActionListResponsesPageCursorURL = PageCursorURL<RecordActionListResponse>;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* A configured action the caller can attempt through the existing Function
|
|
70
|
+
* execution API.
|
|
71
|
+
*/
|
|
72
|
+
export interface RecordActionListResponse {
|
|
73
|
+
/**
|
|
74
|
+
* Stable native ObjectAction identifier.
|
|
75
|
+
*/
|
|
76
|
+
id: string;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Action API name; null for legacy actions.
|
|
80
|
+
*/
|
|
81
|
+
api_name: string | null;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Associated Function API name for the unchanged Function execution endpoints.
|
|
85
|
+
* Discovery does not grant execution or execution-read permission.
|
|
86
|
+
*/
|
|
87
|
+
function_api_name: string;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Action display label.
|
|
91
|
+
*/
|
|
92
|
+
name: string;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Configured action placements: LIST_VIEW appears in an object grid; DETAIL_VIEW
|
|
96
|
+
* appears on a record page.
|
|
97
|
+
*/
|
|
98
|
+
visibility_preferences: Array<'LIST_VIEW' | 'DETAIL_VIEW'>;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export interface RecordActionListParams {
|
|
102
|
+
/**
|
|
103
|
+
* Opaque cursor from the previous response next_link.
|
|
104
|
+
*/
|
|
105
|
+
cursor?: string;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Maximum number of authorized actions to return. Defaults to 100.
|
|
109
|
+
*/
|
|
110
|
+
limit?: number;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Match a configured placement: LIST_VIEW appears in an object grid; DETAIL_VIEW
|
|
114
|
+
* appears on a record page. Omit to return all authorized actions for this object.
|
|
115
|
+
*/
|
|
116
|
+
visibility_preference?: 'LIST_VIEW' | 'DETAIL_VIEW';
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export declare namespace RecordActions {
|
|
120
|
+
export {
|
|
121
|
+
type RecordActionListResponse as RecordActionListResponse,
|
|
122
|
+
type RecordActionListResponsesPageCursorURL as RecordActionListResponsesPageCursorURL,
|
|
123
|
+
type RecordActionListParams as RecordActionListParams,
|
|
124
|
+
};
|
|
125
|
+
}
|
|
@@ -72,7 +72,13 @@ export class EarningsInputs extends APIResource {
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
|
-
* Create
|
|
75
|
+
* Create or update earnings-inputs for one worker. Requires Global Payroll admin
|
|
76
|
+
* write permission for the company and for the target worker. Each earnings line
|
|
77
|
+
* requires an `external_id`, which identifies the line across requests: resending
|
|
78
|
+
* a line with the same `external_id` and identical values writes nothing, and
|
|
79
|
+
* resending it with different values records a new version that replaces the
|
|
80
|
+
* previous one (last write wins). Retrying a request is therefore safe. There is
|
|
81
|
+
* no separate idempotency key.
|
|
76
82
|
*
|
|
77
83
|
* @example HTTP
|
|
78
84
|
* Representative request and response shapes.
|
|
@@ -117,7 +123,13 @@ export class EarningsInputs extends APIResource {
|
|
|
117
123
|
}
|
|
118
124
|
|
|
119
125
|
/**
|
|
120
|
-
* Delete
|
|
126
|
+
* Delete an earnings-input. Requires Global Payroll admin write permission for the
|
|
127
|
+
* company and for the earnings-input's worker. Deletion is a soft delete: the
|
|
128
|
+
* earnings-input is removed from payroll and is still returned by
|
|
129
|
+
* `GET /earnings-inputs/` with `filter=include_deleted eq true`. Deleting it again
|
|
130
|
+
* returns 404 `PAYROLL_EARNING_INPUT_ALREADY_DELETED`, so a retried delete is safe
|
|
131
|
+
* to treat as done. An earnings-input on an approved or paid payroll run cannot be
|
|
132
|
+
* deleted and returns 409 `PAYROLL_EARNING_ALREADY_ASSIGNED`.
|
|
121
133
|
*
|
|
122
134
|
* @example HTTP
|
|
123
135
|
* Representative request and response shapes.
|
package/src/resources/index.ts
CHANGED
|
@@ -28,6 +28,12 @@ export {
|
|
|
28
28
|
type AppUserRetrieveParams,
|
|
29
29
|
type AppUserListResponsesPageCursorURL,
|
|
30
30
|
} from './app-users';
|
|
31
|
+
export {
|
|
32
|
+
ApplicationSubmissions,
|
|
33
|
+
type ApplicationSubmissionRetrieveResponse,
|
|
34
|
+
type ApplicationSubmissionCreateResponse,
|
|
35
|
+
type ApplicationSubmissionCreateParams,
|
|
36
|
+
} from './application-submissions';
|
|
31
37
|
export {
|
|
32
38
|
BackgroundCheckCandidates,
|
|
33
39
|
type BackgroundCheckCandidateListResponse,
|
|
@@ -43,8 +49,10 @@ export {
|
|
|
43
49
|
Bills,
|
|
44
50
|
type BillListResponse,
|
|
45
51
|
type BillRetrieveResponse,
|
|
52
|
+
type BillUpdateResponse,
|
|
46
53
|
type BillListParams,
|
|
47
54
|
type BillRetrieveParams,
|
|
55
|
+
type BillUpdateParams,
|
|
48
56
|
type BillListResponsesPageCursorURL,
|
|
49
57
|
} from './bills';
|
|
50
58
|
export {
|
|
@@ -107,8 +115,12 @@ export {
|
|
|
107
115
|
CardTransactions,
|
|
108
116
|
type CardTransactionListResponse,
|
|
109
117
|
type CardTransactionRetrieveResponse,
|
|
118
|
+
type CardTransactionUpdateResponse,
|
|
119
|
+
type CardTransactionUploadReceiptResponse,
|
|
110
120
|
type CardTransactionListParams,
|
|
111
121
|
type CardTransactionRetrieveParams,
|
|
122
|
+
type CardTransactionUpdateParams,
|
|
123
|
+
type CardTransactionUploadReceiptParams,
|
|
112
124
|
type CardTransactionListResponsesPageCursorURL,
|
|
113
125
|
} from './card-transactions';
|
|
114
126
|
export { Companies, type Company, type CompanyListParams, type CompaniesPageCursorURL } from './companies';
|
|
@@ -362,9 +374,19 @@ export {
|
|
|
362
374
|
type JobPayRateExceptionListChangeLogParams,
|
|
363
375
|
type JobPayRateExceptionsPageCursorURL,
|
|
364
376
|
} from './job-pay-rate-exceptions';
|
|
377
|
+
export {
|
|
378
|
+
JobPosts,
|
|
379
|
+
type JobPostListResponse,
|
|
380
|
+
type JobPostRetrieveResponse,
|
|
381
|
+
type JobPostListParams,
|
|
382
|
+
type JobPostRetrieveParams,
|
|
383
|
+
type JobPostListResponsesPageCursorURL,
|
|
384
|
+
} from './job-posts';
|
|
365
385
|
export {
|
|
366
386
|
JobRequisitions,
|
|
367
387
|
type JobRequisition,
|
|
388
|
+
type JobRequisitionRetrieveResponse,
|
|
389
|
+
type JobRequisitionPipelineResponse,
|
|
368
390
|
type JobRequisitionListParams,
|
|
369
391
|
type JobRequisitionsPageCursorURL,
|
|
370
392
|
} from './job-requisitions';
|
|
@@ -605,9 +627,11 @@ export {
|
|
|
605
627
|
type ReimbursementListResponse,
|
|
606
628
|
type ReimbursementRetrieveResponse,
|
|
607
629
|
type ReimbursementUpdateResponse,
|
|
630
|
+
type ReimbursementUploadReceiptResponse,
|
|
608
631
|
type ReimbursementListParams,
|
|
609
632
|
type ReimbursementRetrieveParams,
|
|
610
633
|
type ReimbursementUpdateParams,
|
|
634
|
+
type ReimbursementUploadReceiptParams,
|
|
611
635
|
type ReimbursementListResponsesPageCursorURL,
|
|
612
636
|
} from './reimbursements';
|
|
613
637
|
export {
|
|
@@ -635,6 +659,39 @@ export {
|
|
|
635
659
|
type ScheduledJobAssignmentListParams,
|
|
636
660
|
type ScheduledJobAssignmentListResponsesPageCursorURL,
|
|
637
661
|
} from './scheduled-job-assignments';
|
|
662
|
+
export {
|
|
663
|
+
ScheduledPayoutLabels,
|
|
664
|
+
type ScheduledPayoutLabelListResponse,
|
|
665
|
+
type ScheduledPayoutLabelCreateResponse,
|
|
666
|
+
type ScheduledPayoutLabelRetrieveResponse,
|
|
667
|
+
type ScheduledPayoutLabelUpdateResponse,
|
|
668
|
+
type ScheduledPayoutLabelListParams,
|
|
669
|
+
type ScheduledPayoutLabelCreateParams,
|
|
670
|
+
type ScheduledPayoutLabelUpdateParams,
|
|
671
|
+
type ScheduledPayoutLabelListResponsesPageCursorURL,
|
|
672
|
+
} from './scheduled-payout-labels';
|
|
673
|
+
export {
|
|
674
|
+
ScheduledPayoutTypes,
|
|
675
|
+
type ScheduledPayoutTypeListResponse,
|
|
676
|
+
type ScheduledPayoutTypeCreateResponse,
|
|
677
|
+
type ScheduledPayoutTypeRetrieveResponse,
|
|
678
|
+
type ScheduledPayoutTypeUpdateResponse,
|
|
679
|
+
type ScheduledPayoutTypeListParams,
|
|
680
|
+
type ScheduledPayoutTypeCreateParams,
|
|
681
|
+
type ScheduledPayoutTypeUpdateParams,
|
|
682
|
+
type ScheduledPayoutTypeListResponsesPageCursorURL,
|
|
683
|
+
} from './scheduled-payout-types';
|
|
684
|
+
export {
|
|
685
|
+
ScheduledPayouts,
|
|
686
|
+
type ScheduledPayoutListResponse,
|
|
687
|
+
type ScheduledPayoutCreateResponse,
|
|
688
|
+
type ScheduledPayoutRetrieveResponse,
|
|
689
|
+
type ScheduledPayoutCancelResponse,
|
|
690
|
+
type ScheduledPayoutListParams,
|
|
691
|
+
type ScheduledPayoutCreateParams,
|
|
692
|
+
type ScheduledPayoutCancelParams,
|
|
693
|
+
type ScheduledPayoutListResponsesPageCursorURL,
|
|
694
|
+
} from './scheduled-payouts';
|
|
638
695
|
export {
|
|
639
696
|
Schedules,
|
|
640
697
|
type ScheduleListResponse,
|