@rippling/rippling-sdk 0.2.0-alpha.24 → 0.2.0-alpha.26

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 (229) hide show
  1. package/LICENSE +1 -1
  2. package/client.d.mts +33 -11
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +33 -11
  5. package/client.d.ts.map +1 -1
  6. package/client.js +21 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +21 -0
  9. package/client.mjs.map +1 -1
  10. package/functions.d.mts +7 -0
  11. package/functions.d.mts.map +1 -1
  12. package/functions.d.ts +7 -0
  13. package/functions.d.ts.map +1 -1
  14. package/functions.js +13 -1
  15. package/functions.js.map +1 -1
  16. package/functions.mjs +11 -0
  17. package/functions.mjs.map +1 -1
  18. package/package.json +1 -1
  19. package/resources/compensation-bands-details.d.mts +95 -0
  20. package/resources/compensation-bands-details.d.mts.map +1 -0
  21. package/resources/compensation-bands-details.d.ts +95 -0
  22. package/resources/compensation-bands-details.d.ts.map +1 -0
  23. package/resources/compensation-bands-details.js +29 -0
  24. package/resources/compensation-bands-details.js.map +1 -0
  25. package/resources/compensation-bands-details.mjs +25 -0
  26. package/resources/compensation-bands-details.mjs.map +1 -0
  27. package/resources/custom-settings.d.mts +270 -0
  28. package/resources/custom-settings.d.mts.map +1 -0
  29. package/resources/custom-settings.d.ts +270 -0
  30. package/resources/custom-settings.d.ts.map +1 -0
  31. package/resources/custom-settings.js +51 -0
  32. package/resources/custom-settings.js.map +1 -0
  33. package/resources/custom-settings.mjs +47 -0
  34. package/resources/custom-settings.mjs.map +1 -0
  35. package/resources/departments.d.mts +37 -1
  36. package/resources/departments.d.mts.map +1 -1
  37. package/resources/departments.d.ts +37 -1
  38. package/resources/departments.d.ts.map +1 -1
  39. package/resources/departments.js +12 -0
  40. package/resources/departments.js.map +1 -1
  41. package/resources/departments.mjs +12 -0
  42. package/resources/departments.mjs.map +1 -1
  43. package/resources/draft-hires.d.mts +27 -0
  44. package/resources/draft-hires.d.mts.map +1 -1
  45. package/resources/draft-hires.d.ts +27 -0
  46. package/resources/draft-hires.d.ts.map +1 -1
  47. package/resources/functions/executions.d.mts +6 -82
  48. package/resources/functions/executions.d.mts.map +1 -1
  49. package/resources/functions/executions.d.ts +6 -82
  50. package/resources/functions/executions.d.ts.map +1 -1
  51. package/resources/functions/executions.js.map +1 -1
  52. package/resources/functions/executions.mjs.map +1 -1
  53. package/resources/functions/functions.d.mts +2 -2
  54. package/resources/functions/functions.d.mts.map +1 -1
  55. package/resources/functions/functions.d.ts +2 -2
  56. package/resources/functions/functions.d.ts.map +1 -1
  57. package/resources/functions/functions.js.map +1 -1
  58. package/resources/functions/functions.mjs.map +1 -1
  59. package/resources/functions/index.d.mts +1 -1
  60. package/resources/functions/index.d.mts.map +1 -1
  61. package/resources/functions/index.d.ts +1 -1
  62. package/resources/functions/index.d.ts.map +1 -1
  63. package/resources/functions/index.js.map +1 -1
  64. package/resources/functions/index.mjs.map +1 -1
  65. package/resources/index.d.mts +12 -5
  66. package/resources/index.d.mts.map +1 -1
  67. package/resources/index.d.ts +12 -5
  68. package/resources/index.d.ts.map +1 -1
  69. package/resources/index.js +15 -1
  70. package/resources/index.js.map +1 -1
  71. package/resources/index.mjs +7 -0
  72. package/resources/index.mjs.map +1 -1
  73. package/resources/job-assignments.d.mts +70 -6
  74. package/resources/job-assignments.d.mts.map +1 -1
  75. package/resources/job-assignments.d.ts +70 -6
  76. package/resources/job-assignments.d.ts.map +1 -1
  77. package/resources/job-assignments.js +22 -0
  78. package/resources/job-assignments.js.map +1 -1
  79. package/resources/job-assignments.mjs +22 -0
  80. package/resources/job-assignments.mjs.map +1 -1
  81. package/resources/job-codes.d.mts +47 -1
  82. package/resources/job-codes.d.mts.map +1 -1
  83. package/resources/job-codes.d.ts +47 -1
  84. package/resources/job-codes.d.ts.map +1 -1
  85. package/resources/job-dimensions.d.mts +20 -0
  86. package/resources/job-dimensions.d.mts.map +1 -1
  87. package/resources/job-dimensions.d.ts +20 -0
  88. package/resources/job-dimensions.d.ts.map +1 -1
  89. package/resources/job-requisitions-write.d.mts +257 -0
  90. package/resources/job-requisitions-write.d.mts.map +1 -0
  91. package/resources/job-requisitions-write.d.ts +257 -0
  92. package/resources/job-requisitions-write.d.ts.map +1 -0
  93. package/resources/job-requisitions-write.js +15 -0
  94. package/resources/job-requisitions-write.js.map +1 -0
  95. package/resources/job-requisitions-write.mjs +11 -0
  96. package/resources/job-requisitions-write.mjs.map +1 -0
  97. package/resources/leave-accruals.d.mts +112 -6
  98. package/resources/leave-accruals.d.mts.map +1 -1
  99. package/resources/leave-accruals.d.ts +112 -6
  100. package/resources/leave-accruals.d.ts.map +1 -1
  101. package/resources/leave-accruals.js +19 -3
  102. package/resources/leave-accruals.js.map +1 -1
  103. package/resources/leave-accruals.mjs +19 -3
  104. package/resources/leave-accruals.mjs.map +1 -1
  105. package/resources/report-runs.d.mts +149 -0
  106. package/resources/report-runs.d.mts.map +1 -0
  107. package/resources/report-runs.d.ts +149 -0
  108. package/resources/report-runs.d.ts.map +1 -0
  109. package/resources/report-runs.js +22 -0
  110. package/resources/report-runs.js.map +1 -0
  111. package/resources/report-runs.mjs +18 -0
  112. package/resources/report-runs.mjs.map +1 -0
  113. package/resources/shared.d.mts +35 -0
  114. package/resources/shared.d.mts.map +1 -1
  115. package/resources/shared.d.ts +35 -0
  116. package/resources/shared.d.ts.map +1 -1
  117. package/resources/shift-assignments.d.mts +296 -0
  118. package/resources/shift-assignments.d.mts.map +1 -0
  119. package/resources/shift-assignments.d.ts +296 -0
  120. package/resources/shift-assignments.d.ts.map +1 -0
  121. package/resources/shift-assignments.js +25 -0
  122. package/resources/shift-assignments.js.map +1 -0
  123. package/resources/shift-assignments.mjs +21 -0
  124. package/resources/shift-assignments.mjs.map +1 -0
  125. package/resources/shiftassignments.d.mts +68 -10
  126. package/resources/shiftassignments.d.mts.map +1 -1
  127. package/resources/shiftassignments.d.ts +68 -10
  128. package/resources/shiftassignments.d.ts.map +1 -1
  129. package/resources/supergroups/exclusion-members.d.mts +5 -3
  130. package/resources/supergroups/exclusion-members.d.mts.map +1 -1
  131. package/resources/supergroups/exclusion-members.d.ts +5 -3
  132. package/resources/supergroups/exclusion-members.d.ts.map +1 -1
  133. package/resources/supergroups/exclusion-members.js +1 -0
  134. package/resources/supergroups/exclusion-members.js.map +1 -1
  135. package/resources/supergroups/exclusion-members.mjs +1 -0
  136. package/resources/supergroups/exclusion-members.mjs.map +1 -1
  137. package/resources/supergroups/inclusion-members.d.mts +5 -3
  138. package/resources/supergroups/inclusion-members.d.mts.map +1 -1
  139. package/resources/supergroups/inclusion-members.d.ts +5 -3
  140. package/resources/supergroups/inclusion-members.d.ts.map +1 -1
  141. package/resources/supergroups/inclusion-members.js +1 -0
  142. package/resources/supergroups/inclusion-members.js.map +1 -1
  143. package/resources/supergroups/inclusion-members.mjs +1 -0
  144. package/resources/supergroups/inclusion-members.mjs.map +1 -1
  145. package/resources/supergroups/index.d.mts +1 -1
  146. package/resources/supergroups/index.d.mts.map +1 -1
  147. package/resources/supergroups/index.d.ts +1 -1
  148. package/resources/supergroups/index.d.ts.map +1 -1
  149. package/resources/supergroups/index.js.map +1 -1
  150. package/resources/supergroups/index.mjs.map +1 -1
  151. package/resources/supergroups/members.d.mts +8 -26
  152. package/resources/supergroups/members.d.mts.map +1 -1
  153. package/resources/supergroups/members.d.ts +8 -26
  154. package/resources/supergroups/members.d.ts.map +1 -1
  155. package/resources/supergroups/members.js +1 -0
  156. package/resources/supergroups/members.js.map +1 -1
  157. package/resources/supergroups/members.mjs +1 -0
  158. package/resources/supergroups/members.mjs.map +1 -1
  159. package/resources/supergroups/supergroups.d.mts +2 -2
  160. package/resources/supergroups/supergroups.d.mts.map +1 -1
  161. package/resources/supergroups/supergroups.d.ts +2 -2
  162. package/resources/supergroups/supergroups.d.ts.map +1 -1
  163. package/resources/supergroups/supergroups.js.map +1 -1
  164. package/resources/supergroups/supergroups.mjs.map +1 -1
  165. package/resources/titles.d.mts +126 -0
  166. package/resources/titles.d.mts.map +1 -0
  167. package/resources/titles.d.ts +126 -0
  168. package/resources/titles.d.ts.map +1 -0
  169. package/resources/titles.js +48 -0
  170. package/resources/titles.js.map +1 -0
  171. package/resources/titles.mjs +44 -0
  172. package/resources/titles.mjs.map +1 -0
  173. package/resources/unassigned-shifts.d.mts +334 -0
  174. package/resources/unassigned-shifts.d.mts.map +1 -0
  175. package/resources/unassigned-shifts.d.ts +334 -0
  176. package/resources/unassigned-shifts.d.ts.map +1 -0
  177. package/resources/unassigned-shifts.js +42 -0
  178. package/resources/unassigned-shifts.js.map +1 -0
  179. package/resources/unassigned-shifts.mjs +38 -0
  180. package/resources/unassigned-shifts.mjs.map +1 -0
  181. package/resources/unassignedshifts.d.mts +744 -32
  182. package/resources/unassignedshifts.d.mts.map +1 -1
  183. package/resources/unassignedshifts.d.ts +744 -32
  184. package/resources/unassignedshifts.d.ts.map +1 -1
  185. package/resources/unassignedshifts.js +12 -0
  186. package/resources/unassignedshifts.js.map +1 -1
  187. package/resources/unassignedshifts.mjs +12 -0
  188. package/resources/unassignedshifts.mjs.map +1 -1
  189. package/resources/work-locations.d.mts +95 -1
  190. package/resources/work-locations.d.mts.map +1 -1
  191. package/resources/work-locations.d.ts +95 -1
  192. package/resources/work-locations.d.ts.map +1 -1
  193. package/resources/work-locations.js +12 -0
  194. package/resources/work-locations.js.map +1 -1
  195. package/resources/work-locations.mjs +12 -0
  196. package/resources/work-locations.mjs.map +1 -1
  197. package/src/client.ts +157 -3
  198. package/src/functions.ts +20 -0
  199. package/src/resources/compensation-bands-details.ts +140 -0
  200. package/src/resources/custom-settings.ts +371 -0
  201. package/src/resources/departments.ts +50 -0
  202. package/src/resources/draft-hires.ts +32 -0
  203. package/src/resources/functions/executions.ts +8 -104
  204. package/src/resources/functions/functions.ts +4 -8
  205. package/src/resources/functions/index.ts +2 -4
  206. package/src/resources/index.ts +68 -2
  207. package/src/resources/job-assignments.ts +95 -6
  208. package/src/resources/job-codes.ts +56 -1
  209. package/src/resources/job-dimensions.ts +24 -0
  210. package/src/resources/job-requisitions-write.ts +327 -0
  211. package/src/resources/leave-accruals.ts +229 -12
  212. package/src/resources/report-runs.ts +186 -0
  213. package/src/resources/shared.ts +44 -0
  214. package/src/resources/shift-assignments.ts +362 -0
  215. package/src/resources/shiftassignments.ts +82 -11
  216. package/src/resources/supergroups/exclusion-members.ts +7 -4
  217. package/src/resources/supergroups/inclusion-members.ts +7 -4
  218. package/src/resources/supergroups/index.ts +1 -1
  219. package/src/resources/supergroups/members.ts +10 -36
  220. package/src/resources/supergroups/supergroups.ts +2 -7
  221. package/src/resources/titles.ts +181 -0
  222. package/src/resources/unassigned-shifts.ts +415 -0
  223. package/src/resources/unassignedshifts.ts +905 -35
  224. package/src/resources/work-locations.ts +118 -0
  225. package/src/version.ts +1 -1
  226. package/version.d.mts +1 -1
  227. package/version.d.ts +1 -1
  228. package/version.js +1 -1
  229. package/version.mjs +1 -1
@@ -22,12 +22,26 @@ export class WorkLocations extends APIResource {
22
22
  return this._client.getAPIList('/work-locations', PageCursorURL<WorkLocation>, { query, ...options });
23
23
  }
24
24
 
25
+ /**
26
+ * Create a new work location
27
+ */
28
+ create(body: WorkLocationCreateParams, options?: RequestOptions): APIPromise<WorkLocation> {
29
+ return this._client.post('/work-locations', { body, ...options });
30
+ }
31
+
25
32
  /**
26
33
  * Retrieve a specific work location
27
34
  */
28
35
  retrieve(id: string, options?: RequestOptions): APIPromise<WorkLocationRetrieveResponse> {
29
36
  return this._client.get(path`/work-locations/${id}`, options);
30
37
  }
38
+
39
+ /**
40
+ * Updated a specific work location
41
+ */
42
+ update(id: string, body: WorkLocationUpdateParams, options?: RequestOptions): APIPromise<WorkLocation> {
43
+ return this._client.patch(path`/work-locations/${id}`, { body, ...options });
44
+ }
31
45
  }
32
46
 
33
47
  export type WorkLocationsPageCursorURL = PageCursorURL<WorkLocation>;
@@ -70,11 +84,115 @@ export interface WorkLocationListParams {
70
84
  order_by?: string;
71
85
  }
72
86
 
87
+ export interface WorkLocationCreateParams {
88
+ /**
89
+ * The address for the work location.
90
+ */
91
+ address: WorkLocationCreateParams.Address;
92
+
93
+ /**
94
+ * The name of the work location.
95
+ */
96
+ name: string;
97
+ }
98
+
99
+ export namespace WorkLocationCreateParams {
100
+ /**
101
+ * The address for the work location.
102
+ */
103
+ export interface Address {
104
+ /**
105
+ * The country component, pursuant to SCIM RFC 7643 4.1.2.
106
+ */
107
+ country?: Shared.CountryCode;
108
+
109
+ /**
110
+ * The city or locality component.
111
+ */
112
+ locality?: string;
113
+
114
+ /**
115
+ * The zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
116
+ */
117
+ postal_code?: string;
118
+
119
+ /**
120
+ * The state or region component, pursuant to SCIM RFC 7643 4.1.2.
121
+ */
122
+ region?: string;
123
+
124
+ /**
125
+ * The full street address component, which may include house number, street name,
126
+ * P.O. box, and multi-line extended street address information, pursuant to SCIM
127
+ * RFC 7643 4.1.2..
128
+ */
129
+ street_address?: string;
130
+
131
+ /**
132
+ * The classification of the address.
133
+ */
134
+ type?: 'HOME' | 'WORK' | 'OTHER';
135
+ }
136
+ }
137
+
138
+ export interface WorkLocationUpdateParams {
139
+ /**
140
+ * The address for the work location.
141
+ */
142
+ address: WorkLocationUpdateParams.Address;
143
+
144
+ /**
145
+ * The name of the work location.
146
+ */
147
+ name: string;
148
+ }
149
+
150
+ export namespace WorkLocationUpdateParams {
151
+ /**
152
+ * The address for the work location.
153
+ */
154
+ export interface Address {
155
+ /**
156
+ * The country component, pursuant to SCIM RFC 7643 4.1.2.
157
+ */
158
+ country?: Shared.CountryCode;
159
+
160
+ /**
161
+ * The city or locality component.
162
+ */
163
+ locality?: string;
164
+
165
+ /**
166
+ * The zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
167
+ */
168
+ postal_code?: string;
169
+
170
+ /**
171
+ * The state or region component, pursuant to SCIM RFC 7643 4.1.2.
172
+ */
173
+ region?: string;
174
+
175
+ /**
176
+ * The full street address component, which may include house number, street name,
177
+ * P.O. box, and multi-line extended street address information, pursuant to SCIM
178
+ * RFC 7643 4.1.2..
179
+ */
180
+ street_address?: string;
181
+
182
+ /**
183
+ * The classification of the address.
184
+ */
185
+ type?: 'HOME' | 'WORK' | 'OTHER';
186
+ }
187
+ }
188
+
73
189
  export declare namespace WorkLocations {
74
190
  export {
75
191
  type WorkLocation as WorkLocation,
76
192
  type WorkLocationRetrieveResponse as WorkLocationRetrieveResponse,
77
193
  type WorkLocationsPageCursorURL as WorkLocationsPageCursorURL,
78
194
  type WorkLocationListParams as WorkLocationListParams,
195
+ type WorkLocationCreateParams as WorkLocationCreateParams,
196
+ type WorkLocationUpdateParams as WorkLocationUpdateParams,
79
197
  };
80
198
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.2.0-alpha.24'; // x-release-please-version
1
+ export const VERSION = '0.2.0-alpha.26'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.2.0-alpha.24";
1
+ export declare const VERSION = "0.2.0-alpha.26";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.2.0-alpha.24";
1
+ export declare const VERSION = "0.2.0-alpha.26";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.2.0-alpha.24'; // x-release-please-version
4
+ exports.VERSION = '0.2.0-alpha.26'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.2.0-alpha.24'; // x-release-please-version
1
+ export const VERSION = '0.2.0-alpha.26'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map