@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.
Files changed (52) hide show
  1. package/client.d.mts +2 -2
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +2 -2
  4. package/client.d.ts.map +1 -1
  5. package/client.js.map +1 -1
  6. package/client.mjs.map +1 -1
  7. package/package.json +1 -1
  8. package/resources/index.d.mts +1 -1
  9. package/resources/index.d.mts.map +1 -1
  10. package/resources/index.d.ts +1 -1
  11. package/resources/index.d.ts.map +1 -1
  12. package/resources/index.js.map +1 -1
  13. package/resources/index.mjs.map +1 -1
  14. package/resources/record-detail-reference-options.d.mts +18 -19
  15. package/resources/record-detail-reference-options.d.mts.map +1 -1
  16. package/resources/record-detail-reference-options.d.ts +18 -19
  17. package/resources/record-detail-reference-options.d.ts.map +1 -1
  18. package/resources/record-detail-reference-options.js +13 -13
  19. package/resources/record-detail-reference-options.mjs +13 -13
  20. package/resources/record-detail-related-records.d.mts +263 -204
  21. package/resources/record-detail-related-records.d.mts.map +1 -1
  22. package/resources/record-detail-related-records.d.ts +263 -204
  23. package/resources/record-detail-related-records.d.ts.map +1 -1
  24. package/resources/record-detail-related-records.js +3 -3
  25. package/resources/record-detail-related-records.mjs +3 -3
  26. package/resources/record-details.d.mts +1616 -222
  27. package/resources/record-details.d.mts.map +1 -1
  28. package/resources/record-details.d.ts +1616 -222
  29. package/resources/record-details.d.ts.map +1 -1
  30. package/resources/record-details.js +76 -6
  31. package/resources/record-details.js.map +1 -1
  32. package/resources/record-details.mjs +76 -6
  33. package/resources/record-details.mjs.map +1 -1
  34. package/resources/worker-changes.d.mts +65 -10
  35. package/resources/worker-changes.d.mts.map +1 -1
  36. package/resources/worker-changes.d.ts +65 -10
  37. package/resources/worker-changes.d.ts.map +1 -1
  38. package/resources/worker-changes.js +3 -0
  39. package/resources/worker-changes.js.map +1 -1
  40. package/resources/worker-changes.mjs +3 -0
  41. package/resources/worker-changes.mjs.map +1 -1
  42. package/src/client.ts +4 -0
  43. package/src/resources/index.ts +2 -0
  44. package/src/resources/record-detail-reference-options.ts +18 -19
  45. package/src/resources/record-detail-related-records.ts +268 -191
  46. package/src/resources/record-details.ts +1971 -209
  47. package/src/resources/worker-changes.ts +71 -10
  48. package/src/version.ts +1 -1
  49. package/version.d.mts +1 -1
  50. package/version.d.ts +1 -1
  51. package/version.js +1 -1
  52. 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqJG;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;AA/LD,sCA+LC"}
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,O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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 {
@@ -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 editing a reference field on an existing Custom
13
- * Object record.
12
+ * Lists eligible choices for a Create or Edit reference field.
14
13
  *
15
- * Requires custom-object-records.read-write or custom-objects.read-write.owner,
16
- * source-object update authorization, and an editable field on an editable,
17
- * unlocked record. Read-only source consent returns 403. Employee and
18
- * RoleWithCompany targets additionally require workers.read or workers.read-write;
19
- * Custom Object targets require record read access and inclusion in the token's
20
- * object restrictions. Configured lookup filters and target permissions apply even
21
- * to exact-ID searches. Only Employee, RoleWithCompany, and Custom Object targets
22
- * are supported. Each result contains a selected record identifier and optional
23
- * permitted presentation. Retrieve full resources through the target collection's
24
- * GET endpoint, subject to its own scopes and access checks. Continue through
25
- * next_link even if a page contains no eligible results.
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
- * Parent record identifier returned by the Custom Object record list or query
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
- record_id: string;
121
+ cursor?: string;
124
122
 
125
123
  /**
126
- * Opaque search cursor. Keep the same field and search term.
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
- cursor?: string;
127
+ record_id?: string;
129
128
 
130
129
  /**
131
130
  * Reference search term. An omitted or blank term uses the native lookup defaults.