@rippling/rippling-sdk 0.2.0-alpha.35 → 0.2.0-alpha.37

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 (149) hide show
  1. package/client.d.mts +13 -1
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +13 -1
  4. package/client.d.ts.map +1 -1
  5. package/client.js +13 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs +13 -1
  8. package/client.mjs.map +1 -1
  9. package/examples/.keep +4 -0
  10. package/examples/manifest/dental-practice-management/dental-practice-management.ts +638 -0
  11. package/examples/manifest/dental-practice-management/manifest.json +1870 -0
  12. package/examples/manifest/gym-membership-management/gym-membership-management.ts +746 -0
  13. package/examples/manifest/gym-membership-management/manifest.json +1975 -0
  14. package/examples/sdui/sdui-crud-todo/rippling-function.ts +367 -0
  15. package/examples/sdui/sdui-crud-todo/sdui-crud-todo.ts +282 -0
  16. package/examples/sdui/sdui-showcase/rippling-function.ts +381 -0
  17. package/examples/sdui/sdui-showcase/sdui-showcase.ts +351 -0
  18. package/examples/sdui/sdui-tab-multi-view/rippling-function.ts +1061 -0
  19. package/examples/sdui/sdui-tab-multi-view/sdui-tab-multi-view.ts +924 -0
  20. package/examples/sdui/vote/rippling-function.ts +330 -0
  21. package/examples/sdui/vote/vote.ts +298 -0
  22. package/internal/utils/log.d.mts.map +1 -1
  23. package/internal/utils/log.d.ts.map +1 -1
  24. package/internal/utils/log.js +2 -0
  25. package/internal/utils/log.js.map +1 -1
  26. package/internal/utils/log.mjs +2 -0
  27. package/internal/utils/log.mjs.map +1 -1
  28. package/lib/manifest/custom-object-field-section.d.mts +4 -0
  29. package/lib/manifest/custom-object-field-section.d.mts.map +1 -1
  30. package/lib/manifest/custom-object-field-section.d.ts +4 -0
  31. package/lib/manifest/custom-object-field-section.d.ts.map +1 -1
  32. package/lib/manifest/custom-object-field-section.js +6 -0
  33. package/lib/manifest/custom-object-field-section.js.map +1 -1
  34. package/lib/manifest/custom-object-field-section.mjs +6 -0
  35. package/lib/manifest/custom-object-field-section.mjs.map +1 -1
  36. package/lib/manifest/custom-object-page-layout.d.mts +21 -13
  37. package/lib/manifest/custom-object-page-layout.d.mts.map +1 -1
  38. package/lib/manifest/custom-object-page-layout.d.ts +21 -13
  39. package/lib/manifest/custom-object-page-layout.d.ts.map +1 -1
  40. package/lib/manifest/custom-object-page-layout.js +119 -9
  41. package/lib/manifest/custom-object-page-layout.js.map +1 -1
  42. package/lib/manifest/custom-object-page-layout.mjs +119 -9
  43. package/lib/manifest/custom-object-page-layout.mjs.map +1 -1
  44. package/lib/manifest/field.d.mts +5 -1
  45. package/lib/manifest/field.d.mts.map +1 -1
  46. package/lib/manifest/field.d.ts +5 -1
  47. package/lib/manifest/field.d.ts.map +1 -1
  48. package/lib/manifest/field.js +8 -0
  49. package/lib/manifest/field.js.map +1 -1
  50. package/lib/manifest/field.mjs +8 -0
  51. package/lib/manifest/field.mjs.map +1 -1
  52. package/lib/manifest/index.d.mts +1 -1
  53. package/lib/manifest/index.d.mts.map +1 -1
  54. package/lib/manifest/index.d.ts +1 -1
  55. package/lib/manifest/index.d.ts.map +1 -1
  56. package/lib/manifest/index.js.map +1 -1
  57. package/lib/manifest/index.mjs.map +1 -1
  58. package/package.json +11 -1
  59. package/resources/company-legal-entities.d.mts +180 -0
  60. package/resources/company-legal-entities.d.mts.map +1 -0
  61. package/resources/company-legal-entities.d.ts +180 -0
  62. package/resources/company-legal-entities.d.ts.map +1 -0
  63. package/resources/company-legal-entities.js +30 -0
  64. package/resources/company-legal-entities.js.map +1 -0
  65. package/resources/company-legal-entities.mjs +26 -0
  66. package/resources/company-legal-entities.mjs.map +1 -0
  67. package/resources/company-legal-entity-workers.d.mts +79 -0
  68. package/resources/company-legal-entity-workers.d.mts.map +1 -0
  69. package/resources/company-legal-entity-workers.d.ts +79 -0
  70. package/resources/company-legal-entity-workers.d.ts.map +1 -0
  71. package/resources/company-legal-entity-workers.js +30 -0
  72. package/resources/company-legal-entity-workers.js.map +1 -0
  73. package/resources/company-legal-entity-workers.mjs +26 -0
  74. package/resources/company-legal-entity-workers.mjs.map +1 -0
  75. package/resources/earning-types.d.mts +1 -6
  76. package/resources/earning-types.d.mts.map +1 -1
  77. package/resources/earning-types.d.ts +1 -6
  78. package/resources/earning-types.d.ts.map +1 -1
  79. package/resources/earning-types.js +1 -1
  80. package/resources/earning-types.mjs +1 -1
  81. package/resources/earnings-inputs.d.mts +1 -1
  82. package/resources/earnings-inputs.d.ts +1 -1
  83. package/resources/earnings-inputs.js +1 -1
  84. package/resources/earnings-inputs.mjs +1 -1
  85. package/resources/index.d.mts +3 -1
  86. package/resources/index.d.mts.map +1 -1
  87. package/resources/index.d.ts +3 -1
  88. package/resources/index.d.ts.map +1 -1
  89. package/resources/index.js +7 -3
  90. package/resources/index.js.map +1 -1
  91. package/resources/index.mjs +3 -1
  92. package/resources/index.mjs.map +1 -1
  93. package/resources/legal-entities.d.mts +1 -1
  94. package/resources/legal-entities.d.mts.map +1 -1
  95. package/resources/legal-entities.d.ts +1 -1
  96. package/resources/legal-entities.d.ts.map +1 -1
  97. package/resources/payroll-runs/index.d.mts +3 -0
  98. package/resources/payroll-runs/index.d.mts.map +1 -0
  99. package/resources/payroll-runs/index.d.ts +3 -0
  100. package/resources/payroll-runs/index.d.ts.map +1 -0
  101. package/resources/payroll-runs/index.js +9 -0
  102. package/resources/payroll-runs/index.js.map +1 -0
  103. package/resources/payroll-runs/index.mjs +4 -0
  104. package/resources/payroll-runs/index.mjs.map +1 -0
  105. package/resources/payroll-runs/payroll-runs.d.mts +199 -0
  106. package/resources/payroll-runs/payroll-runs.d.mts.map +1 -0
  107. package/resources/payroll-runs/payroll-runs.d.ts +199 -0
  108. package/resources/payroll-runs/payroll-runs.d.ts.map +1 -0
  109. package/resources/payroll-runs/payroll-runs.js +40 -0
  110. package/resources/payroll-runs/payroll-runs.js.map +1 -0
  111. package/resources/payroll-runs/payroll-runs.mjs +35 -0
  112. package/resources/payroll-runs/payroll-runs.mjs.map +1 -0
  113. package/resources/payroll-runs/worker-payroll-records.d.mts +200 -0
  114. package/resources/payroll-runs/worker-payroll-records.d.mts.map +1 -0
  115. package/resources/payroll-runs/worker-payroll-records.d.ts +200 -0
  116. package/resources/payroll-runs/worker-payroll-records.d.ts.map +1 -0
  117. package/resources/payroll-runs/worker-payroll-records.js +23 -0
  118. package/resources/payroll-runs/worker-payroll-records.js.map +1 -0
  119. package/resources/payroll-runs/worker-payroll-records.mjs +19 -0
  120. package/resources/payroll-runs/worker-payroll-records.mjs.map +1 -0
  121. package/resources/payroll-runs.d.mts +1 -194
  122. package/resources/payroll-runs.d.mts.map +1 -1
  123. package/resources/payroll-runs.d.ts +1 -194
  124. package/resources/payroll-runs.d.ts.map +1 -1
  125. package/resources/payroll-runs.js +2 -28
  126. package/resources/payroll-runs.js.map +1 -1
  127. package/resources/payroll-runs.mjs +1 -26
  128. package/resources/payroll-runs.mjs.map +1 -1
  129. package/src/client.ts +47 -7
  130. package/src/internal/utils/log.ts +2 -0
  131. package/src/lib/manifest/custom-object-field-section.ts +7 -0
  132. package/src/lib/manifest/custom-object-page-layout.ts +220 -18
  133. package/src/lib/manifest/field.ts +9 -1
  134. package/src/lib/manifest/index.ts +2 -0
  135. package/src/resources/company-legal-entities.ts +237 -0
  136. package/src/resources/company-legal-entity-workers.ts +115 -0
  137. package/src/resources/earning-types.ts +1 -7
  138. package/src/resources/earnings-inputs.ts +1 -1
  139. package/src/resources/index.ts +15 -1
  140. package/src/resources/legal-entities.ts +1 -1
  141. package/src/resources/payroll-runs/index.ts +15 -0
  142. package/src/resources/payroll-runs/payroll-runs.ts +270 -0
  143. package/src/resources/payroll-runs/worker-payroll-records.ts +255 -0
  144. package/src/resources/payroll-runs.ts +1 -249
  145. package/src/version.ts +1 -1
  146. package/version.d.mts +1 -1
  147. package/version.d.ts +1 -1
  148. package/version.js +1 -1
  149. package/version.mjs +1 -1
@@ -0,0 +1,180 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import * as BusinessPartnersAPI from "./business-partners.js";
3
+ import * as Shared from "./shared.js";
4
+ import { APIPromise } from "../core/api-promise.js";
5
+ import { PageCursorURL, PagePromise } from "../core/pagination.js";
6
+ import { RequestOptions } from "../internal/request-options.js";
7
+ /**
8
+ * Legal entities registered by the company
9
+ */
10
+ export declare class CompanyLegalEntities extends APIResource {
11
+ /**
12
+ * A list of company legal entities.
13
+ *
14
+ * - Requires: `API Tier 2`
15
+ * - Filterable fields: `country_code`
16
+ * - Sortable fields: `id`, `created_at`, `updated_at`
17
+ */
18
+ list(query?: CompanyLegalEntityListParams | null | undefined, options?: RequestOptions): PagePromise<CompanyLegalEntityListResponsesPageCursorURL, CompanyLegalEntityListResponse>;
19
+ /**
20
+ * Retrieve a specific company legal entity
21
+ */
22
+ retrieve(id: string, options?: RequestOptions): APIPromise<CompanyLegalEntityRetrieveResponse>;
23
+ }
24
+ export type CompanyLegalEntityListResponsesPageCursorURL = PageCursorURL<CompanyLegalEntityListResponse>;
25
+ export interface CompanyLegalEntityListResponse {
26
+ /**
27
+ * Identifier field
28
+ */
29
+ id: string;
30
+ /**
31
+ * Record creation date
32
+ */
33
+ created_at: string;
34
+ /**
35
+ * Record update date
36
+ */
37
+ updated_at: string;
38
+ /**
39
+ * The company associated with this entity relationship.
40
+ */
41
+ company_id?: string;
42
+ /**
43
+ * The ISO country code for the entity.
44
+ */
45
+ country_code?: string;
46
+ /**
47
+ * The entity's level in a hierarchy. _ `PARENT`: The legal entity is considered
48
+ * the ultimate holding entity. _ `SUBSIDIARY`: The legal entity is considered a
49
+ * subsidiary, fully or partially held by another. \* `BRANCH`: The legal entity is
50
+ * considered a branch, associated with a parent legal entity.
51
+ */
52
+ entity_level?: 'PARENT' | 'SUBSIDIARY' | 'BRANCH';
53
+ /**
54
+ * True if this entity relationship has been archived.
55
+ */
56
+ is_archived?: boolean;
57
+ /**
58
+ * True if this entity is managed as a Contractor of Record.
59
+ */
60
+ is_cor?: boolean;
61
+ /**
62
+ * True if this entity is managed as an Employer of Record.
63
+ */
64
+ is_eor?: boolean;
65
+ /**
66
+ * True if this entity is managed as a Professional Employment Organization.
67
+ */
68
+ is_peo?: boolean;
69
+ /**
70
+ * The legal name of the entity.
71
+ */
72
+ legal_name?: string;
73
+ /**
74
+ * The mailing address of the entity.
75
+ */
76
+ mailing_address?: Shared.Address;
77
+ /**
78
+ * The entity management type. _ `EOR`: The entity is managed as an Employer of
79
+ * Record. _ `COR`: The entity is managed as a Contractor of Record. _ `PEO`: The
80
+ * entity is managed as a Professional Employment Organization. _ `null`: The
81
+ * entity is a direct hire with no managed employment type.
82
+ */
83
+ management_type?: 'PEO' | 'EOR' | 'COR';
84
+ /**
85
+ * The physical address of the entity, if it differs from the mailing address.
86
+ */
87
+ physical_address?: Shared.Address;
88
+ /**
89
+ * The registration date of the entity.
90
+ */
91
+ registration_date?: string;
92
+ /**
93
+ * The tax identifier for this entity.
94
+ */
95
+ tax_identifier?: string;
96
+ }
97
+ /**
98
+ * Meta information for the response.
99
+ */
100
+ export interface CompanyLegalEntityRetrieveResponse extends BusinessPartnersAPI.Meta {
101
+ /**
102
+ * Identifier field
103
+ */
104
+ id: string;
105
+ /**
106
+ * Record creation date
107
+ */
108
+ created_at: string;
109
+ /**
110
+ * Record update date
111
+ */
112
+ updated_at: string;
113
+ /**
114
+ * The company associated with this entity relationship.
115
+ */
116
+ company_id?: string;
117
+ /**
118
+ * The ISO country code for the entity.
119
+ */
120
+ country_code?: string;
121
+ /**
122
+ * The entity's level in a hierarchy. _ `PARENT`: The legal entity is considered
123
+ * the ultimate holding entity. _ `SUBSIDIARY`: The legal entity is considered a
124
+ * subsidiary, fully or partially held by another. \* `BRANCH`: The legal entity is
125
+ * considered a branch, associated with a parent legal entity.
126
+ */
127
+ entity_level?: 'PARENT' | 'SUBSIDIARY' | 'BRANCH';
128
+ /**
129
+ * True if this entity relationship has been archived.
130
+ */
131
+ is_archived?: boolean;
132
+ /**
133
+ * True if this entity is managed as a Contractor of Record.
134
+ */
135
+ is_cor?: boolean;
136
+ /**
137
+ * True if this entity is managed as an Employer of Record.
138
+ */
139
+ is_eor?: boolean;
140
+ /**
141
+ * True if this entity is managed as a Professional Employment Organization.
142
+ */
143
+ is_peo?: boolean;
144
+ /**
145
+ * The legal name of the entity.
146
+ */
147
+ legal_name?: string;
148
+ /**
149
+ * The mailing address of the entity.
150
+ */
151
+ mailing_address?: Shared.Address;
152
+ /**
153
+ * The entity management type. _ `EOR`: The entity is managed as an Employer of
154
+ * Record. _ `COR`: The entity is managed as a Contractor of Record. _ `PEO`: The
155
+ * entity is managed as a Professional Employment Organization. _ `null`: The
156
+ * entity is a direct hire with no managed employment type.
157
+ */
158
+ management_type?: 'PEO' | 'EOR' | 'COR';
159
+ /**
160
+ * The physical address of the entity, if it differs from the mailing address.
161
+ */
162
+ physical_address?: Shared.Address;
163
+ /**
164
+ * The registration date of the entity.
165
+ */
166
+ registration_date?: string;
167
+ /**
168
+ * The tax identifier for this entity.
169
+ */
170
+ tax_identifier?: string;
171
+ }
172
+ export interface CompanyLegalEntityListParams {
173
+ cursor?: string;
174
+ filter?: string;
175
+ order_by?: string;
176
+ }
177
+ export declare namespace CompanyLegalEntities {
178
+ export { type CompanyLegalEntityListResponse as CompanyLegalEntityListResponse, type CompanyLegalEntityRetrieveResponse as CompanyLegalEntityRetrieveResponse, type CompanyLegalEntityListResponsesPageCursorURL as CompanyLegalEntityListResponsesPageCursorURL, type CompanyLegalEntityListParams as CompanyLegalEntityListParams, };
179
+ }
180
+ //# sourceMappingURL=company-legal-entities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"company-legal-entities.d.ts","sourceRoot":"","sources":["../src/resources/company-legal-entities.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB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AC7E,KAAK,4CAA4C,IAAI,4CAA4C,EACjG,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
@@ -0,0 +1,30 @@
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.CompanyLegalEntities = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ const pagination_1 = require("../core/pagination.js");
7
+ const path_1 = require("../internal/utils/path.js");
8
+ /**
9
+ * Legal entities registered by the company
10
+ */
11
+ class CompanyLegalEntities extends resource_1.APIResource {
12
+ /**
13
+ * A list of company legal entities.
14
+ *
15
+ * - Requires: `API Tier 2`
16
+ * - Filterable fields: `country_code`
17
+ * - Sortable fields: `id`, `created_at`, `updated_at`
18
+ */
19
+ list(query = {}, options) {
20
+ return this._client.getAPIList('/company-legal-entities/', (pagination_1.PageCursorURL), { query, ...options });
21
+ }
22
+ /**
23
+ * Retrieve a specific company legal entity
24
+ */
25
+ retrieve(id, options) {
26
+ return this._client.get((0, path_1.path) `/company-legal-entities/${id}/`, options);
27
+ }
28
+ }
29
+ exports.CompanyLegalEntities = CompanyLegalEntities;
30
+ //# sourceMappingURL=company-legal-entities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"company-legal-entities.js","sourceRoot":"","sources":["../src/resources/company-legal-entities.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAEhE,oDAA8C;AAE9C;;GAEG;AACH,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;;;;;OAMG;IACH,IAAI,CACF,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,0BAA0B,EAC1B,CAAA,0BAA6C,CAAA,EAC7C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,2BAA2B,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;CACF;AAzBD,oDAyBC"}
@@ -0,0 +1,26 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ import { PageCursorURL } from "../core/pagination.mjs";
4
+ import { path } from "../internal/utils/path.mjs";
5
+ /**
6
+ * Legal entities registered by the company
7
+ */
8
+ export class CompanyLegalEntities extends APIResource {
9
+ /**
10
+ * A list of company legal entities.
11
+ *
12
+ * - Requires: `API Tier 2`
13
+ * - Filterable fields: `country_code`
14
+ * - Sortable fields: `id`, `created_at`, `updated_at`
15
+ */
16
+ list(query = {}, options) {
17
+ return this._client.getAPIList('/company-legal-entities/', (PageCursorURL), { query, ...options });
18
+ }
19
+ /**
20
+ * Retrieve a specific company legal entity
21
+ */
22
+ retrieve(id, options) {
23
+ return this._client.get(path `/company-legal-entities/${id}/`, options);
24
+ }
25
+ }
26
+ //# sourceMappingURL=company-legal-entities.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"company-legal-entities.mjs","sourceRoot":"","sources":["../src/resources/company-legal-entities.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IACnD;;;;;;OAMG;IACH,IAAI,CACF,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,0BAA0B,EAC1B,CAAA,aAA6C,CAAA,EAC7C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,2BAA2B,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;CACF"}
@@ -0,0 +1,79 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import * as BusinessPartnersAPI from "./business-partners.mjs";
3
+ import { APIPromise } from "../core/api-promise.mjs";
4
+ import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
5
+ import { RequestOptions } from "../internal/request-options.mjs";
6
+ /**
7
+ * Workers who work or have worked at the company
8
+ */
9
+ export declare class CompanyLegalEntityWorkers extends APIResource {
10
+ /**
11
+ * A list of company-legal-entity-workers.
12
+ *
13
+ * - Requires: `API Tier 2`
14
+ * - Filterable fields: `status`, `company_entity_id`
15
+ * - Sortable fields: `id`, `created_at`, `updated_at`
16
+ */
17
+ list(query?: CompanyLegalEntityWorkerListParams | null | undefined, options?: RequestOptions): PagePromise<CompanyLegalEntityWorkerListResponsesPageCursorURL, CompanyLegalEntityWorkerListResponse>;
18
+ /**
19
+ * Retrieve a specific company-legal-entity-worker
20
+ */
21
+ retrieve(id: string, options?: RequestOptions): APIPromise<CompanyLegalEntityWorkerRetrieveResponse>;
22
+ }
23
+ export type CompanyLegalEntityWorkerListResponsesPageCursorURL = PageCursorURL<CompanyLegalEntityWorkerListResponse>;
24
+ export interface CompanyLegalEntityWorkerListResponse {
25
+ /**
26
+ * Identifier field
27
+ */
28
+ id: string;
29
+ /**
30
+ * Record creation date
31
+ */
32
+ created_at: string;
33
+ /**
34
+ * Record update date
35
+ */
36
+ updated_at: string;
37
+ /**
38
+ * The worker's associated company legal entity (CER ID).
39
+ */
40
+ company_entity_id?: string;
41
+ /**
42
+ * The worker's status within the organization.
43
+ */
44
+ status?: 'INIT' | 'HIRED' | 'ACCEPTED' | 'ACTIVE' | 'TERMINATED';
45
+ }
46
+ /**
47
+ * Meta information for the response.
48
+ */
49
+ export interface CompanyLegalEntityWorkerRetrieveResponse extends BusinessPartnersAPI.Meta {
50
+ /**
51
+ * Identifier field
52
+ */
53
+ id: string;
54
+ /**
55
+ * Record creation date
56
+ */
57
+ created_at: string;
58
+ /**
59
+ * Record update date
60
+ */
61
+ updated_at: string;
62
+ /**
63
+ * The worker's associated company legal entity (CER ID).
64
+ */
65
+ company_entity_id?: string;
66
+ /**
67
+ * The worker's status within the organization.
68
+ */
69
+ status?: 'INIT' | 'HIRED' | 'ACCEPTED' | 'ACTIVE' | 'TERMINATED';
70
+ }
71
+ export interface CompanyLegalEntityWorkerListParams {
72
+ cursor?: string;
73
+ filter?: string;
74
+ order_by?: string;
75
+ }
76
+ export declare namespace CompanyLegalEntityWorkers {
77
+ export { type CompanyLegalEntityWorkerListResponse as CompanyLegalEntityWorkerListResponse, type CompanyLegalEntityWorkerRetrieveResponse as CompanyLegalEntityWorkerRetrieveResponse, type CompanyLegalEntityWorkerListResponsesPageCursorURL as CompanyLegalEntityWorkerListResponsesPageCursorURL, type CompanyLegalEntityWorkerListParams as CompanyLegalEntityWorkerListParams, };
78
+ }
79
+ //# sourceMappingURL=company-legal-entity-workers.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"company-legal-entity-workers.d.mts","sourceRoot":"","sources":["../src/resources/company-legal-entity-workers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,WAAW;IACxD;;;;;;OAMG;IACH,IAAI,CACF,KAAK,GAAE,kCAAkC,GAAG,IAAI,GAAG,SAAc,EACjE,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,kDAAkD,EAAE,oCAAoC,CAAC;IAQxG;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wCAAwC,CAAC;CAGrG;AAED,MAAM,MAAM,kDAAkD,GAC5D,aAAa,CAAC,oCAAoC,CAAC,CAAC;AAEtD,MAAM,WAAW,oCAAoC;IACnD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,YAAY,CAAC;CAClE;AAED;;GAEG;AACH,MAAM,WAAW,wCAAyC,SAAQ,mBAAmB,CAAC,IAAI;IACxF;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,YAAY,CAAC;CAClE;AAED,MAAM,WAAW,kCAAkC;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,yBAAyB,CAAC;IACjD,OAAO,EACL,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,kDAAkD,IAAI,kDAAkD,EAC7G,KAAK,kCAAkC,IAAI,kCAAkC,GAC9E,CAAC;CACH"}
@@ -0,0 +1,79 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import * as BusinessPartnersAPI from "./business-partners.js";
3
+ import { APIPromise } from "../core/api-promise.js";
4
+ import { PageCursorURL, PagePromise } from "../core/pagination.js";
5
+ import { RequestOptions } from "../internal/request-options.js";
6
+ /**
7
+ * Workers who work or have worked at the company
8
+ */
9
+ export declare class CompanyLegalEntityWorkers extends APIResource {
10
+ /**
11
+ * A list of company-legal-entity-workers.
12
+ *
13
+ * - Requires: `API Tier 2`
14
+ * - Filterable fields: `status`, `company_entity_id`
15
+ * - Sortable fields: `id`, `created_at`, `updated_at`
16
+ */
17
+ list(query?: CompanyLegalEntityWorkerListParams | null | undefined, options?: RequestOptions): PagePromise<CompanyLegalEntityWorkerListResponsesPageCursorURL, CompanyLegalEntityWorkerListResponse>;
18
+ /**
19
+ * Retrieve a specific company-legal-entity-worker
20
+ */
21
+ retrieve(id: string, options?: RequestOptions): APIPromise<CompanyLegalEntityWorkerRetrieveResponse>;
22
+ }
23
+ export type CompanyLegalEntityWorkerListResponsesPageCursorURL = PageCursorURL<CompanyLegalEntityWorkerListResponse>;
24
+ export interface CompanyLegalEntityWorkerListResponse {
25
+ /**
26
+ * Identifier field
27
+ */
28
+ id: string;
29
+ /**
30
+ * Record creation date
31
+ */
32
+ created_at: string;
33
+ /**
34
+ * Record update date
35
+ */
36
+ updated_at: string;
37
+ /**
38
+ * The worker's associated company legal entity (CER ID).
39
+ */
40
+ company_entity_id?: string;
41
+ /**
42
+ * The worker's status within the organization.
43
+ */
44
+ status?: 'INIT' | 'HIRED' | 'ACCEPTED' | 'ACTIVE' | 'TERMINATED';
45
+ }
46
+ /**
47
+ * Meta information for the response.
48
+ */
49
+ export interface CompanyLegalEntityWorkerRetrieveResponse extends BusinessPartnersAPI.Meta {
50
+ /**
51
+ * Identifier field
52
+ */
53
+ id: string;
54
+ /**
55
+ * Record creation date
56
+ */
57
+ created_at: string;
58
+ /**
59
+ * Record update date
60
+ */
61
+ updated_at: string;
62
+ /**
63
+ * The worker's associated company legal entity (CER ID).
64
+ */
65
+ company_entity_id?: string;
66
+ /**
67
+ * The worker's status within the organization.
68
+ */
69
+ status?: 'INIT' | 'HIRED' | 'ACCEPTED' | 'ACTIVE' | 'TERMINATED';
70
+ }
71
+ export interface CompanyLegalEntityWorkerListParams {
72
+ cursor?: string;
73
+ filter?: string;
74
+ order_by?: string;
75
+ }
76
+ export declare namespace CompanyLegalEntityWorkers {
77
+ export { type CompanyLegalEntityWorkerListResponse as CompanyLegalEntityWorkerListResponse, type CompanyLegalEntityWorkerRetrieveResponse as CompanyLegalEntityWorkerRetrieveResponse, type CompanyLegalEntityWorkerListResponsesPageCursorURL as CompanyLegalEntityWorkerListResponsesPageCursorURL, type CompanyLegalEntityWorkerListParams as CompanyLegalEntityWorkerListParams, };
78
+ }
79
+ //# sourceMappingURL=company-legal-entity-workers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"company-legal-entity-workers.d.ts","sourceRoot":"","sources":["../src/resources/company-legal-entity-workers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,WAAW;IACxD;;;;;;OAMG;IACH,IAAI,CACF,KAAK,GAAE,kCAAkC,GAAG,IAAI,GAAG,SAAc,EACjE,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,kDAAkD,EAAE,oCAAoC,CAAC;IAQxG;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wCAAwC,CAAC;CAGrG;AAED,MAAM,MAAM,kDAAkD,GAC5D,aAAa,CAAC,oCAAoC,CAAC,CAAC;AAEtD,MAAM,WAAW,oCAAoC;IACnD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,YAAY,CAAC;CAClE;AAED;;GAEG;AACH,MAAM,WAAW,wCAAyC,SAAQ,mBAAmB,CAAC,IAAI;IACxF;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,YAAY,CAAC;CAClE;AAED,MAAM,WAAW,kCAAkC;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,yBAAyB,CAAC;IACjD,OAAO,EACL,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,kDAAkD,IAAI,kDAAkD,EAC7G,KAAK,kCAAkC,IAAI,kCAAkC,GAC9E,CAAC;CACH"}
@@ -0,0 +1,30 @@
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.CompanyLegalEntityWorkers = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ const pagination_1 = require("../core/pagination.js");
7
+ const path_1 = require("../internal/utils/path.js");
8
+ /**
9
+ * Workers who work or have worked at the company
10
+ */
11
+ class CompanyLegalEntityWorkers extends resource_1.APIResource {
12
+ /**
13
+ * A list of company-legal-entity-workers.
14
+ *
15
+ * - Requires: `API Tier 2`
16
+ * - Filterable fields: `status`, `company_entity_id`
17
+ * - Sortable fields: `id`, `created_at`, `updated_at`
18
+ */
19
+ list(query = {}, options) {
20
+ return this._client.getAPIList('/company-legal-entity-workers/', (pagination_1.PageCursorURL), { query, ...options });
21
+ }
22
+ /**
23
+ * Retrieve a specific company-legal-entity-worker
24
+ */
25
+ retrieve(id, options) {
26
+ return this._client.get((0, path_1.path) `/company-legal-entity-workers/${id}/`, options);
27
+ }
28
+ }
29
+ exports.CompanyLegalEntityWorkers = CompanyLegalEntityWorkers;
30
+ //# sourceMappingURL=company-legal-entity-workers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"company-legal-entity-workers.js","sourceRoot":"","sources":["../src/resources/company-legal-entity-workers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAgE;AAEhE,oDAA8C;AAE9C;;GAEG;AACH,MAAa,yBAA0B,SAAQ,sBAAW;IACxD;;;;;;OAMG;IACH,IAAI,CACF,QAA+D,EAAE,EACjE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,gCAAgC,EAChC,CAAA,0BAAmD,CAAA,EACnD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,iCAAiC,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;CACF;AAzBD,8DAyBC"}
@@ -0,0 +1,26 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ import { PageCursorURL } from "../core/pagination.mjs";
4
+ import { path } from "../internal/utils/path.mjs";
5
+ /**
6
+ * Workers who work or have worked at the company
7
+ */
8
+ export class CompanyLegalEntityWorkers extends APIResource {
9
+ /**
10
+ * A list of company-legal-entity-workers.
11
+ *
12
+ * - Requires: `API Tier 2`
13
+ * - Filterable fields: `status`, `company_entity_id`
14
+ * - Sortable fields: `id`, `created_at`, `updated_at`
15
+ */
16
+ list(query = {}, options) {
17
+ return this._client.getAPIList('/company-legal-entity-workers/', (PageCursorURL), { query, ...options });
18
+ }
19
+ /**
20
+ * Retrieve a specific company-legal-entity-worker
21
+ */
22
+ retrieve(id, options) {
23
+ return this._client.get(path `/company-legal-entity-workers/${id}/`, options);
24
+ }
25
+ }
26
+ //# sourceMappingURL=company-legal-entity-workers.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"company-legal-entity-workers.mjs","sourceRoot":"","sources":["../src/resources/company-legal-entity-workers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,yBAA0B,SAAQ,WAAW;IACxD;;;;;;OAMG;IACH,IAAI,CACF,QAA+D,EAAE,EACjE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,gCAAgC,EAChC,CAAA,aAAmD,CAAA,EACnD,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,iCAAiC,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;CACF"}
@@ -8,7 +8,7 @@ export declare class EarningTypes extends APIResource {
8
8
  /**
9
9
  * A list of earning-types.
10
10
  *
11
- * - Requires: `Payroll API`
11
+ * - Requires: `Global Payroll`
12
12
  */
13
13
  list(options?: RequestOptions): PagePromise<EarningTypeListResponsesPageCursorURL, EarningTypeListResponse>;
14
14
  }
@@ -24,11 +24,6 @@ export interface EarningTypeListResponse {
24
24
  * Unique identifier for the earning type.
25
25
  */
26
26
  id?: string;
27
- /**
28
- * Company entity relationship identifier (CER ID) linking the earning type to the
29
- * HRIS legal entity.
30
- */
31
- company_entity_id?: string;
32
27
  /**
33
28
  * ISO country code where the earning type applies.
34
29
  */
@@ -1 +1 @@
1
- {"version":3,"file":"earning-types.d.mts","sourceRoot":"","sources":["../src/resources/earning-types.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;OAIG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,qCAAqC,EAAE,uBAAuB,CAAC;CAG/E;AAED,MAAM,MAAM,qCAAqC,GAAG,aAAa,CAAC,uBAAuB,CAAC,CAAC;AAE3F;;;;;GAKG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qCAAqC,IAAI,qCAAqC,GACpF,CAAC;CACH"}
1
+ {"version":3,"file":"earning-types.d.mts","sourceRoot":"","sources":["../src/resources/earning-types.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;OAIG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,qCAAqC,EAAE,uBAAuB,CAAC;CAG/E;AAED,MAAM,MAAM,qCAAqC,GAAG,aAAa,CAAC,uBAAuB,CAAC,CAAC;AAE3F;;;;;GAKG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qCAAqC,IAAI,qCAAqC,GACpF,CAAC;CACH"}
@@ -8,7 +8,7 @@ export declare class EarningTypes extends APIResource {
8
8
  /**
9
9
  * A list of earning-types.
10
10
  *
11
- * - Requires: `Payroll API`
11
+ * - Requires: `Global Payroll`
12
12
  */
13
13
  list(options?: RequestOptions): PagePromise<EarningTypeListResponsesPageCursorURL, EarningTypeListResponse>;
14
14
  }
@@ -24,11 +24,6 @@ export interface EarningTypeListResponse {
24
24
  * Unique identifier for the earning type.
25
25
  */
26
26
  id?: string;
27
- /**
28
- * Company entity relationship identifier (CER ID) linking the earning type to the
29
- * HRIS legal entity.
30
- */
31
- company_entity_id?: string;
32
27
  /**
33
28
  * ISO country code where the earning type applies.
34
29
  */
@@ -1 +1 @@
1
- {"version":3,"file":"earning-types.d.ts","sourceRoot":"","sources":["../src/resources/earning-types.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;OAIG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,qCAAqC,EAAE,uBAAuB,CA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KAAK,qCAAqC,IAAI,qCAAqC,GACpF,CAAC;CACH"}
@@ -11,7 +11,7 @@ class EarningTypes extends resource_1.APIResource {
11
11
  /**
12
12
  * A list of earning-types.
13
13
  *
14
- * - Requires: `Payroll API`
14
+ * - Requires: `Global Payroll`
15
15
  */
16
16
  list(options) {
17
17
  return this._client.getAPIList('/earning-types/', (pagination_1.PageCursorURL), options);
@@ -8,7 +8,7 @@ export class EarningTypes extends APIResource {
8
8
  /**
9
9
  * A list of earning-types.
10
10
  *
11
- * - Requires: `Payroll API`
11
+ * - Requires: `Global Payroll`
12
12
  */
13
13
  list(options) {
14
14
  return this._client.getAPIList('/earning-types/', (PageCursorURL), options);
@@ -9,7 +9,7 @@ export declare class EarningsInputs extends APIResource {
9
9
  /**
10
10
  * A list of earnings-inputs.
11
11
  *
12
- * - Requires: `Payroll API`
12
+ * - Requires: `Global Payroll`
13
13
  */
14
14
  list(options?: RequestOptions): PagePromise<EarningsInputListResponsesPageCursorURL, EarningsInputListResponse>;
15
15
  /**
@@ -9,7 +9,7 @@ export declare class EarningsInputs extends APIResource {
9
9
  /**
10
10
  * A list of earnings-inputs.
11
11
  *
12
- * - Requires: `Payroll API`
12
+ * - Requires: `Global Payroll`
13
13
  */
14
14
  list(options?: RequestOptions): PagePromise<EarningsInputListResponsesPageCursorURL, EarningsInputListResponse>;
15
15
  /**
@@ -13,7 +13,7 @@ class EarningsInputs extends resource_1.APIResource {
13
13
  /**
14
14
  * A list of earnings-inputs.
15
15
  *
16
- * - Requires: `Payroll API`
16
+ * - Requires: `Global Payroll`
17
17
  */
18
18
  list(options) {
19
19
  return this._client.getAPIList('/earnings-inputs/', (pagination_1.PageCursorURL), options);
@@ -10,7 +10,7 @@ export class EarningsInputs extends APIResource {
10
10
  /**
11
11
  * A list of earnings-inputs.
12
12
  *
13
- * - Requires: `Payroll API`
13
+ * - Requires: `Global Payroll`
14
14
  */
15
15
  list(options) {
16
16
  return this._client.getAPIList('/earnings-inputs/', (PageCursorURL), options);
@@ -4,6 +4,8 @@ export { BusinessPartners, type BusinessPartner, type Meta, type BusinessPartner
4
4
  export { CandidateApplications, type CandidateApplicationListResponse, type CandidateApplicationListParams, type CandidateApplicationListResponsesPageCursorURL, } from "./candidate-applications.mjs";
5
5
  export { Candidates, type CandidateListResponse, type CandidateListParams, type CandidateListResponsesPageCursorURL, } from "./candidates.mjs";
6
6
  export { Companies, type Company, type CompanyListParams, type CompaniesPageCursorURL } from "./companies.mjs";
7
+ export { CompanyLegalEntities, type CompanyLegalEntityListResponse, type CompanyLegalEntityRetrieveResponse, type CompanyLegalEntityListParams, type CompanyLegalEntityListResponsesPageCursorURL, } from "./company-legal-entities.mjs";
8
+ export { CompanyLegalEntityWorkers, type CompanyLegalEntityWorkerListResponse, type CompanyLegalEntityWorkerRetrieveResponse, type CompanyLegalEntityWorkerListParams, type CompanyLegalEntityWorkerListResponsesPageCursorURL, } from "./company-legal-entity-workers.mjs";
7
9
  export { CompensationBandsDetails, type CompensationBandsDetailListResponse, type CompensationBandsDetailRetrieveResponse, type CompensationBandsDetailListParams, type CompensationBandsDetailRetrieveParams, type CompensationBandsDetailListResponsesPageCursorURL, } from "./compensation-bands-details.mjs";
8
10
  export { Compensations, type Compensation, type CompensationRetrieveResponse, type CompensationListParams, type CompensationRetrieveParams, type CompensationsPageCursorURL, } from "./compensations.mjs";
9
11
  export { CustomApps, type CustomAppListResponse, type CustomAppCreateResponse, type CustomAppRetrieveResponse, type CustomAppUpdateResponse, type CustomAppCreateParams, type CustomAppUpdateParams, type CustomAppListResponsesPageCursorURL, } from "./custom-apps.mjs";
@@ -38,7 +40,7 @@ export { Levels, type Level, type LevelRetrieveResponse, type LevelListParams, t
38
40
  export { LocationFactors, type LocationFactorListResponse, type LocationFactorRetrieveResponse, type LocationFactorListParams, type LocationFactorListResponsesPageCursorURL, } from "./location-factors.mjs";
39
41
  export { Metadata, type MetadataListResponse, type MetadataListResponsesPageCursorURL, } from "./metadata/metadata.mjs";
40
42
  export { ObjectCategories, type ObjectCategory, type ObjectCategoryCreateParams, type ObjectCategoryUpdateParams, type ObjectCategoriesPageCursorURL, } from "./object-categories.mjs";
41
- export { PayrollRuns, type PayrollRunListResponse, type PayrollRunRetrieveResponse, type PayrollRunListParams, type PayrollRunListResponsesPageCursorURL, } from "./payroll-runs.mjs";
43
+ export { PayrollRuns, type PayrollRunListResponse, type PayrollRunRetrieveResponse, type PayrollRunListParams, type PayrollRunListResponsesPageCursorURL, } from "./payroll-runs/payroll-runs.mjs";
42
44
  export { PlatformCapabilities, type PlatformCapabilityListResponse, type PlatformCapabilityListResponsesPageCursorURL, } from "./platform-capabilities.mjs";
43
45
  export { ReportRuns, type ReportRunCreateResponse, type ReportRunRetrieveResponse, type ReportRunCreateParams, } from "./report-runs.mjs";
44
46
  export { Reports, type ReportRetrieveResponse } from "./reports/reports.mjs";