@rippling/rippling-sdk 0.2.0-alpha.111 → 0.2.0-alpha.112
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 +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/record-detail-reference-options.d.mts +18 -19
- package/resources/record-detail-reference-options.d.mts.map +1 -1
- package/resources/record-detail-reference-options.d.ts +18 -19
- package/resources/record-detail-reference-options.d.ts.map +1 -1
- package/resources/record-detail-reference-options.js +13 -13
- package/resources/record-detail-reference-options.mjs +13 -13
- package/resources/record-detail-related-records.d.mts +263 -204
- package/resources/record-detail-related-records.d.mts.map +1 -1
- package/resources/record-detail-related-records.d.ts +263 -204
- package/resources/record-detail-related-records.d.ts.map +1 -1
- package/resources/record-detail-related-records.js +3 -3
- package/resources/record-detail-related-records.mjs +3 -3
- package/resources/record-details.d.mts +1616 -222
- package/resources/record-details.d.mts.map +1 -1
- package/resources/record-details.d.ts +1616 -222
- package/resources/record-details.d.ts.map +1 -1
- package/resources/record-details.js +76 -6
- package/resources/record-details.js.map +1 -1
- package/resources/record-details.mjs +76 -6
- package/resources/record-details.mjs.map +1 -1
- package/resources/worker-changes.d.mts +65 -10
- package/resources/worker-changes.d.mts.map +1 -1
- package/resources/worker-changes.d.ts +65 -10
- package/resources/worker-changes.d.ts.map +1 -1
- package/resources/worker-changes.js +3 -0
- package/resources/worker-changes.js.map +1 -1
- package/resources/worker-changes.mjs +3 -0
- package/resources/worker-changes.mjs.map +1 -1
- package/src/client.ts +4 -0
- package/src/resources/index.ts +2 -0
- package/src/resources/record-detail-reference-options.ts +18 -19
- package/src/resources/record-detail-related-records.ts +268 -191
- package/src/resources/record-details.ts +1971 -209
- package/src/resources/worker-changes.ts +71 -10
- 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":"worker-changes.js","sourceRoot":"","sources":["../src/resources/worker-changes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAEhE,oDAA8C;AAE9C;;GAEG;AACH,MAAa,aAAc,SAAQ,sBAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"worker-changes.js","sourceRoot":"","sources":["../src/resources/worker-changes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAEhE,oDAA8C;AAE9C;;GAEG;AACH,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwJG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAA,0BAAuC,CAAA,EAAE;YAC1F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,QAAQ,CACN,EAAU,EACV,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF;AAlMD,sCAkMC"}
|
|
@@ -147,6 +147,9 @@ export class WorkerChanges extends APIResource {
|
|
|
147
147
|
* "event_type": "HIRE",
|
|
148
148
|
* "import_type": "INITIAL",
|
|
149
149
|
* "reason_code": "string",
|
|
150
|
+
* "change_note": "string",
|
|
151
|
+
* "requested_on": "string",
|
|
152
|
+
* "requested_on_source": "APPROVAL_REQUEST_SUBMITTED",
|
|
150
153
|
* "changes": [
|
|
151
154
|
* {}
|
|
152
155
|
* ]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker-changes.mjs","sourceRoot":"","sources":["../src/resources/worker-changes.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,aAAc,SAAQ,WAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"worker-changes.mjs","sourceRoot":"","sources":["../src/resources/worker-changes.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,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwJG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAA,aAAuC,CAAA,EAAE;YAC1F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,QAAQ,CACN,EAAU,EACV,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF"}
|
package/src/client.ts
CHANGED
|
@@ -553,6 +553,8 @@ import {
|
|
|
553
553
|
RecordDetailRelatedRecords,
|
|
554
554
|
} from './resources/record-detail-related-records';
|
|
555
555
|
import {
|
|
556
|
+
RecordDetailRetrieveCreateParams,
|
|
557
|
+
RecordDetailRetrieveCreateResponse,
|
|
556
558
|
RecordDetailRetrieveParams,
|
|
557
559
|
RecordDetailRetrieveResponse,
|
|
558
560
|
RecordDetails,
|
|
@@ -2678,7 +2680,9 @@ export declare namespace RipplingSDK {
|
|
|
2678
2680
|
export {
|
|
2679
2681
|
RecordDetails as RecordDetails,
|
|
2680
2682
|
type RecordDetailRetrieveResponse as RecordDetailRetrieveResponse,
|
|
2683
|
+
type RecordDetailRetrieveCreateResponse as RecordDetailRetrieveCreateResponse,
|
|
2681
2684
|
type RecordDetailRetrieveParams as RecordDetailRetrieveParams,
|
|
2685
|
+
type RecordDetailRetrieveCreateParams as RecordDetailRetrieveCreateParams,
|
|
2682
2686
|
};
|
|
2683
2687
|
|
|
2684
2688
|
export {
|
package/src/resources/index.ts
CHANGED
|
@@ -596,7 +596,9 @@ export {
|
|
|
596
596
|
export {
|
|
597
597
|
RecordDetails,
|
|
598
598
|
type RecordDetailRetrieveResponse,
|
|
599
|
+
type RecordDetailRetrieveCreateResponse,
|
|
599
600
|
type RecordDetailRetrieveParams,
|
|
601
|
+
type RecordDetailRetrieveCreateParams,
|
|
600
602
|
} from './record-details';
|
|
601
603
|
export {
|
|
602
604
|
Reimbursements,
|
|
@@ -9,20 +9,20 @@ import { RequestOptions } from '../internal/request-options';
|
|
|
9
9
|
*/
|
|
10
10
|
export class RecordDetailReferenceOptions extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* Lists eligible choices for
|
|
13
|
-
* Object record.
|
|
12
|
+
* Lists eligible choices for a Create or Edit reference field.
|
|
14
13
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
14
|
+
* Omit record_id, or pass an empty value, for Create. Pass a nonempty saved record
|
|
15
|
+
* ID for Edit. Requires custom-object-records.read-write or
|
|
16
|
+
* custom-objects.read-write.owner and source-object create/update authorization.
|
|
17
|
+
* Edit also requires an editable field on an editable, unlocked record. Read-only
|
|
18
|
+
* source consent returns 403. Employee references additionally require
|
|
19
|
+
* workers.read or workers.read-write; Custom Object targets require record read
|
|
20
|
+
* access and inclusion in the token's object restrictions. Configured lookup
|
|
21
|
+
* filters and target permissions apply even to exact-ID searches. Only Employee
|
|
22
|
+
* and Custom Object targets are supported. Each result contains a selected record
|
|
23
|
+
* identifier and optional permitted presentation. Retrieve full resources through
|
|
24
|
+
* the target collection's GET endpoint, subject to its own scopes and access
|
|
25
|
+
* checks. Continue through next_link even if a page contains no eligible results.
|
|
26
26
|
*
|
|
27
27
|
* @example HTTP
|
|
28
28
|
* Representative request and response shapes.
|
|
@@ -116,16 +116,15 @@ export interface RecordDetailReferenceOptionListParams {
|
|
|
116
116
|
object_api_name: string;
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
120
|
-
* endpoint. It addresses the same record as the canonical record GET and PATCH
|
|
121
|
-
* endpoints.
|
|
119
|
+
* Opaque search cursor. Keep the same field and search term.
|
|
122
120
|
*/
|
|
123
|
-
|
|
121
|
+
cursor?: string;
|
|
124
122
|
|
|
125
123
|
/**
|
|
126
|
-
*
|
|
124
|
+
* Omit or pass an empty value for Create. For Edit, pass the saved record
|
|
125
|
+
* identifier returned by the Custom Object record list or query endpoint.
|
|
127
126
|
*/
|
|
128
|
-
|
|
127
|
+
record_id?: string;
|
|
129
128
|
|
|
130
129
|
/**
|
|
131
130
|
* Reference search term. An omitted or blank term uses the native lookup defaults.
|