@rebilly/api 0.20.4 → 0.20.6
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/CHANGELOG.md +2 -4
- package/dist/core-client.d.ts +2 -2
- package/dist/core-client.schemas.d.ts +19 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/core-client.d.ts
CHANGED
|
@@ -8945,7 +8945,7 @@ export type PutUserPath = {
|
|
|
8945
8945
|
*/
|
|
8946
8946
|
id: string;
|
|
8947
8947
|
};
|
|
8948
|
-
export type PutUserBody = Omit<User, "id" | "computedPermissions" | "loginTime" | "reportingCurrency" | "availableCurrencies" | "status" | "computedAllowedIps" | "mfaEnabled">;
|
|
8948
|
+
export type PutUserBody = Omit<User, "id" | "computedPermissions" | "loginTime" | "reportingCurrency" | "availableCurrencies" | "status" | "computedAllowedIps" | "mfaEnabled" | "mfaResetBlockedByOtherOrganizations">;
|
|
8949
8949
|
export type PutUserResponseHeaders = {
|
|
8950
8950
|
rateLimitLimit?: number;
|
|
8951
8951
|
rateLimitRemaining?: number;
|
|
@@ -10637,7 +10637,7 @@ export type GetUserCollectionVariables = {
|
|
|
10637
10637
|
query?: GetUserCollectionQuery;
|
|
10638
10638
|
};
|
|
10639
10639
|
export type PostUserResult = User;
|
|
10640
|
-
export type PostUserBody = Omit<User, "id" | "computedPermissions" | "loginTime" | "reportingCurrency" | "availableCurrencies" | "status" | "computedAllowedIps" | "mfaEnabled">;
|
|
10640
|
+
export type PostUserBody = Omit<User, "id" | "computedPermissions" | "loginTime" | "reportingCurrency" | "availableCurrencies" | "status" | "computedAllowedIps" | "mfaEnabled" | "mfaResetBlockedByOtherOrganizations">;
|
|
10641
10641
|
export type PostUserResponseHeaders = {
|
|
10642
10642
|
location?: string;
|
|
10643
10643
|
rateLimitLimit?: number;
|
|
@@ -4634,6 +4634,12 @@ export type CreditMemo = {
|
|
|
4634
4634
|
* Number of times the credit memo has been modified.
|
|
4635
4635
|
*/
|
|
4636
4636
|
readonly revision?: number;
|
|
4637
|
+
/**
|
|
4638
|
+
* ID of the customer.
|
|
4639
|
+
* An update request cannot change the customer of an existing credit memo.
|
|
4640
|
+
* To credit another customer, use the [Void a credit memo](https://www.rebilly.com/catalog/all/credit-memos/postcreditmemovoid) operation,
|
|
4641
|
+
* then the [Create a credit memo](https://www.rebilly.com/catalog/all/credit-memos/postcreditmemo) operation for that customer.
|
|
4642
|
+
*/
|
|
4637
4643
|
customerId: CustomerId;
|
|
4638
4644
|
currency: CurrencyCode;
|
|
4639
4645
|
/**
|
|
@@ -4652,8 +4658,7 @@ export type CreditMemo = {
|
|
|
4652
4658
|
* The transaction must be approved and associated with the same customer as the credit memo.
|
|
4653
4659
|
* Approved transactions of any type are accepted, including refunds and voided sales.
|
|
4654
4660
|
* If the transaction result changes later, the association is retained.
|
|
4655
|
-
* If this field is omitted in an update request
|
|
4656
|
-
* If this field is omitted and `customerId` is changed, the transaction is removed from the credit memo.
|
|
4661
|
+
* If this field is omitted in an update request, this field retains its current value.
|
|
4657
4662
|
* To remove the transaction from the credit memo, set this field to `null`.
|
|
4658
4663
|
* @maxLength 50
|
|
4659
4664
|
*/
|
|
@@ -26308,10 +26313,21 @@ export type User = {
|
|
|
26308
26313
|
readonly computedAllowedIps?: string[] | null;
|
|
26309
26314
|
/**
|
|
26310
26315
|
* Specifies if the user has multi-factor authentication (MFA) set up.
|
|
26311
|
-
* This field is included in
|
|
26316
|
+
* This field is included in [Retrieve a user](https://www.rebilly.com/catalog/all/users/getuser) responses for users in the current organization,
|
|
26317
|
+
* and in [Retrieve a list of users](https://www.rebilly.com/catalog/all/users/getusercollection) responses only when the organization requires MFA.
|
|
26318
|
+
* This field is omitted for Rebilly staff.
|
|
26312
26319
|
* This value is `null` when this information is temporarily unavailable.
|
|
26313
26320
|
*/
|
|
26314
26321
|
readonly mfaEnabled?: boolean | null;
|
|
26322
|
+
/**
|
|
26323
|
+
* Specifies if the user is associated with another organization in the current environment
|
|
26324
|
+
* where the caller is not an owner and does not have full access.
|
|
26325
|
+
* If this value is `true`, MFA cannot be reset for the user with the [Reset MFA for a user](https://www.rebilly.com/catalog/all/users/postusermfareset) operation.
|
|
26326
|
+
* This field is included only in [Retrieve a user](https://www.rebilly.com/catalog/all/users/getuser) responses when MFA reset is available for the organization.
|
|
26327
|
+
* The caller must be an organization owner, a user with full access, or a Rebilly admin.
|
|
26328
|
+
* This field is omitted when the caller retrieves their own user, when the user is Rebilly staff, or when the caller authenticates with an API key.
|
|
26329
|
+
*/
|
|
26330
|
+
readonly mfaResetBlockedByOtherOrganizations?: boolean;
|
|
26315
26331
|
_links?: SelfLink;
|
|
26316
26332
|
};
|
|
26317
26333
|
export type WebhookEvent = {
|