@dynamic-labs/sdk-api 0.0.491 → 0.0.493
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 +1 -1
- package/src/apis/WalletsApi.cjs +2 -2
- package/src/apis/WalletsApi.d.ts +2 -2
- package/src/apis/WalletsApi.js +2 -2
- package/src/models/UnprocessableEntityErrorCode.cjs +2 -0
- package/src/models/UnprocessableEntityErrorCode.d.ts +3 -1
- package/src/models/UnprocessableEntityErrorCode.js +2 -0
package/package.json
CHANGED
package/src/apis/WalletsApi.cjs
CHANGED
|
@@ -150,7 +150,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
152
|
/**
|
|
153
|
-
* Creates a new wallet for the user
|
|
153
|
+
* Creates a new wallet for the user. Note that if the user already has an embedded wallet linked, this call will fail.
|
|
154
154
|
*/
|
|
155
155
|
createWalletRaw(requestParameters, initOverrides) {
|
|
156
156
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -181,7 +181,7 @@ class WalletsApi extends runtime.BaseAPI {
|
|
|
181
181
|
});
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
184
|
-
* Creates a new wallet for the user
|
|
184
|
+
* Creates a new wallet for the user. Note that if the user already has an embedded wallet linked, this call will fail.
|
|
185
185
|
*/
|
|
186
186
|
createWallet(requestParameters, initOverrides) {
|
|
187
187
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
package/src/apis/WalletsApi.d.ts
CHANGED
|
@@ -57,11 +57,11 @@ export declare class WalletsApi extends runtime.BaseAPI {
|
|
|
57
57
|
*/
|
|
58
58
|
createEmbeddedWalletFromFarcaster(requestParameters: CreateEmbeddedWalletFromFarcasterRequest, initOverrides?: RequestInit): Promise<UserResponse>;
|
|
59
59
|
/**
|
|
60
|
-
* Creates a new wallet for the user
|
|
60
|
+
* Creates a new wallet for the user. Note that if the user already has an embedded wallet linked, this call will fail.
|
|
61
61
|
*/
|
|
62
62
|
createWalletRaw(requestParameters: CreateWalletOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Wallet>>;
|
|
63
63
|
/**
|
|
64
|
-
* Creates a new wallet for the user
|
|
64
|
+
* Creates a new wallet for the user. Note that if the user already has an embedded wallet linked, this call will fail.
|
|
65
65
|
*/
|
|
66
66
|
createWallet(requestParameters: CreateWalletOperationRequest, initOverrides?: RequestInit): Promise<Wallet>;
|
|
67
67
|
/**
|
package/src/apis/WalletsApi.js
CHANGED
|
@@ -146,7 +146,7 @@ class WalletsApi extends BaseAPI {
|
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
|
-
* Creates a new wallet for the user
|
|
149
|
+
* Creates a new wallet for the user. Note that if the user already has an embedded wallet linked, this call will fail.
|
|
150
150
|
*/
|
|
151
151
|
createWalletRaw(requestParameters, initOverrides) {
|
|
152
152
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -177,7 +177,7 @@ class WalletsApi extends BaseAPI {
|
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
/**
|
|
180
|
-
* Creates a new wallet for the user
|
|
180
|
+
* Creates a new wallet for the user. Note that if the user already has an embedded wallet linked, this call will fail.
|
|
181
181
|
*/
|
|
182
182
|
createWallet(requestParameters, initOverrides) {
|
|
183
183
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -107,6 +107,8 @@ exports.UnprocessableEntityErrorCode = void 0;
|
|
|
107
107
|
UnprocessableEntityErrorCode["InvalidUsername"] = "invalid_username";
|
|
108
108
|
UnprocessableEntityErrorCode["InvalidExternalAuth"] = "invalid_external_auth";
|
|
109
109
|
UnprocessableEntityErrorCode["InvalidChainAddressMatch"] = "invalid_chain_address_match";
|
|
110
|
+
UnprocessableEntityErrorCode["InvalidUpdate"] = "invalid_update";
|
|
111
|
+
UnprocessableEntityErrorCode["CannotDeleteLastProject"] = "cannot_delete_last_project";
|
|
110
112
|
})(exports.UnprocessableEntityErrorCode || (exports.UnprocessableEntityErrorCode = {}));
|
|
111
113
|
function UnprocessableEntityErrorCodeFromJSON(json) {
|
|
112
114
|
return UnprocessableEntityErrorCodeFromJSONTyped(json);
|
|
@@ -99,7 +99,9 @@ export declare enum UnprocessableEntityErrorCode {
|
|
|
99
99
|
FeatureNotEnabledInSuborg = "feature_not_enabled_in_suborg",
|
|
100
100
|
InvalidUsername = "invalid_username",
|
|
101
101
|
InvalidExternalAuth = "invalid_external_auth",
|
|
102
|
-
InvalidChainAddressMatch = "invalid_chain_address_match"
|
|
102
|
+
InvalidChainAddressMatch = "invalid_chain_address_match",
|
|
103
|
+
InvalidUpdate = "invalid_update",
|
|
104
|
+
CannotDeleteLastProject = "cannot_delete_last_project"
|
|
103
105
|
}
|
|
104
106
|
export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;
|
|
105
107
|
export declare function UnprocessableEntityErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntityErrorCode;
|
|
@@ -103,6 +103,8 @@ var UnprocessableEntityErrorCode;
|
|
|
103
103
|
UnprocessableEntityErrorCode["InvalidUsername"] = "invalid_username";
|
|
104
104
|
UnprocessableEntityErrorCode["InvalidExternalAuth"] = "invalid_external_auth";
|
|
105
105
|
UnprocessableEntityErrorCode["InvalidChainAddressMatch"] = "invalid_chain_address_match";
|
|
106
|
+
UnprocessableEntityErrorCode["InvalidUpdate"] = "invalid_update";
|
|
107
|
+
UnprocessableEntityErrorCode["CannotDeleteLastProject"] = "cannot_delete_last_project";
|
|
106
108
|
})(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));
|
|
107
109
|
function UnprocessableEntityErrorCodeFromJSON(json) {
|
|
108
110
|
return UnprocessableEntityErrorCodeFromJSONTyped(json);
|