@dynamic-labs/sdk-api-core 0.150.0 → 0.151.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api-core",
3
- "version": "0.150.0",
3
+ "version": "0.151.0",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -58,6 +58,8 @@ require('../models/ChainEnum.cjs');
58
58
  var BusinessAccountGovernanceResponse = require('../models/BusinessAccountGovernanceResponse.cjs');
59
59
  require('../models/BusinessAccountGovernedAction.cjs');
60
60
  var BusinessAccountList = require('../models/BusinessAccountList.cjs');
61
+ var BusinessAccountMemberCreationResult = require('../models/BusinessAccountMemberCreationResult.cjs');
62
+ require('../models/BusinessAccountMemberInviteReceipt.cjs');
61
63
  require('../models/BusinessAccountMemberRole.cjs');
62
64
  var BusinessAccountMutationVersion = require('../models/BusinessAccountMutationVersion.cjs');
63
65
  var BusinessAccountProposal = require('../models/BusinessAccountProposal.cjs');
@@ -9301,7 +9303,7 @@ class SDKApi extends runtime.BaseAPI {
9301
9303
  query: queryParameters,
9302
9304
  body: AddBusinessAccountMemberSdkRequest.AddBusinessAccountMemberSdkRequestToJSON(requestParameters.addBusinessAccountMemberSdkRequest),
9303
9305
  }, initOverrides);
9304
- return new runtime.JSONApiResponse(response, (jsonValue) => BusinessAccountMember.BusinessAccountMemberFromJSON(jsonValue));
9306
+ return new runtime.JSONApiResponse(response, (jsonValue) => BusinessAccountMemberCreationResult.BusinessAccountMemberCreationResultFromJSON(jsonValue));
9305
9307
  }
9306
9308
  /**
9307
9309
  * Owner or admin by default; an account whose governance sets `eligibleInitiatorRoles` for `addMember` can widen that. Target user is resolved by `userId` OR `identifier + type` (email/externalUserId create-or-resolve; id direct lookup). Idempotent: an already-active member returns the existing row with 200. When the account governs `addMember` and nothing is signed yet, the response is `422 intent_required` with the intent to sign. Resend signed to move to 202 (the proposal collecting approvals) or straight to 201 if quorum is already met.