@rippling/rippling-sdk 0.2.0-alpha.91 → 0.2.0-alpha.92

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"variable-compensation-payout-writes.js","sourceRoot":"","sources":["../src/resources/variable-compensation-payout-writes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,gCAAiC,SAAQ,sBAAW;IAC/D;;OAEG;IACH,MAAM,CACJ,IAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uCAAuC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;CACF;AAVD,4EAUC"}
@@ -0,0 +1,14 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ /**
4
+ * Compensation associated with workers
5
+ */
6
+ export class VariableCompensationPayoutWrites extends APIResource {
7
+ /**
8
+ * Create a new variable compensation payout write
9
+ */
10
+ create(body, options) {
11
+ return this._client.post('/variable-compensation-payout-writes/', { body, ...options });
12
+ }
13
+ }
14
+ //# sourceMappingURL=variable-compensation-payout-writes.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"variable-compensation-payout-writes.mjs","sourceRoot":"","sources":["../src/resources/variable-compensation-payout-writes.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C;;GAEG;AACH,MAAM,OAAO,gCAAiC,SAAQ,WAAW;IAC/D;;OAEG;IACH,MAAM,CACJ,IAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uCAAuC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;CACF"}
package/src/client.ts CHANGED
@@ -563,6 +563,11 @@ import {
563
563
  Unassignedshifts,
564
564
  } from './resources/unassignedshifts';
565
565
  import { User, UserListParams, UserRetrieveResponse, Users, UsersPageCursorURL } from './resources/users';
566
+ import {
567
+ VariableCompensationPayoutWriteCreateParams,
568
+ VariableCompensationPayoutWriteCreateResponse,
569
+ VariableCompensationPayoutWrites,
570
+ } from './resources/variable-compensation-payout-writes';
566
571
  import {
567
572
  WorkLocation,
568
573
  WorkLocationCreateParams,
@@ -1710,6 +1715,11 @@ export class RipplingSDK {
1710
1715
  * Unassigned shifts that are part of a schedule
1711
1716
  */
1712
1717
  unassignedshifts: API.Unassignedshifts = new API.Unassignedshifts(this);
1718
+ /**
1719
+ * Compensation associated with workers
1720
+ */
1721
+ variableCompensationPayoutWrites: API.VariableCompensationPayoutWrites =
1722
+ new API.VariableCompensationPayoutWrites(this);
1713
1723
  /**
1714
1724
  * Historical changes to worker data over time
1715
1725
  */
@@ -1816,6 +1826,7 @@ RipplingSDK.Sites = Sites;
1816
1826
  RipplingSDK.SoftwareDeployments = SoftwareDeployments;
1817
1827
  RipplingSDK.Titles = Titles;
1818
1828
  RipplingSDK.Unassignedshifts = Unassignedshifts;
1829
+ RipplingSDK.VariableCompensationPayoutWrites = VariableCompensationPayoutWrites;
1819
1830
  RipplingSDK.WorkerChanges = WorkerChanges;
1820
1831
  RipplingSDK.WorkerChangeFields = WorkerChangeFields;
1821
1832
  RipplingSDK.WorkerTimeSplits = WorkerTimeSplits;
@@ -2535,6 +2546,12 @@ export declare namespace RipplingSDK {
2535
2546
  type UnassignedshiftUpdateParams as UnassignedshiftUpdateParams,
2536
2547
  };
2537
2548
 
2549
+ export {
2550
+ VariableCompensationPayoutWrites as VariableCompensationPayoutWrites,
2551
+ type VariableCompensationPayoutWriteCreateResponse as VariableCompensationPayoutWriteCreateResponse,
2552
+ type VariableCompensationPayoutWriteCreateParams as VariableCompensationPayoutWriteCreateParams,
2553
+ };
2554
+
2538
2555
  export {
2539
2556
  WorkerChanges as WorkerChanges,
2540
2557
  type WorkerChangeListResponse as WorkerChangeListResponse,
@@ -612,6 +612,11 @@ export {
612
612
  type UserListParams,
613
613
  type UsersPageCursorURL,
614
614
  } from './users';
615
+ export {
616
+ VariableCompensationPayoutWrites,
617
+ type VariableCompensationPayoutWriteCreateResponse,
618
+ type VariableCompensationPayoutWriteCreateParams,
619
+ } from './variable-compensation-payout-writes';
615
620
  export {
616
621
  WorkLocations,
617
622
  type WorkLocation,
@@ -0,0 +1,160 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../core/resource';
4
+ import { APIPromise } from '../core/api-promise';
5
+ import { RequestOptions } from '../internal/request-options';
6
+
7
+ /**
8
+ * Compensation associated with workers
9
+ */
10
+ export class VariableCompensationPayoutWrites extends APIResource {
11
+ /**
12
+ * Create a new variable compensation payout write
13
+ */
14
+ create(
15
+ body: VariableCompensationPayoutWriteCreateParams,
16
+ options?: RequestOptions,
17
+ ): APIPromise<VariableCompensationPayoutWriteCreateResponse> {
18
+ return this._client.post('/variable-compensation-payout-writes/', { body, ...options });
19
+ }
20
+ }
21
+
22
+ export interface VariableCompensationPayoutWriteCreateResponse {
23
+ /**
24
+ * Identifier field
25
+ */
26
+ id: string;
27
+
28
+ /**
29
+ * Payout amount.
30
+ */
31
+ amount_base: VariableCompensationPayoutWriteCreateResponse.AmountBase;
32
+
33
+ /**
34
+ * Record creation date
35
+ */
36
+ created_at: string;
37
+
38
+ /**
39
+ * RoleWithCompany ID for the payout recipient.
40
+ */
41
+ payee_id: string;
42
+
43
+ /**
44
+ * Company payout type key.
45
+ */
46
+ payment_type: string;
47
+
48
+ /**
49
+ * Date on which the payout is scheduled.
50
+ */
51
+ scheduled_date: string;
52
+
53
+ /**
54
+ * Record update date
55
+ */
56
+ updated_at: string;
57
+
58
+ /**
59
+ * Optional markdown summary of the eligibility conditions.
60
+ */
61
+ ai_conditions_summary?: string;
62
+
63
+ /**
64
+ * SQL eligibility expression. Omit to use the active-role default.
65
+ */
66
+ eligibility_sql?: string;
67
+
68
+ /**
69
+ * Optional payout group label.
70
+ */
71
+ group_name?: string;
72
+
73
+ /**
74
+ * ID of the created payout.
75
+ */
76
+ payout_id?: string;
77
+
78
+ /**
79
+ * Resulting payout status.
80
+ */
81
+ status?: string;
82
+ }
83
+
84
+ export namespace VariableCompensationPayoutWriteCreateResponse {
85
+ /**
86
+ * Payout amount.
87
+ */
88
+ export interface AmountBase {
89
+ /**
90
+ * Three-letter currency code.
91
+ */
92
+ currency_type: string;
93
+
94
+ /**
95
+ * Decimal payout amount encoded as a string.
96
+ */
97
+ value: string;
98
+ }
99
+ }
100
+
101
+ export interface VariableCompensationPayoutWriteCreateParams {
102
+ /**
103
+ * Payout amount.
104
+ */
105
+ amount_base: VariableCompensationPayoutWriteCreateParams.AmountBase;
106
+
107
+ /**
108
+ * RoleWithCompany ID for the payout recipient.
109
+ */
110
+ payee_id: string;
111
+
112
+ /**
113
+ * Company payout type key.
114
+ */
115
+ payment_type: string;
116
+
117
+ /**
118
+ * Date on which the payout is scheduled.
119
+ */
120
+ scheduled_date: string;
121
+
122
+ /**
123
+ * Optional markdown summary of the eligibility conditions.
124
+ */
125
+ ai_conditions_summary?: string;
126
+
127
+ /**
128
+ * SQL eligibility expression. Omit to use the active-role default.
129
+ */
130
+ eligibility_sql?: string;
131
+
132
+ /**
133
+ * Optional payout group label.
134
+ */
135
+ group_name?: string;
136
+ }
137
+
138
+ export namespace VariableCompensationPayoutWriteCreateParams {
139
+ /**
140
+ * Payout amount.
141
+ */
142
+ export interface AmountBase {
143
+ /**
144
+ * Three-letter currency code.
145
+ */
146
+ currency_type: string;
147
+
148
+ /**
149
+ * Decimal payout amount encoded as a string.
150
+ */
151
+ value: string;
152
+ }
153
+ }
154
+
155
+ export declare namespace VariableCompensationPayoutWrites {
156
+ export {
157
+ type VariableCompensationPayoutWriteCreateResponse as VariableCompensationPayoutWriteCreateResponse,
158
+ type VariableCompensationPayoutWriteCreateParams as VariableCompensationPayoutWriteCreateParams,
159
+ };
160
+ }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.2.0-alpha.91'; // x-release-please-version
1
+ export const VERSION = '0.2.0-alpha.92'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.2.0-alpha.91";
1
+ export declare const VERSION = "0.2.0-alpha.92";
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.91";
1
+ export declare const VERSION = "0.2.0-alpha.92";
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.91'; // x-release-please-version
4
+ exports.VERSION = '0.2.0-alpha.92'; // 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.91'; // x-release-please-version
1
+ export const VERSION = '0.2.0-alpha.92'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map