@factorialco/api-client 4.0.0-beta.2027010107 → 4.0.0-beta.2027010109
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.
|
@@ -1160,11 +1160,11 @@ export type BankingCardPayment = {
|
|
|
1160
1160
|
*/
|
|
1161
1161
|
card_id: string;
|
|
1162
1162
|
/**
|
|
1163
|
-
* The amount
|
|
1163
|
+
* The amount the card settled, in cents of `currency`, negative for a payment and positive for a refund. For a payment in another currency it is the converted amount, not what the merchant charged.
|
|
1164
1164
|
*/
|
|
1165
1165
|
amount_cents: number;
|
|
1166
1166
|
/**
|
|
1167
|
-
* The currency
|
|
1167
|
+
* The currency the card settled the payment in, as an ISO 4217 code.
|
|
1168
1168
|
*/
|
|
1169
1169
|
currency: string;
|
|
1170
1170
|
/**
|
|
@@ -1172,11 +1172,11 @@ export type BankingCardPayment = {
|
|
|
1172
1172
|
*/
|
|
1173
1173
|
merchant_name: string;
|
|
1174
1174
|
/**
|
|
1175
|
-
* The amount of the
|
|
1175
|
+
* The amount the merchant charged, in cents of `merchant_currency`, negative for a payment and positive for a refund. Its absolute value is what the receipt shows, while `amount_cents` is what the card settled.
|
|
1176
1176
|
*/
|
|
1177
1177
|
merchant_amount_cents: number;
|
|
1178
1178
|
/**
|
|
1179
|
-
* The currency
|
|
1179
|
+
* The currency the merchant charged in, as an ISO 4217 code. It differs from `currency` when the card paid abroad.
|
|
1180
1180
|
*/
|
|
1181
1181
|
merchant_currency: string;
|
|
1182
1182
|
/**
|
|
@@ -1196,7 +1196,7 @@ export type BankingCardPayment = {
|
|
|
1196
1196
|
*/
|
|
1197
1197
|
type: 'payment' | 'refund';
|
|
1198
1198
|
/**
|
|
1199
|
-
* The
|
|
1199
|
+
* The rate the card used to convert `merchant_amount_cents` into `amount_cents`; 1.0 when both currencies are the same.
|
|
1200
1200
|
*/
|
|
1201
1201
|
exchange_rate: number;
|
|
1202
1202
|
/**
|
|
@@ -25711,6 +25711,14 @@ export type GetApi20270101ResourcesEmployeesEmployeesData = {
|
|
|
25711
25711
|
* filter by employee company identifier.
|
|
25712
25712
|
*/
|
|
25713
25713
|
company_identifier?: string;
|
|
25714
|
+
/**
|
|
25715
|
+
* Return only the employees whose identity document (the `identifier` field: national ID, NIE, passport…) is one of these. Dots, dashes, spaces, letter case and leading zeros are ignored, so `12.345.678-z` and `0012345678Z` both find an employee stored as `12345678Z`. At most 100 values. Combined with `social_security_numbers`, an employee has to match both. Terminated employees you can see are matched too; add `only_active` to leave them out. Only employees whose personal information you can read are matched.
|
|
25716
|
+
*/
|
|
25717
|
+
'identifiers[]'?: Array<string>;
|
|
25718
|
+
/**
|
|
25719
|
+
* Return only the employees whose social security number (the `social_security_number` field; in Spain, the NUSS or NAF) is one of these. Anything other than a digit is ignored, and so are leading zeros, so `08/08511662/35` finds an employee stored as `080851166235`. At most 100 values. Combined with `identifiers`, an employee has to match both. Terminated employees you can see are matched too; add `only_active` to leave them out. Only employees whose personal information you can read are matched.
|
|
25720
|
+
*/
|
|
25721
|
+
'social_security_numbers[]'?: Array<string>;
|
|
25714
25722
|
/**
|
|
25715
25723
|
* Set to true to keep only the employees not terminated as of today: those with no termination date, or one still in the future. Passing false has no effect, and it is ignored altogether when `include_active_and_terminated` is set.
|
|
25716
25724
|
*/
|