@rippling/rippling-sdk 0.2.0-alpha.105 → 0.2.0-alpha.107

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 (185) hide show
  1. package/client.d.mts +6 -0
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +6 -0
  4. package/client.d.ts.map +1 -1
  5. package/client.js +6 -0
  6. package/client.js.map +1 -1
  7. package/client.mjs +6 -0
  8. package/client.mjs.map +1 -1
  9. package/lib/charts/builders.d.mts +43 -0
  10. package/lib/charts/builders.d.mts.map +1 -0
  11. package/lib/charts/builders.d.ts +43 -0
  12. package/lib/charts/builders.d.ts.map +1 -0
  13. package/lib/charts/builders.js +77 -0
  14. package/lib/charts/builders.js.map +1 -0
  15. package/lib/charts/builders.mjs +70 -0
  16. package/lib/charts/builders.mjs.map +1 -0
  17. package/lib/charts/describe.d.mts +12 -0
  18. package/lib/charts/describe.d.mts.map +1 -0
  19. package/lib/charts/describe.d.ts +12 -0
  20. package/lib/charts/describe.d.ts.map +1 -0
  21. package/lib/charts/describe.js +64 -0
  22. package/lib/charts/describe.js.map +1 -0
  23. package/lib/charts/describe.mjs +61 -0
  24. package/lib/charts/describe.mjs.map +1 -0
  25. package/lib/charts/errors.d.mts +35 -0
  26. package/lib/charts/errors.d.mts.map +1 -0
  27. package/lib/charts/errors.d.ts +35 -0
  28. package/lib/charts/errors.d.ts.map +1 -0
  29. package/lib/charts/errors.js +55 -0
  30. package/lib/charts/errors.js.map +1 -0
  31. package/lib/charts/errors.mjs +47 -0
  32. package/lib/charts/errors.mjs.map +1 -0
  33. package/lib/charts/evaluate.d.mts +16 -0
  34. package/lib/charts/evaluate.d.mts.map +1 -0
  35. package/lib/charts/evaluate.d.ts +16 -0
  36. package/lib/charts/evaluate.d.ts.map +1 -0
  37. package/lib/charts/evaluate.js +99 -0
  38. package/lib/charts/evaluate.js.map +1 -0
  39. package/lib/charts/evaluate.mjs +96 -0
  40. package/lib/charts/evaluate.mjs.map +1 -0
  41. package/lib/charts/guards.d.mts +15 -0
  42. package/lib/charts/guards.d.mts.map +1 -0
  43. package/lib/charts/guards.d.ts +15 -0
  44. package/lib/charts/guards.d.ts.map +1 -0
  45. package/lib/charts/guards.js +38 -0
  46. package/lib/charts/guards.js.map +1 -0
  47. package/lib/charts/guards.mjs +34 -0
  48. package/lib/charts/guards.mjs.map +1 -0
  49. package/lib/charts/schema.d.mts +101 -0
  50. package/lib/charts/schema.d.mts.map +1 -0
  51. package/lib/charts/schema.d.ts +101 -0
  52. package/lib/charts/schema.d.ts.map +1 -0
  53. package/lib/charts/schema.js +74 -0
  54. package/lib/charts/schema.js.map +1 -0
  55. package/lib/charts/schema.mjs +71 -0
  56. package/lib/charts/schema.mjs.map +1 -0
  57. package/lib/charts/types.d.mts +79 -0
  58. package/lib/charts/types.d.mts.map +1 -0
  59. package/lib/charts/types.d.ts +79 -0
  60. package/lib/charts/types.d.ts.map +1 -0
  61. package/lib/charts/types.js +25 -0
  62. package/lib/charts/types.js.map +1 -0
  63. package/lib/charts/types.mjs +22 -0
  64. package/lib/charts/types.mjs.map +1 -0
  65. package/lib/charts.d.mts +7 -0
  66. package/lib/charts.d.mts.map +1 -0
  67. package/lib/charts.d.ts +7 -0
  68. package/lib/charts.d.ts.map +1 -0
  69. package/lib/charts.js +32 -0
  70. package/lib/charts.js.map +1 -0
  71. package/lib/charts.mjs +7 -0
  72. package/lib/charts.mjs.map +1 -0
  73. package/package.json +1 -1
  74. package/resources/custom-settings.d.mts +1 -1
  75. package/resources/custom-settings.d.ts +1 -1
  76. package/resources/custom-settings.js +1 -1
  77. package/resources/custom-settings.mjs +1 -1
  78. package/resources/hire-requirements.d.mts +8 -74
  79. package/resources/hire-requirements.d.mts.map +1 -1
  80. package/resources/hire-requirements.d.ts +8 -74
  81. package/resources/hire-requirements.d.ts.map +1 -1
  82. package/resources/hire-requirements.js +3 -19
  83. package/resources/hire-requirements.js.map +1 -1
  84. package/resources/hire-requirements.mjs +3 -19
  85. package/resources/hire-requirements.mjs.map +1 -1
  86. package/resources/hires.d.mts +677 -147
  87. package/resources/hires.d.mts.map +1 -1
  88. package/resources/hires.d.ts +677 -147
  89. package/resources/hires.d.ts.map +1 -1
  90. package/resources/hires.js +3 -5
  91. package/resources/hires.js.map +1 -1
  92. package/resources/hires.mjs +3 -5
  93. package/resources/hires.mjs.map +1 -1
  94. package/resources/index.d.mts +1 -0
  95. package/resources/index.d.mts.map +1 -1
  96. package/resources/index.d.ts +1 -0
  97. package/resources/index.d.ts.map +1 -1
  98. package/resources/index.js +4 -2
  99. package/resources/index.js.map +1 -1
  100. package/resources/index.mjs +1 -0
  101. package/resources/index.mjs.map +1 -1
  102. package/resources/payroll-payment-mode-changes.d.mts +150 -0
  103. package/resources/payroll-payment-mode-changes.d.mts.map +1 -0
  104. package/resources/payroll-payment-mode-changes.d.ts +150 -0
  105. package/resources/payroll-payment-mode-changes.d.ts.map +1 -0
  106. package/resources/payroll-payment-mode-changes.js +66 -0
  107. package/resources/payroll-payment-mode-changes.js.map +1 -0
  108. package/resources/payroll-payment-mode-changes.mjs +62 -0
  109. package/resources/payroll-payment-mode-changes.mjs.map +1 -0
  110. package/resources/payroll-runs/index.d.mts +1 -0
  111. package/resources/payroll-runs/index.d.mts.map +1 -1
  112. package/resources/payroll-runs/index.d.ts +1 -0
  113. package/resources/payroll-runs/index.d.ts.map +1 -1
  114. package/resources/payroll-runs/index.js +3 -1
  115. package/resources/payroll-runs/index.js.map +1 -1
  116. package/resources/payroll-runs/index.mjs +1 -0
  117. package/resources/payroll-runs/index.mjs.map +1 -1
  118. package/resources/payroll-runs/off-cycle.d.mts +322 -0
  119. package/resources/payroll-runs/off-cycle.d.mts.map +1 -0
  120. package/resources/payroll-runs/off-cycle.d.ts +322 -0
  121. package/resources/payroll-runs/off-cycle.d.ts.map +1 -0
  122. package/resources/payroll-runs/off-cycle.js +112 -0
  123. package/resources/payroll-runs/off-cycle.js.map +1 -0
  124. package/resources/payroll-runs/off-cycle.mjs +108 -0
  125. package/resources/payroll-runs/off-cycle.mjs.map +1 -0
  126. package/resources/payroll-runs/payroll-runs.d.mts +4 -0
  127. package/resources/payroll-runs/payroll-runs.d.mts.map +1 -1
  128. package/resources/payroll-runs/payroll-runs.d.ts +4 -0
  129. package/resources/payroll-runs/payroll-runs.d.ts.map +1 -1
  130. package/resources/payroll-runs/payroll-runs.js +4 -0
  131. package/resources/payroll-runs/payroll-runs.js.map +1 -1
  132. package/resources/payroll-runs/payroll-runs.mjs +4 -0
  133. package/resources/payroll-runs/payroll-runs.mjs.map +1 -1
  134. package/resources/sandboxes.d.mts +17 -11
  135. package/resources/sandboxes.d.mts.map +1 -1
  136. package/resources/sandboxes.d.ts +17 -11
  137. package/resources/sandboxes.d.ts.map +1 -1
  138. package/resources/sandboxes.js +1 -3
  139. package/resources/sandboxes.js.map +1 -1
  140. package/resources/sandboxes.mjs +1 -3
  141. package/resources/sandboxes.mjs.map +1 -1
  142. package/resources/variable-compensation-payout-labels.d.mts +1 -1
  143. package/resources/variable-compensation-payout-labels.d.ts +1 -1
  144. package/resources/variable-compensation-payout-labels.js +1 -1
  145. package/resources/variable-compensation-payout-labels.mjs +1 -1
  146. package/resources/variable-compensation-payout-types.d.mts +1 -1
  147. package/resources/variable-compensation-payout-types.d.ts +1 -1
  148. package/resources/variable-compensation-payout-types.js +1 -1
  149. package/resources/variable-compensation-payout-types.mjs +1 -1
  150. package/resources/variable-compensation-payouts.d.mts +1 -1
  151. package/resources/variable-compensation-payouts.d.ts +1 -1
  152. package/resources/variable-compensation-payouts.js +1 -1
  153. package/resources/variable-compensation-payouts.mjs +1 -1
  154. package/resources/workflows.d.mts +20 -5
  155. package/resources/workflows.d.mts.map +1 -1
  156. package/resources/workflows.d.ts +20 -5
  157. package/resources/workflows.d.ts.map +1 -1
  158. package/src/client.ts +16 -0
  159. package/src/lib/charts/README.md +114 -0
  160. package/src/lib/charts/builders.ts +90 -0
  161. package/src/lib/charts/describe.ts +67 -0
  162. package/src/lib/charts/errors.ts +48 -0
  163. package/src/lib/charts/evaluate.ts +114 -0
  164. package/src/lib/charts/guards.ts +42 -0
  165. package/src/lib/charts/schema.ts +72 -0
  166. package/src/lib/charts/types.ts +113 -0
  167. package/src/lib/charts.ts +43 -0
  168. package/src/resources/custom-settings.ts +1 -1
  169. package/src/resources/hire-requirements.ts +8 -85
  170. package/src/resources/hires.ts +866 -219
  171. package/src/resources/index.ts +5 -0
  172. package/src/resources/payroll-payment-mode-changes.ts +182 -0
  173. package/src/resources/payroll-runs/index.ts +1 -0
  174. package/src/resources/payroll-runs/off-cycle.ts +372 -0
  175. package/src/resources/payroll-runs/payroll-runs.ts +10 -0
  176. package/src/resources/sandboxes.ts +17 -11
  177. package/src/resources/variable-compensation-payout-labels.ts +1 -1
  178. package/src/resources/variable-compensation-payout-types.ts +1 -1
  179. package/src/resources/variable-compensation-payouts.ts +1 -1
  180. package/src/resources/workflows.ts +25 -0
  181. package/src/version.ts +1 -1
  182. package/version.d.mts +1 -1
  183. package/version.d.ts +1 -1
  184. package/version.js +1 -1
  185. package/version.mjs +1 -1
@@ -0,0 +1,150 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import { APIPromise } from "../core/api-promise.js";
3
+ import { RequestOptions } from "../internal/request-options.js";
4
+ /**
5
+ * Payroll runs for the company
6
+ */
7
+ export declare class PayrollPaymentModeChanges extends APIResource {
8
+ /**
9
+ * Update payment modes for workers in one or more draft Global Payroll runs. The
10
+ * endpoint returns an item-level result for each requested change. When a request
11
+ * contains the same run and worker more than once, only the first change is
12
+ * evaluated; later entries are rejected as duplicates. Repeating the same run,
13
+ * worker, and payment mode is a safe no-op, so callers can retry it without an
14
+ * idempotency key. Request validation returns every detected error in an errors
15
+ * array before any payment mode is written. The errors array is the deliberate
16
+ * batch-validation contract for this pre-GA endpoint so callers can correct
17
+ * multiple issues at once; permission-denied responses use the same envelope for
18
+ * consistency.
19
+ *
20
+ * @example HTTP
21
+ * Representative request and response shapes.
22
+ * ```
23
+ * POST /payroll-payment-mode-changes/ HTTP/1.1
24
+ * Host: rest.ripplingapis.com
25
+ * Content-Type: application/json
26
+ * Accept: application/json
27
+ * Rippling-Api-Version: 2024-08-01
28
+ *
29
+ * {
30
+ * "changes": [
31
+ * {
32
+ * "payment_mode": "DEFAULT",
33
+ * "run_id": "run_id",
34
+ * "worker_id": "worker_id"
35
+ * }
36
+ * ]
37
+ * }
38
+ *
39
+ * HTTP/1.1 200 OK
40
+ * Content-Type: application/json
41
+ *
42
+ * {
43
+ * "results": [
44
+ * {
45
+ * "run_id": "string",
46
+ * "worker_id": "string",
47
+ * "payment_mode": "DEFAULT",
48
+ * "status": "UPDATED",
49
+ * "error": {
50
+ * "code": "DUPLICATE_NO_OP",
51
+ * "message": "string"
52
+ * }
53
+ * }
54
+ * ],
55
+ * "write_status": "COMPLETED"
56
+ * }
57
+ * ```
58
+ */
59
+ create(body: PayrollPaymentModeChangeCreateParams, options?: RequestOptions): APIPromise<PayrollPaymentModeChangeCreateResponse>;
60
+ }
61
+ export interface PayrollPaymentModeChangeCreateResponse {
62
+ /**
63
+ * Item-level results for the requested payment mode changes. Each item is either
64
+ * updated or rejected so callers can retry failed items independently.
65
+ */
66
+ results?: Array<PayrollPaymentModeChangeCreateResponse.Result>;
67
+ /**
68
+ * Completion status for this synchronous request. This is currently always
69
+ * COMPLETED; the field is reserved for future status values if processing becomes
70
+ * asynchronous. It describes the overall request, while each result status
71
+ * describes an individual item.
72
+ */
73
+ write_status?: 'COMPLETED';
74
+ }
75
+ export declare namespace PayrollPaymentModeChangeCreateResponse {
76
+ interface Result {
77
+ /**
78
+ * Structured error when the item was rejected. This field is omitted for UPDATED
79
+ * items and is present for REJECTED items.
80
+ */
81
+ error?: Result.Error;
82
+ /**
83
+ * Requested Global Payroll payment mode code.
84
+ */
85
+ payment_mode?: 'DEFAULT' | 'BANK_FILE' | 'MANUAL' | 'SAME_DAY_ACH' | 'CHECK_PRINTING' | 'CHECK_MAILING';
86
+ /**
87
+ * ID of the requested payroll run.
88
+ */
89
+ run_id?: string;
90
+ /**
91
+ * Item result: UPDATED or REJECTED.
92
+ */
93
+ status?: 'UPDATED' | 'REJECTED';
94
+ /**
95
+ * ID of the requested worker.
96
+ */
97
+ worker_id?: string;
98
+ }
99
+ namespace Result {
100
+ /**
101
+ * Structured error when the item was rejected. This field is omitted for UPDATED
102
+ * items and is present for REJECTED items.
103
+ */
104
+ interface Error {
105
+ /**
106
+ * Machine-readable error code for a rejected item. DUPLICATE_NO_OP means the
107
+ * requested change was already requested and no retry is needed;
108
+ * DUPLICATE_TARGET_CONFLICT, OUT_OF_SCOPE, RUN_NOT_FOUND, WORKER_NOT_IN_RUN, and
109
+ * PAYMENT_MODE_NOT_SUPPORTED are terminal request errors that require changing the
110
+ * request or authorization; RUN_NOT_WRITABLE may be retried when the run becomes
111
+ * writable; PAYMENT_MODE_UPDATE_FAILED is retryable after the underlying update
112
+ * failure is resolved.
113
+ */
114
+ code?: 'DUPLICATE_NO_OP' | 'DUPLICATE_TARGET_CONFLICT' | 'OUT_OF_SCOPE' | 'RUN_NOT_FOUND' | 'RUN_NOT_WRITABLE' | 'WORKER_NOT_IN_RUN' | 'PAYMENT_MODE_NOT_SUPPORTED' | 'PAYMENT_MODE_UPDATE_FAILED';
115
+ /**
116
+ * Human-readable error message.
117
+ */
118
+ message?: string;
119
+ }
120
+ }
121
+ }
122
+ export interface PayrollPaymentModeChangeCreateParams {
123
+ /**
124
+ * Payment mode changes to process. The maximum batch size is 100.
125
+ */
126
+ changes: Array<PayrollPaymentModeChangeCreateParams.Change>;
127
+ }
128
+ export declare namespace PayrollPaymentModeChangeCreateParams {
129
+ interface Change {
130
+ /**
131
+ * Canonical Global Payroll payment mode code to apply to the worker in the run.
132
+ * Known labels are DEFAULT (Default), BANK_FILE (Bank file), MANUAL (Manual),
133
+ * SAME_DAY_ACH (Same-day ACH), CHECK_PRINTING (Check printing), and CHECK_MAILING
134
+ * (Check mailing).
135
+ */
136
+ payment_mode: 'DEFAULT' | 'BANK_FILE' | 'MANUAL' | 'SAME_DAY_ACH' | 'CHECK_PRINTING' | 'CHECK_MAILING';
137
+ /**
138
+ * ID of the draft Global Payroll run to update.
139
+ */
140
+ run_id: string;
141
+ /**
142
+ * ID of the worker whose payment mode will be updated.
143
+ */
144
+ worker_id: string;
145
+ }
146
+ }
147
+ export declare namespace PayrollPaymentModeChanges {
148
+ export { type PayrollPaymentModeChangeCreateResponse as PayrollPaymentModeChangeCreateResponse, type PayrollPaymentModeChangeCreateParams as PayrollPaymentModeChangeCreateParams, };
149
+ }
150
+ //# sourceMappingURL=payroll-payment-mode-changes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payroll-payment-mode-changes.d.ts","sourceRoot":"","sources":["../src/resources/payroll-payment-mode-changes.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,yBAA0B,SAAQ,WAAW;IACxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkDG;IACH,MAAM,CACJ,IAAI,EAAE,oCAAoC,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sCAAsC,CAAC;CAGtD;AAED,MAAM,WAAW,sCAAsC;IACrD;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,sCAAsC,CAAC,MAAM,CAAC,CAAC;IAE/D;;;;;OAKG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC;CAC5B;AAED,yBAAiB,sCAAsC,CAAC;IACtD,UAAiB,MAAM;QACrB;;;WAGG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAErB;;WAEG;QACH,YAAY,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,cAAc,GAAG,gBAAgB,GAAG,eAAe,CAAC;QAExG;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,MAAM,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;QAEhC;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB;IAED,UAAiB,MAAM,CAAC;QACtB;;;WAGG;QACH,UAAiB,KAAK;YACpB;;;;;;;;eAQG;YACH,IAAI,CAAC,EACD,iBAAiB,GACjB,2BAA2B,GAC3B,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,mBAAmB,GACnB,4BAA4B,GAC5B,4BAA4B,CAAC;YAEjC;;eAEG;YACH,OAAO,CAAC,EAAE,MAAM,CAAC;SAClB;KACF;CACF;AAED,MAAM,WAAW,oCAAoC;IACnD;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,oCAAoC,CAAC,MAAM,CAAC,CAAC;CAC7D;AAED,yBAAiB,oCAAoC,CAAC;IACpD,UAAiB,MAAM;QACrB;;;;;WAKG;QACH,YAAY,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,cAAc,GAAG,gBAAgB,GAAG,eAAe,CAAC;QAEvG;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;KACnB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,yBAAyB,CAAC;IACjD,OAAO,EACL,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,oCAAoC,IAAI,oCAAoC,GAClF,CAAC;CACH"}
@@ -0,0 +1,66 @@
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.PayrollPaymentModeChanges = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ /**
7
+ * Payroll runs for the company
8
+ */
9
+ class PayrollPaymentModeChanges extends resource_1.APIResource {
10
+ /**
11
+ * Update payment modes for workers in one or more draft Global Payroll runs. The
12
+ * endpoint returns an item-level result for each requested change. When a request
13
+ * contains the same run and worker more than once, only the first change is
14
+ * evaluated; later entries are rejected as duplicates. Repeating the same run,
15
+ * worker, and payment mode is a safe no-op, so callers can retry it without an
16
+ * idempotency key. Request validation returns every detected error in an errors
17
+ * array before any payment mode is written. The errors array is the deliberate
18
+ * batch-validation contract for this pre-GA endpoint so callers can correct
19
+ * multiple issues at once; permission-denied responses use the same envelope for
20
+ * consistency.
21
+ *
22
+ * @example HTTP
23
+ * Representative request and response shapes.
24
+ * ```
25
+ * POST /payroll-payment-mode-changes/ HTTP/1.1
26
+ * Host: rest.ripplingapis.com
27
+ * Content-Type: application/json
28
+ * Accept: application/json
29
+ * Rippling-Api-Version: 2024-08-01
30
+ *
31
+ * {
32
+ * "changes": [
33
+ * {
34
+ * "payment_mode": "DEFAULT",
35
+ * "run_id": "run_id",
36
+ * "worker_id": "worker_id"
37
+ * }
38
+ * ]
39
+ * }
40
+ *
41
+ * HTTP/1.1 200 OK
42
+ * Content-Type: application/json
43
+ *
44
+ * {
45
+ * "results": [
46
+ * {
47
+ * "run_id": "string",
48
+ * "worker_id": "string",
49
+ * "payment_mode": "DEFAULT",
50
+ * "status": "UPDATED",
51
+ * "error": {
52
+ * "code": "DUPLICATE_NO_OP",
53
+ * "message": "string"
54
+ * }
55
+ * }
56
+ * ],
57
+ * "write_status": "COMPLETED"
58
+ * }
59
+ * ```
60
+ */
61
+ create(body, options) {
62
+ return this._client.post('/payroll-payment-mode-changes/', { body, ...options });
63
+ }
64
+ }
65
+ exports.PayrollPaymentModeChanges = PayrollPaymentModeChanges;
66
+ //# sourceMappingURL=payroll-payment-mode-changes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payroll-payment-mode-changes.js","sourceRoot":"","sources":["../src/resources/payroll-payment-mode-changes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,yBAA0B,SAAQ,sBAAW;IACxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkDG;IACH,MAAM,CACJ,IAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;CACF;AA1DD,8DA0DC"}
@@ -0,0 +1,62 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ /**
4
+ * Payroll runs for the company
5
+ */
6
+ export class PayrollPaymentModeChanges extends APIResource {
7
+ /**
8
+ * Update payment modes for workers in one or more draft Global Payroll runs. The
9
+ * endpoint returns an item-level result for each requested change. When a request
10
+ * contains the same run and worker more than once, only the first change is
11
+ * evaluated; later entries are rejected as duplicates. Repeating the same run,
12
+ * worker, and payment mode is a safe no-op, so callers can retry it without an
13
+ * idempotency key. Request validation returns every detected error in an errors
14
+ * array before any payment mode is written. The errors array is the deliberate
15
+ * batch-validation contract for this pre-GA endpoint so callers can correct
16
+ * multiple issues at once; permission-denied responses use the same envelope for
17
+ * consistency.
18
+ *
19
+ * @example HTTP
20
+ * Representative request and response shapes.
21
+ * ```
22
+ * POST /payroll-payment-mode-changes/ HTTP/1.1
23
+ * Host: rest.ripplingapis.com
24
+ * Content-Type: application/json
25
+ * Accept: application/json
26
+ * Rippling-Api-Version: 2024-08-01
27
+ *
28
+ * {
29
+ * "changes": [
30
+ * {
31
+ * "payment_mode": "DEFAULT",
32
+ * "run_id": "run_id",
33
+ * "worker_id": "worker_id"
34
+ * }
35
+ * ]
36
+ * }
37
+ *
38
+ * HTTP/1.1 200 OK
39
+ * Content-Type: application/json
40
+ *
41
+ * {
42
+ * "results": [
43
+ * {
44
+ * "run_id": "string",
45
+ * "worker_id": "string",
46
+ * "payment_mode": "DEFAULT",
47
+ * "status": "UPDATED",
48
+ * "error": {
49
+ * "code": "DUPLICATE_NO_OP",
50
+ * "message": "string"
51
+ * }
52
+ * }
53
+ * ],
54
+ * "write_status": "COMPLETED"
55
+ * }
56
+ * ```
57
+ */
58
+ create(body, options) {
59
+ return this._client.post('/payroll-payment-mode-changes/', { body, ...options });
60
+ }
61
+ }
62
+ //# sourceMappingURL=payroll-payment-mode-changes.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payroll-payment-mode-changes.mjs","sourceRoot":"","sources":["../src/resources/payroll-payment-mode-changes.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C;;GAEG;AACH,MAAM,OAAO,yBAA0B,SAAQ,WAAW;IACxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkDG;IACH,MAAM,CACJ,IAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;CACF"}
@@ -1,3 +1,4 @@
1
+ export { OffCycle, type OffCycleCreateResponse, type OffCycleCreateParams } from "./off-cycle.mjs";
1
2
  export { PayrollRuns, type PayrollRunListResponse, type PayrollRunRetrieveResponse, type PayrollRunListParams, type PayrollRunListResponsesPageCursorURL, } from "./payroll-runs.mjs";
2
3
  export { WorkerPayrollRecords, type WorkerPayrollRecordListResponse, type WorkerPayrollRecordListParams, type WorkerPayrollRecordListResponsesPageCursorURL, } from "./worker-payroll-records.mjs";
3
4
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/payroll-runs/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,oCAAoC,GAC1C,2BAAuB;AACxB,OAAO,EACL,oBAAoB,EACpB,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,6CAA6C,GACnD,qCAAiC"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/payroll-runs/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE,wBAAoB;AAC/F,OAAO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,oCAAoC,GAC1C,2BAAuB;AACxB,OAAO,EACL,oBAAoB,EACpB,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,6CAA6C,GACnD,qCAAiC"}
@@ -1,3 +1,4 @@
1
+ export { OffCycle, type OffCycleCreateResponse, type OffCycleCreateParams } from "./off-cycle.js";
1
2
  export { PayrollRuns, type PayrollRunListResponse, type PayrollRunRetrieveResponse, type PayrollRunListParams, type PayrollRunListResponsesPageCursorURL, } from "./payroll-runs.js";
2
3
  export { WorkerPayrollRecords, type WorkerPayrollRecordListResponse, type WorkerPayrollRecordListParams, type WorkerPayrollRecordListResponsesPageCursorURL, } from "./worker-payroll-records.js";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/payroll-runs/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,oCAAoC,GAC1C,0BAAuB;AACxB,OAAO,EACL,oBAAoB,EACpB,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,6CAA6C,GACnD,oCAAiC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/payroll-runs/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE,uBAAoB;AAC/F,OAAO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,oCAAoC,GAC1C,0BAAuB;AACxB,OAAO,EACL,oBAAoB,EACpB,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,6CAA6C,GACnD,oCAAiC"}
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.WorkerPayrollRecords = exports.PayrollRuns = void 0;
4
+ exports.WorkerPayrollRecords = exports.PayrollRuns = exports.OffCycle = void 0;
5
+ var off_cycle_1 = require("./off-cycle.js");
6
+ Object.defineProperty(exports, "OffCycle", { enumerable: true, get: function () { return off_cycle_1.OffCycle; } });
5
7
  var payroll_runs_1 = require("./payroll-runs.js");
6
8
  Object.defineProperty(exports, "PayrollRuns", { enumerable: true, get: function () { return payroll_runs_1.PayrollRuns; } });
7
9
  var worker_payroll_records_1 = require("./worker-payroll-records.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/payroll-runs/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAMwB;AALtB,2GAAA,WAAW,OAAA;AAMb,sEAKkC;AAJhC,8HAAA,oBAAoB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/payroll-runs/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAA+F;AAAtF,qGAAA,QAAQ,OAAA;AACjB,kDAMwB;AALtB,2GAAA,WAAW,OAAA;AAMb,sEAKkC;AAJhC,8HAAA,oBAAoB,OAAA"}
@@ -1,4 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { OffCycle } from "./off-cycle.mjs";
2
3
  export { PayrollRuns, } from "./payroll-runs.mjs";
3
4
  export { WorkerPayrollRecords, } from "./worker-payroll-records.mjs";
4
5
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/payroll-runs/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,WAAW,GAKZ,2BAAuB;AACxB,OAAO,EACL,oBAAoB,GAIrB,qCAAiC"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/payroll-runs/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,QAAQ,EAA0D,wBAAoB;AAC/F,OAAO,EACL,WAAW,GAKZ,2BAAuB;AACxB,OAAO,EACL,oBAAoB,GAIrB,qCAAiC"}
@@ -0,0 +1,322 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import { APIPromise } from "../../core/api-promise.mjs";
3
+ import { RequestOptions } from "../../internal/request-options.mjs";
4
+ /**
5
+ * Payroll runs for the company
6
+ */
7
+ export declare class OffCycle extends APIResource {
8
+ /**
9
+ * Create draft off-cycle run or runs for Global Payroll workers. Workers may be
10
+ * split into separate runs by employment type, but every run must belong to the
11
+ * same payroll entity. All requested workers must be eligible; validation is
12
+ * all-or-nothing before creation starts. Each validated run is attempted
13
+ * independently. The response contains status, confirmed runs, and per-run errors.
14
+ * HTTP 201 may contain PARTIAL_SUCCESS; HTTP 500 with FAILED means no creation was
15
+ * confirmed. An error does not prove that no run was created; inspect errors and
16
+ * reconcile before retrying. Idempotency-Key is not supported: each POST creates
17
+ * new run(s), even for an identical payload or repeated key. A retry after a
18
+ * timeout may create duplicate draft run(s); reconcile before retrying.
19
+ *
20
+ * @example HTTP
21
+ * Representative request and response shapes.
22
+ * ```
23
+ * POST /payroll-runs/off-cycle/ HTTP/1.1
24
+ * Host: rest.ripplingapis.com
25
+ * Content-Type: application/json
26
+ * Accept: application/json
27
+ * Rippling-Api-Version: 2024-08-01
28
+ *
29
+ * {
30
+ * "errors": [
31
+ * {
32
+ * "code": "RUN_CREATION_OUTCOME_UNKNOWN",
33
+ * "company_entity_id": "company_entity_id",
34
+ * "employment_split": "employment_split",
35
+ * "message": "message",
36
+ * "worker_ids": [
37
+ * "string"
38
+ * ]
39
+ * }
40
+ * ],
41
+ * "runs": [
42
+ * {
43
+ * "check_date": "check_date",
44
+ * "company_entity_id": "company_entity_id",
45
+ * "country_code": "country_code",
46
+ * "employment_split": "employment_split",
47
+ * "pay_period": {
48
+ * "end_date": "end_date",
49
+ * "start_date": "start_date"
50
+ * },
51
+ * "run_configuration": {
52
+ * "pay_basis": "pay_basis"
53
+ * },
54
+ * "run_id": "run_id",
55
+ * "run_status": "run_status",
56
+ * "run_type": "run_type",
57
+ * "worker_ids": [
58
+ * "string"
59
+ * ]
60
+ * }
61
+ * ],
62
+ * "status": "SUCCESS"
63
+ * }
64
+ *
65
+ * HTTP/1.1 200 OK
66
+ * Content-Type: application/json
67
+ *
68
+ * {
69
+ * "status": "SUCCESS",
70
+ * "runs": [
71
+ * {
72
+ * "run_id": "string",
73
+ * "worker_ids": [
74
+ * "string"
75
+ * ],
76
+ * "company_entity_id": "string",
77
+ * "country_code": "string",
78
+ * "run_type": "string",
79
+ * "run_status": "string",
80
+ * "check_date": "string",
81
+ * "pay_period": {
82
+ * "start_date": "string",
83
+ * "end_date": "string"
84
+ * },
85
+ * "employment_split": "string",
86
+ * "run_configuration": {
87
+ * "pay_basis": "string"
88
+ * }
89
+ * }
90
+ * ],
91
+ * "errors": [
92
+ * {
93
+ * "worker_ids": [
94
+ * "string"
95
+ * ],
96
+ * "company_entity_id": "string",
97
+ * "employment_split": "string",
98
+ * "code": "RUN_CREATION_OUTCOME_UNKNOWN",
99
+ * "message": "string"
100
+ * }
101
+ * ]
102
+ * }
103
+ * ```
104
+ */
105
+ create(body: OffCycleCreateParams, options?: RequestOptions): APIPromise<OffCycleCreateResponse>;
106
+ }
107
+ export interface OffCycleCreateResponse {
108
+ /**
109
+ * One error per unconfirmed run creation. Empty on full success; reconcile before
110
+ * retrying.
111
+ */
112
+ errors: Array<OffCycleCreateResponse.Error>;
113
+ /**
114
+ * Confirmed created draft runs. Empty when no creation could be confirmed.
115
+ */
116
+ runs: Array<OffCycleCreateResponse.Run>;
117
+ /**
118
+ * SUCCESS, PARTIAL_SUCCESS, or FAILED. FAILED means no run creation was confirmed.
119
+ */
120
+ status: 'SUCCESS' | 'PARTIAL_SUCCESS' | 'FAILED';
121
+ }
122
+ export declare namespace OffCycleCreateResponse {
123
+ interface Error {
124
+ /**
125
+ * Stable error code; an exception does not prove that no run was created.
126
+ */
127
+ code: 'RUN_CREATION_OUTCOME_UNKNOWN';
128
+ /**
129
+ * Payroll entity for the attempted run.
130
+ */
131
+ company_entity_id: string;
132
+ /**
133
+ * Employment category for the attempted run.
134
+ */
135
+ employment_split: string;
136
+ /**
137
+ * Safe description of the unconfirmed creation outcome and retry guidance.
138
+ */
139
+ message: string;
140
+ /**
141
+ * Role IDs in the run whose creation could not be confirmed.
142
+ */
143
+ worker_ids: Array<string>;
144
+ }
145
+ interface Run {
146
+ /**
147
+ * Payment date selected for this run.
148
+ */
149
+ check_date: string;
150
+ /**
151
+ * Identifier of the payroll entity that owns this run.
152
+ */
153
+ company_entity_id: string;
154
+ /**
155
+ * Country code of the payroll entity.
156
+ */
157
+ country_code: string;
158
+ /**
159
+ * Worker eligibility category used to split this run, such as employees or
160
+ * contractors.
161
+ */
162
+ employment_split: string;
163
+ /**
164
+ * Pay period for this run.
165
+ */
166
+ pay_period: Run.PayPeriod;
167
+ /**
168
+ * Calculation configuration used for this run.
169
+ */
170
+ run_configuration: Run.RunConfiguration;
171
+ /**
172
+ * Identifier of the created draft payroll run.
173
+ */
174
+ run_id: string;
175
+ /**
176
+ * Status of the created payroll run.
177
+ */
178
+ run_status: string;
179
+ /**
180
+ * Type of the created payroll run.
181
+ */
182
+ run_type: string;
183
+ /**
184
+ * Role IDs included in this run.
185
+ */
186
+ worker_ids: Array<string>;
187
+ }
188
+ namespace Run {
189
+ /**
190
+ * Pay period for this run.
191
+ */
192
+ interface PayPeriod {
193
+ /**
194
+ * End date of this run's pay period.
195
+ */
196
+ end_date: string;
197
+ /**
198
+ * Start date of this run's pay period.
199
+ */
200
+ start_date: string;
201
+ }
202
+ /**
203
+ * Calculation configuration used for this run.
204
+ */
205
+ interface RunConfiguration {
206
+ /**
207
+ * Amount basis used by the created run. This API currently creates gross-pay runs.
208
+ */
209
+ pay_basis: string;
210
+ }
211
+ }
212
+ }
213
+ export interface OffCycleCreateParams {
214
+ /**
215
+ * One error per unconfirmed run creation. Empty on full success; reconcile before
216
+ * retrying.
217
+ */
218
+ errors: Array<OffCycleCreateParams.Error>;
219
+ /**
220
+ * Confirmed created draft runs. Empty when no creation could be confirmed.
221
+ */
222
+ runs: Array<OffCycleCreateParams.Run>;
223
+ /**
224
+ * SUCCESS, PARTIAL_SUCCESS, or FAILED. FAILED means no run creation was confirmed.
225
+ */
226
+ status: 'SUCCESS' | 'PARTIAL_SUCCESS' | 'FAILED';
227
+ }
228
+ export declare namespace OffCycleCreateParams {
229
+ interface Error {
230
+ /**
231
+ * Stable error code; an exception does not prove that no run was created.
232
+ */
233
+ code: 'RUN_CREATION_OUTCOME_UNKNOWN';
234
+ /**
235
+ * Payroll entity for the attempted run.
236
+ */
237
+ company_entity_id: string;
238
+ /**
239
+ * Employment category for the attempted run.
240
+ */
241
+ employment_split: string;
242
+ /**
243
+ * Safe description of the unconfirmed creation outcome and retry guidance.
244
+ */
245
+ message: string;
246
+ /**
247
+ * Role IDs in the run whose creation could not be confirmed.
248
+ */
249
+ worker_ids: Array<string>;
250
+ }
251
+ interface Run {
252
+ /**
253
+ * Payment date selected for this run.
254
+ */
255
+ check_date: string;
256
+ /**
257
+ * Identifier of the payroll entity that owns this run.
258
+ */
259
+ company_entity_id: string;
260
+ /**
261
+ * Country code of the payroll entity.
262
+ */
263
+ country_code: string;
264
+ /**
265
+ * Worker eligibility category used to split this run, such as employees or
266
+ * contractors.
267
+ */
268
+ employment_split: string;
269
+ /**
270
+ * Pay period for this run.
271
+ */
272
+ pay_period: Run.PayPeriod;
273
+ /**
274
+ * Calculation configuration used for this run.
275
+ */
276
+ run_configuration: Run.RunConfiguration;
277
+ /**
278
+ * Identifier of the created draft payroll run.
279
+ */
280
+ run_id: string;
281
+ /**
282
+ * Status of the created payroll run.
283
+ */
284
+ run_status: string;
285
+ /**
286
+ * Type of the created payroll run.
287
+ */
288
+ run_type: string;
289
+ /**
290
+ * Role IDs included in this run.
291
+ */
292
+ worker_ids: Array<string>;
293
+ }
294
+ namespace Run {
295
+ /**
296
+ * Pay period for this run.
297
+ */
298
+ interface PayPeriod {
299
+ /**
300
+ * End date of this run's pay period.
301
+ */
302
+ end_date: string;
303
+ /**
304
+ * Start date of this run's pay period.
305
+ */
306
+ start_date: string;
307
+ }
308
+ /**
309
+ * Calculation configuration used for this run.
310
+ */
311
+ interface RunConfiguration {
312
+ /**
313
+ * Amount basis used by the created run. This API currently creates gross-pay runs.
314
+ */
315
+ pay_basis: string;
316
+ }
317
+ }
318
+ }
319
+ export declare namespace OffCycle {
320
+ export { type OffCycleCreateResponse as OffCycleCreateResponse, type OffCycleCreateParams as OffCycleCreateParams, };
321
+ }
322
+ //# sourceMappingURL=off-cycle.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"off-cycle.d.mts","sourceRoot":"","sources":["../../src/resources/payroll-runs/off-cycle.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgG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