@factorialco/api-client 3.0.0-beta.2026100133 → 3.0.0-beta.2026100134
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.
- package/dist/cjs/generated/index.d.ts +2 -2
- package/dist/cjs/generated/index.d.ts.map +1 -1
- package/dist/cjs/generated/index.js +14 -11
- package/dist/cjs/generated/index.js.map +1 -1
- package/dist/cjs/generated/sdk.gen.d.ts +19 -1
- package/dist/cjs/generated/sdk.gen.d.ts.map +1 -1
- package/dist/cjs/generated/sdk.gen.js +86 -53
- package/dist/cjs/generated/sdk.gen.js.map +1 -1
- package/dist/cjs/generated/types.gen.d.ts +140 -0
- package/dist/cjs/generated/types.gen.d.ts.map +1 -1
- package/dist/cjs/sdk.d.ts +51 -1
- package/dist/cjs/sdk.d.ts.map +1 -1
- package/dist/cjs/sdk.js +61 -5
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/generated/index.d.ts +2 -2
- package/dist/esm/generated/index.d.ts.map +1 -1
- package/dist/esm/generated/index.js +1 -1
- package/dist/esm/generated/index.js.map +1 -1
- package/dist/esm/generated/sdk.gen.d.ts +19 -1
- package/dist/esm/generated/sdk.gen.d.ts.map +1 -1
- package/dist/esm/generated/sdk.gen.js +72 -42
- package/dist/esm/generated/sdk.gen.js.map +1 -1
- package/dist/esm/generated/types.gen.d.ts +140 -0
- package/dist/esm/generated/types.gen.d.ts.map +1 -1
- package/dist/esm/sdk.d.ts +51 -1
- package/dist/esm/sdk.d.ts.map +1 -1
- package/dist/esm/sdk.js +55 -1
- package/dist/esm/sdk.js.map +1 -1
- package/package.json +1 -1
|
@@ -1068,7 +1068,7 @@ export const postApi20261001ResourcesBankingBankAccountsCreateManual = (options)
|
|
|
1068
1068
|
* Reads all Card payments
|
|
1069
1069
|
*/
|
|
1070
1070
|
export const getApi20261001ResourcesBankingCardPayments = (options) => (options?.client ?? client).get({
|
|
1071
|
-
security: [{
|
|
1071
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1072
1072
|
url: '/api/2026-10-01/resources/banking/card_payments',
|
|
1073
1073
|
...options
|
|
1074
1074
|
});
|
|
@@ -1078,7 +1078,7 @@ export const getApi20261001ResourcesBankingCardPayments = (options) => (options?
|
|
|
1078
1078
|
* Reads a single Card payment
|
|
1079
1079
|
*/
|
|
1080
1080
|
export const getApi20261001ResourcesBankingCardPaymentsById = (options) => (options.client ?? client).get({
|
|
1081
|
-
security: [{
|
|
1081
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1082
1082
|
url: '/api/2026-10-01/resources/banking/card_payments/{id}',
|
|
1083
1083
|
...options
|
|
1084
1084
|
});
|
|
@@ -1152,7 +1152,7 @@ export const getApi20261001ResourcesCompaniesLegalEntities = (options) => (optio
|
|
|
1152
1152
|
* Creates a Legal entity
|
|
1153
1153
|
*/
|
|
1154
1154
|
export const postApi20261001ResourcesCompaniesLegalEntities = (options) => (options?.client ?? client).post({
|
|
1155
|
-
security: [{
|
|
1155
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1156
1156
|
url: '/api/2026-10-01/resources/companies/legal_entities',
|
|
1157
1157
|
...options,
|
|
1158
1158
|
headers: {
|
|
@@ -1472,6 +1472,36 @@ export const putApi20261001ResourcesContractsCompensationsById = (options) => (o
|
|
|
1472
1472
|
...options.headers
|
|
1473
1473
|
}
|
|
1474
1474
|
});
|
|
1475
|
+
/**
|
|
1476
|
+
* Reads all Contracts
|
|
1477
|
+
*
|
|
1478
|
+
* Reads all Contracts
|
|
1479
|
+
*/
|
|
1480
|
+
export const getApi20261001ResourcesContractsContracts = (options) => (options?.client ?? client).get({
|
|
1481
|
+
security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
|
|
1482
|
+
url: '/api/2026-10-01/resources/contracts/contracts',
|
|
1483
|
+
...options
|
|
1484
|
+
});
|
|
1485
|
+
/**
|
|
1486
|
+
* Reads a single Contract
|
|
1487
|
+
*
|
|
1488
|
+
* Reads a single Contract
|
|
1489
|
+
*/
|
|
1490
|
+
export const getApi20261001ResourcesContractsContractsById = (options) => (options.client ?? client).get({
|
|
1491
|
+
security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
|
|
1492
|
+
url: '/api/2026-10-01/resources/contracts/contracts/{id}',
|
|
1493
|
+
...options
|
|
1494
|
+
});
|
|
1495
|
+
/**
|
|
1496
|
+
* List the activity periods of a contract.
|
|
1497
|
+
*
|
|
1498
|
+
* Returns the activity and inactivity periods of a single contract, most recent first. Periods are derived from the contract's approved versions, so they reflect the contract as it stands today. A contract that does not exist, or that the caller is not allowed to see, returns an empty list.
|
|
1499
|
+
*/
|
|
1500
|
+
export const getApi20261001ResourcesContractsContractActivityPeriods = (options) => (options.client ?? client).get({
|
|
1501
|
+
security: [{ scheme: 'bearer', type: 'http' }, { name: 'x-api-key', type: 'apiKey' }],
|
|
1502
|
+
url: '/api/2026-10-01/resources/contracts/contract_activity_periods',
|
|
1503
|
+
...options
|
|
1504
|
+
});
|
|
1475
1505
|
/**
|
|
1476
1506
|
* Reads all Contract templates
|
|
1477
1507
|
*
|
|
@@ -1982,7 +2012,7 @@ export const putApi20261001ResourcesCustomFieldsValuesById = (options) => (optio
|
|
|
1982
2012
|
* Reads all Resources
|
|
1983
2013
|
*/
|
|
1984
2014
|
export const getApi20261001ResourcesCustomResourcesResources = (options) => (options?.client ?? client).get({
|
|
1985
|
-
security: [{
|
|
2015
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1986
2016
|
url: '/api/2026-10-01/resources/custom_resources/resources',
|
|
1987
2017
|
...options
|
|
1988
2018
|
});
|
|
@@ -1992,7 +2022,7 @@ export const getApi20261001ResourcesCustomResourcesResources = (options) => (opt
|
|
|
1992
2022
|
* Reads a single Resource
|
|
1993
2023
|
*/
|
|
1994
2024
|
export const getApi20261001ResourcesCustomResourcesResourcesById = (options) => (options.client ?? client).get({
|
|
1995
|
-
security: [{
|
|
2025
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1996
2026
|
url: '/api/2026-10-01/resources/custom_resources/resources/{id}',
|
|
1997
2027
|
...options
|
|
1998
2028
|
});
|
|
@@ -2707,7 +2737,7 @@ export const getApi20261001ResourcesFinanceContactsById = (options) => (options.
|
|
|
2707
2737
|
* Updates a Contact
|
|
2708
2738
|
*/
|
|
2709
2739
|
export const putApi20261001ResourcesFinanceContactsById = (options) => (options.client ?? client).put({
|
|
2710
|
-
security: [{
|
|
2740
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2711
2741
|
url: '/api/2026-10-01/resources/finance/contacts/{id}',
|
|
2712
2742
|
...options,
|
|
2713
2743
|
headers: {
|
|
@@ -2933,7 +2963,7 @@ export const getApi20261001ResourcesFinanceLedgerAccountResourcesById = (options
|
|
|
2933
2963
|
* Create or update a ledger account resource.
|
|
2934
2964
|
*/
|
|
2935
2965
|
export const postApi20261001ResourcesFinanceLedgerAccountResourcesUpsert = (options) => (options?.client ?? client).post({
|
|
2936
|
-
security: [{
|
|
2966
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2937
2967
|
url: '/api/2026-10-01/resources/finance/ledger_account_resources/upsert',
|
|
2938
2968
|
...options,
|
|
2939
2969
|
headers: {
|
|
@@ -2981,7 +3011,7 @@ export const getApi20261001ResourcesFinanceTaxRatesById = (options) => (options.
|
|
|
2981
3011
|
* Updates a Tax rate
|
|
2982
3012
|
*/
|
|
2983
3013
|
export const putApi20261001ResourcesFinanceTaxRatesById = (options) => (options.client ?? client).put({
|
|
2984
|
-
security: [{
|
|
3014
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2985
3015
|
url: '/api/2026-10-01/resources/finance/tax_rates/{id}',
|
|
2986
3016
|
...options,
|
|
2987
3017
|
headers: {
|
|
@@ -3029,7 +3059,7 @@ export const getApi20261001ResourcesFinanceTaxTypesById = (options) => (options.
|
|
|
3029
3059
|
* Updates a Tax type
|
|
3030
3060
|
*/
|
|
3031
3061
|
export const putApi20261001ResourcesFinanceTaxTypesById = (options) => (options.client ?? client).put({
|
|
3032
|
-
security: [{
|
|
3062
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
3033
3063
|
url: '/api/2026-10-01/resources/finance/tax_types/{id}',
|
|
3034
3064
|
...options,
|
|
3035
3065
|
headers: {
|
|
@@ -3534,7 +3564,7 @@ export const getApi20261001ResourcesPayrollFamilySituations = (options) => (opti
|
|
|
3534
3564
|
* Create a family situation.
|
|
3535
3565
|
*/
|
|
3536
3566
|
export const postApi20261001ResourcesPayrollFamilySituations = (options) => (options?.client ?? client).post({
|
|
3537
|
-
security: [{
|
|
3567
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
3538
3568
|
url: '/api/2026-10-01/resources/payroll/family_situations',
|
|
3539
3569
|
...options,
|
|
3540
3570
|
headers: {
|
|
@@ -4036,7 +4066,7 @@ export const getApi20261001ResourcesPerformanceReviewProcessesById = (options) =
|
|
|
4036
4066
|
* Create a new review process from a template.
|
|
4037
4067
|
*/
|
|
4038
4068
|
export const postApi20261001ResourcesPerformanceReviewProcessesCreateFromTemplate = (options) => (options?.client ?? client).post({
|
|
4039
|
-
security: [{
|
|
4069
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4040
4070
|
url: '/api/2026-10-01/resources/performance/review_processes/create_from_template',
|
|
4041
4071
|
...options,
|
|
4042
4072
|
headers: {
|
|
@@ -4274,7 +4304,7 @@ export const postApi20261001ResourcesPerformanceReviewProcessesUpdateTargetStrat
|
|
|
4274
4304
|
* Retrieves the templates for the company.
|
|
4275
4305
|
*/
|
|
4276
4306
|
export const getApi20261001ResourcesPerformanceReviewProcessCustomTemplates = (options) => (options?.client ?? client).get({
|
|
4277
|
-
security: [{
|
|
4307
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4278
4308
|
url: '/api/2026-10-01/resources/performance/review_process_custom_templates',
|
|
4279
4309
|
...options
|
|
4280
4310
|
});
|
|
@@ -4284,7 +4314,7 @@ export const getApi20261001ResourcesPerformanceReviewProcessCustomTemplates = (o
|
|
|
4284
4314
|
* Retrieves the templates for the company.
|
|
4285
4315
|
*/
|
|
4286
4316
|
export const getApi20261001ResourcesPerformanceReviewProcessCustomTemplatesById = (options) => (options.client ?? client).get({
|
|
4287
|
-
security: [{
|
|
4317
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4288
4318
|
url: '/api/2026-10-01/resources/performance/review_process_custom_templates/{id}',
|
|
4289
4319
|
...options
|
|
4290
4320
|
});
|
|
@@ -4676,7 +4706,7 @@ export const putApi20261001ResourcesPostsPostsById = (options) => (options.clien
|
|
|
4676
4706
|
* Fetch field values for a purchase order.
|
|
4677
4707
|
*/
|
|
4678
4708
|
export const getApi20261001ResourcesProcurementPoFieldValues = (options) => (options?.client ?? client).get({
|
|
4679
|
-
security: [{
|
|
4709
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4680
4710
|
url: '/api/2026-10-01/resources/procurement/po_field_values',
|
|
4681
4711
|
...options
|
|
4682
4712
|
});
|
|
@@ -4686,7 +4716,7 @@ export const getApi20261001ResourcesProcurementPoFieldValues = (options) => (opt
|
|
|
4686
4716
|
* Fetch field values for a purchase order.
|
|
4687
4717
|
*/
|
|
4688
4718
|
export const getApi20261001ResourcesProcurementPoFieldValuesById = (options) => (options.client ?? client).get({
|
|
4689
|
-
security: [{
|
|
4719
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4690
4720
|
url: '/api/2026-10-01/resources/procurement/po_field_values/{id}',
|
|
4691
4721
|
...options
|
|
4692
4722
|
});
|
|
@@ -4696,7 +4726,7 @@ export const getApi20261001ResourcesProcurementPoFieldValuesById = (options) =>
|
|
|
4696
4726
|
* Fetch line items for a purchase order.
|
|
4697
4727
|
*/
|
|
4698
4728
|
export const getApi20261001ResourcesProcurementPoLineItems = (options) => (options?.client ?? client).get({
|
|
4699
|
-
security: [{
|
|
4729
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4700
4730
|
url: '/api/2026-10-01/resources/procurement/po_line_items',
|
|
4701
4731
|
...options
|
|
4702
4732
|
});
|
|
@@ -4706,7 +4736,7 @@ export const getApi20261001ResourcesProcurementPoLineItems = (options) => (optio
|
|
|
4706
4736
|
* Fetch line items for a purchase order.
|
|
4707
4737
|
*/
|
|
4708
4738
|
export const getApi20261001ResourcesProcurementPoLineItemsById = (options) => (options.client ?? client).get({
|
|
4709
|
-
security: [{
|
|
4739
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4710
4740
|
url: '/api/2026-10-01/resources/procurement/po_line_items/{id}',
|
|
4711
4741
|
...options
|
|
4712
4742
|
});
|
|
@@ -4716,7 +4746,7 @@ export const getApi20261001ResourcesProcurementPoLineItemsById = (options) => (o
|
|
|
4716
4746
|
* Fetch one or all PO templates for the company.
|
|
4717
4747
|
*/
|
|
4718
4748
|
export const getApi20261001ResourcesProcurementPoTemplates = (options) => (options?.client ?? client).get({
|
|
4719
|
-
security: [{
|
|
4749
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4720
4750
|
url: '/api/2026-10-01/resources/procurement/po_templates',
|
|
4721
4751
|
...options
|
|
4722
4752
|
});
|
|
@@ -4726,7 +4756,7 @@ export const getApi20261001ResourcesProcurementPoTemplates = (options) => (optio
|
|
|
4726
4756
|
* Fetch one or all PO templates for the company.
|
|
4727
4757
|
*/
|
|
4728
4758
|
export const getApi20261001ResourcesProcurementPoTemplatesById = (options) => (options.client ?? client).get({
|
|
4729
|
-
security: [{
|
|
4759
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4730
4760
|
url: '/api/2026-10-01/resources/procurement/po_templates/{id}',
|
|
4731
4761
|
...options
|
|
4732
4762
|
});
|
|
@@ -4737,7 +4767,7 @@ export const getApi20261001ResourcesProcurementPoTemplatesById = (options) => (o
|
|
|
4737
4767
|
*
|
|
4738
4768
|
*/
|
|
4739
4769
|
export const getApi20261001ResourcesProcurementPoTemplateFieldDefinitions = (options) => (options?.client ?? client).get({
|
|
4740
|
-
security: [{
|
|
4770
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4741
4771
|
url: '/api/2026-10-01/resources/procurement/po_template_field_definitions',
|
|
4742
4772
|
...options
|
|
4743
4773
|
});
|
|
@@ -4748,7 +4778,7 @@ export const getApi20261001ResourcesProcurementPoTemplateFieldDefinitions = (opt
|
|
|
4748
4778
|
*
|
|
4749
4779
|
*/
|
|
4750
4780
|
export const getApi20261001ResourcesProcurementPoTemplateFieldDefinitionsById = (options) => (options.client ?? client).get({
|
|
4751
|
-
security: [{
|
|
4781
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4752
4782
|
url: '/api/2026-10-01/resources/procurement/po_template_field_definitions/{id}',
|
|
4753
4783
|
...options
|
|
4754
4784
|
});
|
|
@@ -4759,7 +4789,7 @@ export const getApi20261001ResourcesProcurementPoTemplateFieldDefinitionsById =
|
|
|
4759
4789
|
*
|
|
4760
4790
|
*/
|
|
4761
4791
|
export const getApi20261001ResourcesProcurementPoTemplateVersions = (options) => (options?.client ?? client).get({
|
|
4762
|
-
security: [{
|
|
4792
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4763
4793
|
url: '/api/2026-10-01/resources/procurement/po_template_versions',
|
|
4764
4794
|
...options
|
|
4765
4795
|
});
|
|
@@ -4770,7 +4800,7 @@ export const getApi20261001ResourcesProcurementPoTemplateVersions = (options) =>
|
|
|
4770
4800
|
*
|
|
4771
4801
|
*/
|
|
4772
4802
|
export const getApi20261001ResourcesProcurementPoTemplateVersionsById = (options) => (options.client ?? client).get({
|
|
4773
|
-
security: [{
|
|
4803
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4774
4804
|
url: '/api/2026-10-01/resources/procurement/po_template_versions/{id}',
|
|
4775
4805
|
...options
|
|
4776
4806
|
});
|
|
@@ -4780,7 +4810,7 @@ export const getApi20261001ResourcesProcurementPoTemplateVersionsById = (options
|
|
|
4780
4810
|
* Fetch one or all purchase orders for the company.
|
|
4781
4811
|
*/
|
|
4782
4812
|
export const getApi20261001ResourcesProcurementPurchaseOrders = (options) => (options?.client ?? client).get({
|
|
4783
|
-
security: [{
|
|
4813
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4784
4814
|
url: '/api/2026-10-01/resources/procurement/purchase_orders',
|
|
4785
4815
|
...options
|
|
4786
4816
|
});
|
|
@@ -4790,7 +4820,7 @@ export const getApi20261001ResourcesProcurementPurchaseOrders = (options) => (op
|
|
|
4790
4820
|
* Create a standalone purchase order (e.g. pushed by an ERP integrator), not linked to any purchase request. The purchase order is pinned to the company's ACTIVE purchase order template version; template fields are addressed by their stable field_key and validated against that version: unknown field keys, missing required fields and reference values that do not resolve in the company are all rejected with a field-keyed 422. A vendor_id or legal_entity_id that does not exist or is not visible to the credential is rejected earlier by the platform resource check (400).
|
|
4791
4821
|
*/
|
|
4792
4822
|
export const postApi20261001ResourcesProcurementPurchaseOrders = (options) => (options?.client ?? client).post({
|
|
4793
|
-
security: [{
|
|
4823
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4794
4824
|
url: '/api/2026-10-01/resources/procurement/purchase_orders',
|
|
4795
4825
|
...options,
|
|
4796
4826
|
headers: {
|
|
@@ -4804,7 +4834,7 @@ export const postApi20261001ResourcesProcurementPurchaseOrders = (options) => (o
|
|
|
4804
4834
|
* Fetch one or all purchase orders for the company.
|
|
4805
4835
|
*/
|
|
4806
4836
|
export const getApi20261001ResourcesProcurementPurchaseOrdersById = (options) => (options.client ?? client).get({
|
|
4807
|
-
security: [{
|
|
4837
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4808
4838
|
url: '/api/2026-10-01/resources/procurement/purchase_orders/{id}',
|
|
4809
4839
|
...options
|
|
4810
4840
|
});
|
|
@@ -4816,7 +4846,7 @@ export const getApi20261001ResourcesProcurementPurchaseOrdersById = (options) =>
|
|
|
4816
4846
|
* Errors: validation problems are a 422 with `{"errors": {<field_key>: [messages]}}` (unknown/computed/predefined keys, missing required fields, unresolvable reference values, foreign line-item ids, mixing by_key and legacy addressing). A vendor_id or legal_entity_id that does not exist or is not visible to the credential is rejected by the platform resource check with a 400 (`{"errors": [{"error": ...}]}`). Lifecycle conflicts are a 409: purchase orders in `closed` or `processing` (still being generated — retry later) status cannot be updated. `processing` is not accepted as a new status (422). Purchase orders without a template only accept data edits while in `draft` status (409 afterwards).
|
|
4817
4847
|
*/
|
|
4818
4848
|
export const putApi20261001ResourcesProcurementPurchaseOrdersById = (options) => (options.client ?? client).put({
|
|
4819
|
-
security: [{
|
|
4849
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4820
4850
|
url: '/api/2026-10-01/resources/procurement/purchase_orders/{id}',
|
|
4821
4851
|
...options,
|
|
4822
4852
|
headers: {
|
|
@@ -4830,7 +4860,7 @@ export const putApi20261001ResourcesProcurementPurchaseOrdersById = (options) =>
|
|
|
4830
4860
|
* Fetch one or all purchase requests for the company.
|
|
4831
4861
|
*/
|
|
4832
4862
|
export const getApi20261001ResourcesProcurementPurchaseRequests = (options) => (options?.client ?? client).get({
|
|
4833
|
-
security: [{
|
|
4863
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4834
4864
|
url: '/api/2026-10-01/resources/procurement/purchase_requests',
|
|
4835
4865
|
...options
|
|
4836
4866
|
});
|
|
@@ -4840,7 +4870,7 @@ export const getApi20261001ResourcesProcurementPurchaseRequests = (options) => (
|
|
|
4840
4870
|
* Fetch one or all purchase requests for the company.
|
|
4841
4871
|
*/
|
|
4842
4872
|
export const getApi20261001ResourcesProcurementPurchaseRequestsById = (options) => (options.client ?? client).get({
|
|
4843
|
-
security: [{
|
|
4873
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4844
4874
|
url: '/api/2026-10-01/resources/procurement/purchase_requests/{id}',
|
|
4845
4875
|
...options
|
|
4846
4876
|
});
|
|
@@ -4850,7 +4880,7 @@ export const getApi20261001ResourcesProcurementPurchaseRequestsById = (options)
|
|
|
4850
4880
|
* Fetch one or all procurement types for the company.
|
|
4851
4881
|
*/
|
|
4852
4882
|
export const getApi20261001ResourcesProcurementTypes = (options) => (options?.client ?? client).get({
|
|
4853
|
-
security: [{
|
|
4883
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4854
4884
|
url: '/api/2026-10-01/resources/procurement/types',
|
|
4855
4885
|
...options
|
|
4856
4886
|
});
|
|
@@ -4860,7 +4890,7 @@ export const getApi20261001ResourcesProcurementTypes = (options) => (options?.cl
|
|
|
4860
4890
|
* Fetch one or all procurement types for the company.
|
|
4861
4891
|
*/
|
|
4862
4892
|
export const getApi20261001ResourcesProcurementTypesById = (options) => (options.client ?? client).get({
|
|
4863
|
-
security: [{
|
|
4893
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4864
4894
|
url: '/api/2026-10-01/resources/procurement/types/{id}',
|
|
4865
4895
|
...options
|
|
4866
4896
|
});
|
|
@@ -4870,7 +4900,7 @@ export const getApi20261001ResourcesProcurementTypesById = (options) => (options
|
|
|
4870
4900
|
* Reads all Budget strategies
|
|
4871
4901
|
*/
|
|
4872
4902
|
export const getApi20261001ResourcesProjectManagementBudgetStrategies = (options) => (options?.client ?? client).get({
|
|
4873
|
-
security: [{
|
|
4903
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4874
4904
|
url: '/api/2026-10-01/resources/project_management/budget_strategies',
|
|
4875
4905
|
...options
|
|
4876
4906
|
});
|
|
@@ -4880,7 +4910,7 @@ export const getApi20261001ResourcesProjectManagementBudgetStrategies = (options
|
|
|
4880
4910
|
* Creates a Budget strategy
|
|
4881
4911
|
*/
|
|
4882
4912
|
export const postApi20261001ResourcesProjectManagementBudgetStrategies = (options) => (options?.client ?? client).post({
|
|
4883
|
-
security: [{
|
|
4913
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4884
4914
|
url: '/api/2026-10-01/resources/project_management/budget_strategies',
|
|
4885
4915
|
...options,
|
|
4886
4916
|
headers: {
|
|
@@ -4894,7 +4924,7 @@ export const postApi20261001ResourcesProjectManagementBudgetStrategies = (option
|
|
|
4894
4924
|
* Deletes a Budget strategy
|
|
4895
4925
|
*/
|
|
4896
4926
|
export const deleteApi20261001ResourcesProjectManagementBudgetStrategiesById = (options) => (options.client ?? client).delete({
|
|
4897
|
-
security: [{
|
|
4927
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4898
4928
|
url: '/api/2026-10-01/resources/project_management/budget_strategies/{id}',
|
|
4899
4929
|
...options
|
|
4900
4930
|
});
|
|
@@ -4904,7 +4934,7 @@ export const deleteApi20261001ResourcesProjectManagementBudgetStrategiesById = (
|
|
|
4904
4934
|
* Reads a single Budget strategy
|
|
4905
4935
|
*/
|
|
4906
4936
|
export const getApi20261001ResourcesProjectManagementBudgetStrategiesById = (options) => (options.client ?? client).get({
|
|
4907
|
-
security: [{
|
|
4937
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4908
4938
|
url: '/api/2026-10-01/resources/project_management/budget_strategies/{id}',
|
|
4909
4939
|
...options
|
|
4910
4940
|
});
|
|
@@ -4914,7 +4944,7 @@ export const getApi20261001ResourcesProjectManagementBudgetStrategiesById = (opt
|
|
|
4914
4944
|
* Updates a Budget strategy
|
|
4915
4945
|
*/
|
|
4916
4946
|
export const putApi20261001ResourcesProjectManagementBudgetStrategiesById = (options) => (options.client ?? client).put({
|
|
4917
|
-
security: [{
|
|
4947
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4918
4948
|
url: '/api/2026-10-01/resources/project_management/budget_strategies/{id}',
|
|
4919
4949
|
...options,
|
|
4920
4950
|
headers: {
|
|
@@ -4988,7 +5018,7 @@ export const getApi20261001ResourcesProjectManagementImputableProjectsById = (op
|
|
|
4988
5018
|
* Reads all Planned records
|
|
4989
5019
|
*/
|
|
4990
5020
|
export const getApi20261001ResourcesProjectManagementPlannedRecords = (options) => (options?.client ?? client).get({
|
|
4991
|
-
security: [{
|
|
5021
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
4992
5022
|
url: '/api/2026-10-01/resources/project_management/planned_records',
|
|
4993
5023
|
...options
|
|
4994
5024
|
});
|
|
@@ -4998,7 +5028,7 @@ export const getApi20261001ResourcesProjectManagementPlannedRecords = (options)
|
|
|
4998
5028
|
* Deletes a Planned record
|
|
4999
5029
|
*/
|
|
5000
5030
|
export const deleteApi20261001ResourcesProjectManagementPlannedRecordsById = (options) => (options.client ?? client).delete({
|
|
5001
|
-
security: [{
|
|
5031
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
5002
5032
|
url: '/api/2026-10-01/resources/project_management/planned_records/{id}',
|
|
5003
5033
|
...options
|
|
5004
5034
|
});
|
|
@@ -5008,7 +5038,7 @@ export const deleteApi20261001ResourcesProjectManagementPlannedRecordsById = (op
|
|
|
5008
5038
|
* Reads a single Planned record
|
|
5009
5039
|
*/
|
|
5010
5040
|
export const getApi20261001ResourcesProjectManagementPlannedRecordsById = (options) => (options.client ?? client).get({
|
|
5011
|
-
security: [{
|
|
5041
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
5012
5042
|
url: '/api/2026-10-01/resources/project_management/planned_records/{id}',
|
|
5013
5043
|
...options
|
|
5014
5044
|
});
|
|
@@ -5018,7 +5048,7 @@ export const getApi20261001ResourcesProjectManagementPlannedRecordsById = (optio
|
|
|
5018
5048
|
* Updates a Planned record
|
|
5019
5049
|
*/
|
|
5020
5050
|
export const putApi20261001ResourcesProjectManagementPlannedRecordsById = (options) => (options.client ?? client).put({
|
|
5021
|
-
security: [{
|
|
5051
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
5022
5052
|
url: '/api/2026-10-01/resources/project_management/planned_records/{id}',
|
|
5023
5053
|
...options,
|
|
5024
5054
|
headers: {
|
|
@@ -5032,7 +5062,7 @@ export const putApi20261001ResourcesProjectManagementPlannedRecordsById = (optio
|
|
|
5032
5062
|
* Bulk creates a Planned record
|
|
5033
5063
|
*/
|
|
5034
5064
|
export const postApi20261001ResourcesProjectManagementPlannedRecordsBulkCreate = (options) => (options?.client ?? client).post({
|
|
5035
|
-
security: [{
|
|
5065
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
5036
5066
|
url: '/api/2026-10-01/resources/project_management/planned_records/bulk_create',
|
|
5037
5067
|
...options,
|
|
5038
5068
|
headers: {
|
|
@@ -7092,7 +7122,7 @@ export const getApi20261001ResourcesTrainingsTrainingMembershipsById = (options)
|
|
|
7092
7122
|
* Update a training membership
|
|
7093
7123
|
*/
|
|
7094
7124
|
export const putApi20261001ResourcesTrainingsTrainingMembershipsById = (options) => (options.client ?? client).put({
|
|
7095
|
-
security: [{
|
|
7125
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
7096
7126
|
url: '/api/2026-10-01/resources/trainings/training_memberships/{id}',
|
|
7097
7127
|
...options,
|
|
7098
7128
|
headers: {
|