@factorialco/api-client 3.0.0-beta.2026100108 → 3.0.0-beta.2026100110

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.
@@ -1228,6 +1228,84 @@ export const getApi20261001ResourcesCompensationsCyclesById = (options) => (opti
1228
1228
  url: '/api/2026-10-01/resources/compensations/cycles/{id}',
1229
1229
  ...options
1230
1230
  });
1231
+ /**
1232
+ * Reads all Employees compensations
1233
+ *
1234
+ * Retrieves employee compensations (result_type=compensation)
1235
+ */
1236
+ export const getApi20261001ResourcesCompensationsEmployeesCompensations = (options) => (options?.client ?? client).get({
1237
+ security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
1238
+ url: '/api/2026-10-01/resources/compensations/employees_compensations',
1239
+ ...options
1240
+ });
1241
+ /**
1242
+ * Creates an Employees compensation
1243
+ *
1244
+ * Creates an employee compensation (dashboard-created, no source)
1245
+ */
1246
+ export const postApi20261001ResourcesCompensationsEmployeesCompensations = (options) => (options?.client ?? client).post({
1247
+ security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
1248
+ url: '/api/2026-10-01/resources/compensations/employees_compensations',
1249
+ ...options,
1250
+ headers: {
1251
+ 'Content-Type': 'application/json',
1252
+ ...options?.headers
1253
+ }
1254
+ });
1255
+ /**
1256
+ * Deletes an Employees compensation
1257
+ *
1258
+ * Deletes a dashboard-created employee compensation
1259
+ */
1260
+ export const deleteApi20261001ResourcesCompensationsEmployeesCompensationsById = (options) => (options.client ?? client).delete({
1261
+ security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
1262
+ url: '/api/2026-10-01/resources/compensations/employees_compensations/{id}',
1263
+ ...options
1264
+ });
1265
+ /**
1266
+ * Reads a single Employees compensation
1267
+ *
1268
+ * Retrieves employee compensations (result_type=compensation)
1269
+ */
1270
+ export const getApi20261001ResourcesCompensationsEmployeesCompensationsById = (options) => (options.client ?? client).get({
1271
+ security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
1272
+ url: '/api/2026-10-01/resources/compensations/employees_compensations/{id}',
1273
+ ...options
1274
+ });
1275
+ /**
1276
+ * Updates an Employees compensation
1277
+ *
1278
+ * Updates a dashboard-created employee compensation
1279
+ */
1280
+ export const putApi20261001ResourcesCompensationsEmployeesCompensationsById = (options) => (options.client ?? client).put({
1281
+ security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
1282
+ url: '/api/2026-10-01/resources/compensations/employees_compensations/{id}',
1283
+ ...options,
1284
+ headers: {
1285
+ 'Content-Type': 'application/json',
1286
+ ...options.headers
1287
+ }
1288
+ });
1289
+ /**
1290
+ * Reads all Payroll results
1291
+ *
1292
+ * Retrieves payroll result rows (result_type=payroll_result)
1293
+ */
1294
+ export const getApi20261001ResourcesCompensationsPayrollResults = (options) => (options?.client ?? client).get({
1295
+ security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
1296
+ url: '/api/2026-10-01/resources/compensations/payroll_results',
1297
+ ...options
1298
+ });
1299
+ /**
1300
+ * Reads a single Payroll result
1301
+ *
1302
+ * Retrieves payroll result rows (result_type=payroll_result)
1303
+ */
1304
+ export const getApi20261001ResourcesCompensationsPayrollResultsById = (options) => (options.client ?? client).get({
1305
+ security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
1306
+ url: '/api/2026-10-01/resources/compensations/payroll_results/{id}',
1307
+ ...options
1308
+ });
1231
1309
  /**
1232
1310
  * Reads all Payroll runs
1233
1311
  *
@@ -4402,6 +4480,46 @@ export const putApi20261001ResourcesPostsPostsById = (options) => (options.clien
4402
4480
  ...options.headers
4403
4481
  }
4404
4482
  });
4483
+ /**
4484
+ * Reads all Po field values
4485
+ *
4486
+ * Fetch field values for a purchase order.
4487
+ */
4488
+ export const getApi20261001ResourcesProcurementPoFieldValues = (options) => (options?.client ?? client).get({
4489
+ security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
4490
+ url: '/api/2026-10-01/resources/procurement/po_field_values',
4491
+ ...options
4492
+ });
4493
+ /**
4494
+ * Reads a single Po field value
4495
+ *
4496
+ * Fetch field values for a purchase order.
4497
+ */
4498
+ export const getApi20261001ResourcesProcurementPoFieldValuesById = (options) => (options.client ?? client).get({
4499
+ security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
4500
+ url: '/api/2026-10-01/resources/procurement/po_field_values/{id}',
4501
+ ...options
4502
+ });
4503
+ /**
4504
+ * Reads all Po line items
4505
+ *
4506
+ * Fetch line items for a purchase order.
4507
+ */
4508
+ export const getApi20261001ResourcesProcurementPoLineItems = (options) => (options?.client ?? client).get({
4509
+ security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
4510
+ url: '/api/2026-10-01/resources/procurement/po_line_items',
4511
+ ...options
4512
+ });
4513
+ /**
4514
+ * Reads a single Po line item
4515
+ *
4516
+ * Fetch line items for a purchase order.
4517
+ */
4518
+ export const getApi20261001ResourcesProcurementPoLineItemsById = (options) => (options.client ?? client).get({
4519
+ security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
4520
+ url: '/api/2026-10-01/resources/procurement/po_line_items/{id}',
4521
+ ...options
4522
+ });
4405
4523
  /**
4406
4524
  * Reads all Po templates
4407
4525
  *
@@ -5101,6 +5219,26 @@ export const postApi20261001ResourcesProjectManagementProjectWorkersUnassign = (
5101
5219
  ...options?.headers
5102
5220
  }
5103
5221
  });
5222
+ /**
5223
+ * Reads all Rates
5224
+ *
5225
+ * Read rates
5226
+ */
5227
+ export const getApi20261001ResourcesProjectManagementRates = (options) => (options.client ?? client).get({
5228
+ security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
5229
+ url: '/api/2026-10-01/resources/project_management/rates',
5230
+ ...options
5231
+ });
5232
+ /**
5233
+ * Reads a single Rate
5234
+ *
5235
+ * Read rates
5236
+ */
5237
+ export const getApi20261001ResourcesProjectManagementRatesById = (options) => (options.client ?? client).get({
5238
+ security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
5239
+ url: '/api/2026-10-01/resources/project_management/rates/{id}',
5240
+ ...options
5241
+ });
5104
5242
  /**
5105
5243
  * Reads all Subprojects
5106
5244
  *