@dynamic-labs/sdk-api 0.66.0 → 0.67.0
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/package.json
CHANGED
|
@@ -22,6 +22,7 @@ export interface AddBusinessAccountMemberSdkRequest {
|
|
|
22
22
|
* A role that can be directly assigned to a member: a built-in (`admin`, `viewer`) or a customer-defined role the account has defined. `owner` is excluded — ownership moves only via transferOwnership.
|
|
23
23
|
* Not an enum, because the set is per-account: a caller can grant any role from GET /roles. Whether the role exists is the enclave's to answer, not this schema's — the pattern only rejects names that could never be one. A role the account has not defined is refused with UNKNOWN_ROLE.
|
|
24
24
|
* A customer-defined role grants exactly what it inherits, so `cfo inherits admin` is an admin with a distinguishable name.
|
|
25
|
+
* Case-insensitive on input — `CFO` and `cfo` name the same role. The server normalizes to lowercase before comparing or storing, so the pattern accepts both cases here even though a held/stored role name (HeldBusinessAccountMemberRole) is always lowercase.
|
|
25
26
|
* @type {string}
|
|
26
27
|
* @memberof AddBusinessAccountMemberSdkRequest
|
|
27
28
|
*/
|
|
@@ -19,6 +19,7 @@ export interface UpdateBusinessAccountMemberRoleSdkRequest {
|
|
|
19
19
|
* A role that can be directly assigned to a member: a built-in (`admin`, `viewer`) or a customer-defined role the account has defined. `owner` is excluded — ownership moves only via transferOwnership.
|
|
20
20
|
* Not an enum, because the set is per-account: a caller can grant any role from GET /roles. Whether the role exists is the enclave's to answer, not this schema's — the pattern only rejects names that could never be one. A role the account has not defined is refused with UNKNOWN_ROLE.
|
|
21
21
|
* A customer-defined role grants exactly what it inherits, so `cfo inherits admin` is an admin with a distinguishable name.
|
|
22
|
+
* Case-insensitive on input — `CFO` and `cfo` name the same role. The server normalizes to lowercase before comparing or storing, so the pattern accepts both cases here even though a held/stored role name (HeldBusinessAccountMemberRole) is always lowercase.
|
|
22
23
|
* @type {string}
|
|
23
24
|
* @memberof UpdateBusinessAccountMemberRoleSdkRequest
|
|
24
25
|
*/
|