diff --git a/openapi.json b/openapi.json index de91d085..4247b71a 100644 --- a/openapi.json +++ b/openapi.json @@ -4,14 +4,16 @@ ], "swagger": "2.0", "info": { + "description": "Immutable X API", "title": "Immutable X API", "contact": { "name": "Immutable API Support", + "url": "https://support.immutable.com", "email": "support@immutable.com" }, - "version": "3.0" + "version": "3.0.0" }, - "host": "api.sandbox.x.immutable.com", + "host": "api.sandbox.immutable.com", "basePath": "/", "paths": { "/v1/assets": { @@ -56,7 +58,7 @@ }, { "type": "string", - "description": "Ethereum address of the user who owns these assets", + "description": "Comma separated list of ethereum address of the users who own these assets", "name": "user", "in": "query" }, @@ -105,7 +107,7 @@ }, { "type": "string", - "description": "Collection contract address", + "description": "Comma separated list of the collections contract address", "name": "collection", "in": "query" }, @@ -333,6 +335,12 @@ "name": "IMX-Timestamp", "in": "header", "required": true + }, + { + "type": "string", + "description": "Immutable secret API key generated in the Immutable Hub https://hub.immutable.com. This key is required for all projects that are created inside the Immutable Hub.", + "name": "x-immutable-api-key", + "in": "header" } ], "responses": { @@ -383,6 +391,42 @@ } } }, + "/v1/collections-summary": { + "get": { + "description": "Get details of the collections from which a set of wallets hold tokens, along with the number of tokens held in each collection.", + "produces": [ + "application/json" + ], + "tags": [ + "collections" + ], + "summary": "Get metadata about the collections held by a set of wallets", + "operationId": "summarizeCollections", + "parameters": [ + { + "type": "string", + "description": "Comma separated list of wallet addresses", + "name": "users", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/api.SummarizeCollectionsResponse" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/APIError" + } + } + } + } + }, "/v1/collections/{address}": { "get": { "description": "Get details of a collection at the given address", @@ -539,7 +583,10 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/CollectionFilter" + "type": "array", + "items": { + "$ref": "#/definitions/CollectionFilter" + } } } } @@ -1611,9 +1658,15 @@ } } }, - "/v1/projects": { - "get": { - "description": "Get projects", + "/v1/primary_sales": { + "post": { + "security": [ + { + "ImxEthAddress": [], + "ImxEthSignature": [] + } + ], + "description": "[Experimental] Create Primary Sale. This endpoint is experimental and may change in the future.", "consumes": [ "application/json" ], @@ -1621,85 +1674,263 @@ "application/json" ], "tags": [ - "projects" + "primary-sales" ], - "summary": "Get projects", - "operationId": "getProjects", + "summary": "[Experimental] Create Primary Sale", + "operationId": "CreatePrimarySale", "parameters": [ { - "type": "integer", - "description": "Page size of the result", - "name": "page_size", - "in": "query" + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/createPrimarySaleParamsBody" + } + } + ], + "responses": { + "201": { + "description": "Created response.", + "schema": { + "$ref": "#/definitions/createPrimarySaleCreatedBody" + } }, - { - "type": "string", - "description": "Cursor", - "name": "cursor", - "in": "query" + "400": { + "description": "Bad Request (400)", + "schema": { + "$ref": "#/definitions/createPrimarySaleBadRequestBody" + } }, - { - "type": "string", - "description": "Property to sort by", - "name": "order_by", - "in": "query" + "401": { + "description": "Unauthorised Request (401)", + "schema": { + "$ref": "#/definitions/createPrimarySaleUnauthorizedBody" + } }, - { - "type": "string", - "description": "Direction to sort (asc/desc)", - "name": "direction", - "in": "query" + "403": { + "description": "Forbidden (403)", + "schema": { + "$ref": "#/definitions/createPrimarySaleForbiddenBody" + } + }, + "404": { + "description": "The specified resource was not found (404)", + "schema": { + "$ref": "#/definitions/createPrimarySaleNotFoundBody" + } }, + "500": { + "description": "Internal Server Error (500)", + "schema": { + "$ref": "#/definitions/createPrimarySaleInternalServerErrorBody" + } + }, + "501": { + "description": "Not Implemented Error (501)", + "schema": { + "$ref": "#/definitions/createPrimarySaleNotImplementedBody" + } + } + } + } + }, + "/v1/primary_sales/{id}": { + "get": { + "description": "[Experimental] Get a single primary sale by ID. This endpoint is experimental and may change in the future.", + "produces": [ + "application/json" + ], + "tags": [ + "primary-sales" + ], + "summary": "[Experimental] Get a single primary sale by ID", + "operationId": "GetPrimarySale", + "parameters": [ { - "type": "string", - "description": "String created by signing wallet address and timestamp", - "name": "IMX-Signature", - "in": "header", + "type": "integer", + "format": "int64", + "description": "Global Primary Sale identifier", + "name": "id", + "in": "path", "required": true + } + ], + "responses": { + "200": { + "description": "OK response.", + "schema": { + "$ref": "#/definitions/getPrimarySaleOKBody" + } + }, + "400": { + "description": "Bad Request (400)", + "schema": { + "$ref": "#/definitions/getPrimarySaleBadRequestBody" + } + }, + "404": { + "description": "The specified resource was not found (404)", + "schema": { + "$ref": "#/definitions/getPrimarySaleNotFoundBody" + } + }, + "500": { + "description": "Internal Server Error (500)", + "schema": { + "$ref": "#/definitions/getPrimarySaleInternalServerErrorBody" + } }, + "501": { + "description": "Not Implemented Error (501)", + "schema": { + "$ref": "#/definitions/getPrimarySaleNotImplementedBody" + } + } + } + } + }, + "/v1/primary_sales/{id}/accept": { + "post": { + "security": [ { - "type": "string", - "description": "Unix Epoc timestamp", - "name": "IMX-Timestamp", - "in": "header", + "ImxEthAddress": [], + "ImxEthSignature": [] + } + ], + "description": "[Experimental] Accept Primary Sale. This endpoint is experimental and may change in the future.", + "produces": [ + "application/json" + ], + "tags": [ + "primary-sales" + ], + "summary": "[Experimental] Accept Primary Sale", + "operationId": "AcceptPrimarySale", + "parameters": [ + { + "type": "integer", + "format": "int64", + "description": "Global Primary Sale identifier", + "name": "id", + "in": "path", "required": true } ], "responses": { "200": { - "description": "OK", + "description": "OK response.", "schema": { - "$ref": "#/definitions/GetProjectsResponse" + "$ref": "#/definitions/acceptPrimarySaleOKBody" } }, "400": { - "description": "Bad Request", + "description": "Bad Request (400)", "schema": { - "$ref": "#/definitions/APIError" + "$ref": "#/definitions/acceptPrimarySaleBadRequestBody" } }, "401": { - "description": "Unauthorized", + "description": "Unauthorised Request (401)", "schema": { - "$ref": "#/definitions/APIError" + "$ref": "#/definitions/acceptPrimarySaleUnauthorizedBody" } }, "403": { - "description": "Forbidden", + "description": "Forbidden (403)", "schema": { - "$ref": "#/definitions/APIError" + "$ref": "#/definitions/acceptPrimarySaleForbiddenBody" + } + }, + "404": { + "description": "The specified resource was not found (404)", + "schema": { + "$ref": "#/definitions/acceptPrimarySaleNotFoundBody" + } + }, + "422": { + "description": "Unprocessable Entity (422)", + "schema": { + "$ref": "#/definitions/acceptPrimarySaleUnprocessableEntityBody" } }, "500": { - "description": "Internal Server Error", + "description": "Internal Server Error (500)", "schema": { - "$ref": "#/definitions/APIError" + "$ref": "#/definitions/acceptPrimarySaleInternalServerErrorBody" + } + }, + "501": { + "description": "Not Implemented Error (501)", + "schema": { + "$ref": "#/definitions/acceptPrimarySaleNotImplementedBody" } } } - }, + } + }, + "/v1/primary_sales/{id}/signable-accept-details": { "post": { - "description": "Create a project", + "description": "[Experimental] Signable Accept Primary Sale. This endpoint is experimental and may change in the future.", + "produces": [ + "application/json" + ], + "tags": [ + "primary-sales" + ], + "summary": "[Experimental] Signable Accept Primary Sale", + "operationId": "SignableAcceptPrimarySale", + "parameters": [ + { + "type": "integer", + "format": "int64", + "description": "Global Primary Sale identifier", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK response.", + "schema": { + "$ref": "#/definitions/signableAcceptPrimarySaleOKBody" + } + }, + "400": { + "description": "Bad Request (400)", + "schema": { + "$ref": "#/definitions/signableAcceptPrimarySaleBadRequestBody" + } + }, + "404": { + "description": "The specified resource was not found (404)", + "schema": { + "$ref": "#/definitions/signableAcceptPrimarySaleNotFoundBody" + } + }, + "422": { + "description": "Unprocessable Entity (422)", + "schema": { + "$ref": "#/definitions/signableAcceptPrimarySaleUnprocessableEntityBody" + } + }, + "500": { + "description": "Internal Server Error (500)", + "schema": { + "$ref": "#/definitions/signableAcceptPrimarySaleInternalServerErrorBody" + } + }, + "501": { + "description": "Not Implemented Error (501)", + "schema": { + "$ref": "#/definitions/signableAcceptPrimarySaleNotImplementedBody" + } + } + } + } + }, + "/v1/projects": { + "get": { + "description": "Get projects", "consumes": [ "application/json" ], @@ -1709,18 +1940,32 @@ "tags": [ "projects" ], - "summary": "Create a project", - "operationId": "createProject", - "deprecated": true, + "summary": "Get projects", + "operationId": "getProjects", "parameters": [ { - "description": "create a project", - "name": "CreateProjectRequest", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CreateProjectRequest" - } + "type": "integer", + "description": "Page size of the result", + "name": "page_size", + "in": "query" + }, + { + "type": "string", + "description": "Cursor", + "name": "cursor", + "in": "query" + }, + { + "type": "string", + "description": "Property to sort by", + "name": "order_by", + "in": "query" + }, + { + "type": "string", + "description": "Direction to sort (asc/desc)", + "name": "direction", + "in": "query" }, { "type": "string", @@ -1738,10 +1983,10 @@ } ], "responses": { - "201": { - "description": "Created", + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/CreateProjectResponse" + "$ref": "#/definitions/GetProjectsResponse" } }, "400": { @@ -1934,9 +2179,9 @@ } } }, - "/v1/signable-registration": { + "/v1/signable-primary-sale-details": { "post": { - "description": "Get operator signature to allow clients to register the user", + "description": "[Experimental] Signable Create Primary Sale. This endpoint is experimental and may change in the future.", "consumes": [ "application/json" ], @@ -1944,10 +2189,67 @@ "application/json" ], "tags": [ - "users" + "primary-sales" ], - "summary": "Get operator signature to allow clients to register the user", - "operationId": "getSignableRegistration", + "summary": "[Experimental] Signable Create Primary Sale", + "operationId": "SignableCreatePrimarySale", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/signableCreatePrimarySaleParamsBody" + } + } + ], + "responses": { + "200": { + "description": "OK response.", + "schema": { + "$ref": "#/definitions/signableCreatePrimarySaleOKBody" + } + }, + "400": { + "description": "Bad Request (400)", + "schema": { + "$ref": "#/definitions/signableCreatePrimarySaleBadRequestBody" + } + }, + "404": { + "description": "The specified resource was not found (404)", + "schema": { + "$ref": "#/definitions/signableCreatePrimarySaleNotFoundBody" + } + }, + "500": { + "description": "Internal Server Error (500)", + "schema": { + "$ref": "#/definitions/signableCreatePrimarySaleInternalServerErrorBody" + } + }, + "501": { + "description": "Not Implemented Error (501)", + "schema": { + "$ref": "#/definitions/signableCreatePrimarySaleNotImplementedBody" + } + } + } + } + }, + "/v1/signable-registration": { + "post": { + "description": "Get operator signature to allow clients to register the user", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "users" + ], + "summary": "Get operator signature to allow clients to register the user", + "operationId": "getSignableRegistration", "parameters": [ { "description": "Register User", @@ -3335,6 +3637,66 @@ } } }, + "/v2/passport/users": { + "post": { + "description": "Registers a passport user", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "users" + ], + "summary": "Registers a passport user", + "operationId": "RegisterPassportUserV2", + "parameters": [ + { + "type": "string", + "description": "Authorization header", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "Register Passport User", + "name": "RegisterPassportUserRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/api.RegisterPassportUserRequest" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/RegisterPassportUserResult" + } + }, + "400": { + "description": "Bad Request", + "schema": { + "$ref": "#/definitions/APIError" + } + }, + "401": { + "description": "Unauthorized", + "schema": { + "$ref": "#/definitions/APIError" + } + }, + "500": { + "description": "Internal Server Error", + "schema": { + "$ref": "#/definitions/APIError" + } + } + } + } + }, "/v2/signable-transfer-details": { "post": { "description": "Gets bulk details of a signable transfer", @@ -5233,7 +5595,7 @@ "type": "string" }, "status": { - "description": "Current status of trade", + "description": "[DEPRECATED] Unused field that always returns an empty string. The presence of a trade_id signifies that a trade was successful.", "type": "string" }, "trade_id": { @@ -5408,6 +5770,57 @@ } } }, + "CreateWithdrawalRequestV2": { + "type": "object", + "required": [ + "amount", + "asset_id", + "expiration_timestamp", + "nonce", + "receiver_stark_key", + "sender_stark_key", + "sender_vault_id", + "stark_signature" + ], + "properties": { + "amount": { + "description": "Amount to withdraw", + "type": "string" + }, + "asset_id": { + "description": "ID of the asset to withdraw", + "type": "string" + }, + "expiration_timestamp": { + "description": "Expiration timestamp for this withdrawal", + "type": "integer" + }, + "nonce": { + "description": "Nonce of the withdrawal", + "type": "integer" + }, + "receiver_stark_key": { + "description": "Public stark key of the user receiving the withdrawal", + "type": "string" + }, + "receiver_vault_id": { + "description": "ID of the vault into which the asset will be withdrawn", + "type": "integer" + }, + "sender_stark_key": { + "description": "Public stark key of the withdrawing user", + "type": "string" + }, + "sender_vault_id": { + "description": "ID of the vault into which the asset is from", + "type": "integer" + }, + "stark_signature": { + "description": "Withdrawal payload signature", + "type": "string" + } + } + }, "CreateWithdrawalResponse": { "type": "object", "required": [ @@ -6537,6 +6950,78 @@ } } }, + "GetSignableWithdrawalResponseV2": { + "type": "object", + "required": [ + "amount", + "asset_id", + "expiration_timestamp", + "nonce", + "payload_hash", + "quantized_amount", + "readable_transaction", + "receiver_stark_key", + "receiver_vault_id", + "sender_stark_key", + "sender_vault_id", + "signable_message", + "verification_signature" + ], + "properties": { + "amount": { + "description": "Amount of the asset being withdrawn", + "type": "string" + }, + "asset_id": { + "description": "ID of the asset being withdrawn", + "type": "string" + }, + "expiration_timestamp": { + "description": "Token in request to match in SDK implementation", + "type": "integer" + }, + "nonce": { + "description": "Nonce of the transfer", + "type": "integer" + }, + "payload_hash": { + "description": "Hash of the payload", + "type": "string" + }, + "quantized_amount": { + "description": "QuantizedAmount of the asset being withdrawn", + "type": "string" + }, + "readable_transaction": { + "description": "EIP-712 encoding of the StarkEx withdrawal request to be displayed to the user", + "type": "string" + }, + "receiver_stark_key": { + "description": "Receiver of the transfer (l1 eth wallet)", + "type": "string" + }, + "receiver_vault_id": { + "description": "ID of the vault being transferred to (special vault = 0 used for withdrawal operations)", + "type": "integer" + }, + "sender_stark_key": { + "description": "Sender of the withdrawal", + "type": "string" + }, + "sender_vault_id": { + "description": "ID of the vault being withdrawn from", + "type": "integer" + }, + "signable_message": { + "description": "Message to sign with L1 wallet to verity withdrawal request", + "type": "string" + }, + "verification_signature": { + "description": "IMX signed readable_transaction and payload_hash", + "type": "string" + } + } + }, "GetTransactionsResponse": { "type": "object", "properties": { @@ -7973,292 +8458,3400 @@ } } }, - "aggregate.Limit": { - "type": "object", - "properties": { - "max_amount": { - "description": "Max transaction amount", - "type": "number" + "acceptPrimarySaleBadRequestBody": { + "allOf": [ + { + "$ref": "#/definitions/acceptPrimarySaleBadRequestBodyAllOf0" }, - "min_amount": { - "description": "Min transaction amount", - "type": "number" + { + "$ref": "#/definitions/acceptPrimarySaleBadRequestBodyAllOf1" } - } + ], + "x-go-gen-location": "operations" }, - "api.OrderV3": { + "acceptPrimarySaleBadRequestBodyAllOf0": { "type": "object", "required": [ - "amount_sold", - "buy", - "expiration_timestamp", - "order_id", - "sell", - "status", - "timestamp", - "updated_timestamp", - "user" + "message", + "link", + "trace_id" ], "properties": { - "amount_sold": { - "description": "Amount of the asset already sold by this order", + "link": { + "description": "Link to IMX documentation that can help resolve this error", "type": "string", - "x-nullable": true + "example": "https://docs.x.immutable.com/reference/#/" }, - "buy": { - "$ref": "#/definitions/apiOrderV3Buy" + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" }, - "expiration_timestamp": { - "description": "Expiration timestamp of this order", + "trace_id": { + "description": "Trace ID of the initial request", "type": "string", - "x-nullable": true + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleBadRequestBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "VALIDATION_ERROR" + ], + "example": "VALIDATION_ERROR" }, - "fees": { - "description": "Fee information for the order", + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleForbiddenBody": { + "allOf": [ + { + "$ref": "#/definitions/acceptPrimarySaleForbiddenBodyAllOf0" + }, + { + "$ref": "#/definitions/acceptPrimarySaleForbiddenBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleForbiddenBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleForbiddenBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "AUTHENTICATION_ERROR" + ], + "example": "AUTHENTICATION_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleInternalServerErrorBody": { + "allOf": [ + { + "$ref": "#/definitions/acceptPrimarySaleInternalServerErrorBodyAllOf0" + }, + { + "$ref": "#/definitions/acceptPrimarySaleInternalServerErrorBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleInternalServerErrorBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleInternalServerErrorBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "INTERNAL_SERVER_ERROR" + ], + "example": "INTERNAL_SERVER_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleNotFoundBody": { + "allOf": [ + { + "$ref": "#/definitions/acceptPrimarySaleNotFoundBodyAllOf0" + }, + { + "$ref": "#/definitions/acceptPrimarySaleNotFoundBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleNotFoundBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleNotFoundBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "RESOURCE_NOT_FOUND" + ], + "example": "RESOURCE_NOT_FOUND" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleNotImplementedBody": { + "allOf": [ + { + "$ref": "#/definitions/acceptPrimarySaleNotImplementedBodyAllOf0" + }, + { + "$ref": "#/definitions/acceptPrimarySaleNotImplementedBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleNotImplementedBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleNotImplementedBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "NOT_IMPLEMENTED_ERROR" + ], + "example": "NOT_IMPLEMENTED_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleOKBody": { + "type": "object", + "required": [ + "result" + ], + "properties": { + "result": { + "$ref": "#/definitions/acceptPrimarySaleOKBodyResult" + } + }, + "x-go-gen-location": "operations", + "example": { + "result": { + "id": 1 + } + } + }, + "acceptPrimarySaleOKBodyResult": { + "type": "object", + "required": [ + "id", + "studio_ether_key", + "buyer_ether_key", + "payment_recipient_ether_key", + "items_recipient_ether_key", + "payment_token", + "payment_amount", + "studio_data", + "status", + "expires_at", + "created_at", + "updated_at" + ], + "properties": { + "buyer_ether_key": { + "description": "Ethereum address of the buyer", + "type": "string", + "example": "0x123" + }, + "created_at": { + "description": "Time the primary sale was created", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" + }, + "expires_at": { + "description": "Time the primary sale expires", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" + }, + "fees": { + "type": "array", + "items": { + "$ref": "#/definitions/acceptPrimarySaleOKBodyResultFeesItems" + } + }, + "id": { + "description": "Global Primary Sale identifier", + "type": "integer", + "format": "int64", + "example": 123 + }, + "items_recipient_ether_key": { + "description": "Ethereum address of the items receiver", + "type": "string", + "example": "0x123" + }, + "payment_amount": { + "description": "Fee inclusive amount of the transfer", + "type": "string", + "example": "102000" + }, + "payment_recipient_ether_key": { + "description": "Ethereum address of the payment receiver", + "type": "string", + "example": "0x123" + }, + "payment_token": {}, + "status": { + "description": "The primary sale status", + "type": "string", + "enum": [ + "PENDING", + "ACTIVE", + "INVALID", + "IN_PROGRESS", + "ACCEPTED", + "REJECTED", + "EXPIRED" + ] + }, + "studio_data": { + "description": "Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing.", + "type": "string" + }, + "studio_ether_key": { + "description": "Ethereum address of the studio operating the primary sale, will be used to verify in completion", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "updated_at": { + "description": "Time the primary sale was updated", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" + } + }, + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleOKBodyResultFeesItems": { + "description": "Fee required to be paid for a primary sale", + "type": "object", + "required": [ + "type", + "percentage", + "amount", + "address" + ], + "properties": { + "address": { + "description": "Ethereum address of the fee recipient", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "amount": { + "description": "Fee amount", + "type": "string", + "example": "1000000000000000000" + }, + "percentage": { + "description": "Fee percentage in basis points (e.g. 200 for 2%)", + "type": "integer", + "example": 200 + }, + "type": { + "description": "Fee type", + "type": "string", + "enum": [ + "ECOSYSTEM", + "PROTOCOL" + ], + "example": "PRIMARY_SALE" + } + }, + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleUnauthorizedBody": { + "allOf": [ + { + "$ref": "#/definitions/acceptPrimarySaleUnauthorizedBodyAllOf0" + }, + { + "$ref": "#/definitions/acceptPrimarySaleUnauthorizedBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleUnauthorizedBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleUnauthorizedBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "UNAUTHORISED_REQUEST" + ], + "example": "UNAUTHORISED_REQUEST" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleUnprocessableEntityBody": { + "allOf": [ + { + "$ref": "#/definitions/acceptPrimarySaleUnprocessableEntityBodyAllOf0" + }, + { + "$ref": "#/definitions/acceptPrimarySaleUnprocessableEntityBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleUnprocessableEntityBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "acceptPrimarySaleUnprocessableEntityBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "UNPROCESSABLE_ENTITY_ERROR" + ], + "example": "UNPROCESSABLE_ENTITY_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "aggregate.Limit": { + "type": "object", + "properties": { + "max_amount": { + "description": "Max transaction amount", + "type": "number" + }, + "min_amount": { + "description": "Min transaction amount", + "type": "number" + } + } + }, + "api.OrderV3": { + "type": "object", + "required": [ + "amount_sold", + "buy", + "expiration_timestamp", + "order_id", + "sell", + "status", + "timestamp", + "updated_timestamp", + "user" + ], + "properties": { + "amount_sold": { + "description": "Amount of the asset already sold by this order", + "type": "string", + "x-nullable": true + }, + "buy": { + "$ref": "#/definitions/apiOrderV3Buy" + }, + "expiration_timestamp": { + "description": "Expiration timestamp of this order", + "type": "string", + "x-nullable": true + }, + "fees": { + "description": "Fee information for the order", + "type": "array", + "items": { + "$ref": "#/definitions/OrderFeeInfo" + } + }, + "maker_fees": { + "$ref": "#/definitions/apiOrderV3MakerFees" + }, + "maker_taker_type": { + "description": "MakerTakerType", + "type": "string" + }, + "order_id": { + "description": "ID of the order", + "type": "integer" + }, + "sell": { + "$ref": "#/definitions/apiOrderV3Sell" + }, + "status": { + "description": "Status of the order", + "type": "string" + }, + "taker_fees": { + "$ref": "#/definitions/apiOrderV3TakerFees" + }, + "timestamp": { + "description": "Timestamp this order was created", + "type": "string", + "x-nullable": true + }, + "updated_timestamp": { + "description": "Updated timestamp of this order", + "type": "string", + "x-nullable": true + }, + "user": { + "description": "Ethereum address of the user who submitted the order", + "type": "string" + } + } + }, + "api.RegisterPassportUserRequest": { + "type": "object", + "required": [ + "eth_signature", + "ether_key", + "stark_key", + "stark_signature" + ], + "properties": { + "eth_signature": { + "description": "Eth signature", + "type": "string" + }, + "ether_key": { + "description": "The ether key of the user", + "type": "string" + }, + "stark_key": { + "description": "Public stark key of the user", + "type": "string" + }, + "stark_signature": { + "description": "Payload signature", + "type": "string" + } + } + }, + "api.SDKVersionCheckResponse": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "ok": { + "type": "boolean" + }, + "runtimeId": { + "type": "string" + } + } + }, + "api.SummarizeCollectionsResponse": { + "type": "object", + "required": [ + "cursor", + "remaining", + "result" + ], + "properties": { + "cursor": { + "description": "Generated cursor returned by previous query", + "type": "string" + }, + "remaining": { + "description": "Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results", + "type": "integer" + }, + "result": { + "description": "Collections matching query parameters", + "type": "array", + "items": { + "$ref": "#/definitions/api.SummarizedCollection" + } + } + } + }, + "api.SummarizedCollection": { + "type": "object", + "required": [ + "collection", + "owned_token_count" + ], + "properties": { + "collection": { + "$ref": "#/definitions/Collection" + }, + "owned_token_count": { + "type": "integer" + } + } + }, + "apiOrderV3Buy": { + "description": "Details of the asset being bought", + "allOf": [ + { + "$ref": "#/definitions/Token" + } + ], + "x-go-gen-location": "models" + }, + "apiOrderV3MakerFees": { + "description": "MakerFees is the information about the fees that needs to be paid by the maker (liquidity)", + "allOf": [ + { + "$ref": "#/definitions/store.MakerTakerFee" + } + ], + "x-go-gen-location": "models" + }, + "apiOrderV3Sell": { + "description": "Details of the asset being sold", + "allOf": [ + { + "$ref": "#/definitions/Token" + } + ], + "x-go-gen-location": "models" + }, + "apiOrderV3TakerFees": { + "description": "TakerFees is the information about the fees that needs to be paid by the taker (liquidity)", + "allOf": [ + { + "$ref": "#/definitions/store.MakerTakerFee" + } + ], + "x-go-gen-location": "models" + }, + "assetCollection": { + "description": "Information about the collection to which this asset belongs", + "allOf": [ + { + "$ref": "#/definitions/CollectionDetails" + } + ], + "x-go-gen-location": "models" + }, + "assetOrders": { + "description": "[DEPRECATED] Open orders for this asset will always return empty. Use GET /orders", + "allOf": [ + { + "$ref": "#/definitions/OrderDetails" + } + ], + "x-go-gen-location": "models" + }, + "assetPropertiesCollection": { + "description": "Details of this asset's collection", + "allOf": [ + { + "$ref": "#/definitions/CollectionDetails" + } + ], + "x-go-gen-location": "models" + }, + "assetWithOrdersCollection": { + "description": "Information about the collection to which this asset belongs", + "allOf": [ + { + "$ref": "#/definitions/CollectionDetails" + } + ], + "x-go-gen-location": "models" + }, + "assetWithOrdersOrders": { + "description": "Open orders for this asset", + "allOf": [ + { + "$ref": "#/definitions/OrderDetails" + } + ], + "x-go-gen-location": "models" + }, + "collection.Collection": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "collectionImageURL": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "description": { + "type": "string" + }, + "iconURL": { + "type": "string" + }, + "lastCollectionEventID": { + "type": "string" + }, + "metadataAPIURL": { + "type": "string" + }, + "name": { + "type": "string" + }, + "projectID": { + "type": "integer" + }, + "projectOwnerAddress": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "collectionFilterRange": { + "description": "Range of values for this property", + "allOf": [ + { + "$ref": "#/definitions/Range" + } + ], + "x-go-gen-location": "models" + }, + "contract.CreateAPIRequest": { + "type": "object", + "properties": { + "contract_address": { + "type": "string" + }, + "data_url": { + "type": "string" + }, + "mint_url": { + "type": "string" + } + } + }, + "contract.CreateResponse": { + "type": "object", + "properties": { + "webhook_hash": { + "type": "string" + } + } + }, + "createPrimarySaleBadRequestBody": { + "allOf": [ + { + "$ref": "#/definitions/createPrimarySaleBadRequestBodyAllOf0" + }, + { + "$ref": "#/definitions/createPrimarySaleBadRequestBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "createPrimarySaleBadRequestBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "createPrimarySaleBadRequestBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "VALIDATION_ERROR" + ], + "example": "VALIDATION_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "createPrimarySaleCreatedBody": { + "type": "object", + "required": [ + "result" + ], + "properties": { + "result": { + "$ref": "#/definitions/createPrimarySaleCreatedBodyResult" + } + }, + "x-go-gen-location": "operations", + "example": { + "result": { + "id": 1 + } + } + }, + "createPrimarySaleCreatedBodyResult": { + "type": "object", + "required": [ + "id", + "studio_ether_key", + "buyer_ether_key", + "payment_recipient_ether_key", + "items_recipient_ether_key", + "payment_token", + "payment_amount", + "studio_data", + "status", + "expires_at", + "created_at", + "updated_at" + ], + "properties": { + "buyer_ether_key": { + "description": "Ethereum address of the buyer", + "type": "string", + "example": "0x123" + }, + "created_at": { + "description": "Time the primary sale was created", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" + }, + "expires_at": { + "description": "Time the primary sale expires", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" + }, + "fees": { + "type": "array", + "items": { + "$ref": "#/definitions/createPrimarySaleCreatedBodyResultFeesItems" + } + }, + "id": { + "description": "Global Primary Sale identifier", + "type": "integer", + "format": "int64", + "example": 123 + }, + "items_recipient_ether_key": { + "description": "Ethereum address of the items receiver", + "type": "string", + "example": "0x123" + }, + "payment_amount": { + "description": "Fee inclusive amount of the transfer", + "type": "string", + "example": "102000" + }, + "payment_recipient_ether_key": { + "description": "Ethereum address of the payment receiver", + "type": "string", + "example": "0x123" + }, + "payment_token": {}, + "status": { + "description": "The primary sale status", + "type": "string", + "enum": [ + "PENDING", + "ACTIVE", + "INVALID", + "IN_PROGRESS", + "ACCEPTED", + "REJECTED", + "EXPIRED" + ] + }, + "studio_data": { + "description": "Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing.", + "type": "string" + }, + "studio_ether_key": { + "description": "Ethereum address of the studio operating the primary sale, will be used to verify in completion", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "updated_at": { + "description": "Time the primary sale was updated", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" + } + }, + "x-go-gen-location": "operations" + }, + "createPrimarySaleCreatedBodyResultFeesItems": { + "description": "Fee required to be paid for a primary sale", + "type": "object", + "required": [ + "type", + "percentage", + "amount", + "address" + ], + "properties": { + "address": { + "description": "Ethereum address of the fee recipient", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "amount": { + "description": "Fee amount", + "type": "string", + "example": "1000000000000000000" + }, + "percentage": { + "description": "Fee percentage in basis points (e.g. 200 for 2%)", + "type": "integer", + "example": 200 + }, + "type": { + "description": "Fee type", + "type": "string", + "enum": [ + "ECOSYSTEM", + "PROTOCOL" + ], + "example": "PRIMARY_SALE" + } + }, + "x-go-gen-location": "operations" + }, + "createPrimarySaleForbiddenBody": { + "allOf": [ + { + "$ref": "#/definitions/createPrimarySaleForbiddenBodyAllOf0" + }, + { + "$ref": "#/definitions/createPrimarySaleForbiddenBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "createPrimarySaleForbiddenBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "createPrimarySaleForbiddenBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "AUTHENTICATION_ERROR" + ], + "example": "AUTHENTICATION_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "createPrimarySaleInternalServerErrorBody": { + "allOf": [ + { + "$ref": "#/definitions/createPrimarySaleInternalServerErrorBodyAllOf0" + }, + { + "$ref": "#/definitions/createPrimarySaleInternalServerErrorBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "createPrimarySaleInternalServerErrorBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "createPrimarySaleInternalServerErrorBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "INTERNAL_SERVER_ERROR" + ], + "example": "INTERNAL_SERVER_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "createPrimarySaleNotFoundBody": { + "allOf": [ + { + "$ref": "#/definitions/createPrimarySaleNotFoundBodyAllOf0" + }, + { + "$ref": "#/definitions/createPrimarySaleNotFoundBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "createPrimarySaleNotFoundBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "createPrimarySaleNotFoundBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "RESOURCE_NOT_FOUND" + ], + "example": "RESOURCE_NOT_FOUND" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "createPrimarySaleNotImplementedBody": { + "allOf": [ + { + "$ref": "#/definitions/createPrimarySaleNotImplementedBodyAllOf0" + }, + { + "$ref": "#/definitions/createPrimarySaleNotImplementedBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "createPrimarySaleNotImplementedBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "createPrimarySaleNotImplementedBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "NOT_IMPLEMENTED_ERROR" + ], + "example": "NOT_IMPLEMENTED_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "createPrimarySaleParamsBody": { + "type": "object", + "required": [ + "studio_ether_key", + "buyer_ether_key", + "buyer_stark_key", + "buyer_vault_id", + "payment_recipient_ether_key", + "payment_recipient_stark_key", + "payment_recipient_vault_id", + "items_recipient_ether_key", + "payment_asset_id", + "payment_amount", + "studio_data", + "expiration_timestamp", + "nonce", + "stark_signature" + ], + "properties": { + "buyer_ether_key": { + "description": "Ethereum address of the payer of the primary sale", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "buyer_stark_key": { + "description": "Stark key of the buyer", + "type": "string", + "example": "0x123" + }, + "buyer_vault_id": { + "description": "Vault ID of the buyer", + "type": "integer", + "example": 12 + }, + "expiration_timestamp": { + "description": "Time the primary sale expires", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" + }, + "fees": { + "type": "array", + "items": { + "$ref": "#/definitions/createPrimarySaleParamsBodyFeesItems" + } + }, + "items_recipient_ether_key": { + "description": "Ethereum address of the items receiver", + "type": "string", + "example": "0x123" + }, + "nonce": { + "description": "Nonce of transaction", + "type": "integer", + "example": 123 + }, + "payment_amount": { + "description": "Fee exclusive amount of the transfer", + "type": "string", + "example": "102000" + }, + "payment_asset_id": { + "description": "Asset ID of payment token", + "type": "string", + "example": "0x1" + }, + "payment_recipient_ether_key": { + "description": "Ethereum address of the recipient of the sale proceedings", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "payment_recipient_stark_key": { + "description": "Stark key of the payment receiver", + "type": "string", + "example": "0x123" + }, + "payment_recipient_vault_id": { + "description": "Vault ID of the payment receiver", + "type": "integer", + "example": 12 + }, + "stark_signature": { + "description": "StarkEx signature of the payload", + "type": "string", + "example": "0x123" + }, + "studio_data": { + "description": "Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing.", + "type": "string" + }, + "studio_ether_key": { + "description": "Ethereum address of the studio operating the primary sale, will be used to verify in completion", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + } + }, + "x-go-gen-location": "operations" + }, + "createPrimarySaleParamsBodyFeesItems": { + "description": "Fee required to be paid for a primary sale", + "type": "object", + "required": [ + "type", + "percentage", + "amount", + "address" + ], + "properties": { + "address": { + "description": "Ethereum address of the fee recipient", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "amount": { + "description": "Fee amount", + "type": "string", + "example": "1000000000000000000" + }, + "percentage": { + "description": "Fee percentage in basis points (e.g. 200 for 2%)", + "type": "integer", + "example": 200 + }, + "type": { + "description": "Fee type", + "type": "string", + "enum": [ + "ECOSYSTEM", + "PROTOCOL" + ], + "example": "PRIMARY_SALE" + } + }, + "x-go-gen-location": "operations" + }, + "createPrimarySaleUnauthorizedBody": { + "allOf": [ + { + "$ref": "#/definitions/createPrimarySaleUnauthorizedBodyAllOf0" + }, + { + "$ref": "#/definitions/createPrimarySaleUnauthorizedBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "createPrimarySaleUnauthorizedBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "createPrimarySaleUnauthorizedBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "UNAUTHORISED_REQUEST" + ], + "example": "UNAUTHORISED_REQUEST" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "createTradeRequestV1FeeInfo": { + "description": "Fee details", + "allOf": [ + { + "$ref": "#/definitions/FeeInfo" + } + ], + "x-go-gen-location": "models" + }, + "depositToken": { + "description": "Details of the asset being deposited", + "allOf": [ + { + "$ref": "#/definitions/Token" + } + ], + "x-go-gen-location": "models" + }, + "encodeAssetRequestToken": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/encodeAssetRequestTokenData" + }, + "type": { + "description": "The type of the token to be encoded", + "type": "string", + "enum": [ + "ETH", + "ERC20", + "ERC721" + ] + } + }, + "x-go-gen-location": "models" + }, + "encodeAssetRequestTokenData": { + "description": "Extra token information to be encoded", + "allOf": [ + { + "$ref": "#/definitions/EncodeAssetTokenData" + } + ], + "x-go-gen-location": "models" + }, + "engine.RegisterUserResult": { + "type": "object", + "properties": { + "tx_hash": { + "type": "string" + } + } + }, + "exchange.CreateExchangeAndURLResponse": { + "type": "object", + "properties": { + "id": { + "description": "Created transaction ID", + "type": "integer" + }, + "provider": { + "description": "Provider name (e.g. moonpay)", + "type": "string", + "example": "moonpay" + }, + "type": { + "description": "Transaction type", + "type": "string", + "example": "onramp" + }, + "url": { + "description": "Widget URL", + "type": "string" + }, + "wallet_address": { + "description": "Ethereum address of the user who created transaction", + "type": "string" + } + } + }, + "experimentalCreatePrimarySaleBadRequestBody": { + "allOf": [ + { + "$ref": "#/definitions/experimentalCreatePrimarySaleBadRequestBodyAllOf0" + }, + { + "$ref": "#/definitions/experimentalCreatePrimarySaleBadRequestBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleBadRequestBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleBadRequestBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "VALIDATION_ERROR" + ], + "example": "VALIDATION_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleCreatedBody": { + "type": "object", + "required": [ + "result" + ], + "properties": { + "result": { + "$ref": "#/definitions/experimentalCreatePrimarySaleCreatedBodyResult" + } + }, + "x-go-gen-location": "operations", + "example": { + "result": { + "id": 1 + } + } + }, + "experimentalCreatePrimarySaleCreatedBodyResult": { + "type": "object", + "required": [ + "id", + "studio_ether_key", + "buyer_ether_key", + "payment_recipient_ether_key", + "items_recipient_ether_key", + "payment_token", + "payment_amount", + "studio_data", + "status", + "expires_at", + "created_at", + "updated_at" + ], + "properties": { + "buyer_ether_key": { + "description": "Ethereum address of the buyer", + "type": "string", + "example": "0x123" + }, + "created_at": { + "description": "Time the primary sale was created", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" + }, + "expires_at": { + "description": "Time the primary sale expires", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" + }, + "fees": { + "type": "array", + "items": { + "$ref": "#/definitions/experimentalCreatePrimarySaleCreatedBodyResultFeesItems" + } + }, + "id": { + "description": "Global Primary Sale identifier", + "type": "integer", + "format": "int64", + "example": 123 + }, + "items_recipient_ether_key": { + "description": "Ethereum address of the items receiver", + "type": "string", + "example": "0x123" + }, + "payment_amount": { + "description": "Fee inclusive amount of the transfer", + "type": "string", + "example": "102000" + }, + "payment_recipient_ether_key": { + "description": "Ethereum address of the payment receiver", + "type": "string", + "example": "0x123" + }, + "payment_token": {}, + "status": { + "description": "The primary sale status", + "type": "string", + "enum": [ + "PENDING", + "ACTIVE", + "INVALID", + "IN_PROGRESS", + "ACCEPTED", + "REJECTED", + "EXPIRED" + ] + }, + "studio_data": { + "description": "Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing.", + "type": "string" + }, + "studio_ether_key": { + "description": "Ethereum address of the studio operating the primary sale, will be used to verify in completion", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "updated_at": { + "description": "Time the primary sale was updated", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" + } + }, + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleCreatedBodyResultFeesItems": { + "description": "Fee required to be paid for a primary sale", + "type": "object", + "required": [ + "type", + "percentage", + "amount", + "address" + ], + "properties": { + "address": { + "description": "Ethereum address of the fee recipient", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "amount": { + "description": "Fee amount", + "type": "string", + "example": "1000000000000000000" + }, + "percentage": { + "description": "Fee percentage in basis points (e.g. 200 for 2%)", + "type": "integer", + "example": 200 + }, + "type": { + "description": "Fee type", + "type": "string", + "enum": [ + "ECOSYSTEM", + "PROTOCOL" + ], + "example": "PRIMARY_SALE" + } + }, + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleForbiddenBody": { + "allOf": [ + { + "$ref": "#/definitions/experimentalCreatePrimarySaleForbiddenBodyAllOf0" + }, + { + "$ref": "#/definitions/experimentalCreatePrimarySaleForbiddenBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleForbiddenBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleForbiddenBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "AUTHENTICATION_ERROR" + ], + "example": "AUTHENTICATION_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleInternalServerErrorBody": { + "allOf": [ + { + "$ref": "#/definitions/experimentalCreatePrimarySaleInternalServerErrorBodyAllOf0" + }, + { + "$ref": "#/definitions/experimentalCreatePrimarySaleInternalServerErrorBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleInternalServerErrorBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleInternalServerErrorBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "INTERNAL_SERVER_ERROR" + ], + "example": "INTERNAL_SERVER_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleNotFoundBody": { + "allOf": [ + { + "$ref": "#/definitions/experimentalCreatePrimarySaleNotFoundBodyAllOf0" + }, + { + "$ref": "#/definitions/experimentalCreatePrimarySaleNotFoundBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleNotFoundBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleNotFoundBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "RESOURCE_NOT_FOUND" + ], + "example": "RESOURCE_NOT_FOUND" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleNotImplementedBody": { + "allOf": [ + { + "$ref": "#/definitions/experimentalCreatePrimarySaleNotImplementedBodyAllOf0" + }, + { + "$ref": "#/definitions/experimentalCreatePrimarySaleNotImplementedBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleNotImplementedBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleNotImplementedBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "NOT_IMPLEMENTED_ERROR" + ], + "example": "NOT_IMPLEMENTED_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleParamsBody": { + "type": "object", + "required": [ + "studio_ether_key", + "buyer_ether_key", + "buyer_stark_key", + "buyer_vault_id", + "payment_recipient_ether_key", + "payment_recipient_stark_key", + "payment_recipient_vault_id", + "items_recipient_ether_key", + "payment_asset_id", + "payment_amount", + "studio_data", + "expiration_timestamp", + "nonce", + "stark_signature" + ], + "properties": { + "buyer_ether_key": { + "description": "Ethereum address of the payer of the primary sale", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "buyer_stark_key": { + "description": "Stark key of the buyer", + "type": "string", + "example": "0x123" + }, + "buyer_vault_id": { + "description": "Vault ID of the buyer", + "type": "integer", + "example": 12 + }, + "expiration_timestamp": { + "description": "Time the primary sale expires", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" + }, + "fees": { + "type": "array", + "items": { + "$ref": "#/definitions/experimentalCreatePrimarySaleParamsBodyFeesItems" + } + }, + "items_recipient_ether_key": { + "description": "Ethereum address of the items receiver", + "type": "string", + "example": "0x123" + }, + "nonce": { + "description": "Nonce of transaction", + "type": "integer", + "example": 123 + }, + "payment_amount": { + "description": "Fee exclusive amount of the transfer", + "type": "string", + "example": "102000" + }, + "payment_asset_id": { + "description": "Asset ID of payment token", + "type": "string", + "example": "0x1" + }, + "payment_recipient_ether_key": { + "description": "Ethereum address of the recipient of the sale proceedings", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "payment_recipient_stark_key": { + "description": "Stark key of the payment receiver", + "type": "string", + "example": "0x123" + }, + "payment_recipient_vault_id": { + "description": "Vault ID of the payment receiver", + "type": "integer", + "example": 12 + }, + "stark_signature": { + "description": "StarkEx signature of the payload", + "type": "string", + "example": "0x123" + }, + "studio_data": { + "description": "Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing.", + "type": "string" + }, + "studio_ether_key": { + "description": "Ethereum address of the studio operating the primary sale, will be used to verify in completion", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + } + }, + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleParamsBodyFeesItems": { + "description": "Fee required to be paid for a primary sale", + "type": "object", + "required": [ + "type", + "percentage", + "amount", + "address" + ], + "properties": { + "address": { + "description": "Ethereum address of the fee recipient", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "amount": { + "description": "Fee amount", + "type": "string", + "example": "1000000000000000000" + }, + "percentage": { + "description": "Fee percentage in basis points (e.g. 200 for 2%)", + "type": "integer", + "example": 200 + }, + "type": { + "description": "Fee type", + "type": "string", + "enum": [ + "ECOSYSTEM", + "PROTOCOL" + ], + "example": "PRIMARY_SALE" + } + }, + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleUnauthorizedBody": { + "allOf": [ + { + "$ref": "#/definitions/experimentalCreatePrimarySaleUnauthorizedBodyAllOf0" + }, + { + "$ref": "#/definitions/experimentalCreatePrimarySaleUnauthorizedBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleUnauthorizedBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "experimentalCreatePrimarySaleUnauthorizedBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "UNAUTHORISED_REQUEST" + ], + "example": "UNAUTHORISED_REQUEST" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "experimentalGetPrimarySaleBadRequestBody": { + "allOf": [ + { + "$ref": "#/definitions/experimentalGetPrimarySaleBadRequestBodyAllOf0" + }, + { + "$ref": "#/definitions/experimentalGetPrimarySaleBadRequestBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "experimentalGetPrimarySaleBadRequestBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "experimentalGetPrimarySaleBadRequestBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "VALIDATION_ERROR" + ], + "example": "VALIDATION_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "experimentalGetPrimarySaleInternalServerErrorBody": { + "allOf": [ + { + "$ref": "#/definitions/experimentalGetPrimarySaleInternalServerErrorBodyAllOf0" + }, + { + "$ref": "#/definitions/experimentalGetPrimarySaleInternalServerErrorBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "experimentalGetPrimarySaleInternalServerErrorBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "experimentalGetPrimarySaleInternalServerErrorBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "INTERNAL_SERVER_ERROR" + ], + "example": "INTERNAL_SERVER_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "experimentalGetPrimarySaleNotFoundBody": { + "allOf": [ + { + "$ref": "#/definitions/experimentalGetPrimarySaleNotFoundBodyAllOf0" + }, + { + "$ref": "#/definitions/experimentalGetPrimarySaleNotFoundBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "experimentalGetPrimarySaleNotFoundBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "experimentalGetPrimarySaleNotFoundBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "RESOURCE_NOT_FOUND" + ], + "example": "RESOURCE_NOT_FOUND" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "experimentalGetPrimarySaleNotImplementedBody": { + "allOf": [ + { + "$ref": "#/definitions/experimentalGetPrimarySaleNotImplementedBodyAllOf0" + }, + { + "$ref": "#/definitions/experimentalGetPrimarySaleNotImplementedBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "experimentalGetPrimarySaleNotImplementedBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "experimentalGetPrimarySaleNotImplementedBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "NOT_IMPLEMENTED_ERROR" + ], + "example": "NOT_IMPLEMENTED_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "experimentalGetPrimarySaleOKBody": { + "type": "object", + "required": [ + "result" + ], + "properties": { + "result": { + "$ref": "#/definitions/experimentalGetPrimarySaleOKBodyResult" + } + }, + "x-go-gen-location": "operations", + "example": { + "result": { + "id": 1 + } + } + }, + "experimentalGetPrimarySaleOKBodyResult": { + "type": "object", + "required": [ + "id", + "studio_ether_key", + "buyer_ether_key", + "payment_recipient_ether_key", + "items_recipient_ether_key", + "payment_token", + "payment_amount", + "studio_data", + "status", + "expires_at", + "created_at", + "updated_at" + ], + "properties": { + "buyer_ether_key": { + "description": "Ethereum address of the buyer", + "type": "string", + "example": "0x123" + }, + "created_at": { + "description": "Time the primary sale was created", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" + }, + "expires_at": { + "description": "Time the primary sale expires", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" + }, + "fees": { "type": "array", "items": { - "$ref": "#/definitions/OrderFeeInfo" + "$ref": "#/definitions/experimentalGetPrimarySaleOKBodyResultFeesItems" } }, - "maker_fees": { - "$ref": "#/definitions/apiOrderV3MakerFees" + "id": { + "description": "Global Primary Sale identifier", + "type": "integer", + "format": "int64", + "example": 123 + }, + "items_recipient_ether_key": { + "description": "Ethereum address of the items receiver", + "type": "string", + "example": "0x123" + }, + "payment_amount": { + "description": "Fee inclusive amount of the transfer", + "type": "string", + "example": "102000" + }, + "payment_recipient_ether_key": { + "description": "Ethereum address of the payment receiver", + "type": "string", + "example": "0x123" + }, + "payment_token": {}, + "status": { + "description": "The primary sale status", + "type": "string", + "enum": [ + "PENDING", + "ACTIVE", + "INVALID", + "IN_PROGRESS", + "ACCEPTED", + "REJECTED", + "EXPIRED" + ] + }, + "studio_data": { + "description": "Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing.", + "type": "string" + }, + "studio_ether_key": { + "description": "Ethereum address of the studio operating the primary sale, will be used to verify in completion", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "updated_at": { + "description": "Time the primary sale was updated", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" + } + }, + "x-go-gen-location": "operations" + }, + "experimentalGetPrimarySaleOKBodyResultFeesItems": { + "description": "Fee required to be paid for a primary sale", + "type": "object", + "required": [ + "type", + "percentage", + "amount", + "address" + ], + "properties": { + "address": { + "description": "Ethereum address of the fee recipient", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "amount": { + "description": "Fee amount", + "type": "string", + "example": "1000000000000000000" + }, + "percentage": { + "description": "Fee percentage in basis points (e.g. 200 for 2%)", + "type": "integer", + "example": 200 + }, + "type": { + "description": "Fee type", + "type": "string", + "enum": [ + "ECOSYSTEM", + "PROTOCOL" + ], + "example": "PRIMARY_SALE" + } + }, + "x-go-gen-location": "operations" + }, + "feeTokenData": { + "description": "Fee token data details", + "allOf": [ + { + "$ref": "#/definitions/FeeData" + } + ], + "x-go-gen-location": "models" + }, + "getPrimarySaleBadRequestBody": { + "allOf": [ + { + "$ref": "#/definitions/getPrimarySaleBadRequestBodyAllOf0" + }, + { + "$ref": "#/definitions/getPrimarySaleBadRequestBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "getPrimarySaleBadRequestBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "getPrimarySaleBadRequestBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "VALIDATION_ERROR" + ], + "example": "VALIDATION_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "getPrimarySaleInternalServerErrorBody": { + "allOf": [ + { + "$ref": "#/definitions/getPrimarySaleInternalServerErrorBodyAllOf0" }, - "maker_taker_type": { - "description": "MakerTakerType", - "type": "string" + { + "$ref": "#/definitions/getPrimarySaleInternalServerErrorBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "getPrimarySaleInternalServerErrorBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" }, - "order_id": { - "description": "ID of the order", - "type": "integer" + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" }, - "sell": { - "$ref": "#/definitions/apiOrderV3Sell" + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "getPrimarySaleInternalServerErrorBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "INTERNAL_SERVER_ERROR" + ], + "example": "INTERNAL_SERVER_ERROR" }, - "status": { - "description": "Status of the order", - "type": "string" + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "getPrimarySaleNotFoundBody": { + "allOf": [ + { + "$ref": "#/definitions/getPrimarySaleNotFoundBodyAllOf0" }, - "taker_fees": { - "$ref": "#/definitions/apiOrderV3TakerFees" + { + "$ref": "#/definitions/getPrimarySaleNotFoundBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "getPrimarySaleNotFoundBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" }, - "timestamp": { - "description": "Timestamp this order was created", + "message": { + "description": "Error Message", "type": "string", - "x-nullable": true + "example": "all fields must be provided" }, - "updated_timestamp": { - "description": "Updated timestamp of this order", + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "getPrimarySaleNotFoundBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", "type": "string", + "enum": [ + "RESOURCE_NOT_FOUND" + ], + "example": "RESOURCE_NOT_FOUND" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "getPrimarySaleNotImplementedBody": { + "allOf": [ + { + "$ref": "#/definitions/getPrimarySaleNotImplementedBodyAllOf0" }, - "user": { - "description": "Ethereum address of the user who submitted the order", - "type": "string" + { + "$ref": "#/definitions/getPrimarySaleNotImplementedBodyAllOf1" } - } + ], + "x-go-gen-location": "operations" }, - "api.RegisterPassportUserRequest": { + "getPrimarySaleNotImplementedBodyAllOf0": { "type": "object", "required": [ - "eth_signature", - "ether_key", - "stark_key", - "stark_signature" + "message", + "link", + "trace_id" ], "properties": { - "eth_signature": { - "description": "Eth signature", - "type": "string" + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" }, - "ether_key": { - "description": "The ether key of the user", - "type": "string" + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" }, - "stark_key": { - "description": "Public stark key of the user", - "type": "string" + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "getPrimarySaleNotImplementedBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "NOT_IMPLEMENTED_ERROR" + ], + "example": "NOT_IMPLEMENTED_ERROR" }, - "stark_signature": { - "description": "Payload signature", - "type": "string" + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "getPrimarySaleOKBody": { + "type": "object", + "required": [ + "result" + ], + "properties": { + "result": { + "$ref": "#/definitions/getPrimarySaleOKBodyResult" + } + }, + "x-go-gen-location": "operations", + "example": { + "result": { + "id": 1 } } }, - "api.SDKVersionCheckResponse": { + "getPrimarySaleOKBodyResult": { "type": "object", + "required": [ + "id", + "studio_ether_key", + "buyer_ether_key", + "payment_recipient_ether_key", + "items_recipient_ether_key", + "payment_token", + "payment_amount", + "studio_data", + "status", + "expires_at", + "created_at", + "updated_at" + ], "properties": { - "message": { - "type": "string" + "buyer_ether_key": { + "description": "Ethereum address of the buyer", + "type": "string", + "example": "0x123" }, - "ok": { - "type": "boolean" + "created_at": { + "description": "Time the primary sale was created", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" }, - "runtimeId": { + "expires_at": { + "description": "Time the primary sale expires", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" + }, + "fees": { + "type": "array", + "items": { + "$ref": "#/definitions/getPrimarySaleOKBodyResultFeesItems" + } + }, + "id": { + "description": "Global Primary Sale identifier", + "type": "integer", + "format": "int64", + "example": 123 + }, + "items_recipient_ether_key": { + "description": "Ethereum address of the items receiver", + "type": "string", + "example": "0x123" + }, + "payment_amount": { + "description": "Fee inclusive amount of the transfer", + "type": "string", + "example": "102000" + }, + "payment_recipient_ether_key": { + "description": "Ethereum address of the payment receiver", + "type": "string", + "example": "0x123" + }, + "payment_token": {}, + "status": { + "description": "The primary sale status", + "type": "string", + "enum": [ + "PENDING", + "ACTIVE", + "INVALID", + "IN_PROGRESS", + "ACCEPTED", + "REJECTED", + "EXPIRED" + ] + }, + "studio_data": { + "description": "Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing.", "type": "string" + }, + "studio_ether_key": { + "description": "Ethereum address of the studio operating the primary sale, will be used to verify in completion", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "updated_at": { + "description": "Time the primary sale was updated", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" } - } + }, + "x-go-gen-location": "operations" }, - "apiOrderV3Buy": { - "description": "Details of the asset being bought", + "getPrimarySaleOKBodyResultFeesItems": { + "description": "Fee required to be paid for a primary sale", + "type": "object", + "required": [ + "type", + "percentage", + "amount", + "address" + ], + "properties": { + "address": { + "description": "Ethereum address of the fee recipient", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "amount": { + "description": "Fee amount", + "type": "string", + "example": "1000000000000000000" + }, + "percentage": { + "description": "Fee percentage in basis points (e.g. 200 for 2%)", + "type": "integer", + "example": 200 + }, + "type": { + "description": "Fee type", + "type": "string", + "enum": [ + "ECOSYSTEM", + "PROTOCOL" + ], + "example": "PRIMARY_SALE" + } + }, + "x-go-gen-location": "operations" + }, + "getSignableDepositRequestToken": { + "description": "Details of the token the user is depositing", "allOf": [ { - "$ref": "#/definitions/Token" + "$ref": "#/definitions/SignableToken" } ], "x-go-gen-location": "models" }, - "apiOrderV3MakerFees": { - "description": "MakerFees is the information about the fees that needs to be paid by the maker (liquidity)", + "getSignableOrderRequestTokenBuy": { + "description": "Token to buy", "allOf": [ { - "$ref": "#/definitions/store.MakerTakerFee" + "$ref": "#/definitions/SignableToken" } ], "x-go-gen-location": "models" }, - "apiOrderV3Sell": { - "description": "Details of the asset being sold", + "getSignableOrderRequestTokenSell": { + "description": "Token to sell", "allOf": [ { - "$ref": "#/definitions/Token" + "$ref": "#/definitions/SignableToken" } ], "x-go-gen-location": "models" }, - "apiOrderV3TakerFees": { - "description": "TakerFees is the information about the fees that needs to be paid by the taker (liquidity)", + "getSignableOrderRequestV3TokenBuy": { + "description": "Token to buy", + "allOf": [ + { + "$ref": "#/definitions/SignableToken" + } + ], + "x-go-gen-location": "models" + }, + "getSignableOrderRequestV3TokenSell": { + "description": "Token to sell", + "allOf": [ + { + "$ref": "#/definitions/SignableToken" + } + ], + "x-go-gen-location": "models" + }, + "getSignableOrderResponseFeeInfo": { + "description": "Fee information", + "allOf": [ + { + "$ref": "#/definitions/FeeInfo" + } + ], + "x-go-gen-location": "models" + }, + "getSignableTradeResponseFeeInfo": { + "description": "Fee information", "allOf": [ { - "$ref": "#/definitions/store.MakerTakerFee" + "$ref": "#/definitions/FeeInfo" } ], "x-go-gen-location": "models" }, - "assetCollection": { - "description": "Information about the collection to which this asset belongs", + "getSignableTradeResponseResult": { + "description": "Signable trade result", "allOf": [ { - "$ref": "#/definitions/CollectionDetails" + "$ref": "#/definitions/GetSignableTradeResult" } ], "x-go-gen-location": "models" }, - "assetOrders": { - "description": "[DEPRECATED] Open orders for this asset will always return empty. Use GET /orders", + "getSignableTradeResultFeeInfo": { + "description": "Fee details", "allOf": [ { - "$ref": "#/definitions/OrderDetails" + "$ref": "#/definitions/FeeInfo" } ], "x-go-gen-location": "models" }, - "assetPropertiesCollection": { - "description": "Details of this asset's collection", + "getSignableTransferRequestToken": { + "description": "Token to transfer", "allOf": [ { - "$ref": "#/definitions/CollectionDetails" + "$ref": "#/definitions/SignableToken" } ], "x-go-gen-location": "models" }, - "assetWithOrdersCollection": { - "description": "Information about the collection to which this asset belongs", + "getSignableWithdrawalRequestToken": { + "description": "Token to withdraw", "allOf": [ { - "$ref": "#/definitions/CollectionDetails" + "$ref": "#/definitions/SignableToken" } ], "x-go-gen-location": "models" }, - "assetWithOrdersOrders": { - "description": "Open orders for this asset", + "lambdas.APIError": { + "type": "object", + "properties": { + "code": { + "description": "The error code", + "type": "string" + }, + "details": { + "description": "The error details", + "type": "string" + }, + "message": { + "description": "The error message", + "type": "string" + }, + "status_code": { + "description": "The error status code", + "type": "integer" + } + } + }, + "mintToken": { + "description": "Details of the asset which has been minted", "allOf": [ { - "$ref": "#/definitions/OrderDetails" + "$ref": "#/definitions/Token" } ], "x-go-gen-location": "models" }, - "collection.Collection": { + "nftprimarytransaction.CreateAPIRequest": { "type": "object", "properties": { - "address": { + "contract_address": { + "description": "Contract address of the asset to be created", "type": "string" }, - "collectionImageURL": { + "offer_id": { + "description": "Temporary asset id", "type": "string" }, - "createdAt": { + "provider": { + "description": "Provider name", + "type": "string", + "example": "moonpay" + }, + "user_wallet_address": { + "description": "Ethereum address of the user who wants to create transaction", "type": "string" }, - "description": { + "widget": { + "description": "Optional widget params", + "$ref": "#/definitions/nftprimarytransaction.WidgetParams" + } + } + }, + "nftprimarytransaction.CreateResponse": { + "type": "object", + "properties": { + "contract_address": { + "description": "Contract address of the asset to be created", "type": "string" }, - "iconURL": { + "offer_id": { + "description": "Temporary asset id. Might be a token id if the token id is known or a generic description if it's not", "type": "string" }, - "lastCollectionEventID": { + "provider": { + "description": "Provider name", "type": "string" }, - "metadataAPIURL": { + "seller_wallet_address": { + "description": "Wallet address that will receive the payment (in crypto) from the checkout provider for the minted NFT", "type": "string" }, - "name": { + "token_id": { + "description": "ID of the token that has been successfully minted - should be the same as `offer_id`", "type": "string" }, - "projectID": { - "type": "integer" + "transaction_id": { + "description": "Transaction id", + "type": "string" }, - "projectOwnerAddress": { + "url": { + "description": "NFT purchase URL given by the checkout provider that the user can use to complete payment", "type": "string" }, - "updatedAt": { + "user_wallet_address": { + "description": "Ethereum address of the user who wants to create transaction", "type": "string" } } }, - "collectionFilterRange": { - "description": "Range of values for this property", - "allOf": [ - { - "$ref": "#/definitions/Range" + "nftprimarytransaction.GetResponse": { + "type": "object", + "properties": { + "contract_address": { + "description": "Contract address of the asset", + "type": "string" + }, + "offer_id": { + "description": "Temporary asset id. Might be a token id if the token id is known or a generic description if it's not", + "type": "string" + }, + "provider": { + "description": "Provider name", + "type": "string" + }, + "seller_wallet_address": { + "description": "Ethereum address of the seller", + "type": "string" + }, + "status": { + "description": "Transaction status enums(created, waitingPayment, pending, completed, failed)", + "type": "string" + }, + "token_id": { + "description": "ID of the token that has been successfully minted - might or not be the same as `offer_id`", + "type": "string" + }, + "transaction_id": { + "description": "Transaction id", + "type": "string" + }, + "user_wallet_address": { + "description": "Wallet address that receives the minted NFT", + "type": "string" } - ], - "x-go-gen-location": "models" + } }, - "contract.CreateAPIRequest": { + "nftprimarytransaction.ListTransactionsResponse": { + "type": "object", + "properties": { + "cursor": { + "description": "Generated cursor returned by previous query", + "type": "string" + }, + "remaining": { + "description": "Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results", + "type": "integer" + }, + "result": { + "description": "Transactions matching query parameters", + "type": "array", + "items": { + "$ref": "#/definitions/nftprimarytransaction.TransactionData" + } + } + } + }, + "nftprimarytransaction.TransactionData": { "type": "object", "properties": { "contract_address": { + "description": "Contract address of the asset", "type": "string" }, - "data_url": { + "created_at": { + "description": "Timestamp when the transaction was created", "type": "string" }, - "mint_url": { + "external_id": { + "description": "External transaction id", + "type": "string" + }, + "fees_amount": { + "description": "Fees to pay on this transaction", + "type": "number" + }, + "from_amount": { + "description": "Amount of the currency specified in `from_currency` that the buyer paid for the transaction", + "type": "number" + }, + "from_currency": { + "description": "Currency that the buyer used for the transaction", + "type": "string" + }, + "mint_id": { + "description": "Minting transaction ID - see mintTokens response", + "type": "string" + }, + "mint_status": { + "description": "Mint status", + "type": "string" + }, + "offer_id": { + "description": "Temporary asset id. Might be a token id if the token id is known or a generic description if it's not", + "type": "string" + }, + "provider": { + "description": "Provider name", + "type": "string" + }, + "seller_wallet_address": { + "description": "Ethereum address of the seller", + "type": "string" + }, + "status": { + "description": "Transaction status enums(created, waitingPayment, pending, completed, failed)", + "type": "string" + }, + "to_amount": { + "description": "Amount of the currency specified in `to_currency` that the seller received from the checkout provider for the transaction", + "type": "number" + }, + "to_currency": { + "description": "Currency (crypto) that the checkout provider sent to the seller for the transaction", + "type": "string" + }, + "token_id": { + "description": "ID of the token that has been successfully minted - should be the same as `offer_id`", + "type": "string" + }, + "transaction_id": { + "description": "Transaction id", + "type": "string" + }, + "updated_at": { + "description": "Timestamp when the transaction was updated", + "type": "string" + }, + "user_wallet_address": { + "description": "Wallet address that receives the minted NFT", "type": "string" } } }, - "contract.CreateResponse": { - "type": "object", - "properties": { - "webhook_hash": { - "type": "string" + "nftprimarytransaction.WidgetParams": { + "type": "object", + "properties": { + "theme": { + "description": "enums(light, dark)", + "type": "string", + "example": "light" + } + } + }, + "orderBuy": { + "description": "Details of the asset being bought", + "allOf": [ + { + "$ref": "#/definitions/Token" + } + ], + "x-go-gen-location": "models" + }, + "orderFeeInfoToken": { + "description": "Details of the fee currency", + "allOf": [ + { + "$ref": "#/definitions/FeeToken" } - } + ], + "x-go-gen-location": "models" }, - "createTradeRequestV1FeeInfo": { - "description": "Fee details", + "orderSell": { + "description": "Details of the asset being sold", "allOf": [ { - "$ref": "#/definitions/FeeInfo" + "$ref": "#/definitions/Token" } ], "x-go-gen-location": "models" }, - "depositToken": { - "description": "Details of the asset being deposited", + "orderV3Buy": { + "description": "Details of the asset being bought", "allOf": [ { "$ref": "#/definitions/Token" @@ -8266,510 +11859,861 @@ ], "x-go-gen-location": "models" }, - "encodeAssetRequestToken": { - "type": "object", - "properties": { - "data": { - "$ref": "#/definitions/encodeAssetRequestTokenData" - }, - "type": { - "description": "The type of the token to be encoded", - "type": "string", - "enum": [ - "ETH", - "ERC20", - "ERC721" - ] + "orderV3MakerFees": { + "description": "MakerFees is the information about the fees that needs to be paid by the maker (liquidity)", + "allOf": [ + { + "$ref": "#/definitions/orders.MakerTakerFee" } - }, + ], "x-go-gen-location": "models" }, - "encodeAssetRequestTokenData": { - "description": "Extra token information to be encoded", + "orderV3Sell": { + "description": "Details of the asset being sold", "allOf": [ { - "$ref": "#/definitions/EncodeAssetTokenData" + "$ref": "#/definitions/Token" } ], "x-go-gen-location": "models" }, - "engine.RegisterUserResult": { - "type": "object", - "properties": { - "tx_hash": { - "type": "string" + "orderV3TakerFees": { + "description": "TakerFees is the information about the fees that needs to be paid by the taker (liquidity)", + "allOf": [ + { + "$ref": "#/definitions/orders.MakerTakerFee" } - } + ], + "x-go-gen-location": "models" }, - "exchange.CreateExchangeAndURLResponse": { + "orders.MakerTakerFee": { "type": "object", + "required": [ + "quantity_with_fees" + ], "properties": { - "id": { - "description": "Created transaction ID", + "decimals": { + "description": "Number of Decimals supported the fee token", "type": "integer" }, - "provider": { - "description": "Provider name (e.g. moonpay)", - "type": "string", - "example": "moonpay" + "fees": { + "description": "Fees", + "type": "array", + "items": { + "$ref": "#/definitions/OrderFeeInfo" + } }, - "type": { - "description": "Transaction type", - "type": "string", - "example": "onramp" + "quantity_with_fees": { + "description": "Quantity of this asset with the sum of all fees applied to the asset", + "type": "string" }, - "url": { - "description": "Widget URL", + "symbol": { + "description": "Symbol of the fee token", "type": "string" }, - "wallet_address": { - "description": "Ethereum address of the user who created transaction", + "token_address": { + "description": "Address of the ERC20 contract for the fee token", + "type": "string" + }, + "token_type": { + "description": "Type of the fee token (ETH/ERC20)", "type": "string" } } }, - "feeTokenData": { - "description": "Fee token data details", + "signableAcceptPrimarySaleBadRequestBody": { "allOf": [ { - "$ref": "#/definitions/FeeData" + "$ref": "#/definitions/signableAcceptPrimarySaleBadRequestBodyAllOf0" + }, + { + "$ref": "#/definitions/signableAcceptPrimarySaleBadRequestBodyAllOf1" } ], - "x-go-gen-location": "models" + "x-go-gen-location": "operations" }, - "getSignableDepositRequestToken": { - "description": "Details of the token the user is depositing", - "allOf": [ - { - "$ref": "#/definitions/SignableToken" + "signableAcceptPrimarySaleBadRequestBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" } + }, + "x-go-gen-location": "operations" + }, + "signableAcceptPrimarySaleBadRequestBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" ], - "x-go-gen-location": "models" + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "VALIDATION_ERROR" + ], + "example": "VALIDATION_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" }, - "getSignableOrderRequestTokenBuy": { - "description": "Token to buy", + "signableAcceptPrimarySaleInternalServerErrorBody": { "allOf": [ { - "$ref": "#/definitions/SignableToken" + "$ref": "#/definitions/signableAcceptPrimarySaleInternalServerErrorBodyAllOf0" + }, + { + "$ref": "#/definitions/signableAcceptPrimarySaleInternalServerErrorBodyAllOf1" } ], - "x-go-gen-location": "models" + "x-go-gen-location": "operations" }, - "getSignableOrderRequestTokenSell": { - "description": "Token to sell", - "allOf": [ - { - "$ref": "#/definitions/SignableToken" + "signableAcceptPrimarySaleInternalServerErrorBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" } + }, + "x-go-gen-location": "operations" + }, + "signableAcceptPrimarySaleInternalServerErrorBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" ], - "x-go-gen-location": "models" + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "INTERNAL_SERVER_ERROR" + ], + "example": "INTERNAL_SERVER_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" }, - "getSignableOrderRequestV3TokenBuy": { - "description": "Token to buy", + "signableAcceptPrimarySaleNotFoundBody": { "allOf": [ { - "$ref": "#/definitions/SignableToken" + "$ref": "#/definitions/signableAcceptPrimarySaleNotFoundBodyAllOf0" + }, + { + "$ref": "#/definitions/signableAcceptPrimarySaleNotFoundBodyAllOf1" } ], - "x-go-gen-location": "models" + "x-go-gen-location": "operations" }, - "getSignableOrderRequestV3TokenSell": { - "description": "Token to sell", - "allOf": [ - { - "$ref": "#/definitions/SignableToken" + "signableAcceptPrimarySaleNotFoundBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" } + }, + "x-go-gen-location": "operations" + }, + "signableAcceptPrimarySaleNotFoundBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" ], - "x-go-gen-location": "models" + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "RESOURCE_NOT_FOUND" + ], + "example": "RESOURCE_NOT_FOUND" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" }, - "getSignableOrderResponseFeeInfo": { - "description": "Fee information", + "signableAcceptPrimarySaleNotImplementedBody": { "allOf": [ { - "$ref": "#/definitions/FeeInfo" + "$ref": "#/definitions/signableAcceptPrimarySaleNotImplementedBodyAllOf0" + }, + { + "$ref": "#/definitions/signableAcceptPrimarySaleNotImplementedBodyAllOf1" } ], - "x-go-gen-location": "models" + "x-go-gen-location": "operations" }, - "getSignableTradeResponseFeeInfo": { - "description": "Fee information", - "allOf": [ - { - "$ref": "#/definitions/FeeInfo" + "signableAcceptPrimarySaleNotImplementedBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" } + }, + "x-go-gen-location": "operations" + }, + "signableAcceptPrimarySaleNotImplementedBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" ], - "x-go-gen-location": "models" + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "NOT_IMPLEMENTED_ERROR" + ], + "example": "NOT_IMPLEMENTED_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "signableAcceptPrimarySaleOKBody": { + "type": "object", + "required": [ + "signable_message" + ], + "properties": { + "signable_message": { + "description": "Hashed Ethereum payload of the request", + "type": "string", + "example": "0x123" + } + }, + "x-go-gen-location": "operations" }, - "getSignableTradeResponseResult": { - "description": "Signable trade result", + "signableAcceptPrimarySaleUnprocessableEntityBody": { "allOf": [ { - "$ref": "#/definitions/GetSignableTradeResult" + "$ref": "#/definitions/signableAcceptPrimarySaleUnprocessableEntityBodyAllOf0" + }, + { + "$ref": "#/definitions/signableAcceptPrimarySaleUnprocessableEntityBodyAllOf1" } ], - "x-go-gen-location": "models" + "x-go-gen-location": "operations" }, - "getSignableTradeResultFeeInfo": { - "description": "Fee details", - "allOf": [ - { - "$ref": "#/definitions/FeeInfo" + "signableAcceptPrimarySaleUnprocessableEntityBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" } + }, + "x-go-gen-location": "operations" + }, + "signableAcceptPrimarySaleUnprocessableEntityBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" ], - "x-go-gen-location": "models" + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "UNPROCESSABLE_ENTITY_ERROR" + ], + "example": "UNPROCESSABLE_ENTITY_ERROR" + }, + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" }, - "getSignableTransferRequestToken": { - "description": "Token to transfer", + "signableCreatePrimarySaleBadRequestBody": { "allOf": [ { - "$ref": "#/definitions/SignableToken" + "$ref": "#/definitions/signableCreatePrimarySaleBadRequestBodyAllOf0" + }, + { + "$ref": "#/definitions/signableCreatePrimarySaleBadRequestBodyAllOf1" } ], - "x-go-gen-location": "models" + "x-go-gen-location": "operations" }, - "getSignableWithdrawalRequestToken": { - "description": "Token to withdraw", - "allOf": [ - { - "$ref": "#/definitions/SignableToken" - } + "signableCreatePrimarySaleBadRequestBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" ], - "x-go-gen-location": "models" + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" + }, + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" + }, + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" }, - "lambdas.APIError": { + "signableCreatePrimarySaleBadRequestBodyAllOf1": { "type": "object", + "required": [ + "code", + "details" + ], "properties": { "code": { - "description": "The error code", - "type": "string" + "description": "Error Code", + "type": "string", + "enum": [ + "VALIDATION_ERROR" + ], + "example": "VALIDATION_ERROR" }, "details": { - "description": "The error details", - "type": "string" - }, - "message": { - "description": "The error message", - "type": "string" - }, - "status_code": { - "description": "The error status code", - "type": "integer" + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true } - } + }, + "x-go-gen-location": "operations" }, - "mintToken": { - "description": "Details of the asset which has been minted", + "signableCreatePrimarySaleInternalServerErrorBody": { "allOf": [ { - "$ref": "#/definitions/Token" + "$ref": "#/definitions/signableCreatePrimarySaleInternalServerErrorBodyAllOf0" + }, + { + "$ref": "#/definitions/signableCreatePrimarySaleInternalServerErrorBodyAllOf1" } ], - "x-go-gen-location": "models" + "x-go-gen-location": "operations" }, - "nftprimarytransaction.CreateAPIRequest": { + "signableCreatePrimarySaleInternalServerErrorBodyAllOf0": { "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], "properties": { - "contract_address": { - "description": "Contract address of the asset to be created", - "type": "string" - }, - "offer_id": { - "description": "Temporary asset id", - "type": "string" - }, - "provider": { - "description": "Provider name", + "link": { + "description": "Link to IMX documentation that can help resolve this error", "type": "string", - "example": "moonpay" + "example": "https://docs.x.immutable.com/reference/#/" }, - "user_wallet_address": { - "description": "Ethereum address of the user who wants to create transaction", - "type": "string" + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" }, - "widget": { - "description": "Optional widget params", - "$ref": "#/definitions/nftprimarytransaction.WidgetParams" + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" } - } + }, + "x-go-gen-location": "operations" }, - "nftprimarytransaction.CreateResponse": { + "signableCreatePrimarySaleInternalServerErrorBodyAllOf1": { "type": "object", + "required": [ + "code", + "details" + ], "properties": { - "contract_address": { - "description": "Contract address of the asset to be created", - "type": "string" - }, - "offer_id": { - "description": "Temporary asset id. Might be a token id if the token id is known or a generic description if it's not", - "type": "string" - }, - "provider": { - "description": "Provider name", - "type": "string" - }, - "seller_wallet_address": { - "description": "Wallet address that will receive the payment (in crypto) from the checkout provider for the minted NFT", - "type": "string" - }, - "token_id": { - "description": "ID of the token that has been successfully minted - should be the same as `offer_id`", - "type": "string" - }, - "transaction_id": { - "description": "Transaction id", - "type": "string" + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "INTERNAL_SERVER_ERROR" + ], + "example": "INTERNAL_SERVER_ERROR" }, - "url": { - "description": "NFT purchase URL given by the checkout provider that the user can use to complete payment", - "type": "string" + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "signableCreatePrimarySaleNotFoundBody": { + "allOf": [ + { + "$ref": "#/definitions/signableCreatePrimarySaleNotFoundBodyAllOf0" }, - "user_wallet_address": { - "description": "Ethereum address of the user who wants to create transaction", - "type": "string" + { + "$ref": "#/definitions/signableCreatePrimarySaleNotFoundBodyAllOf1" } - } + ], + "x-go-gen-location": "operations" }, - "nftprimarytransaction.GetResponse": { + "signableCreatePrimarySaleNotFoundBodyAllOf0": { "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], "properties": { - "contract_address": { - "description": "Contract address of the asset", - "type": "string" - }, - "offer_id": { - "description": "Temporary asset id. Might be a token id if the token id is known or a generic description if it's not", - "type": "string" + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" }, - "provider": { - "description": "Provider name", - "type": "string" + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" }, - "seller_wallet_address": { - "description": "Ethereum address of the seller", - "type": "string" + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" + } + }, + "x-go-gen-location": "operations" + }, + "signableCreatePrimarySaleNotFoundBodyAllOf1": { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "RESOURCE_NOT_FOUND" + ], + "example": "RESOURCE_NOT_FOUND" }, - "status": { - "description": "Transaction status enums(created, waitingPayment, pending, completed, failed)", - "type": "string" + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true + } + }, + "x-go-gen-location": "operations" + }, + "signableCreatePrimarySaleNotImplementedBody": { + "allOf": [ + { + "$ref": "#/definitions/signableCreatePrimarySaleNotImplementedBodyAllOf0" }, - "token_id": { - "description": "ID of the token that has been successfully minted - might or not be the same as `offer_id`", - "type": "string" + { + "$ref": "#/definitions/signableCreatePrimarySaleNotImplementedBodyAllOf1" + } + ], + "x-go-gen-location": "operations" + }, + "signableCreatePrimarySaleNotImplementedBodyAllOf0": { + "type": "object", + "required": [ + "message", + "link", + "trace_id" + ], + "properties": { + "link": { + "description": "Link to IMX documentation that can help resolve this error", + "type": "string", + "example": "https://docs.x.immutable.com/reference/#/" }, - "transaction_id": { - "description": "Transaction id", - "type": "string" + "message": { + "description": "Error Message", + "type": "string", + "example": "all fields must be provided" }, - "user_wallet_address": { - "description": "Wallet address that receives the minted NFT", - "type": "string" + "trace_id": { + "description": "Trace ID of the initial request", + "type": "string", + "example": "e47634b79a5cd6894ddc9639ec4aad26" } - } + }, + "x-go-gen-location": "operations" }, - "nftprimarytransaction.ListTransactionsResponse": { + "signableCreatePrimarySaleNotImplementedBodyAllOf1": { "type": "object", + "required": [ + "code", + "details" + ], "properties": { - "cursor": { - "description": "Generated cursor returned by previous query", - "type": "string" - }, - "remaining": { - "description": "Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results", - "type": "integer" + "code": { + "description": "Error Code", + "type": "string", + "enum": [ + "NOT_IMPLEMENTED_ERROR" + ], + "example": "NOT_IMPLEMENTED_ERROR" }, - "result": { - "description": "Transactions matching query parameters", - "type": "array", - "items": { - "$ref": "#/definitions/nftprimarytransaction.TransactionData" - } + "details": { + "description": "Additional details to help resolve the error", + "type": "object", + "x-nullable": true } - } + }, + "x-go-gen-location": "operations" }, - "nftprimarytransaction.TransactionData": { + "signableCreatePrimarySaleOKBody": { "type": "object", + "required": [ + "studio_ether_key", + "buyer_ether_key", + "buyer_stark_key", + "buyer_vault_id", + "payment_recipient_ether_key", + "payment_recipient_stark_key", + "payment_recipient_vault_id", + "items_recipient_ether_key", + "payment_asset_id", + "payment_amount", + "studio_data", + "expiration_timestamp", + "nonce", + "payload_hash", + "signable_message" + ], "properties": { - "contract_address": { - "description": "Contract address of the asset", - "type": "string" - }, - "created_at": { - "description": "Timestamp when the transaction was created", - "type": "string" - }, - "external_id": { - "description": "External transaction id", - "type": "string" + "buyer_ether_key": { + "description": "Ethereum address of the payer of the primary sale", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" }, - "fees_amount": { - "description": "Fees to pay on this transaction", - "type": "number" + "buyer_stark_key": { + "description": "Stark key of the buyer", + "type": "string", + "example": "0x123" }, - "from_amount": { - "description": "Amount of the currency specified in `from_currency` that the buyer paid for the transaction", - "type": "number" + "buyer_vault_id": { + "description": "Vault ID of the buyer", + "type": "integer", + "example": 12 }, - "from_currency": { - "description": "Currency that the buyer used for the transaction", - "type": "string" + "expiration_timestamp": { + "description": "Time the primary sale expires", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" }, - "mint_id": { - "description": "Minting transaction ID - see mintTokens response", - "type": "string" + "fees": { + "type": "array", + "items": { + "$ref": "#/definitions/signableCreatePrimarySaleOKBodyFeesItems" + } }, - "mint_status": { - "description": "Mint status", - "type": "string" + "items_recipient_ether_key": { + "description": "Ethereum address of the items receiver", + "type": "string", + "example": "0x123" }, - "offer_id": { - "description": "Temporary asset id. Might be a token id if the token id is known or a generic description if it's not", - "type": "string" + "nonce": { + "description": "Nonce of transaction", + "type": "integer", + "example": 123 }, - "provider": { - "description": "Provider name", - "type": "string" + "payload_hash": { + "description": "Hash of the StarkEx payload", + "type": "string", + "example": "0x123" }, - "seller_wallet_address": { - "description": "Ethereum address of the seller", - "type": "string" + "payment_amount": { + "description": "Fee exclusive amount of the transfer", + "type": "string", + "example": "102000" }, - "status": { - "description": "Transaction status enums(created, waitingPayment, pending, completed, failed)", - "type": "string" + "payment_asset_id": { + "description": "Asset ID of payment token", + "type": "string", + "example": "0x1" }, - "to_amount": { - "description": "Amount of the currency specified in `to_currency` that the seller received from the checkout provider for the transaction", - "type": "number" + "payment_recipient_ether_key": { + "description": "Ethereum address of the recipient of the sale proceedings", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" }, - "to_currency": { - "description": "Currency (crypto) that the checkout provider sent to the seller for the transaction", - "type": "string" + "payment_recipient_stark_key": { + "description": "Stark key of the payment receiver", + "type": "string", + "example": "0x123" }, - "token_id": { - "description": "ID of the token that has been successfully minted - should be the same as `offer_id`", - "type": "string" + "payment_recipient_vault_id": { + "description": "Vault ID of the payment receiver", + "type": "integer", + "example": 12 }, - "transaction_id": { - "description": "Transaction id", - "type": "string" + "signable_message": { + "description": "Hashed Ethereum payload of the request", + "type": "string", + "example": "0x123" }, - "updated_at": { - "description": "Timestamp when the transaction was updated", + "studio_data": { + "description": "Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing.", "type": "string" }, - "user_wallet_address": { - "description": "Wallet address that receives the minted NFT", - "type": "string" + "studio_ether_key": { + "description": "Ethereum address of the studio operating the primary sale, will be used to verify in completion", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" } - } + }, + "x-go-gen-location": "operations" }, - "nftprimarytransaction.WidgetParams": { + "signableCreatePrimarySaleOKBodyFeeInfo": { "type": "object", "properties": { - "theme": { - "description": "enums(light, dark)", + "asset_id": { + "description": "Asset ID of fee token", "type": "string", - "example": "light" - } - } - }, - "orderBuy": { - "description": "Details of the asset being bought", - "allOf": [ - { - "$ref": "#/definitions/Token" - } - ], - "x-go-gen-location": "models" - }, - "orderFeeInfoToken": { - "description": "Details of the fee currency", - "allOf": [ - { - "$ref": "#/definitions/FeeToken" - } - ], - "x-go-gen-location": "models" - }, - "orderSell": { - "description": "Details of the asset being sold", - "allOf": [ - { - "$ref": "#/definitions/Token" - } - ], - "x-go-gen-location": "models" - }, - "orderV3Buy": { - "description": "Details of the asset being bought", - "allOf": [ - { - "$ref": "#/definitions/Token" - } - ], - "x-go-gen-location": "models" - }, - "orderV3MakerFees": { - "description": "MakerFees is the information about the fees that needs to be paid by the maker (liquidity)", - "allOf": [ - { - "$ref": "#/definitions/orders.MakerTakerFee" + "example": "0x1" + }, + "fee_limit": { + "description": "Fee limit of transaction - total fee amount", + "type": "string", + "example": "1000000000000000000" + }, + "source_vault_id": { + "description": "Vault ID of fee payer", + "type": "integer", + "example": 12 } - ], - "x-go-gen-location": "models" + }, + "x-go-gen-location": "operations" }, - "orderV3Sell": { - "description": "Details of the asset being sold", - "allOf": [ - { - "$ref": "#/definitions/Token" - } + "signableCreatePrimarySaleOKBodyFeesItems": { + "description": "Fee required to be paid for a primary sale", + "type": "object", + "required": [ + "type", + "percentage", + "amount", + "address" ], - "x-go-gen-location": "models" - }, - "orderV3TakerFees": { - "description": "TakerFees is the information about the fees that needs to be paid by the taker (liquidity)", - "allOf": [ - { - "$ref": "#/definitions/orders.MakerTakerFee" + "properties": { + "address": { + "description": "Ethereum address of the fee recipient", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "amount": { + "description": "Fee amount", + "type": "string", + "example": "1000000000000000000" + }, + "percentage": { + "description": "Fee percentage in basis points (e.g. 200 for 2%)", + "type": "integer", + "example": 200 + }, + "type": { + "description": "Fee type", + "type": "string", + "enum": [ + "ECOSYSTEM", + "PROTOCOL" + ], + "example": "PRIMARY_SALE" } - ], - "x-go-gen-location": "models" + }, + "x-go-gen-location": "operations" }, - "orders.MakerTakerFee": { + "signableCreatePrimarySaleParamsBody": { "type": "object", "required": [ - "quantity_with_fees" + "studio_ether_key", + "buyer_ether_key", + "payment_recipient_ether_key", + "items_recipient_ether_key", + "payment_token", + "payment_amount", + "studio_data" ], "properties": { - "decimals": { - "description": "Number of Decimals supported the fee token", - "type": "integer" + "buyer_ether_key": { + "description": "Ethereum address of the payer of the primary sale", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "expiration_timestamp": { + "description": "Time the primary sale expires", + "type": "string", + "format": "date-time", + "example": "2022-03-07T07:20:50.52Z" }, "fees": { - "description": "Fees", "type": "array", "items": { - "$ref": "#/definitions/OrderFeeInfo" + "$ref": "#/definitions/signableCreatePrimarySaleParamsBodyFeesItems" } }, - "quantity_with_fees": { - "description": "Quantity of this asset with the sum of all fees applied to the asset", - "type": "string" + "items_recipient_ether_key": { + "description": "Ethereum address of the recipient of the items - in many cases this will be the same as account, but sometimes you may wish to gift the items to another address.", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" }, - "symbol": { - "description": "Symbol of the fee token", - "type": "string" + "payment_amount": { + "description": "Fee exclusive amount of the primary sale", + "type": "string", + "example": "1000000000000000000" }, - "token_address": { - "description": "Address of the ERC20 contract for the fee token", - "type": "string" + "payment_recipient_ether_key": { + "description": "Ethereum address of the recipient of the sale proceedings", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" }, - "token_type": { - "description": "Type of the fee token (ETH/ERC20)", + "payment_token": {}, + "studio_data": { + "description": "Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing.", "type": "string" + }, + "studio_ether_key": { + "description": "Ethereum address of the studio operating the primary sale, will be used to verify in completion", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" } - } + }, + "x-go-gen-location": "operations" + }, + "signableCreatePrimarySaleParamsBodyFeesItems": { + "description": "A fee object used in requests", + "type": "object", + "required": [ + "fee_percentage", + "address" + ], + "properties": { + "address": { + "description": "Ethereum address of the fee recipient", + "type": "string", + "example": "0x64E3F78E6C55299d004D45EF43ADaf5A7D83c9B8" + }, + "fee_percentage": { + "description": "Fee percentage in basis points (e.g. 200 for 2%)", + "type": "integer", + "example": 200 + } + }, + "x-go-gen-location": "operations" }, "signableTransferDetailsToken": { "description": "Token to transfer", @@ -8956,5 +12900,116 @@ ], "x-go-gen-location": "models" } + }, + "securityDefinitions": { + "BearerAuth": { + "type": "apiKey", + "name": "Authorization", + "in": "header" + }, + "ImxEthAddress": { + "type": "apiKey", + "name": "x-imx-eth-address", + "in": "header" + }, + "ImxEthSignature": { + "type": "apiKey", + "name": "x-imx-eth-signature", + "in": "header" + } + }, + "tags": [ + { + "description": "Primary Sales endpoints", + "name": "primary-sales" + }, + { + "description": "Primary Sales endpoints", + "name": "primary_sales" + } + ], + "x-components": { + "responses": { + "BadRequest": { + "content": { + "application/json": { + "schema": { + "$ref": "../../../../common/openapi/errors/api_errors_v2.yaml#/definitions/APIError400" + } + } + }, + "description": "Bad Request (400)" + }, + "ForbiddenRequest": { + "content": { + "application/json": { + "schema": { + "$ref": "../../../../common/openapi/errors/api_errors_v2.yaml#/definitions/APIError403" + } + } + }, + "description": "Forbidden (403)" + }, + "InternalServerError": { + "content": { + "application/json": { + "schema": { + "$ref": "../../../../common/openapi/errors/api_errors_v2.yaml#/definitions/APIError500" + } + } + }, + "description": "Internal Server Error (500)" + }, + "NotFound": { + "content": { + "application/json": { + "schema": { + "$ref": "../../../../common/openapi/errors/api_errors_v2.yaml#/definitions/APIError404" + } + } + }, + "description": "The specified resource was not found (404)" + }, + "NotImplementedError": { + "content": { + "application/json": { + "schema": { + "$ref": "../../../../common/openapi/errors/api_errors_v2.yaml#/definitions/APIError501" + } + } + }, + "description": "Not Implemented Error (501)" + }, + "TooManyRequests": { + "content": { + "application/json": { + "schema": { + "$ref": "../../../../common/openapi/errors/api_errors_v2.yaml#/definitions/APIError429" + } + } + }, + "description": "Too Many Requests (429)" + }, + "UnauthorisedRequest": { + "content": { + "application/json": { + "schema": { + "$ref": "../../../../common/openapi/errors/api_errors_v2.yaml#/definitions/APIError401" + } + } + }, + "description": "Unauthorised Request (401)" + }, + "UnprocessableEntity": { + "content": { + "application/json": { + "schema": { + "$ref": "../../../../common/openapi/errors/api_errors_v2.yaml#/definitions/APIError422" + } + } + }, + "description": "Unprocessable Entity (422)" + } + } } } \ No newline at end of file diff --git a/src/api/.openapi-generator/FILES b/src/api/.openapi-generator/FILES index 56c0a325..eb9daf33 100644 --- a/src/api/.openapi-generator/FILES +++ b/src/api/.openapi-generator/FILES @@ -16,6 +16,7 @@ domain/metadata-refreshes-api.ts domain/mints-api.ts domain/nft-checkout-primary-api.ts domain/orders-api.ts +domain/primary-sales-api.ts domain/projects-api.ts domain/tokens-api.ts domain/trades-api.ts @@ -24,6 +25,30 @@ domain/users-api.ts domain/withdrawals-api.ts git_push.sh index.ts +models/accept-primary-sale-bad-request-body-all-of0.ts +models/accept-primary-sale-bad-request-body-all-of1.ts +models/accept-primary-sale-bad-request-body.ts +models/accept-primary-sale-forbidden-body-all-of0.ts +models/accept-primary-sale-forbidden-body-all-of1.ts +models/accept-primary-sale-forbidden-body.ts +models/accept-primary-sale-internal-server-error-body-all-of0.ts +models/accept-primary-sale-internal-server-error-body-all-of1.ts +models/accept-primary-sale-internal-server-error-body.ts +models/accept-primary-sale-not-found-body-all-of0.ts +models/accept-primary-sale-not-found-body-all-of1.ts +models/accept-primary-sale-not-found-body.ts +models/accept-primary-sale-not-implemented-body-all-of0.ts +models/accept-primary-sale-not-implemented-body-all-of1.ts +models/accept-primary-sale-not-implemented-body.ts +models/accept-primary-sale-okbody-result-fees-items.ts +models/accept-primary-sale-okbody-result.ts +models/accept-primary-sale-okbody.ts +models/accept-primary-sale-unauthorized-body-all-of0.ts +models/accept-primary-sale-unauthorized-body-all-of1.ts +models/accept-primary-sale-unauthorized-body.ts +models/accept-primary-sale-unprocessable-entity-body-all-of0.ts +models/accept-primary-sale-unprocessable-entity-body-all-of1.ts +models/accept-primary-sale-unprocessable-entity-body.ts models/add-metadata-schema-to-collection-request.ts models/aggregate-limit.ts models/api-order-v3-buy.ts @@ -33,6 +58,8 @@ models/api-order-v3-taker-fees.ts models/api-order-v3.ts models/api-register-passport-user-request.ts models/api-sdkversion-check-response.ts +models/api-summarize-collections-response.ts +models/api-summarized-collection.ts models/apierror.ts models/asset-collection.ts models/asset-orders.ts @@ -59,6 +86,29 @@ models/create-metadata-refresh-response.ts models/create-order-request-v3.ts models/create-order-request.ts models/create-order-response.ts +models/create-primary-sale-bad-request-body-all-of0.ts +models/create-primary-sale-bad-request-body-all-of1.ts +models/create-primary-sale-bad-request-body.ts +models/create-primary-sale-created-body-result-fees-items.ts +models/create-primary-sale-created-body-result.ts +models/create-primary-sale-created-body.ts +models/create-primary-sale-forbidden-body-all-of0.ts +models/create-primary-sale-forbidden-body-all-of1.ts +models/create-primary-sale-forbidden-body.ts +models/create-primary-sale-internal-server-error-body-all-of0.ts +models/create-primary-sale-internal-server-error-body-all-of1.ts +models/create-primary-sale-internal-server-error-body.ts +models/create-primary-sale-not-found-body-all-of0.ts +models/create-primary-sale-not-found-body-all-of1.ts +models/create-primary-sale-not-found-body.ts +models/create-primary-sale-not-implemented-body-all-of0.ts +models/create-primary-sale-not-implemented-body-all-of1.ts +models/create-primary-sale-not-implemented-body.ts +models/create-primary-sale-params-body-fees-items.ts +models/create-primary-sale-params-body.ts +models/create-primary-sale-unauthorized-body-all-of0.ts +models/create-primary-sale-unauthorized-body-all-of1.ts +models/create-primary-sale-unauthorized-body.ts models/create-project-group-request.ts models/create-project-request.ts models/create-project-response.ts @@ -70,6 +120,7 @@ models/create-transfer-request.ts models/create-transfer-response-v1.ts models/create-transfer-response-v2.ts models/create-transfer-response.ts +models/create-withdrawal-request-v2.ts models/create-withdrawal-request.ts models/create-withdrawal-response.ts models/currency-with-limits.ts @@ -83,6 +134,44 @@ models/encode-asset-token-data.ts models/engine-register-user-result.ts models/exchange-create-exchange-and-urlresponse.ts models/exchange.ts +models/experimental-create-primary-sale-bad-request-body-all-of0.ts +models/experimental-create-primary-sale-bad-request-body-all-of1.ts +models/experimental-create-primary-sale-bad-request-body.ts +models/experimental-create-primary-sale-created-body-result-fees-items.ts +models/experimental-create-primary-sale-created-body-result.ts +models/experimental-create-primary-sale-created-body.ts +models/experimental-create-primary-sale-forbidden-body-all-of0.ts +models/experimental-create-primary-sale-forbidden-body-all-of1.ts +models/experimental-create-primary-sale-forbidden-body.ts +models/experimental-create-primary-sale-internal-server-error-body-all-of0.ts +models/experimental-create-primary-sale-internal-server-error-body-all-of1.ts +models/experimental-create-primary-sale-internal-server-error-body.ts +models/experimental-create-primary-sale-not-found-body-all-of0.ts +models/experimental-create-primary-sale-not-found-body-all-of1.ts +models/experimental-create-primary-sale-not-found-body.ts +models/experimental-create-primary-sale-not-implemented-body-all-of0.ts +models/experimental-create-primary-sale-not-implemented-body-all-of1.ts +models/experimental-create-primary-sale-not-implemented-body.ts +models/experimental-create-primary-sale-params-body-fees-items.ts +models/experimental-create-primary-sale-params-body.ts +models/experimental-create-primary-sale-unauthorized-body-all-of0.ts +models/experimental-create-primary-sale-unauthorized-body-all-of1.ts +models/experimental-create-primary-sale-unauthorized-body.ts +models/experimental-get-primary-sale-bad-request-body-all-of0.ts +models/experimental-get-primary-sale-bad-request-body-all-of1.ts +models/experimental-get-primary-sale-bad-request-body.ts +models/experimental-get-primary-sale-internal-server-error-body-all-of0.ts +models/experimental-get-primary-sale-internal-server-error-body-all-of1.ts +models/experimental-get-primary-sale-internal-server-error-body.ts +models/experimental-get-primary-sale-not-found-body-all-of0.ts +models/experimental-get-primary-sale-not-found-body-all-of1.ts +models/experimental-get-primary-sale-not-found-body.ts +models/experimental-get-primary-sale-not-implemented-body-all-of0.ts +models/experimental-get-primary-sale-not-implemented-body-all-of1.ts +models/experimental-get-primary-sale-not-implemented-body.ts +models/experimental-get-primary-sale-okbody-result-fees-items.ts +models/experimental-get-primary-sale-okbody-result.ts +models/experimental-get-primary-sale-okbody.ts models/fee-data.ts models/fee-entry.ts models/fee-info.ts @@ -92,6 +181,21 @@ models/fee.ts models/get-metadata-refresh-errors-response.ts models/get-metadata-refresh-response.ts models/get-metadata-refreshes.ts +models/get-primary-sale-bad-request-body-all-of0.ts +models/get-primary-sale-bad-request-body-all-of1.ts +models/get-primary-sale-bad-request-body.ts +models/get-primary-sale-internal-server-error-body-all-of0.ts +models/get-primary-sale-internal-server-error-body-all-of1.ts +models/get-primary-sale-internal-server-error-body.ts +models/get-primary-sale-not-found-body-all-of0.ts +models/get-primary-sale-not-found-body-all-of1.ts +models/get-primary-sale-not-found-body.ts +models/get-primary-sale-not-implemented-body-all-of0.ts +models/get-primary-sale-not-implemented-body-all-of1.ts +models/get-primary-sale-not-implemented-body.ts +models/get-primary-sale-okbody-result-fees-items.ts +models/get-primary-sale-okbody-result.ts +models/get-primary-sale-okbody.ts models/get-projects-response.ts models/get-signable-cancel-order-request.ts models/get-signable-cancel-order-response.ts @@ -124,6 +228,7 @@ models/get-signable-transfer-response-v2.ts models/get-signable-transfer-response.ts models/get-signable-withdrawal-request-token.ts models/get-signable-withdrawal-request.ts +models/get-signable-withdrawal-response-v2.ts models/get-signable-withdrawal-response.ts models/get-transactions-response.ts models/get-users-api-response.ts @@ -179,6 +284,39 @@ models/register-passport-user-request.ts models/register-passport-user-result.ts models/register-user-request.ts models/register-user-response.ts +models/signable-accept-primary-sale-bad-request-body-all-of0.ts +models/signable-accept-primary-sale-bad-request-body-all-of1.ts +models/signable-accept-primary-sale-bad-request-body.ts +models/signable-accept-primary-sale-internal-server-error-body-all-of0.ts +models/signable-accept-primary-sale-internal-server-error-body-all-of1.ts +models/signable-accept-primary-sale-internal-server-error-body.ts +models/signable-accept-primary-sale-not-found-body-all-of0.ts +models/signable-accept-primary-sale-not-found-body-all-of1.ts +models/signable-accept-primary-sale-not-found-body.ts +models/signable-accept-primary-sale-not-implemented-body-all-of0.ts +models/signable-accept-primary-sale-not-implemented-body-all-of1.ts +models/signable-accept-primary-sale-not-implemented-body.ts +models/signable-accept-primary-sale-okbody.ts +models/signable-accept-primary-sale-unprocessable-entity-body-all-of0.ts +models/signable-accept-primary-sale-unprocessable-entity-body-all-of1.ts +models/signable-accept-primary-sale-unprocessable-entity-body.ts +models/signable-create-primary-sale-bad-request-body-all-of0.ts +models/signable-create-primary-sale-bad-request-body-all-of1.ts +models/signable-create-primary-sale-bad-request-body.ts +models/signable-create-primary-sale-internal-server-error-body-all-of0.ts +models/signable-create-primary-sale-internal-server-error-body-all-of1.ts +models/signable-create-primary-sale-internal-server-error-body.ts +models/signable-create-primary-sale-not-found-body-all-of0.ts +models/signable-create-primary-sale-not-found-body-all-of1.ts +models/signable-create-primary-sale-not-found-body.ts +models/signable-create-primary-sale-not-implemented-body-all-of0.ts +models/signable-create-primary-sale-not-implemented-body-all-of1.ts +models/signable-create-primary-sale-not-implemented-body.ts +models/signable-create-primary-sale-okbody-fee-info.ts +models/signable-create-primary-sale-okbody-fees-items.ts +models/signable-create-primary-sale-okbody.ts +models/signable-create-primary-sale-params-body-fees-items.ts +models/signable-create-primary-sale-params-body.ts models/signable-token.ts models/signable-transfer-details-token.ts models/signable-transfer-details-v2-token.ts diff --git a/src/api/api.ts b/src/api/api.ts index 109e1c1a..844e651a 100644 --- a/src/api/api.ts +++ b/src/api/api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,6 +25,7 @@ export * from './domain/metadata-refreshes-api'; export * from './domain/mints-api'; export * from './domain/nft-checkout-primary-api'; export * from './domain/orders-api'; +export * from './domain/primary-sales-api'; export * from './domain/projects-api'; export * from './domain/tokens-api'; export * from './domain/trades-api'; diff --git a/src/api/base.ts b/src/api/base.ts index 5f82b77a..8f1c9a6d 100644 --- a/src/api/base.ts +++ b/src/api/base.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -18,7 +18,7 @@ import { Configuration } from "./configuration"; // @ts-ignore import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; -export const BASE_PATH = "https://api.sandbox.x.immutable.com".replace(/\/+$/, ""); +export const BASE_PATH = "https://api.sandbox.immutable.com".replace(/\/+$/, ""); /** * diff --git a/src/api/common.ts b/src/api/common.ts index 0ad7a73a..46122153 100644 --- a/src/api/common.ts +++ b/src/api/common.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/configuration.ts b/src/api/configuration.ts index 69b1f2a6..b80d8b94 100644 --- a/src/api/configuration.ts +++ b/src/api/configuration.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/domain/assets-api.ts b/src/api/domain/assets-api.ts index 805a5203..aea06aac 100644 --- a/src/api/domain/assets-api.ts +++ b/src/api/domain/assets-api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -82,14 +82,14 @@ export const AssetsApiAxiosParamCreator = function (configuration?: Configuratio * @param {string} [cursor] Cursor * @param {'updated_at' | 'name'} [orderBy] Property to sort by * @param {string} [direction] Direction to sort (asc/desc) - * @param {string} [user] Ethereum address of the user who owns these assets + * @param {string} [user] Comma separated list of ethereum address of the users who own these assets * @param {'eth' | 'imx' | 'preparing_withdrawal' | 'withdrawable' | 'burned'} [status] Status of these assets * @param {string} [name] Name of the asset to search * @param {string} [metadata] URL JSON-encoded metadata filters for these assets. Javascript example: encodeURI(JSON.stringify({\'proto\':[\'1147\'],\'quality\':[\'Meteorite\']})) * @param {boolean} [sellOrders] Set flag to true to fetch an array of sell order details with accepted status associated with the asset * @param {boolean} [buyOrders] Set flag to true to fetch an array of buy order details with accepted status associated with the asset * @param {boolean} [includeFees] Set flag to include fees associated with the asset - * @param {string} [collection] Collection contract address + * @param {string} [collection] Comma separated list of the collections contract address * @param {string} [updatedMinTimestamp] Minimum timestamp for when these assets were last updated, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\' * @param {string} [updatedMaxTimestamp] Maximum timestamp for when these assets were last updated, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\' * @param {string} [auxiliaryFeePercentages] Comma separated string of fee percentages that are to be paired with auxiliary_fee_recipients @@ -215,14 +215,14 @@ export const AssetsApiFp = function(configuration?: Configuration) { * @param {string} [cursor] Cursor * @param {'updated_at' | 'name'} [orderBy] Property to sort by * @param {string} [direction] Direction to sort (asc/desc) - * @param {string} [user] Ethereum address of the user who owns these assets + * @param {string} [user] Comma separated list of ethereum address of the users who own these assets * @param {'eth' | 'imx' | 'preparing_withdrawal' | 'withdrawable' | 'burned'} [status] Status of these assets * @param {string} [name] Name of the asset to search * @param {string} [metadata] URL JSON-encoded metadata filters for these assets. Javascript example: encodeURI(JSON.stringify({\'proto\':[\'1147\'],\'quality\':[\'Meteorite\']})) * @param {boolean} [sellOrders] Set flag to true to fetch an array of sell order details with accepted status associated with the asset * @param {boolean} [buyOrders] Set flag to true to fetch an array of buy order details with accepted status associated with the asset * @param {boolean} [includeFees] Set flag to include fees associated with the asset - * @param {string} [collection] Collection contract address + * @param {string} [collection] Comma separated list of the collections contract address * @param {string} [updatedMinTimestamp] Minimum timestamp for when these assets were last updated, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\' * @param {string} [updatedMaxTimestamp] Maximum timestamp for when these assets were last updated, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\' * @param {string} [auxiliaryFeePercentages] Comma separated string of fee percentages that are to be paired with auxiliary_fee_recipients @@ -263,14 +263,14 @@ export const AssetsApiFactory = function (configuration?: Configuration, basePat * @param {string} [cursor] Cursor * @param {'updated_at' | 'name'} [orderBy] Property to sort by * @param {string} [direction] Direction to sort (asc/desc) - * @param {string} [user] Ethereum address of the user who owns these assets + * @param {string} [user] Comma separated list of ethereum address of the users who own these assets * @param {'eth' | 'imx' | 'preparing_withdrawal' | 'withdrawable' | 'burned'} [status] Status of these assets * @param {string} [name] Name of the asset to search * @param {string} [metadata] URL JSON-encoded metadata filters for these assets. Javascript example: encodeURI(JSON.stringify({\'proto\':[\'1147\'],\'quality\':[\'Meteorite\']})) * @param {boolean} [sellOrders] Set flag to true to fetch an array of sell order details with accepted status associated with the asset * @param {boolean} [buyOrders] Set flag to true to fetch an array of buy order details with accepted status associated with the asset * @param {boolean} [includeFees] Set flag to include fees associated with the asset - * @param {string} [collection] Collection contract address + * @param {string} [collection] Comma separated list of the collections contract address * @param {string} [updatedMinTimestamp] Minimum timestamp for when these assets were last updated, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\' * @param {string} [updatedMaxTimestamp] Maximum timestamp for when these assets were last updated, in ISO 8601 UTC format. Example: \'2022-05-27T00:10:22Z\' * @param {string} [auxiliaryFeePercentages] Comma separated string of fee percentages that are to be paired with auxiliary_fee_recipients @@ -347,7 +347,7 @@ export interface AssetsApiListAssetsRequest { readonly direction?: string /** - * Ethereum address of the user who owns these assets + * Comma separated list of ethereum address of the users who own these assets * @type {string} * @memberof AssetsApiListAssets */ @@ -396,7 +396,7 @@ export interface AssetsApiListAssetsRequest { readonly includeFees?: boolean /** - * Collection contract address + * Comma separated list of the collections contract address * @type {string} * @memberof AssetsApiListAssets */ diff --git a/src/api/domain/balances-api.ts b/src/api/domain/balances-api.ts index 964153bc..10d26d07 100644 --- a/src/api/domain/balances-api.ts +++ b/src/api/domain/balances-api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/domain/collections-api.ts b/src/api/domain/collections-api.ts index cfc4e240..237b3b1e 100644 --- a/src/api/domain/collections-api.ts +++ b/src/api/domain/collections-api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,6 +23,8 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr // @ts-ignore import { APIError } from '../models'; // @ts-ignore +import { ApiSummarizeCollectionsResponse } from '../models'; +// @ts-ignore import { Collection } from '../models'; // @ts-ignore import { CollectionFilter } from '../models'; @@ -44,10 +46,11 @@ export const CollectionsApiAxiosParamCreator = function (configuration?: Configu * @param {string} iMXSignature String created by signing wallet address and timestamp. See https://docs.x.immutable.com/docs/generate-imx-signature * @param {string} iMXTimestamp Unix Epoc timestamp * @param {CreateCollectionRequest} createCollectionRequest create a collection + * @param {string} [xImmutableApiKey] Immutable secret API key generated in the Immutable Hub https://hub.immutable.com. This key is required for all projects that are created inside the Immutable Hub. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createCollection: async (iMXSignature: string, iMXTimestamp: string, createCollectionRequest: CreateCollectionRequest, options: AxiosRequestConfig = {}): Promise => { + createCollection: async (iMXSignature: string, iMXTimestamp: string, createCollectionRequest: CreateCollectionRequest, xImmutableApiKey?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'iMXSignature' is not null or undefined assertParamExists('createCollection', 'iMXSignature', iMXSignature) // verify required parameter 'iMXTimestamp' is not null or undefined @@ -74,6 +77,10 @@ export const CollectionsApiAxiosParamCreator = function (configuration?: Configu localVarHeaderParameter['IMX-Timestamp'] = String(iMXTimestamp); } + if (xImmutableApiKey != null) { + localVarHeaderParameter['x-immutable-api-key'] = String(xImmutableApiKey); + } + localVarHeaderParameter['Content-Type'] = 'application/json'; @@ -222,6 +229,43 @@ export const CollectionsApiAxiosParamCreator = function (configuration?: Configu + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Get details of the collections from which a set of wallets hold tokens, along with the number of tokens held in each collection. + * @summary Get metadata about the collections held by a set of wallets + * @param {string} users Comma separated list of wallet addresses + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + summarizeCollections: async (users: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'users' is not null or undefined + assertParamExists('summarizeCollections', 'users', users) + const localVarPath = `/v1/collections-summary`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (users !== undefined) { + localVarQueryParameter['users'] = users; + } + + + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -301,11 +345,12 @@ export const CollectionsApiFp = function(configuration?: Configuration) { * @param {string} iMXSignature String created by signing wallet address and timestamp. See https://docs.x.immutable.com/docs/generate-imx-signature * @param {string} iMXTimestamp Unix Epoc timestamp * @param {CreateCollectionRequest} createCollectionRequest create a collection + * @param {string} [xImmutableApiKey] Immutable secret API key generated in the Immutable Hub https://hub.immutable.com. This key is required for all projects that are created inside the Immutable Hub. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async createCollection(iMXSignature: string, iMXTimestamp: string, createCollectionRequest: CreateCollectionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.createCollection(iMXSignature, iMXTimestamp, createCollectionRequest, options); + async createCollection(iMXSignature: string, iMXTimestamp: string, createCollectionRequest: CreateCollectionRequest, xImmutableApiKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createCollection(iMXSignature, iMXTimestamp, createCollectionRequest, xImmutableApiKey, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -328,7 +373,7 @@ export const CollectionsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async listCollectionFilters(address: string, pageSize?: number, nextPageToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async listCollectionFilters(address: string, pageSize?: number, nextPageToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.listCollectionFilters(address, pageSize, nextPageToken, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -349,6 +394,17 @@ export const CollectionsApiFp = function(configuration?: Configuration) { const localVarAxiosArgs = await localVarAxiosParamCreator.listCollections(pageSize, cursor, orderBy, direction, blacklist, whitelist, keyword, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, + /** + * Get details of the collections from which a set of wallets hold tokens, along with the number of tokens held in each collection. + * @summary Get metadata about the collections held by a set of wallets + * @param {string} users Comma separated list of wallet addresses + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async summarizeCollections(users: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.summarizeCollections(users, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, /** * Update collection * @summary Update collection @@ -379,11 +435,12 @@ export const CollectionsApiFactory = function (configuration?: Configuration, ba * @param {string} iMXSignature String created by signing wallet address and timestamp. See https://docs.x.immutable.com/docs/generate-imx-signature * @param {string} iMXTimestamp Unix Epoc timestamp * @param {CreateCollectionRequest} createCollectionRequest create a collection + * @param {string} [xImmutableApiKey] Immutable secret API key generated in the Immutable Hub https://hub.immutable.com. This key is required for all projects that are created inside the Immutable Hub. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createCollection(iMXSignature: string, iMXTimestamp: string, createCollectionRequest: CreateCollectionRequest, options?: any): AxiosPromise { - return localVarFp.createCollection(iMXSignature, iMXTimestamp, createCollectionRequest, options).then((request) => request(axios, basePath)); + createCollection(iMXSignature: string, iMXTimestamp: string, createCollectionRequest: CreateCollectionRequest, xImmutableApiKey?: string, options?: any): AxiosPromise { + return localVarFp.createCollection(iMXSignature, iMXTimestamp, createCollectionRequest, xImmutableApiKey, options).then((request) => request(axios, basePath)); }, /** * Get details of a collection at the given address @@ -404,7 +461,7 @@ export const CollectionsApiFactory = function (configuration?: Configuration, ba * @param {*} [options] Override http request option. * @throws {RequiredError} */ - listCollectionFilters(address: string, pageSize?: number, nextPageToken?: string, options?: any): AxiosPromise { + listCollectionFilters(address: string, pageSize?: number, nextPageToken?: string, options?: any): AxiosPromise> { return localVarFp.listCollectionFilters(address, pageSize, nextPageToken, options).then((request) => request(axios, basePath)); }, /** @@ -423,6 +480,16 @@ export const CollectionsApiFactory = function (configuration?: Configuration, ba listCollections(pageSize?: number, cursor?: string, orderBy?: 'name' | 'address' | 'project_id' | 'created_at' | 'updated_at', direction?: string, blacklist?: string, whitelist?: string, keyword?: string, options?: any): AxiosPromise { return localVarFp.listCollections(pageSize, cursor, orderBy, direction, blacklist, whitelist, keyword, options).then((request) => request(axios, basePath)); }, + /** + * Get details of the collections from which a set of wallets hold tokens, along with the number of tokens held in each collection. + * @summary Get metadata about the collections held by a set of wallets + * @param {string} users Comma separated list of wallet addresses + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + summarizeCollections(users: string, options?: any): AxiosPromise { + return localVarFp.summarizeCollections(users, options).then((request) => request(axios, basePath)); + }, /** * Update collection * @summary Update collection @@ -465,6 +532,13 @@ export interface CollectionsApiCreateCollectionRequest { * @memberof CollectionsApiCreateCollection */ readonly createCollectionRequest: CreateCollectionRequest + + /** + * Immutable secret API key generated in the Immutable Hub https://hub.immutable.com. This key is required for all projects that are created inside the Immutable Hub. + * @type {string} + * @memberof CollectionsApiCreateCollection + */ + readonly xImmutableApiKey?: string } /** @@ -565,6 +639,20 @@ export interface CollectionsApiListCollectionsRequest { readonly keyword?: string } +/** + * Request parameters for summarizeCollections operation in CollectionsApi. + * @export + * @interface CollectionsApiSummarizeCollectionsRequest + */ +export interface CollectionsApiSummarizeCollectionsRequest { + /** + * Comma separated list of wallet addresses + * @type {string} + * @memberof CollectionsApiSummarizeCollections + */ + readonly users: string +} + /** * Request parameters for updateCollection operation in CollectionsApi. * @export @@ -616,7 +704,7 @@ export class CollectionsApi extends BaseAPI { * @memberof CollectionsApi */ public createCollection(requestParameters: CollectionsApiCreateCollectionRequest, options?: AxiosRequestConfig) { - return CollectionsApiFp(this.configuration).createCollection(requestParameters.iMXSignature, requestParameters.iMXTimestamp, requestParameters.createCollectionRequest, options).then((request) => request(this.axios, this.basePath)); + return CollectionsApiFp(this.configuration).createCollection(requestParameters.iMXSignature, requestParameters.iMXTimestamp, requestParameters.createCollectionRequest, requestParameters.xImmutableApiKey, options).then((request) => request(this.axios, this.basePath)); } /** @@ -655,6 +743,18 @@ export class CollectionsApi extends BaseAPI { return CollectionsApiFp(this.configuration).listCollections(requestParameters.pageSize, requestParameters.cursor, requestParameters.orderBy, requestParameters.direction, requestParameters.blacklist, requestParameters.whitelist, requestParameters.keyword, options).then((request) => request(this.axios, this.basePath)); } + /** + * Get details of the collections from which a set of wallets hold tokens, along with the number of tokens held in each collection. + * @summary Get metadata about the collections held by a set of wallets + * @param {CollectionsApiSummarizeCollectionsRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof CollectionsApi + */ + public summarizeCollections(requestParameters: CollectionsApiSummarizeCollectionsRequest, options?: AxiosRequestConfig) { + return CollectionsApiFp(this.configuration).summarizeCollections(requestParameters.users, options).then((request) => request(this.axios, this.basePath)); + } + /** * Update collection * @summary Update collection diff --git a/src/api/domain/deposits-api.ts b/src/api/domain/deposits-api.ts index 8b3b9e3d..1bfdee8f 100644 --- a/src/api/domain/deposits-api.ts +++ b/src/api/domain/deposits-api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/domain/encoding-api.ts b/src/api/domain/encoding-api.ts index 54edc679..517a69c5 100644 --- a/src/api/domain/encoding-api.ts +++ b/src/api/domain/encoding-api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/domain/exchanges-api.ts b/src/api/domain/exchanges-api.ts index fc77b45c..17dc2267 100644 --- a/src/api/domain/exchanges-api.ts +++ b/src/api/domain/exchanges-api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/domain/metadata-api.ts b/src/api/domain/metadata-api.ts index 030079b3..4b49e5f3 100644 --- a/src/api/domain/metadata-api.ts +++ b/src/api/domain/metadata-api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/domain/metadata-refreshes-api.ts b/src/api/domain/metadata-refreshes-api.ts index 17a9aaec..dc20a3bf 100644 --- a/src/api/domain/metadata-refreshes-api.ts +++ b/src/api/domain/metadata-refreshes-api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/domain/mints-api.ts b/src/api/domain/mints-api.ts index 34627227..01754515 100644 --- a/src/api/domain/mints-api.ts +++ b/src/api/domain/mints-api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/domain/nft-checkout-primary-api.ts b/src/api/domain/nft-checkout-primary-api.ts index 6c7fdaa7..18ee7b37 100644 --- a/src/api/domain/nft-checkout-primary-api.ts +++ b/src/api/domain/nft-checkout-primary-api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/domain/orders-api.ts b/src/api/domain/orders-api.ts index d9fdc40f..1ca94b7a 100644 --- a/src/api/domain/orders-api.ts +++ b/src/api/domain/orders-api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/domain/primary-sales-api.ts b/src/api/domain/primary-sales-api.ts new file mode 100644 index 00000000..0c19f7c1 --- /dev/null +++ b/src/api/domain/primary-sales-api.ts @@ -0,0 +1,541 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; +import { Configuration } from '../configuration'; +// Some imports not used depending on template conditions +// @ts-ignore +import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common'; +// @ts-ignore +import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base'; +// @ts-ignore +import { AcceptPrimarySaleBadRequestBody } from '../models'; +// @ts-ignore +import { AcceptPrimarySaleForbiddenBody } from '../models'; +// @ts-ignore +import { AcceptPrimarySaleInternalServerErrorBody } from '../models'; +// @ts-ignore +import { AcceptPrimarySaleNotFoundBody } from '../models'; +// @ts-ignore +import { AcceptPrimarySaleNotImplementedBody } from '../models'; +// @ts-ignore +import { AcceptPrimarySaleOKBody } from '../models'; +// @ts-ignore +import { AcceptPrimarySaleUnauthorizedBody } from '../models'; +// @ts-ignore +import { AcceptPrimarySaleUnprocessableEntityBody } from '../models'; +// @ts-ignore +import { CreatePrimarySaleBadRequestBody } from '../models'; +// @ts-ignore +import { CreatePrimarySaleCreatedBody } from '../models'; +// @ts-ignore +import { CreatePrimarySaleForbiddenBody } from '../models'; +// @ts-ignore +import { CreatePrimarySaleInternalServerErrorBody } from '../models'; +// @ts-ignore +import { CreatePrimarySaleNotFoundBody } from '../models'; +// @ts-ignore +import { CreatePrimarySaleNotImplementedBody } from '../models'; +// @ts-ignore +import { CreatePrimarySaleParamsBody } from '../models'; +// @ts-ignore +import { CreatePrimarySaleUnauthorizedBody } from '../models'; +// @ts-ignore +import { GetPrimarySaleBadRequestBody } from '../models'; +// @ts-ignore +import { GetPrimarySaleInternalServerErrorBody } from '../models'; +// @ts-ignore +import { GetPrimarySaleNotFoundBody } from '../models'; +// @ts-ignore +import { GetPrimarySaleNotImplementedBody } from '../models'; +// @ts-ignore +import { GetPrimarySaleOKBody } from '../models'; +// @ts-ignore +import { SignableAcceptPrimarySaleBadRequestBody } from '../models'; +// @ts-ignore +import { SignableAcceptPrimarySaleInternalServerErrorBody } from '../models'; +// @ts-ignore +import { SignableAcceptPrimarySaleNotFoundBody } from '../models'; +// @ts-ignore +import { SignableAcceptPrimarySaleNotImplementedBody } from '../models'; +// @ts-ignore +import { SignableAcceptPrimarySaleOKBody } from '../models'; +// @ts-ignore +import { SignableAcceptPrimarySaleUnprocessableEntityBody } from '../models'; +// @ts-ignore +import { SignableCreatePrimarySaleBadRequestBody } from '../models'; +// @ts-ignore +import { SignableCreatePrimarySaleInternalServerErrorBody } from '../models'; +// @ts-ignore +import { SignableCreatePrimarySaleNotFoundBody } from '../models'; +// @ts-ignore +import { SignableCreatePrimarySaleNotImplementedBody } from '../models'; +// @ts-ignore +import { SignableCreatePrimarySaleOKBody } from '../models'; +// @ts-ignore +import { SignableCreatePrimarySaleParamsBody } from '../models'; +/** + * PrimarySalesApi - axios parameter creator + * @export + */ +export const PrimarySalesApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * [Experimental] Accept Primary Sale. This endpoint is experimental and may change in the future. + * @summary [Experimental] Accept Primary Sale + * @param {number} id Global Primary Sale identifier + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + acceptPrimarySale: async (id: number, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('acceptPrimarySale', 'id', id) + const localVarPath = `/v1/primary_sales/{id}/accept` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication ImxEthAddress required + await setApiKeyToObject(localVarHeaderParameter, "x-imx-eth-address", configuration) + + // authentication ImxEthSignature required + await setApiKeyToObject(localVarHeaderParameter, "x-imx-eth-signature", configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * [Experimental] Create Primary Sale. This endpoint is experimental and may change in the future. + * @summary [Experimental] Create Primary Sale + * @param {CreatePrimarySaleParamsBody} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createPrimarySale: async (body?: CreatePrimarySaleParamsBody, options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/v1/primary_sales`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication ImxEthAddress required + await setApiKeyToObject(localVarHeaderParameter, "x-imx-eth-address", configuration) + + // authentication ImxEthSignature required + await setApiKeyToObject(localVarHeaderParameter, "x-imx-eth-signature", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * [Experimental] Get a single primary sale by ID. This endpoint is experimental and may change in the future. + * @summary [Experimental] Get a single primary sale by ID + * @param {number} id Global Primary Sale identifier + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getPrimarySale: async (id: number, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('getPrimarySale', 'id', id) + const localVarPath = `/v1/primary_sales/{id}` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * [Experimental] Signable Accept Primary Sale. This endpoint is experimental and may change in the future. + * @summary [Experimental] Signable Accept Primary Sale + * @param {number} id Global Primary Sale identifier + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + signableAcceptPrimarySale: async (id: number, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'id' is not null or undefined + assertParamExists('signableAcceptPrimarySale', 'id', id) + const localVarPath = `/v1/primary_sales/{id}/signable-accept-details` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * [Experimental] Signable Create Primary Sale. This endpoint is experimental and may change in the future. + * @summary [Experimental] Signable Create Primary Sale + * @param {SignableCreatePrimarySaleParamsBody} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + signableCreatePrimarySale: async (body?: SignableCreatePrimarySaleParamsBody, options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/v1/signable-primary-sale-details`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * PrimarySalesApi - functional programming interface + * @export + */ +export const PrimarySalesApiFp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = PrimarySalesApiAxiosParamCreator(configuration) + return { + /** + * [Experimental] Accept Primary Sale. This endpoint is experimental and may change in the future. + * @summary [Experimental] Accept Primary Sale + * @param {number} id Global Primary Sale identifier + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async acceptPrimarySale(id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.acceptPrimarySale(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * [Experimental] Create Primary Sale. This endpoint is experimental and may change in the future. + * @summary [Experimental] Create Primary Sale + * @param {CreatePrimarySaleParamsBody} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async createPrimarySale(body?: CreatePrimarySaleParamsBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createPrimarySale(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * [Experimental] Get a single primary sale by ID. This endpoint is experimental and may change in the future. + * @summary [Experimental] Get a single primary sale by ID + * @param {number} id Global Primary Sale identifier + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getPrimarySale(id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getPrimarySale(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * [Experimental] Signable Accept Primary Sale. This endpoint is experimental and may change in the future. + * @summary [Experimental] Signable Accept Primary Sale + * @param {number} id Global Primary Sale identifier + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async signableAcceptPrimarySale(id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.signableAcceptPrimarySale(id, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * [Experimental] Signable Create Primary Sale. This endpoint is experimental and may change in the future. + * @summary [Experimental] Signable Create Primary Sale + * @param {SignableCreatePrimarySaleParamsBody} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async signableCreatePrimarySale(body?: SignableCreatePrimarySaleParamsBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.signableCreatePrimarySale(body, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + } +}; + +/** + * PrimarySalesApi - factory interface + * @export + */ +export const PrimarySalesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = PrimarySalesApiFp(configuration) + return { + /** + * [Experimental] Accept Primary Sale. This endpoint is experimental and may change in the future. + * @summary [Experimental] Accept Primary Sale + * @param {number} id Global Primary Sale identifier + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + acceptPrimarySale(id: number, options?: any): AxiosPromise { + return localVarFp.acceptPrimarySale(id, options).then((request) => request(axios, basePath)); + }, + /** + * [Experimental] Create Primary Sale. This endpoint is experimental and may change in the future. + * @summary [Experimental] Create Primary Sale + * @param {CreatePrimarySaleParamsBody} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + createPrimarySale(body?: CreatePrimarySaleParamsBody, options?: any): AxiosPromise { + return localVarFp.createPrimarySale(body, options).then((request) => request(axios, basePath)); + }, + /** + * [Experimental] Get a single primary sale by ID. This endpoint is experimental and may change in the future. + * @summary [Experimental] Get a single primary sale by ID + * @param {number} id Global Primary Sale identifier + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getPrimarySale(id: number, options?: any): AxiosPromise { + return localVarFp.getPrimarySale(id, options).then((request) => request(axios, basePath)); + }, + /** + * [Experimental] Signable Accept Primary Sale. This endpoint is experimental and may change in the future. + * @summary [Experimental] Signable Accept Primary Sale + * @param {number} id Global Primary Sale identifier + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + signableAcceptPrimarySale(id: number, options?: any): AxiosPromise { + return localVarFp.signableAcceptPrimarySale(id, options).then((request) => request(axios, basePath)); + }, + /** + * [Experimental] Signable Create Primary Sale. This endpoint is experimental and may change in the future. + * @summary [Experimental] Signable Create Primary Sale + * @param {SignableCreatePrimarySaleParamsBody} [body] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + signableCreatePrimarySale(body?: SignableCreatePrimarySaleParamsBody, options?: any): AxiosPromise { + return localVarFp.signableCreatePrimarySale(body, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * Request parameters for acceptPrimarySale operation in PrimarySalesApi. + * @export + * @interface PrimarySalesApiAcceptPrimarySaleRequest + */ +export interface PrimarySalesApiAcceptPrimarySaleRequest { + /** + * Global Primary Sale identifier + * @type {number} + * @memberof PrimarySalesApiAcceptPrimarySale + */ + readonly id: number +} + +/** + * Request parameters for createPrimarySale operation in PrimarySalesApi. + * @export + * @interface PrimarySalesApiCreatePrimarySaleRequest + */ +export interface PrimarySalesApiCreatePrimarySaleRequest { + /** + * + * @type {CreatePrimarySaleParamsBody} + * @memberof PrimarySalesApiCreatePrimarySale + */ + readonly body?: CreatePrimarySaleParamsBody +} + +/** + * Request parameters for getPrimarySale operation in PrimarySalesApi. + * @export + * @interface PrimarySalesApiGetPrimarySaleRequest + */ +export interface PrimarySalesApiGetPrimarySaleRequest { + /** + * Global Primary Sale identifier + * @type {number} + * @memberof PrimarySalesApiGetPrimarySale + */ + readonly id: number +} + +/** + * Request parameters for signableAcceptPrimarySale operation in PrimarySalesApi. + * @export + * @interface PrimarySalesApiSignableAcceptPrimarySaleRequest + */ +export interface PrimarySalesApiSignableAcceptPrimarySaleRequest { + /** + * Global Primary Sale identifier + * @type {number} + * @memberof PrimarySalesApiSignableAcceptPrimarySale + */ + readonly id: number +} + +/** + * Request parameters for signableCreatePrimarySale operation in PrimarySalesApi. + * @export + * @interface PrimarySalesApiSignableCreatePrimarySaleRequest + */ +export interface PrimarySalesApiSignableCreatePrimarySaleRequest { + /** + * + * @type {SignableCreatePrimarySaleParamsBody} + * @memberof PrimarySalesApiSignableCreatePrimarySale + */ + readonly body?: SignableCreatePrimarySaleParamsBody +} + +/** + * PrimarySalesApi - object-oriented interface + * @export + * @class PrimarySalesApi + * @extends {BaseAPI} + */ +export class PrimarySalesApi extends BaseAPI { + /** + * [Experimental] Accept Primary Sale. This endpoint is experimental and may change in the future. + * @summary [Experimental] Accept Primary Sale + * @param {PrimarySalesApiAcceptPrimarySaleRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PrimarySalesApi + */ + public acceptPrimarySale(requestParameters: PrimarySalesApiAcceptPrimarySaleRequest, options?: AxiosRequestConfig) { + return PrimarySalesApiFp(this.configuration).acceptPrimarySale(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * [Experimental] Create Primary Sale. This endpoint is experimental and may change in the future. + * @summary [Experimental] Create Primary Sale + * @param {PrimarySalesApiCreatePrimarySaleRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PrimarySalesApi + */ + public createPrimarySale(requestParameters: PrimarySalesApiCreatePrimarySaleRequest = {}, options?: AxiosRequestConfig) { + return PrimarySalesApiFp(this.configuration).createPrimarySale(requestParameters.body, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * [Experimental] Get a single primary sale by ID. This endpoint is experimental and may change in the future. + * @summary [Experimental] Get a single primary sale by ID + * @param {PrimarySalesApiGetPrimarySaleRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PrimarySalesApi + */ + public getPrimarySale(requestParameters: PrimarySalesApiGetPrimarySaleRequest, options?: AxiosRequestConfig) { + return PrimarySalesApiFp(this.configuration).getPrimarySale(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * [Experimental] Signable Accept Primary Sale. This endpoint is experimental and may change in the future. + * @summary [Experimental] Signable Accept Primary Sale + * @param {PrimarySalesApiSignableAcceptPrimarySaleRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PrimarySalesApi + */ + public signableAcceptPrimarySale(requestParameters: PrimarySalesApiSignableAcceptPrimarySaleRequest, options?: AxiosRequestConfig) { + return PrimarySalesApiFp(this.configuration).signableAcceptPrimarySale(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * [Experimental] Signable Create Primary Sale. This endpoint is experimental and may change in the future. + * @summary [Experimental] Signable Create Primary Sale + * @param {PrimarySalesApiSignableCreatePrimarySaleRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PrimarySalesApi + */ + public signableCreatePrimarySale(requestParameters: PrimarySalesApiSignableCreatePrimarySaleRequest = {}, options?: AxiosRequestConfig) { + return PrimarySalesApiFp(this.configuration).signableCreatePrimarySale(requestParameters.body, options).then((request) => request(this.axios, this.basePath)); + } +} diff --git a/src/api/domain/projects-api.ts b/src/api/domain/projects-api.ts index a6613729..0192c482 100644 --- a/src/api/domain/projects-api.ts +++ b/src/api/domain/projects-api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,10 +25,6 @@ import { APIError } from '../models'; // @ts-ignore import { ApiSDKVersionCheckResponse } from '../models'; // @ts-ignore -import { CreateProjectRequest } from '../models'; -// @ts-ignore -import { CreateProjectResponse } from '../models'; -// @ts-ignore import { GetProjectsResponse } from '../models'; // @ts-ignore import { Project } from '../models'; @@ -38,57 +34,6 @@ import { Project } from '../models'; */ export const ProjectsApiAxiosParamCreator = function (configuration?: Configuration) { return { - /** - * Create a project - * @summary Create a project - * @param {string} iMXSignature String created by signing wallet address and timestamp - * @param {string} iMXTimestamp Unix Epoc timestamp - * @param {CreateProjectRequest} createProjectRequest create a project - * @param {*} [options] Override http request option. - * @deprecated - * @throws {RequiredError} - */ - createProject: async (iMXSignature: string, iMXTimestamp: string, createProjectRequest: CreateProjectRequest, options: AxiosRequestConfig = {}): Promise => { - // verify required parameter 'iMXSignature' is not null or undefined - assertParamExists('createProject', 'iMXSignature', iMXSignature) - // verify required parameter 'iMXTimestamp' is not null or undefined - assertParamExists('createProject', 'iMXTimestamp', iMXTimestamp) - // verify required parameter 'createProjectRequest' is not null or undefined - assertParamExists('createProject', 'createProjectRequest', createProjectRequest) - const localVarPath = `/v1/projects`; - // use dummy base URL string because the URL constructor only accepts absolute URLs. - const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); - let baseOptions; - if (configuration) { - baseOptions = configuration.baseOptions; - } - - const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - - if (iMXSignature != null) { - localVarHeaderParameter['IMX-Signature'] = String(iMXSignature); - } - - if (iMXTimestamp != null) { - localVarHeaderParameter['IMX-Timestamp'] = String(iMXTimestamp); - } - - - - localVarHeaderParameter['Content-Type'] = 'application/json'; - - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; - localVarRequestOptions.data = serializeDataIfNeeded(createProjectRequest, localVarRequestOptions, configuration) - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions, - }; - }, /** * Get a project * @summary Get a project @@ -258,20 +203,6 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat export const ProjectsApiFp = function(configuration?: Configuration) { const localVarAxiosParamCreator = ProjectsApiAxiosParamCreator(configuration) return { - /** - * Create a project - * @summary Create a project - * @param {string} iMXSignature String created by signing wallet address and timestamp - * @param {string} iMXTimestamp Unix Epoc timestamp - * @param {CreateProjectRequest} createProjectRequest create a project - * @param {*} [options] Override http request option. - * @deprecated - * @throws {RequiredError} - */ - async createProject(iMXSignature: string, iMXTimestamp: string, createProjectRequest: CreateProjectRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.createProject(iMXSignature, iMXTimestamp, createProjectRequest, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); - }, /** * Get a project * @summary Get a project @@ -324,19 +255,6 @@ export const ProjectsApiFp = function(configuration?: Configuration) { export const ProjectsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { const localVarFp = ProjectsApiFp(configuration) return { - /** - * Create a project - * @summary Create a project - * @param {string} iMXSignature String created by signing wallet address and timestamp - * @param {string} iMXTimestamp Unix Epoc timestamp - * @param {CreateProjectRequest} createProjectRequest create a project - * @param {*} [options] Override http request option. - * @deprecated - * @throws {RequiredError} - */ - createProject(iMXSignature: string, iMXTimestamp: string, createProjectRequest: CreateProjectRequest, options?: any): AxiosPromise { - return localVarFp.createProject(iMXSignature, iMXTimestamp, createProjectRequest, options).then((request) => request(axios, basePath)); - }, /** * Get a project * @summary Get a project @@ -379,34 +297,6 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP }; }; -/** - * Request parameters for createProject operation in ProjectsApi. - * @export - * @interface ProjectsApiCreateProjectRequest - */ -export interface ProjectsApiCreateProjectRequest { - /** - * String created by signing wallet address and timestamp - * @type {string} - * @memberof ProjectsApiCreateProject - */ - readonly iMXSignature: string - - /** - * Unix Epoc timestamp - * @type {string} - * @memberof ProjectsApiCreateProject - */ - readonly iMXTimestamp: string - - /** - * create a project - * @type {CreateProjectRequest} - * @memberof ProjectsApiCreateProject - */ - readonly createProjectRequest: CreateProjectRequest -} - /** * Request parameters for getProject operation in ProjectsApi. * @export @@ -519,19 +409,6 @@ export interface ProjectsApiGetSdkVersionRequest { * @extends {BaseAPI} */ export class ProjectsApi extends BaseAPI { - /** - * Create a project - * @summary Create a project - * @param {ProjectsApiCreateProjectRequest} requestParameters Request parameters. - * @param {*} [options] Override http request option. - * @deprecated - * @throws {RequiredError} - * @memberof ProjectsApi - */ - public createProject(requestParameters: ProjectsApiCreateProjectRequest, options?: AxiosRequestConfig) { - return ProjectsApiFp(this.configuration).createProject(requestParameters.iMXSignature, requestParameters.iMXTimestamp, requestParameters.createProjectRequest, options).then((request) => request(this.axios, this.basePath)); - } - /** * Get a project * @summary Get a project diff --git a/src/api/domain/tokens-api.ts b/src/api/domain/tokens-api.ts index 02fb3555..2ca6119c 100644 --- a/src/api/domain/tokens-api.ts +++ b/src/api/domain/tokens-api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/domain/trades-api.ts b/src/api/domain/trades-api.ts index 50fcbe5a..bca4239c 100644 --- a/src/api/domain/trades-api.ts +++ b/src/api/domain/trades-api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/domain/transfers-api.ts b/src/api/domain/transfers-api.ts index 5b82e241..c3a45a96 100644 --- a/src/api/domain/transfers-api.ts +++ b/src/api/domain/transfers-api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/domain/users-api.ts b/src/api/domain/users-api.ts index c4850305..4dbbe060 100644 --- a/src/api/domain/users-api.ts +++ b/src/api/domain/users-api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -181,6 +181,49 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(registerPassportUserRequest, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Registers a passport user + * @summary Registers a passport user + * @param {string} authorization Authorization header + * @param {ApiRegisterPassportUserRequest} registerPassportUserRequest Register Passport User + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + registerPassportUserV2: async (authorization: string, registerPassportUserRequest: ApiRegisterPassportUserRequest, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'authorization' is not null or undefined + assertParamExists('registerPassportUserV2', 'authorization', authorization) + // verify required parameter 'registerPassportUserRequest' is not null or undefined + assertParamExists('registerPassportUserV2', 'registerPassportUserRequest', registerPassportUserRequest) + const localVarPath = `/v2/passport/users`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (authorization != null) { + localVarHeaderParameter['Authorization'] = String(authorization); + } + + + localVarHeaderParameter['Content-Type'] = 'application/json'; setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -284,6 +327,18 @@ export const UsersApiFp = function(configuration?: Configuration) { const localVarAxiosArgs = await localVarAxiosParamCreator.registerPassportUser(authorization, registerPassportUserRequest, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, + /** + * Registers a passport user + * @summary Registers a passport user + * @param {string} authorization Authorization header + * @param {ApiRegisterPassportUserRequest} registerPassportUserRequest Register Passport User + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async registerPassportUserV2(authorization: string, registerPassportUserRequest: ApiRegisterPassportUserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.registerPassportUserV2(authorization, registerPassportUserRequest, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, /** * Registers a user * @summary Registers a user @@ -346,6 +401,17 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath registerPassportUser(authorization: string, registerPassportUserRequest: ApiRegisterPassportUserRequest, options?: any): AxiosPromise { return localVarFp.registerPassportUser(authorization, registerPassportUserRequest, options).then((request) => request(axios, basePath)); }, + /** + * Registers a passport user + * @summary Registers a passport user + * @param {string} authorization Authorization header + * @param {ApiRegisterPassportUserRequest} registerPassportUserRequest Register Passport User + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + registerPassportUserV2(authorization: string, registerPassportUserRequest: ApiRegisterPassportUserRequest, options?: any): AxiosPromise { + return localVarFp.registerPassportUserV2(authorization, registerPassportUserRequest, options).then((request) => request(axios, basePath)); + }, /** * Registers a user * @summary Registers a user @@ -422,6 +488,27 @@ export interface UsersApiRegisterPassportUserRequest { readonly registerPassportUserRequest: ApiRegisterPassportUserRequest } +/** + * Request parameters for registerPassportUserV2 operation in UsersApi. + * @export + * @interface UsersApiRegisterPassportUserV2Request + */ +export interface UsersApiRegisterPassportUserV2Request { + /** + * Authorization header + * @type {string} + * @memberof UsersApiRegisterPassportUserV2 + */ + readonly authorization: string + + /** + * Register Passport User + * @type {ApiRegisterPassportUserRequest} + * @memberof UsersApiRegisterPassportUserV2 + */ + readonly registerPassportUserRequest: ApiRegisterPassportUserRequest +} + /** * Request parameters for registerUser operation in UsersApi. * @export @@ -491,6 +578,18 @@ export class UsersApi extends BaseAPI { return UsersApiFp(this.configuration).registerPassportUser(requestParameters.authorization, requestParameters.registerPassportUserRequest, options).then((request) => request(this.axios, this.basePath)); } + /** + * Registers a passport user + * @summary Registers a passport user + * @param {UsersApiRegisterPassportUserV2Request} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof UsersApi + */ + public registerPassportUserV2(requestParameters: UsersApiRegisterPassportUserV2Request, options?: AxiosRequestConfig) { + return UsersApiFp(this.configuration).registerPassportUserV2(requestParameters.authorization, requestParameters.registerPassportUserRequest, options).then((request) => request(this.axios, this.basePath)); + } + /** * Registers a user * @summary Registers a user diff --git a/src/api/domain/withdrawals-api.ts b/src/api/domain/withdrawals-api.ts index 9bc0d77e..597d51da 100644 --- a/src/api/domain/withdrawals-api.ts +++ b/src/api/domain/withdrawals-api.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/index.ts b/src/api/index.ts index 78d159ff..b26c1c7e 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/accept-primary-sale-bad-request-body-all-of0.ts b/src/api/models/accept-primary-sale-bad-request-body-all-of0.ts new file mode 100644 index 00000000..6b49b8ee --- /dev/null +++ b/src/api/models/accept-primary-sale-bad-request-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AcceptPrimarySaleBadRequestBodyAllOf0 + */ +export interface AcceptPrimarySaleBadRequestBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof AcceptPrimarySaleBadRequestBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof AcceptPrimarySaleBadRequestBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof AcceptPrimarySaleBadRequestBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/accept-primary-sale-bad-request-body-all-of1.ts b/src/api/models/accept-primary-sale-bad-request-body-all-of1.ts new file mode 100644 index 00000000..3ecc789f --- /dev/null +++ b/src/api/models/accept-primary-sale-bad-request-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AcceptPrimarySaleBadRequestBodyAllOf1 + */ +export interface AcceptPrimarySaleBadRequestBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof AcceptPrimarySaleBadRequestBodyAllOf1 + */ + 'code': AcceptPrimarySaleBadRequestBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof AcceptPrimarySaleBadRequestBodyAllOf1 + */ + 'details': object | null; +} + +export const AcceptPrimarySaleBadRequestBodyAllOf1CodeEnum = { + ValidationError: 'VALIDATION_ERROR' +} as const; + +export type AcceptPrimarySaleBadRequestBodyAllOf1CodeEnum = typeof AcceptPrimarySaleBadRequestBodyAllOf1CodeEnum[keyof typeof AcceptPrimarySaleBadRequestBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/accept-primary-sale-bad-request-body.ts b/src/api/models/accept-primary-sale-bad-request-body.ts new file mode 100644 index 00000000..e920c09b --- /dev/null +++ b/src/api/models/accept-primary-sale-bad-request-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { AcceptPrimarySaleBadRequestBodyAllOf0 } from './accept-primary-sale-bad-request-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { AcceptPrimarySaleBadRequestBodyAllOf1 } from './accept-primary-sale-bad-request-body-all-of1'; + +/** + * @type AcceptPrimarySaleBadRequestBody + * @export + */ +export type AcceptPrimarySaleBadRequestBody = AcceptPrimarySaleBadRequestBodyAllOf0 & AcceptPrimarySaleBadRequestBodyAllOf1; + + diff --git a/src/api/models/accept-primary-sale-forbidden-body-all-of0.ts b/src/api/models/accept-primary-sale-forbidden-body-all-of0.ts new file mode 100644 index 00000000..f1e375bb --- /dev/null +++ b/src/api/models/accept-primary-sale-forbidden-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AcceptPrimarySaleForbiddenBodyAllOf0 + */ +export interface AcceptPrimarySaleForbiddenBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof AcceptPrimarySaleForbiddenBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof AcceptPrimarySaleForbiddenBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof AcceptPrimarySaleForbiddenBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/accept-primary-sale-forbidden-body-all-of1.ts b/src/api/models/accept-primary-sale-forbidden-body-all-of1.ts new file mode 100644 index 00000000..1b8a7f6c --- /dev/null +++ b/src/api/models/accept-primary-sale-forbidden-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AcceptPrimarySaleForbiddenBodyAllOf1 + */ +export interface AcceptPrimarySaleForbiddenBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof AcceptPrimarySaleForbiddenBodyAllOf1 + */ + 'code': AcceptPrimarySaleForbiddenBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof AcceptPrimarySaleForbiddenBodyAllOf1 + */ + 'details': object | null; +} + +export const AcceptPrimarySaleForbiddenBodyAllOf1CodeEnum = { + AuthenticationError: 'AUTHENTICATION_ERROR' +} as const; + +export type AcceptPrimarySaleForbiddenBodyAllOf1CodeEnum = typeof AcceptPrimarySaleForbiddenBodyAllOf1CodeEnum[keyof typeof AcceptPrimarySaleForbiddenBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/accept-primary-sale-forbidden-body.ts b/src/api/models/accept-primary-sale-forbidden-body.ts new file mode 100644 index 00000000..36bddee0 --- /dev/null +++ b/src/api/models/accept-primary-sale-forbidden-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { AcceptPrimarySaleForbiddenBodyAllOf0 } from './accept-primary-sale-forbidden-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { AcceptPrimarySaleForbiddenBodyAllOf1 } from './accept-primary-sale-forbidden-body-all-of1'; + +/** + * @type AcceptPrimarySaleForbiddenBody + * @export + */ +export type AcceptPrimarySaleForbiddenBody = AcceptPrimarySaleForbiddenBodyAllOf0 & AcceptPrimarySaleForbiddenBodyAllOf1; + + diff --git a/src/api/models/accept-primary-sale-internal-server-error-body-all-of0.ts b/src/api/models/accept-primary-sale-internal-server-error-body-all-of0.ts new file mode 100644 index 00000000..bf8447fc --- /dev/null +++ b/src/api/models/accept-primary-sale-internal-server-error-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AcceptPrimarySaleInternalServerErrorBodyAllOf0 + */ +export interface AcceptPrimarySaleInternalServerErrorBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof AcceptPrimarySaleInternalServerErrorBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof AcceptPrimarySaleInternalServerErrorBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof AcceptPrimarySaleInternalServerErrorBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/accept-primary-sale-internal-server-error-body-all-of1.ts b/src/api/models/accept-primary-sale-internal-server-error-body-all-of1.ts new file mode 100644 index 00000000..d6dddfb5 --- /dev/null +++ b/src/api/models/accept-primary-sale-internal-server-error-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AcceptPrimarySaleInternalServerErrorBodyAllOf1 + */ +export interface AcceptPrimarySaleInternalServerErrorBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof AcceptPrimarySaleInternalServerErrorBodyAllOf1 + */ + 'code': AcceptPrimarySaleInternalServerErrorBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof AcceptPrimarySaleInternalServerErrorBodyAllOf1 + */ + 'details': object | null; +} + +export const AcceptPrimarySaleInternalServerErrorBodyAllOf1CodeEnum = { + InternalServerError: 'INTERNAL_SERVER_ERROR' +} as const; + +export type AcceptPrimarySaleInternalServerErrorBodyAllOf1CodeEnum = typeof AcceptPrimarySaleInternalServerErrorBodyAllOf1CodeEnum[keyof typeof AcceptPrimarySaleInternalServerErrorBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/accept-primary-sale-internal-server-error-body.ts b/src/api/models/accept-primary-sale-internal-server-error-body.ts new file mode 100644 index 00000000..b3494cd3 --- /dev/null +++ b/src/api/models/accept-primary-sale-internal-server-error-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { AcceptPrimarySaleInternalServerErrorBodyAllOf0 } from './accept-primary-sale-internal-server-error-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { AcceptPrimarySaleInternalServerErrorBodyAllOf1 } from './accept-primary-sale-internal-server-error-body-all-of1'; + +/** + * @type AcceptPrimarySaleInternalServerErrorBody + * @export + */ +export type AcceptPrimarySaleInternalServerErrorBody = AcceptPrimarySaleInternalServerErrorBodyAllOf0 & AcceptPrimarySaleInternalServerErrorBodyAllOf1; + + diff --git a/src/api/models/accept-primary-sale-not-found-body-all-of0.ts b/src/api/models/accept-primary-sale-not-found-body-all-of0.ts new file mode 100644 index 00000000..172addfe --- /dev/null +++ b/src/api/models/accept-primary-sale-not-found-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AcceptPrimarySaleNotFoundBodyAllOf0 + */ +export interface AcceptPrimarySaleNotFoundBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof AcceptPrimarySaleNotFoundBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof AcceptPrimarySaleNotFoundBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof AcceptPrimarySaleNotFoundBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/accept-primary-sale-not-found-body-all-of1.ts b/src/api/models/accept-primary-sale-not-found-body-all-of1.ts new file mode 100644 index 00000000..e181bb87 --- /dev/null +++ b/src/api/models/accept-primary-sale-not-found-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AcceptPrimarySaleNotFoundBodyAllOf1 + */ +export interface AcceptPrimarySaleNotFoundBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof AcceptPrimarySaleNotFoundBodyAllOf1 + */ + 'code': AcceptPrimarySaleNotFoundBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof AcceptPrimarySaleNotFoundBodyAllOf1 + */ + 'details': object | null; +} + +export const AcceptPrimarySaleNotFoundBodyAllOf1CodeEnum = { + ResourceNotFound: 'RESOURCE_NOT_FOUND' +} as const; + +export type AcceptPrimarySaleNotFoundBodyAllOf1CodeEnum = typeof AcceptPrimarySaleNotFoundBodyAllOf1CodeEnum[keyof typeof AcceptPrimarySaleNotFoundBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/accept-primary-sale-not-found-body.ts b/src/api/models/accept-primary-sale-not-found-body.ts new file mode 100644 index 00000000..1ff3b2cb --- /dev/null +++ b/src/api/models/accept-primary-sale-not-found-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { AcceptPrimarySaleNotFoundBodyAllOf0 } from './accept-primary-sale-not-found-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { AcceptPrimarySaleNotFoundBodyAllOf1 } from './accept-primary-sale-not-found-body-all-of1'; + +/** + * @type AcceptPrimarySaleNotFoundBody + * @export + */ +export type AcceptPrimarySaleNotFoundBody = AcceptPrimarySaleNotFoundBodyAllOf0 & AcceptPrimarySaleNotFoundBodyAllOf1; + + diff --git a/src/api/models/accept-primary-sale-not-implemented-body-all-of0.ts b/src/api/models/accept-primary-sale-not-implemented-body-all-of0.ts new file mode 100644 index 00000000..40ed78c7 --- /dev/null +++ b/src/api/models/accept-primary-sale-not-implemented-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AcceptPrimarySaleNotImplementedBodyAllOf0 + */ +export interface AcceptPrimarySaleNotImplementedBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof AcceptPrimarySaleNotImplementedBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof AcceptPrimarySaleNotImplementedBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof AcceptPrimarySaleNotImplementedBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/accept-primary-sale-not-implemented-body-all-of1.ts b/src/api/models/accept-primary-sale-not-implemented-body-all-of1.ts new file mode 100644 index 00000000..38271536 --- /dev/null +++ b/src/api/models/accept-primary-sale-not-implemented-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AcceptPrimarySaleNotImplementedBodyAllOf1 + */ +export interface AcceptPrimarySaleNotImplementedBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof AcceptPrimarySaleNotImplementedBodyAllOf1 + */ + 'code': AcceptPrimarySaleNotImplementedBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof AcceptPrimarySaleNotImplementedBodyAllOf1 + */ + 'details': object | null; +} + +export const AcceptPrimarySaleNotImplementedBodyAllOf1CodeEnum = { + NotImplementedError: 'NOT_IMPLEMENTED_ERROR' +} as const; + +export type AcceptPrimarySaleNotImplementedBodyAllOf1CodeEnum = typeof AcceptPrimarySaleNotImplementedBodyAllOf1CodeEnum[keyof typeof AcceptPrimarySaleNotImplementedBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/accept-primary-sale-not-implemented-body.ts b/src/api/models/accept-primary-sale-not-implemented-body.ts new file mode 100644 index 00000000..67cf056b --- /dev/null +++ b/src/api/models/accept-primary-sale-not-implemented-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { AcceptPrimarySaleNotImplementedBodyAllOf0 } from './accept-primary-sale-not-implemented-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { AcceptPrimarySaleNotImplementedBodyAllOf1 } from './accept-primary-sale-not-implemented-body-all-of1'; + +/** + * @type AcceptPrimarySaleNotImplementedBody + * @export + */ +export type AcceptPrimarySaleNotImplementedBody = AcceptPrimarySaleNotImplementedBodyAllOf0 & AcceptPrimarySaleNotImplementedBodyAllOf1; + + diff --git a/src/api/models/accept-primary-sale-okbody-result-fees-items.ts b/src/api/models/accept-primary-sale-okbody-result-fees-items.ts new file mode 100644 index 00000000..b084d931 --- /dev/null +++ b/src/api/models/accept-primary-sale-okbody-result-fees-items.ts @@ -0,0 +1,56 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * Fee required to be paid for a primary sale + * @export + * @interface AcceptPrimarySaleOKBodyResultFeesItems + */ +export interface AcceptPrimarySaleOKBodyResultFeesItems { + /** + * Ethereum address of the fee recipient + * @type {string} + * @memberof AcceptPrimarySaleOKBodyResultFeesItems + */ + 'address': string; + /** + * Fee amount + * @type {string} + * @memberof AcceptPrimarySaleOKBodyResultFeesItems + */ + 'amount': string; + /** + * Fee percentage in basis points (e.g. 200 for 2%) + * @type {number} + * @memberof AcceptPrimarySaleOKBodyResultFeesItems + */ + 'percentage': number; + /** + * Fee type + * @type {string} + * @memberof AcceptPrimarySaleOKBodyResultFeesItems + */ + 'type': AcceptPrimarySaleOKBodyResultFeesItemsTypeEnum; +} + +export const AcceptPrimarySaleOKBodyResultFeesItemsTypeEnum = { + Ecosystem: 'ECOSYSTEM', + Protocol: 'PROTOCOL' +} as const; + +export type AcceptPrimarySaleOKBodyResultFeesItemsTypeEnum = typeof AcceptPrimarySaleOKBodyResultFeesItemsTypeEnum[keyof typeof AcceptPrimarySaleOKBodyResultFeesItemsTypeEnum]; + + diff --git a/src/api/models/accept-primary-sale-okbody-result.ts b/src/api/models/accept-primary-sale-okbody-result.ts new file mode 100644 index 00000000..13fc4409 --- /dev/null +++ b/src/api/models/accept-primary-sale-okbody-result.ts @@ -0,0 +1,118 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { AcceptPrimarySaleOKBodyResultFeesItems } from './accept-primary-sale-okbody-result-fees-items'; + +/** + * + * @export + * @interface AcceptPrimarySaleOKBodyResult + */ +export interface AcceptPrimarySaleOKBodyResult { + /** + * Ethereum address of the buyer + * @type {string} + * @memberof AcceptPrimarySaleOKBodyResult + */ + 'buyer_ether_key': string; + /** + * Time the primary sale was created + * @type {string} + * @memberof AcceptPrimarySaleOKBodyResult + */ + 'created_at': string; + /** + * Time the primary sale expires + * @type {string} + * @memberof AcceptPrimarySaleOKBodyResult + */ + 'expires_at': string; + /** + * + * @type {Array} + * @memberof AcceptPrimarySaleOKBodyResult + */ + 'fees'?: Array; + /** + * Global Primary Sale identifier + * @type {number} + * @memberof AcceptPrimarySaleOKBodyResult + */ + 'id': number; + /** + * Ethereum address of the items receiver + * @type {string} + * @memberof AcceptPrimarySaleOKBodyResult + */ + 'items_recipient_ether_key': string; + /** + * Fee inclusive amount of the transfer + * @type {string} + * @memberof AcceptPrimarySaleOKBodyResult + */ + 'payment_amount': string; + /** + * Ethereum address of the payment receiver + * @type {string} + * @memberof AcceptPrimarySaleOKBodyResult + */ + 'payment_recipient_ether_key': string; + /** + * + * @type {object} + * @memberof AcceptPrimarySaleOKBodyResult + */ + 'payment_token': object; + /** + * The primary sale status + * @type {string} + * @memberof AcceptPrimarySaleOKBodyResult + */ + 'status': AcceptPrimarySaleOKBodyResultStatusEnum; + /** + * Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing. + * @type {string} + * @memberof AcceptPrimarySaleOKBodyResult + */ + 'studio_data': string; + /** + * Ethereum address of the studio operating the primary sale, will be used to verify in completion + * @type {string} + * @memberof AcceptPrimarySaleOKBodyResult + */ + 'studio_ether_key': string; + /** + * Time the primary sale was updated + * @type {string} + * @memberof AcceptPrimarySaleOKBodyResult + */ + 'updated_at': string; +} + +export const AcceptPrimarySaleOKBodyResultStatusEnum = { + Pending: 'PENDING', + Active: 'ACTIVE', + Invalid: 'INVALID', + InProgress: 'IN_PROGRESS', + Accepted: 'ACCEPTED', + Rejected: 'REJECTED', + Expired: 'EXPIRED' +} as const; + +export type AcceptPrimarySaleOKBodyResultStatusEnum = typeof AcceptPrimarySaleOKBodyResultStatusEnum[keyof typeof AcceptPrimarySaleOKBodyResultStatusEnum]; + + diff --git a/src/api/models/accept-primary-sale-okbody.ts b/src/api/models/accept-primary-sale-okbody.ts new file mode 100644 index 00000000..1e0f4bbf --- /dev/null +++ b/src/api/models/accept-primary-sale-okbody.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { AcceptPrimarySaleOKBodyResult } from './accept-primary-sale-okbody-result'; + +/** + * + * @export + * @interface AcceptPrimarySaleOKBody + */ +export interface AcceptPrimarySaleOKBody { + /** + * + * @type {AcceptPrimarySaleOKBodyResult} + * @memberof AcceptPrimarySaleOKBody + */ + 'result': AcceptPrimarySaleOKBodyResult; +} + diff --git a/src/api/models/accept-primary-sale-unauthorized-body-all-of0.ts b/src/api/models/accept-primary-sale-unauthorized-body-all-of0.ts new file mode 100644 index 00000000..69781adb --- /dev/null +++ b/src/api/models/accept-primary-sale-unauthorized-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AcceptPrimarySaleUnauthorizedBodyAllOf0 + */ +export interface AcceptPrimarySaleUnauthorizedBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof AcceptPrimarySaleUnauthorizedBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof AcceptPrimarySaleUnauthorizedBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof AcceptPrimarySaleUnauthorizedBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/accept-primary-sale-unauthorized-body-all-of1.ts b/src/api/models/accept-primary-sale-unauthorized-body-all-of1.ts new file mode 100644 index 00000000..78ac3fa8 --- /dev/null +++ b/src/api/models/accept-primary-sale-unauthorized-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AcceptPrimarySaleUnauthorizedBodyAllOf1 + */ +export interface AcceptPrimarySaleUnauthorizedBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof AcceptPrimarySaleUnauthorizedBodyAllOf1 + */ + 'code': AcceptPrimarySaleUnauthorizedBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof AcceptPrimarySaleUnauthorizedBodyAllOf1 + */ + 'details': object | null; +} + +export const AcceptPrimarySaleUnauthorizedBodyAllOf1CodeEnum = { + UnauthorisedRequest: 'UNAUTHORISED_REQUEST' +} as const; + +export type AcceptPrimarySaleUnauthorizedBodyAllOf1CodeEnum = typeof AcceptPrimarySaleUnauthorizedBodyAllOf1CodeEnum[keyof typeof AcceptPrimarySaleUnauthorizedBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/accept-primary-sale-unauthorized-body.ts b/src/api/models/accept-primary-sale-unauthorized-body.ts new file mode 100644 index 00000000..31667be7 --- /dev/null +++ b/src/api/models/accept-primary-sale-unauthorized-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { AcceptPrimarySaleUnauthorizedBodyAllOf0 } from './accept-primary-sale-unauthorized-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { AcceptPrimarySaleUnauthorizedBodyAllOf1 } from './accept-primary-sale-unauthorized-body-all-of1'; + +/** + * @type AcceptPrimarySaleUnauthorizedBody + * @export + */ +export type AcceptPrimarySaleUnauthorizedBody = AcceptPrimarySaleUnauthorizedBodyAllOf0 & AcceptPrimarySaleUnauthorizedBodyAllOf1; + + diff --git a/src/api/models/accept-primary-sale-unprocessable-entity-body-all-of0.ts b/src/api/models/accept-primary-sale-unprocessable-entity-body-all-of0.ts new file mode 100644 index 00000000..427ebcab --- /dev/null +++ b/src/api/models/accept-primary-sale-unprocessable-entity-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AcceptPrimarySaleUnprocessableEntityBodyAllOf0 + */ +export interface AcceptPrimarySaleUnprocessableEntityBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof AcceptPrimarySaleUnprocessableEntityBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof AcceptPrimarySaleUnprocessableEntityBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof AcceptPrimarySaleUnprocessableEntityBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/accept-primary-sale-unprocessable-entity-body-all-of1.ts b/src/api/models/accept-primary-sale-unprocessable-entity-body-all-of1.ts new file mode 100644 index 00000000..36dca57e --- /dev/null +++ b/src/api/models/accept-primary-sale-unprocessable-entity-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AcceptPrimarySaleUnprocessableEntityBodyAllOf1 + */ +export interface AcceptPrimarySaleUnprocessableEntityBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof AcceptPrimarySaleUnprocessableEntityBodyAllOf1 + */ + 'code': AcceptPrimarySaleUnprocessableEntityBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof AcceptPrimarySaleUnprocessableEntityBodyAllOf1 + */ + 'details': object | null; +} + +export const AcceptPrimarySaleUnprocessableEntityBodyAllOf1CodeEnum = { + UnprocessableEntityError: 'UNPROCESSABLE_ENTITY_ERROR' +} as const; + +export type AcceptPrimarySaleUnprocessableEntityBodyAllOf1CodeEnum = typeof AcceptPrimarySaleUnprocessableEntityBodyAllOf1CodeEnum[keyof typeof AcceptPrimarySaleUnprocessableEntityBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/accept-primary-sale-unprocessable-entity-body.ts b/src/api/models/accept-primary-sale-unprocessable-entity-body.ts new file mode 100644 index 00000000..47f51cd7 --- /dev/null +++ b/src/api/models/accept-primary-sale-unprocessable-entity-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { AcceptPrimarySaleUnprocessableEntityBodyAllOf0 } from './accept-primary-sale-unprocessable-entity-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { AcceptPrimarySaleUnprocessableEntityBodyAllOf1 } from './accept-primary-sale-unprocessable-entity-body-all-of1'; + +/** + * @type AcceptPrimarySaleUnprocessableEntityBody + * @export + */ +export type AcceptPrimarySaleUnprocessableEntityBody = AcceptPrimarySaleUnprocessableEntityBodyAllOf0 & AcceptPrimarySaleUnprocessableEntityBodyAllOf1; + + diff --git a/src/api/models/add-metadata-schema-to-collection-request.ts b/src/api/models/add-metadata-schema-to-collection-request.ts index 55288702..9a12fa2e 100644 --- a/src/api/models/add-metadata-schema-to-collection-request.ts +++ b/src/api/models/add-metadata-schema-to-collection-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/aggregate-limit.ts b/src/api/models/aggregate-limit.ts index e3f21651..0ca538b6 100644 --- a/src/api/models/aggregate-limit.ts +++ b/src/api/models/aggregate-limit.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/api-order-v3-buy.ts b/src/api/models/api-order-v3-buy.ts index 7bc568c0..856d5ac4 100644 --- a/src/api/models/api-order-v3-buy.ts +++ b/src/api/models/api-order-v3-buy.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/api-order-v3-maker-fees.ts b/src/api/models/api-order-v3-maker-fees.ts index f709abad..25e28bac 100644 --- a/src/api/models/api-order-v3-maker-fees.ts +++ b/src/api/models/api-order-v3-maker-fees.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/api-order-v3-sell.ts b/src/api/models/api-order-v3-sell.ts index 4ce95ad2..58750343 100644 --- a/src/api/models/api-order-v3-sell.ts +++ b/src/api/models/api-order-v3-sell.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/api-order-v3-taker-fees.ts b/src/api/models/api-order-v3-taker-fees.ts index 6fbee9da..7d5f015d 100644 --- a/src/api/models/api-order-v3-taker-fees.ts +++ b/src/api/models/api-order-v3-taker-fees.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/api-order-v3.ts b/src/api/models/api-order-v3.ts index c8333f67..d287affe 100644 --- a/src/api/models/api-order-v3.ts +++ b/src/api/models/api-order-v3.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/api-register-passport-user-request.ts b/src/api/models/api-register-passport-user-request.ts index 51213c8f..ca7e86da 100644 --- a/src/api/models/api-register-passport-user-request.ts +++ b/src/api/models/api-register-passport-user-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/api-sdkversion-check-response.ts b/src/api/models/api-sdkversion-check-response.ts index c65fa54d..2c845ff4 100644 --- a/src/api/models/api-sdkversion-check-response.ts +++ b/src/api/models/api-sdkversion-check-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/api-summarize-collections-response.ts b/src/api/models/api-summarize-collections-response.ts new file mode 100644 index 00000000..aab820de --- /dev/null +++ b/src/api/models/api-summarize-collections-response.ts @@ -0,0 +1,45 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ApiSummarizedCollection } from './api-summarized-collection'; + +/** + * + * @export + * @interface ApiSummarizeCollectionsResponse + */ +export interface ApiSummarizeCollectionsResponse { + /** + * Generated cursor returned by previous query + * @type {string} + * @memberof ApiSummarizeCollectionsResponse + */ + 'cursor': string; + /** + * Remaining results flag. 1: there are remaining results matching this query, 0: no remaining results + * @type {number} + * @memberof ApiSummarizeCollectionsResponse + */ + 'remaining': number; + /** + * Collections matching query parameters + * @type {Array} + * @memberof ApiSummarizeCollectionsResponse + */ + 'result': Array; +} + diff --git a/src/api/models/api-summarized-collection.ts b/src/api/models/api-summarized-collection.ts new file mode 100644 index 00000000..d8425b1b --- /dev/null +++ b/src/api/models/api-summarized-collection.ts @@ -0,0 +1,39 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { Collection } from './collection'; + +/** + * + * @export + * @interface ApiSummarizedCollection + */ +export interface ApiSummarizedCollection { + /** + * + * @type {Collection} + * @memberof ApiSummarizedCollection + */ + 'collection': Collection; + /** + * + * @type {number} + * @memberof ApiSummarizedCollection + */ + 'owned_token_count': number; +} + diff --git a/src/api/models/apierror.ts b/src/api/models/apierror.ts index baea72bf..8eb54cc6 100644 --- a/src/api/models/apierror.ts +++ b/src/api/models/apierror.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/asset-collection.ts b/src/api/models/asset-collection.ts index c74dce6e..a3f753db 100644 --- a/src/api/models/asset-collection.ts +++ b/src/api/models/asset-collection.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/asset-orders.ts b/src/api/models/asset-orders.ts index 5fb71a23..6e2f3487 100644 --- a/src/api/models/asset-orders.ts +++ b/src/api/models/asset-orders.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/asset-properties-collection.ts b/src/api/models/asset-properties-collection.ts index 01d055b4..8c822f0f 100644 --- a/src/api/models/asset-properties-collection.ts +++ b/src/api/models/asset-properties-collection.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/asset-properties.ts b/src/api/models/asset-properties.ts index c85c79eb..a2444faf 100644 --- a/src/api/models/asset-properties.ts +++ b/src/api/models/asset-properties.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/asset-with-orders-collection.ts b/src/api/models/asset-with-orders-collection.ts index d2693856..664a521c 100644 --- a/src/api/models/asset-with-orders-collection.ts +++ b/src/api/models/asset-with-orders-collection.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/asset-with-orders-orders.ts b/src/api/models/asset-with-orders-orders.ts index a55b3c09..e2dbeee9 100644 --- a/src/api/models/asset-with-orders-orders.ts +++ b/src/api/models/asset-with-orders-orders.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/asset-with-orders.ts b/src/api/models/asset-with-orders.ts index e2521e52..00736bf0 100644 --- a/src/api/models/asset-with-orders.ts +++ b/src/api/models/asset-with-orders.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/asset.ts b/src/api/models/asset.ts index 534699aa..7576009d 100644 --- a/src/api/models/asset.ts +++ b/src/api/models/asset.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/balance.ts b/src/api/models/balance.ts index 82f5a539..2ada59ee 100644 --- a/src/api/models/balance.ts +++ b/src/api/models/balance.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/cancel-order-request.ts b/src/api/models/cancel-order-request.ts index bff0d786..2069f027 100644 --- a/src/api/models/cancel-order-request.ts +++ b/src/api/models/cancel-order-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/cancel-order-response.ts b/src/api/models/cancel-order-response.ts index 819a018a..9210aeed 100644 --- a/src/api/models/cancel-order-response.ts +++ b/src/api/models/cancel-order-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/collection-collection.ts b/src/api/models/collection-collection.ts index ba6b264f..4c4f86a6 100644 --- a/src/api/models/collection-collection.ts +++ b/src/api/models/collection-collection.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/collection-details.ts b/src/api/models/collection-details.ts index 0bdc9e32..1e48134f 100644 --- a/src/api/models/collection-details.ts +++ b/src/api/models/collection-details.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/collection-filter-range.ts b/src/api/models/collection-filter-range.ts index 2e416112..81fa1d6d 100644 --- a/src/api/models/collection-filter-range.ts +++ b/src/api/models/collection-filter-range.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/collection-filter.ts b/src/api/models/collection-filter.ts index f8c79ff6..8263dab2 100644 --- a/src/api/models/collection-filter.ts +++ b/src/api/models/collection-filter.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/collection.ts b/src/api/models/collection.ts index 0c603c5c..7f7976e0 100644 --- a/src/api/models/collection.ts +++ b/src/api/models/collection.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/contract-create-apirequest.ts b/src/api/models/contract-create-apirequest.ts index 5348575e..6a8c73cd 100644 --- a/src/api/models/contract-create-apirequest.ts +++ b/src/api/models/contract-create-apirequest.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/contract-create-response.ts b/src/api/models/contract-create-response.ts index f7859ba5..a7af1dc4 100644 --- a/src/api/models/contract-create-response.ts +++ b/src/api/models/contract-create-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-collection-request.ts b/src/api/models/create-collection-request.ts index bb18b40d..fe11505e 100644 --- a/src/api/models/create-collection-request.ts +++ b/src/api/models/create-collection-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-exchange-and-urlapirequest.ts b/src/api/models/create-exchange-and-urlapirequest.ts index 156647ba..ae171b34 100644 --- a/src/api/models/create-exchange-and-urlapirequest.ts +++ b/src/api/models/create-exchange-and-urlapirequest.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-metadata-refresh-request.ts b/src/api/models/create-metadata-refresh-request.ts index f401a001..0feeb328 100644 --- a/src/api/models/create-metadata-refresh-request.ts +++ b/src/api/models/create-metadata-refresh-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-metadata-refresh-response.ts b/src/api/models/create-metadata-refresh-response.ts index aaf7f8ad..814fdae5 100644 --- a/src/api/models/create-metadata-refresh-response.ts +++ b/src/api/models/create-metadata-refresh-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-order-request-v3.ts b/src/api/models/create-order-request-v3.ts index 9ac293d9..a71479f1 100644 --- a/src/api/models/create-order-request-v3.ts +++ b/src/api/models/create-order-request-v3.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-order-request.ts b/src/api/models/create-order-request.ts index fa690624..40387eeb 100644 --- a/src/api/models/create-order-request.ts +++ b/src/api/models/create-order-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-order-response.ts b/src/api/models/create-order-response.ts index 144d1953..129e96a7 100644 --- a/src/api/models/create-order-response.ts +++ b/src/api/models/create-order-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-primary-sale-bad-request-body-all-of0.ts b/src/api/models/create-primary-sale-bad-request-body-all-of0.ts new file mode 100644 index 00000000..4a162200 --- /dev/null +++ b/src/api/models/create-primary-sale-bad-request-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreatePrimarySaleBadRequestBodyAllOf0 + */ +export interface CreatePrimarySaleBadRequestBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof CreatePrimarySaleBadRequestBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof CreatePrimarySaleBadRequestBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof CreatePrimarySaleBadRequestBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/create-primary-sale-bad-request-body-all-of1.ts b/src/api/models/create-primary-sale-bad-request-body-all-of1.ts new file mode 100644 index 00000000..45b94609 --- /dev/null +++ b/src/api/models/create-primary-sale-bad-request-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreatePrimarySaleBadRequestBodyAllOf1 + */ +export interface CreatePrimarySaleBadRequestBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof CreatePrimarySaleBadRequestBodyAllOf1 + */ + 'code': CreatePrimarySaleBadRequestBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof CreatePrimarySaleBadRequestBodyAllOf1 + */ + 'details': object | null; +} + +export const CreatePrimarySaleBadRequestBodyAllOf1CodeEnum = { + ValidationError: 'VALIDATION_ERROR' +} as const; + +export type CreatePrimarySaleBadRequestBodyAllOf1CodeEnum = typeof CreatePrimarySaleBadRequestBodyAllOf1CodeEnum[keyof typeof CreatePrimarySaleBadRequestBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/create-primary-sale-bad-request-body.ts b/src/api/models/create-primary-sale-bad-request-body.ts new file mode 100644 index 00000000..fd84ec40 --- /dev/null +++ b/src/api/models/create-primary-sale-bad-request-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { CreatePrimarySaleBadRequestBodyAllOf0 } from './create-primary-sale-bad-request-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { CreatePrimarySaleBadRequestBodyAllOf1 } from './create-primary-sale-bad-request-body-all-of1'; + +/** + * @type CreatePrimarySaleBadRequestBody + * @export + */ +export type CreatePrimarySaleBadRequestBody = CreatePrimarySaleBadRequestBodyAllOf0 & CreatePrimarySaleBadRequestBodyAllOf1; + + diff --git a/src/api/models/create-primary-sale-created-body-result-fees-items.ts b/src/api/models/create-primary-sale-created-body-result-fees-items.ts new file mode 100644 index 00000000..5520402a --- /dev/null +++ b/src/api/models/create-primary-sale-created-body-result-fees-items.ts @@ -0,0 +1,56 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * Fee required to be paid for a primary sale + * @export + * @interface CreatePrimarySaleCreatedBodyResultFeesItems + */ +export interface CreatePrimarySaleCreatedBodyResultFeesItems { + /** + * Ethereum address of the fee recipient + * @type {string} + * @memberof CreatePrimarySaleCreatedBodyResultFeesItems + */ + 'address': string; + /** + * Fee amount + * @type {string} + * @memberof CreatePrimarySaleCreatedBodyResultFeesItems + */ + 'amount': string; + /** + * Fee percentage in basis points (e.g. 200 for 2%) + * @type {number} + * @memberof CreatePrimarySaleCreatedBodyResultFeesItems + */ + 'percentage': number; + /** + * Fee type + * @type {string} + * @memberof CreatePrimarySaleCreatedBodyResultFeesItems + */ + 'type': CreatePrimarySaleCreatedBodyResultFeesItemsTypeEnum; +} + +export const CreatePrimarySaleCreatedBodyResultFeesItemsTypeEnum = { + Ecosystem: 'ECOSYSTEM', + Protocol: 'PROTOCOL' +} as const; + +export type CreatePrimarySaleCreatedBodyResultFeesItemsTypeEnum = typeof CreatePrimarySaleCreatedBodyResultFeesItemsTypeEnum[keyof typeof CreatePrimarySaleCreatedBodyResultFeesItemsTypeEnum]; + + diff --git a/src/api/models/create-primary-sale-created-body-result.ts b/src/api/models/create-primary-sale-created-body-result.ts new file mode 100644 index 00000000..101c7fbd --- /dev/null +++ b/src/api/models/create-primary-sale-created-body-result.ts @@ -0,0 +1,118 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { CreatePrimarySaleCreatedBodyResultFeesItems } from './create-primary-sale-created-body-result-fees-items'; + +/** + * + * @export + * @interface CreatePrimarySaleCreatedBodyResult + */ +export interface CreatePrimarySaleCreatedBodyResult { + /** + * Ethereum address of the buyer + * @type {string} + * @memberof CreatePrimarySaleCreatedBodyResult + */ + 'buyer_ether_key': string; + /** + * Time the primary sale was created + * @type {string} + * @memberof CreatePrimarySaleCreatedBodyResult + */ + 'created_at': string; + /** + * Time the primary sale expires + * @type {string} + * @memberof CreatePrimarySaleCreatedBodyResult + */ + 'expires_at': string; + /** + * + * @type {Array} + * @memberof CreatePrimarySaleCreatedBodyResult + */ + 'fees'?: Array; + /** + * Global Primary Sale identifier + * @type {number} + * @memberof CreatePrimarySaleCreatedBodyResult + */ + 'id': number; + /** + * Ethereum address of the items receiver + * @type {string} + * @memberof CreatePrimarySaleCreatedBodyResult + */ + 'items_recipient_ether_key': string; + /** + * Fee inclusive amount of the transfer + * @type {string} + * @memberof CreatePrimarySaleCreatedBodyResult + */ + 'payment_amount': string; + /** + * Ethereum address of the payment receiver + * @type {string} + * @memberof CreatePrimarySaleCreatedBodyResult + */ + 'payment_recipient_ether_key': string; + /** + * + * @type {object} + * @memberof CreatePrimarySaleCreatedBodyResult + */ + 'payment_token': object; + /** + * The primary sale status + * @type {string} + * @memberof CreatePrimarySaleCreatedBodyResult + */ + 'status': CreatePrimarySaleCreatedBodyResultStatusEnum; + /** + * Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing. + * @type {string} + * @memberof CreatePrimarySaleCreatedBodyResult + */ + 'studio_data': string; + /** + * Ethereum address of the studio operating the primary sale, will be used to verify in completion + * @type {string} + * @memberof CreatePrimarySaleCreatedBodyResult + */ + 'studio_ether_key': string; + /** + * Time the primary sale was updated + * @type {string} + * @memberof CreatePrimarySaleCreatedBodyResult + */ + 'updated_at': string; +} + +export const CreatePrimarySaleCreatedBodyResultStatusEnum = { + Pending: 'PENDING', + Active: 'ACTIVE', + Invalid: 'INVALID', + InProgress: 'IN_PROGRESS', + Accepted: 'ACCEPTED', + Rejected: 'REJECTED', + Expired: 'EXPIRED' +} as const; + +export type CreatePrimarySaleCreatedBodyResultStatusEnum = typeof CreatePrimarySaleCreatedBodyResultStatusEnum[keyof typeof CreatePrimarySaleCreatedBodyResultStatusEnum]; + + diff --git a/src/api/models/create-primary-sale-created-body.ts b/src/api/models/create-primary-sale-created-body.ts new file mode 100644 index 00000000..6620fcad --- /dev/null +++ b/src/api/models/create-primary-sale-created-body.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { CreatePrimarySaleCreatedBodyResult } from './create-primary-sale-created-body-result'; + +/** + * + * @export + * @interface CreatePrimarySaleCreatedBody + */ +export interface CreatePrimarySaleCreatedBody { + /** + * + * @type {CreatePrimarySaleCreatedBodyResult} + * @memberof CreatePrimarySaleCreatedBody + */ + 'result': CreatePrimarySaleCreatedBodyResult; +} + diff --git a/src/api/models/create-primary-sale-forbidden-body-all-of0.ts b/src/api/models/create-primary-sale-forbidden-body-all-of0.ts new file mode 100644 index 00000000..b7ed5382 --- /dev/null +++ b/src/api/models/create-primary-sale-forbidden-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreatePrimarySaleForbiddenBodyAllOf0 + */ +export interface CreatePrimarySaleForbiddenBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof CreatePrimarySaleForbiddenBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof CreatePrimarySaleForbiddenBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof CreatePrimarySaleForbiddenBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/create-primary-sale-forbidden-body-all-of1.ts b/src/api/models/create-primary-sale-forbidden-body-all-of1.ts new file mode 100644 index 00000000..ff2a178a --- /dev/null +++ b/src/api/models/create-primary-sale-forbidden-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreatePrimarySaleForbiddenBodyAllOf1 + */ +export interface CreatePrimarySaleForbiddenBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof CreatePrimarySaleForbiddenBodyAllOf1 + */ + 'code': CreatePrimarySaleForbiddenBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof CreatePrimarySaleForbiddenBodyAllOf1 + */ + 'details': object | null; +} + +export const CreatePrimarySaleForbiddenBodyAllOf1CodeEnum = { + AuthenticationError: 'AUTHENTICATION_ERROR' +} as const; + +export type CreatePrimarySaleForbiddenBodyAllOf1CodeEnum = typeof CreatePrimarySaleForbiddenBodyAllOf1CodeEnum[keyof typeof CreatePrimarySaleForbiddenBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/create-primary-sale-forbidden-body.ts b/src/api/models/create-primary-sale-forbidden-body.ts new file mode 100644 index 00000000..a4f20368 --- /dev/null +++ b/src/api/models/create-primary-sale-forbidden-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { CreatePrimarySaleForbiddenBodyAllOf0 } from './create-primary-sale-forbidden-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { CreatePrimarySaleForbiddenBodyAllOf1 } from './create-primary-sale-forbidden-body-all-of1'; + +/** + * @type CreatePrimarySaleForbiddenBody + * @export + */ +export type CreatePrimarySaleForbiddenBody = CreatePrimarySaleForbiddenBodyAllOf0 & CreatePrimarySaleForbiddenBodyAllOf1; + + diff --git a/src/api/models/create-primary-sale-internal-server-error-body-all-of0.ts b/src/api/models/create-primary-sale-internal-server-error-body-all-of0.ts new file mode 100644 index 00000000..58459f82 --- /dev/null +++ b/src/api/models/create-primary-sale-internal-server-error-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreatePrimarySaleInternalServerErrorBodyAllOf0 + */ +export interface CreatePrimarySaleInternalServerErrorBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof CreatePrimarySaleInternalServerErrorBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof CreatePrimarySaleInternalServerErrorBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof CreatePrimarySaleInternalServerErrorBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/create-primary-sale-internal-server-error-body-all-of1.ts b/src/api/models/create-primary-sale-internal-server-error-body-all-of1.ts new file mode 100644 index 00000000..ff39ea74 --- /dev/null +++ b/src/api/models/create-primary-sale-internal-server-error-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreatePrimarySaleInternalServerErrorBodyAllOf1 + */ +export interface CreatePrimarySaleInternalServerErrorBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof CreatePrimarySaleInternalServerErrorBodyAllOf1 + */ + 'code': CreatePrimarySaleInternalServerErrorBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof CreatePrimarySaleInternalServerErrorBodyAllOf1 + */ + 'details': object | null; +} + +export const CreatePrimarySaleInternalServerErrorBodyAllOf1CodeEnum = { + InternalServerError: 'INTERNAL_SERVER_ERROR' +} as const; + +export type CreatePrimarySaleInternalServerErrorBodyAllOf1CodeEnum = typeof CreatePrimarySaleInternalServerErrorBodyAllOf1CodeEnum[keyof typeof CreatePrimarySaleInternalServerErrorBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/create-primary-sale-internal-server-error-body.ts b/src/api/models/create-primary-sale-internal-server-error-body.ts new file mode 100644 index 00000000..018d4227 --- /dev/null +++ b/src/api/models/create-primary-sale-internal-server-error-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { CreatePrimarySaleInternalServerErrorBodyAllOf0 } from './create-primary-sale-internal-server-error-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { CreatePrimarySaleInternalServerErrorBodyAllOf1 } from './create-primary-sale-internal-server-error-body-all-of1'; + +/** + * @type CreatePrimarySaleInternalServerErrorBody + * @export + */ +export type CreatePrimarySaleInternalServerErrorBody = CreatePrimarySaleInternalServerErrorBodyAllOf0 & CreatePrimarySaleInternalServerErrorBodyAllOf1; + + diff --git a/src/api/models/create-primary-sale-not-found-body-all-of0.ts b/src/api/models/create-primary-sale-not-found-body-all-of0.ts new file mode 100644 index 00000000..6bb472cd --- /dev/null +++ b/src/api/models/create-primary-sale-not-found-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreatePrimarySaleNotFoundBodyAllOf0 + */ +export interface CreatePrimarySaleNotFoundBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof CreatePrimarySaleNotFoundBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof CreatePrimarySaleNotFoundBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof CreatePrimarySaleNotFoundBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/create-primary-sale-not-found-body-all-of1.ts b/src/api/models/create-primary-sale-not-found-body-all-of1.ts new file mode 100644 index 00000000..7495650f --- /dev/null +++ b/src/api/models/create-primary-sale-not-found-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreatePrimarySaleNotFoundBodyAllOf1 + */ +export interface CreatePrimarySaleNotFoundBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof CreatePrimarySaleNotFoundBodyAllOf1 + */ + 'code': CreatePrimarySaleNotFoundBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof CreatePrimarySaleNotFoundBodyAllOf1 + */ + 'details': object | null; +} + +export const CreatePrimarySaleNotFoundBodyAllOf1CodeEnum = { + ResourceNotFound: 'RESOURCE_NOT_FOUND' +} as const; + +export type CreatePrimarySaleNotFoundBodyAllOf1CodeEnum = typeof CreatePrimarySaleNotFoundBodyAllOf1CodeEnum[keyof typeof CreatePrimarySaleNotFoundBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/create-primary-sale-not-found-body.ts b/src/api/models/create-primary-sale-not-found-body.ts new file mode 100644 index 00000000..6788e92e --- /dev/null +++ b/src/api/models/create-primary-sale-not-found-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { CreatePrimarySaleNotFoundBodyAllOf0 } from './create-primary-sale-not-found-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { CreatePrimarySaleNotFoundBodyAllOf1 } from './create-primary-sale-not-found-body-all-of1'; + +/** + * @type CreatePrimarySaleNotFoundBody + * @export + */ +export type CreatePrimarySaleNotFoundBody = CreatePrimarySaleNotFoundBodyAllOf0 & CreatePrimarySaleNotFoundBodyAllOf1; + + diff --git a/src/api/models/create-primary-sale-not-implemented-body-all-of0.ts b/src/api/models/create-primary-sale-not-implemented-body-all-of0.ts new file mode 100644 index 00000000..891d25c6 --- /dev/null +++ b/src/api/models/create-primary-sale-not-implemented-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreatePrimarySaleNotImplementedBodyAllOf0 + */ +export interface CreatePrimarySaleNotImplementedBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof CreatePrimarySaleNotImplementedBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof CreatePrimarySaleNotImplementedBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof CreatePrimarySaleNotImplementedBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/create-primary-sale-not-implemented-body-all-of1.ts b/src/api/models/create-primary-sale-not-implemented-body-all-of1.ts new file mode 100644 index 00000000..61f73814 --- /dev/null +++ b/src/api/models/create-primary-sale-not-implemented-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreatePrimarySaleNotImplementedBodyAllOf1 + */ +export interface CreatePrimarySaleNotImplementedBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof CreatePrimarySaleNotImplementedBodyAllOf1 + */ + 'code': CreatePrimarySaleNotImplementedBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof CreatePrimarySaleNotImplementedBodyAllOf1 + */ + 'details': object | null; +} + +export const CreatePrimarySaleNotImplementedBodyAllOf1CodeEnum = { + NotImplementedError: 'NOT_IMPLEMENTED_ERROR' +} as const; + +export type CreatePrimarySaleNotImplementedBodyAllOf1CodeEnum = typeof CreatePrimarySaleNotImplementedBodyAllOf1CodeEnum[keyof typeof CreatePrimarySaleNotImplementedBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/create-primary-sale-not-implemented-body.ts b/src/api/models/create-primary-sale-not-implemented-body.ts new file mode 100644 index 00000000..ab867544 --- /dev/null +++ b/src/api/models/create-primary-sale-not-implemented-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { CreatePrimarySaleNotImplementedBodyAllOf0 } from './create-primary-sale-not-implemented-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { CreatePrimarySaleNotImplementedBodyAllOf1 } from './create-primary-sale-not-implemented-body-all-of1'; + +/** + * @type CreatePrimarySaleNotImplementedBody + * @export + */ +export type CreatePrimarySaleNotImplementedBody = CreatePrimarySaleNotImplementedBodyAllOf0 & CreatePrimarySaleNotImplementedBodyAllOf1; + + diff --git a/src/api/models/create-primary-sale-params-body-fees-items.ts b/src/api/models/create-primary-sale-params-body-fees-items.ts new file mode 100644 index 00000000..75f2c4b8 --- /dev/null +++ b/src/api/models/create-primary-sale-params-body-fees-items.ts @@ -0,0 +1,56 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * Fee required to be paid for a primary sale + * @export + * @interface CreatePrimarySaleParamsBodyFeesItems + */ +export interface CreatePrimarySaleParamsBodyFeesItems { + /** + * Ethereum address of the fee recipient + * @type {string} + * @memberof CreatePrimarySaleParamsBodyFeesItems + */ + 'address': string; + /** + * Fee amount + * @type {string} + * @memberof CreatePrimarySaleParamsBodyFeesItems + */ + 'amount': string; + /** + * Fee percentage in basis points (e.g. 200 for 2%) + * @type {number} + * @memberof CreatePrimarySaleParamsBodyFeesItems + */ + 'percentage': number; + /** + * Fee type + * @type {string} + * @memberof CreatePrimarySaleParamsBodyFeesItems + */ + 'type': CreatePrimarySaleParamsBodyFeesItemsTypeEnum; +} + +export const CreatePrimarySaleParamsBodyFeesItemsTypeEnum = { + Ecosystem: 'ECOSYSTEM', + Protocol: 'PROTOCOL' +} as const; + +export type CreatePrimarySaleParamsBodyFeesItemsTypeEnum = typeof CreatePrimarySaleParamsBodyFeesItemsTypeEnum[keyof typeof CreatePrimarySaleParamsBodyFeesItemsTypeEnum]; + + diff --git a/src/api/models/create-primary-sale-params-body.ts b/src/api/models/create-primary-sale-params-body.ts new file mode 100644 index 00000000..28f0c31b --- /dev/null +++ b/src/api/models/create-primary-sale-params-body.ts @@ -0,0 +1,117 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { CreatePrimarySaleParamsBodyFeesItems } from './create-primary-sale-params-body-fees-items'; + +/** + * + * @export + * @interface CreatePrimarySaleParamsBody + */ +export interface CreatePrimarySaleParamsBody { + /** + * Ethereum address of the payer of the primary sale + * @type {string} + * @memberof CreatePrimarySaleParamsBody + */ + 'buyer_ether_key': string; + /** + * Stark key of the buyer + * @type {string} + * @memberof CreatePrimarySaleParamsBody + */ + 'buyer_stark_key': string; + /** + * Vault ID of the buyer + * @type {number} + * @memberof CreatePrimarySaleParamsBody + */ + 'buyer_vault_id': number; + /** + * Time the primary sale expires + * @type {string} + * @memberof CreatePrimarySaleParamsBody + */ + 'expiration_timestamp': string; + /** + * + * @type {Array} + * @memberof CreatePrimarySaleParamsBody + */ + 'fees'?: Array; + /** + * Ethereum address of the items receiver + * @type {string} + * @memberof CreatePrimarySaleParamsBody + */ + 'items_recipient_ether_key': string; + /** + * Nonce of transaction + * @type {number} + * @memberof CreatePrimarySaleParamsBody + */ + 'nonce': number; + /** + * Fee exclusive amount of the transfer + * @type {string} + * @memberof CreatePrimarySaleParamsBody + */ + 'payment_amount': string; + /** + * Asset ID of payment token + * @type {string} + * @memberof CreatePrimarySaleParamsBody + */ + 'payment_asset_id': string; + /** + * Ethereum address of the recipient of the sale proceedings + * @type {string} + * @memberof CreatePrimarySaleParamsBody + */ + 'payment_recipient_ether_key': string; + /** + * Stark key of the payment receiver + * @type {string} + * @memberof CreatePrimarySaleParamsBody + */ + 'payment_recipient_stark_key': string; + /** + * Vault ID of the payment receiver + * @type {number} + * @memberof CreatePrimarySaleParamsBody + */ + 'payment_recipient_vault_id': number; + /** + * StarkEx signature of the payload + * @type {string} + * @memberof CreatePrimarySaleParamsBody + */ + 'stark_signature': string; + /** + * Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing. + * @type {string} + * @memberof CreatePrimarySaleParamsBody + */ + 'studio_data': string; + /** + * Ethereum address of the studio operating the primary sale, will be used to verify in completion + * @type {string} + * @memberof CreatePrimarySaleParamsBody + */ + 'studio_ether_key': string; +} + diff --git a/src/api/models/create-primary-sale-unauthorized-body-all-of0.ts b/src/api/models/create-primary-sale-unauthorized-body-all-of0.ts new file mode 100644 index 00000000..5f43e433 --- /dev/null +++ b/src/api/models/create-primary-sale-unauthorized-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreatePrimarySaleUnauthorizedBodyAllOf0 + */ +export interface CreatePrimarySaleUnauthorizedBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof CreatePrimarySaleUnauthorizedBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof CreatePrimarySaleUnauthorizedBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof CreatePrimarySaleUnauthorizedBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/create-primary-sale-unauthorized-body-all-of1.ts b/src/api/models/create-primary-sale-unauthorized-body-all-of1.ts new file mode 100644 index 00000000..165f7f3c --- /dev/null +++ b/src/api/models/create-primary-sale-unauthorized-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreatePrimarySaleUnauthorizedBodyAllOf1 + */ +export interface CreatePrimarySaleUnauthorizedBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof CreatePrimarySaleUnauthorizedBodyAllOf1 + */ + 'code': CreatePrimarySaleUnauthorizedBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof CreatePrimarySaleUnauthorizedBodyAllOf1 + */ + 'details': object | null; +} + +export const CreatePrimarySaleUnauthorizedBodyAllOf1CodeEnum = { + UnauthorisedRequest: 'UNAUTHORISED_REQUEST' +} as const; + +export type CreatePrimarySaleUnauthorizedBodyAllOf1CodeEnum = typeof CreatePrimarySaleUnauthorizedBodyAllOf1CodeEnum[keyof typeof CreatePrimarySaleUnauthorizedBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/create-primary-sale-unauthorized-body.ts b/src/api/models/create-primary-sale-unauthorized-body.ts new file mode 100644 index 00000000..18f97df8 --- /dev/null +++ b/src/api/models/create-primary-sale-unauthorized-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { CreatePrimarySaleUnauthorizedBodyAllOf0 } from './create-primary-sale-unauthorized-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { CreatePrimarySaleUnauthorizedBodyAllOf1 } from './create-primary-sale-unauthorized-body-all-of1'; + +/** + * @type CreatePrimarySaleUnauthorizedBody + * @export + */ +export type CreatePrimarySaleUnauthorizedBody = CreatePrimarySaleUnauthorizedBodyAllOf0 & CreatePrimarySaleUnauthorizedBodyAllOf1; + + diff --git a/src/api/models/create-project-group-request.ts b/src/api/models/create-project-group-request.ts index 5668fb88..ea5ed879 100644 --- a/src/api/models/create-project-group-request.ts +++ b/src/api/models/create-project-group-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-project-request.ts b/src/api/models/create-project-request.ts index 672fbcc3..13c9158b 100644 --- a/src/api/models/create-project-request.ts +++ b/src/api/models/create-project-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-project-response.ts b/src/api/models/create-project-response.ts index 743ce745..66ff78bb 100644 --- a/src/api/models/create-project-response.ts +++ b/src/api/models/create-project-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-trade-request-v1-fee-info.ts b/src/api/models/create-trade-request-v1-fee-info.ts index d1ac9182..60645766 100644 --- a/src/api/models/create-trade-request-v1-fee-info.ts +++ b/src/api/models/create-trade-request-v1-fee-info.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-trade-request-v1.ts b/src/api/models/create-trade-request-v1.ts index b39e51fe..9bd8b822 100644 --- a/src/api/models/create-trade-request-v1.ts +++ b/src/api/models/create-trade-request-v1.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-trade-response.ts b/src/api/models/create-trade-response.ts index 9e5c4f2d..4eb6dd2a 100644 --- a/src/api/models/create-trade-response.ts +++ b/src/api/models/create-trade-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,7 +27,7 @@ export interface CreateTradeResponse { */ 'request_id'?: string; /** - * Current status of trade + * [DEPRECATED] Unused field that always returns an empty string. The presence of a trade_id signifies that a trade was successful. * @type {string} * @memberof CreateTradeResponse */ diff --git a/src/api/models/create-transfer-request-v1.ts b/src/api/models/create-transfer-request-v1.ts index bf666068..55903ad0 100644 --- a/src/api/models/create-transfer-request-v1.ts +++ b/src/api/models/create-transfer-request-v1.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-transfer-request.ts b/src/api/models/create-transfer-request.ts index b816cbf3..d91e59cf 100644 --- a/src/api/models/create-transfer-request.ts +++ b/src/api/models/create-transfer-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-transfer-response-v1.ts b/src/api/models/create-transfer-response-v1.ts index 7f02d411..23b77bbf 100644 --- a/src/api/models/create-transfer-response-v1.ts +++ b/src/api/models/create-transfer-response-v1.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-transfer-response-v2.ts b/src/api/models/create-transfer-response-v2.ts index 846d9902..2bbb7c7a 100644 --- a/src/api/models/create-transfer-response-v2.ts +++ b/src/api/models/create-transfer-response-v2.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-transfer-response.ts b/src/api/models/create-transfer-response.ts index 042b58ff..777f3d9f 100644 --- a/src/api/models/create-transfer-response.ts +++ b/src/api/models/create-transfer-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-withdrawal-request-v2.ts b/src/api/models/create-withdrawal-request-v2.ts new file mode 100644 index 00000000..f75329f2 --- /dev/null +++ b/src/api/models/create-withdrawal-request-v2.ts @@ -0,0 +1,78 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreateWithdrawalRequestV2 + */ +export interface CreateWithdrawalRequestV2 { + /** + * Amount to withdraw + * @type {string} + * @memberof CreateWithdrawalRequestV2 + */ + 'amount': string; + /** + * ID of the asset to withdraw + * @type {string} + * @memberof CreateWithdrawalRequestV2 + */ + 'asset_id': string; + /** + * Expiration timestamp for this withdrawal + * @type {number} + * @memberof CreateWithdrawalRequestV2 + */ + 'expiration_timestamp': number; + /** + * Nonce of the withdrawal + * @type {number} + * @memberof CreateWithdrawalRequestV2 + */ + 'nonce': number; + /** + * Public stark key of the user receiving the withdrawal + * @type {string} + * @memberof CreateWithdrawalRequestV2 + */ + 'receiver_stark_key': string; + /** + * ID of the vault into which the asset will be withdrawn + * @type {number} + * @memberof CreateWithdrawalRequestV2 + */ + 'receiver_vault_id'?: number; + /** + * Public stark key of the withdrawing user + * @type {string} + * @memberof CreateWithdrawalRequestV2 + */ + 'sender_stark_key': string; + /** + * ID of the vault into which the asset is from + * @type {number} + * @memberof CreateWithdrawalRequestV2 + */ + 'sender_vault_id': number; + /** + * Withdrawal payload signature + * @type {string} + * @memberof CreateWithdrawalRequestV2 + */ + 'stark_signature': string; +} + diff --git a/src/api/models/create-withdrawal-request.ts b/src/api/models/create-withdrawal-request.ts index 77069087..b3905409 100644 --- a/src/api/models/create-withdrawal-request.ts +++ b/src/api/models/create-withdrawal-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/create-withdrawal-response.ts b/src/api/models/create-withdrawal-response.ts index 4acf7786..16db1abb 100644 --- a/src/api/models/create-withdrawal-response.ts +++ b/src/api/models/create-withdrawal-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/currency-with-limits.ts b/src/api/models/currency-with-limits.ts index 123c1896..ceeec034 100644 --- a/src/api/models/currency-with-limits.ts +++ b/src/api/models/currency-with-limits.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/deposit-token.ts b/src/api/models/deposit-token.ts index c2a71202..10afc434 100644 --- a/src/api/models/deposit-token.ts +++ b/src/api/models/deposit-token.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/deposit.ts b/src/api/models/deposit.ts index 9a943daf..7c3ca1bc 100644 --- a/src/api/models/deposit.ts +++ b/src/api/models/deposit.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/encode-asset-request-token-data.ts b/src/api/models/encode-asset-request-token-data.ts index c6890543..f88ed98e 100644 --- a/src/api/models/encode-asset-request-token-data.ts +++ b/src/api/models/encode-asset-request-token-data.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/encode-asset-request-token.ts b/src/api/models/encode-asset-request-token.ts index f7c723d9..3e62c323 100644 --- a/src/api/models/encode-asset-request-token.ts +++ b/src/api/models/encode-asset-request-token.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/encode-asset-request.ts b/src/api/models/encode-asset-request.ts index 4894a64d..8a71f5b4 100644 --- a/src/api/models/encode-asset-request.ts +++ b/src/api/models/encode-asset-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/encode-asset-response.ts b/src/api/models/encode-asset-response.ts index 3610289f..5a1c5f0f 100644 --- a/src/api/models/encode-asset-response.ts +++ b/src/api/models/encode-asset-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/encode-asset-token-data.ts b/src/api/models/encode-asset-token-data.ts index 737dcd0e..27835a27 100644 --- a/src/api/models/encode-asset-token-data.ts +++ b/src/api/models/encode-asset-token-data.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/engine-register-user-result.ts b/src/api/models/engine-register-user-result.ts index 56b0adca..3db3325a 100644 --- a/src/api/models/engine-register-user-result.ts +++ b/src/api/models/engine-register-user-result.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/exchange-create-exchange-and-urlresponse.ts b/src/api/models/exchange-create-exchange-and-urlresponse.ts index f34d89cc..8438a9d7 100644 --- a/src/api/models/exchange-create-exchange-and-urlresponse.ts +++ b/src/api/models/exchange-create-exchange-and-urlresponse.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/exchange.ts b/src/api/models/exchange.ts index 962f32c2..98dad251 100644 --- a/src/api/models/exchange.ts +++ b/src/api/models/exchange.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/experimental-create-primary-sale-bad-request-body-all-of0.ts b/src/api/models/experimental-create-primary-sale-bad-request-body-all-of0.ts new file mode 100644 index 00000000..c5abff1c --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-bad-request-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalCreatePrimarySaleBadRequestBodyAllOf0 + */ +export interface ExperimentalCreatePrimarySaleBadRequestBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof ExperimentalCreatePrimarySaleBadRequestBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof ExperimentalCreatePrimarySaleBadRequestBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof ExperimentalCreatePrimarySaleBadRequestBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/experimental-create-primary-sale-bad-request-body-all-of1.ts b/src/api/models/experimental-create-primary-sale-bad-request-body-all-of1.ts new file mode 100644 index 00000000..bd8d0245 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-bad-request-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalCreatePrimarySaleBadRequestBodyAllOf1 + */ +export interface ExperimentalCreatePrimarySaleBadRequestBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof ExperimentalCreatePrimarySaleBadRequestBodyAllOf1 + */ + 'code': ExperimentalCreatePrimarySaleBadRequestBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof ExperimentalCreatePrimarySaleBadRequestBodyAllOf1 + */ + 'details': object | null; +} + +export const ExperimentalCreatePrimarySaleBadRequestBodyAllOf1CodeEnum = { + ValidationError: 'VALIDATION_ERROR' +} as const; + +export type ExperimentalCreatePrimarySaleBadRequestBodyAllOf1CodeEnum = typeof ExperimentalCreatePrimarySaleBadRequestBodyAllOf1CodeEnum[keyof typeof ExperimentalCreatePrimarySaleBadRequestBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/experimental-create-primary-sale-bad-request-body.ts b/src/api/models/experimental-create-primary-sale-bad-request-body.ts new file mode 100644 index 00000000..3ca09995 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-bad-request-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalCreatePrimarySaleBadRequestBodyAllOf0 } from './experimental-create-primary-sale-bad-request-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalCreatePrimarySaleBadRequestBodyAllOf1 } from './experimental-create-primary-sale-bad-request-body-all-of1'; + +/** + * @type ExperimentalCreatePrimarySaleBadRequestBody + * @export + */ +export type ExperimentalCreatePrimarySaleBadRequestBody = ExperimentalCreatePrimarySaleBadRequestBodyAllOf0 & ExperimentalCreatePrimarySaleBadRequestBodyAllOf1; + + diff --git a/src/api/models/experimental-create-primary-sale-created-body-result-fees-items.ts b/src/api/models/experimental-create-primary-sale-created-body-result-fees-items.ts new file mode 100644 index 00000000..178ffecb --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-created-body-result-fees-items.ts @@ -0,0 +1,56 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * Fee required to be paid for a primary sale + * @export + * @interface ExperimentalCreatePrimarySaleCreatedBodyResultFeesItems + */ +export interface ExperimentalCreatePrimarySaleCreatedBodyResultFeesItems { + /** + * Ethereum address of the fee recipient + * @type {string} + * @memberof ExperimentalCreatePrimarySaleCreatedBodyResultFeesItems + */ + 'address': string; + /** + * Fee amount + * @type {string} + * @memberof ExperimentalCreatePrimarySaleCreatedBodyResultFeesItems + */ + 'amount': string; + /** + * Fee percentage in basis points (e.g. 200 for 2%) + * @type {number} + * @memberof ExperimentalCreatePrimarySaleCreatedBodyResultFeesItems + */ + 'percentage': number; + /** + * Fee type + * @type {string} + * @memberof ExperimentalCreatePrimarySaleCreatedBodyResultFeesItems + */ + 'type': ExperimentalCreatePrimarySaleCreatedBodyResultFeesItemsTypeEnum; +} + +export const ExperimentalCreatePrimarySaleCreatedBodyResultFeesItemsTypeEnum = { + Ecosystem: 'ECOSYSTEM', + Protocol: 'PROTOCOL' +} as const; + +export type ExperimentalCreatePrimarySaleCreatedBodyResultFeesItemsTypeEnum = typeof ExperimentalCreatePrimarySaleCreatedBodyResultFeesItemsTypeEnum[keyof typeof ExperimentalCreatePrimarySaleCreatedBodyResultFeesItemsTypeEnum]; + + diff --git a/src/api/models/experimental-create-primary-sale-created-body-result.ts b/src/api/models/experimental-create-primary-sale-created-body-result.ts new file mode 100644 index 00000000..1f0c1185 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-created-body-result.ts @@ -0,0 +1,118 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalCreatePrimarySaleCreatedBodyResultFeesItems } from './experimental-create-primary-sale-created-body-result-fees-items'; + +/** + * + * @export + * @interface ExperimentalCreatePrimarySaleCreatedBodyResult + */ +export interface ExperimentalCreatePrimarySaleCreatedBodyResult { + /** + * Ethereum address of the buyer + * @type {string} + * @memberof ExperimentalCreatePrimarySaleCreatedBodyResult + */ + 'buyer_ether_key': string; + /** + * Time the primary sale was created + * @type {string} + * @memberof ExperimentalCreatePrimarySaleCreatedBodyResult + */ + 'created_at': string; + /** + * Time the primary sale expires + * @type {string} + * @memberof ExperimentalCreatePrimarySaleCreatedBodyResult + */ + 'expires_at': string; + /** + * + * @type {Array} + * @memberof ExperimentalCreatePrimarySaleCreatedBodyResult + */ + 'fees'?: Array; + /** + * Global Primary Sale identifier + * @type {number} + * @memberof ExperimentalCreatePrimarySaleCreatedBodyResult + */ + 'id': number; + /** + * Ethereum address of the items receiver + * @type {string} + * @memberof ExperimentalCreatePrimarySaleCreatedBodyResult + */ + 'items_recipient_ether_key': string; + /** + * Fee inclusive amount of the transfer + * @type {string} + * @memberof ExperimentalCreatePrimarySaleCreatedBodyResult + */ + 'payment_amount': string; + /** + * Ethereum address of the payment receiver + * @type {string} + * @memberof ExperimentalCreatePrimarySaleCreatedBodyResult + */ + 'payment_recipient_ether_key': string; + /** + * + * @type {object} + * @memberof ExperimentalCreatePrimarySaleCreatedBodyResult + */ + 'payment_token': object; + /** + * The primary sale status + * @type {string} + * @memberof ExperimentalCreatePrimarySaleCreatedBodyResult + */ + 'status': ExperimentalCreatePrimarySaleCreatedBodyResultStatusEnum; + /** + * Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing. + * @type {string} + * @memberof ExperimentalCreatePrimarySaleCreatedBodyResult + */ + 'studio_data': string; + /** + * Ethereum address of the studio operating the primary sale, will be used to verify in completion + * @type {string} + * @memberof ExperimentalCreatePrimarySaleCreatedBodyResult + */ + 'studio_ether_key': string; + /** + * Time the primary sale was updated + * @type {string} + * @memberof ExperimentalCreatePrimarySaleCreatedBodyResult + */ + 'updated_at': string; +} + +export const ExperimentalCreatePrimarySaleCreatedBodyResultStatusEnum = { + Pending: 'PENDING', + Active: 'ACTIVE', + Invalid: 'INVALID', + InProgress: 'IN_PROGRESS', + Accepted: 'ACCEPTED', + Rejected: 'REJECTED', + Expired: 'EXPIRED' +} as const; + +export type ExperimentalCreatePrimarySaleCreatedBodyResultStatusEnum = typeof ExperimentalCreatePrimarySaleCreatedBodyResultStatusEnum[keyof typeof ExperimentalCreatePrimarySaleCreatedBodyResultStatusEnum]; + + diff --git a/src/api/models/experimental-create-primary-sale-created-body.ts b/src/api/models/experimental-create-primary-sale-created-body.ts new file mode 100644 index 00000000..c65bb420 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-created-body.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalCreatePrimarySaleCreatedBodyResult } from './experimental-create-primary-sale-created-body-result'; + +/** + * + * @export + * @interface ExperimentalCreatePrimarySaleCreatedBody + */ +export interface ExperimentalCreatePrimarySaleCreatedBody { + /** + * + * @type {ExperimentalCreatePrimarySaleCreatedBodyResult} + * @memberof ExperimentalCreatePrimarySaleCreatedBody + */ + 'result': ExperimentalCreatePrimarySaleCreatedBodyResult; +} + diff --git a/src/api/models/experimental-create-primary-sale-forbidden-body-all-of0.ts b/src/api/models/experimental-create-primary-sale-forbidden-body-all-of0.ts new file mode 100644 index 00000000..e4abda14 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-forbidden-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalCreatePrimarySaleForbiddenBodyAllOf0 + */ +export interface ExperimentalCreatePrimarySaleForbiddenBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof ExperimentalCreatePrimarySaleForbiddenBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof ExperimentalCreatePrimarySaleForbiddenBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof ExperimentalCreatePrimarySaleForbiddenBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/experimental-create-primary-sale-forbidden-body-all-of1.ts b/src/api/models/experimental-create-primary-sale-forbidden-body-all-of1.ts new file mode 100644 index 00000000..1cbf9f13 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-forbidden-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalCreatePrimarySaleForbiddenBodyAllOf1 + */ +export interface ExperimentalCreatePrimarySaleForbiddenBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof ExperimentalCreatePrimarySaleForbiddenBodyAllOf1 + */ + 'code': ExperimentalCreatePrimarySaleForbiddenBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof ExperimentalCreatePrimarySaleForbiddenBodyAllOf1 + */ + 'details': object | null; +} + +export const ExperimentalCreatePrimarySaleForbiddenBodyAllOf1CodeEnum = { + AuthenticationError: 'AUTHENTICATION_ERROR' +} as const; + +export type ExperimentalCreatePrimarySaleForbiddenBodyAllOf1CodeEnum = typeof ExperimentalCreatePrimarySaleForbiddenBodyAllOf1CodeEnum[keyof typeof ExperimentalCreatePrimarySaleForbiddenBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/experimental-create-primary-sale-forbidden-body.ts b/src/api/models/experimental-create-primary-sale-forbidden-body.ts new file mode 100644 index 00000000..c3e8aa77 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-forbidden-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalCreatePrimarySaleForbiddenBodyAllOf0 } from './experimental-create-primary-sale-forbidden-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalCreatePrimarySaleForbiddenBodyAllOf1 } from './experimental-create-primary-sale-forbidden-body-all-of1'; + +/** + * @type ExperimentalCreatePrimarySaleForbiddenBody + * @export + */ +export type ExperimentalCreatePrimarySaleForbiddenBody = ExperimentalCreatePrimarySaleForbiddenBodyAllOf0 & ExperimentalCreatePrimarySaleForbiddenBodyAllOf1; + + diff --git a/src/api/models/experimental-create-primary-sale-internal-server-error-body-all-of0.ts b/src/api/models/experimental-create-primary-sale-internal-server-error-body-all-of0.ts new file mode 100644 index 00000000..114dcf20 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-internal-server-error-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf0 + */ +export interface ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/experimental-create-primary-sale-internal-server-error-body-all-of1.ts b/src/api/models/experimental-create-primary-sale-internal-server-error-body-all-of1.ts new file mode 100644 index 00000000..eae92791 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-internal-server-error-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf1 + */ +export interface ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf1 + */ + 'code': ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf1 + */ + 'details': object | null; +} + +export const ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf1CodeEnum = { + InternalServerError: 'INTERNAL_SERVER_ERROR' +} as const; + +export type ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf1CodeEnum = typeof ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf1CodeEnum[keyof typeof ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/experimental-create-primary-sale-internal-server-error-body.ts b/src/api/models/experimental-create-primary-sale-internal-server-error-body.ts new file mode 100644 index 00000000..cbf6aac4 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-internal-server-error-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf0 } from './experimental-create-primary-sale-internal-server-error-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf1 } from './experimental-create-primary-sale-internal-server-error-body-all-of1'; + +/** + * @type ExperimentalCreatePrimarySaleInternalServerErrorBody + * @export + */ +export type ExperimentalCreatePrimarySaleInternalServerErrorBody = ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf0 & ExperimentalCreatePrimarySaleInternalServerErrorBodyAllOf1; + + diff --git a/src/api/models/experimental-create-primary-sale-not-found-body-all-of0.ts b/src/api/models/experimental-create-primary-sale-not-found-body-all-of0.ts new file mode 100644 index 00000000..ca0359e3 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-not-found-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalCreatePrimarySaleNotFoundBodyAllOf0 + */ +export interface ExperimentalCreatePrimarySaleNotFoundBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof ExperimentalCreatePrimarySaleNotFoundBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof ExperimentalCreatePrimarySaleNotFoundBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof ExperimentalCreatePrimarySaleNotFoundBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/experimental-create-primary-sale-not-found-body-all-of1.ts b/src/api/models/experimental-create-primary-sale-not-found-body-all-of1.ts new file mode 100644 index 00000000..80325fa2 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-not-found-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalCreatePrimarySaleNotFoundBodyAllOf1 + */ +export interface ExperimentalCreatePrimarySaleNotFoundBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof ExperimentalCreatePrimarySaleNotFoundBodyAllOf1 + */ + 'code': ExperimentalCreatePrimarySaleNotFoundBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof ExperimentalCreatePrimarySaleNotFoundBodyAllOf1 + */ + 'details': object | null; +} + +export const ExperimentalCreatePrimarySaleNotFoundBodyAllOf1CodeEnum = { + ResourceNotFound: 'RESOURCE_NOT_FOUND' +} as const; + +export type ExperimentalCreatePrimarySaleNotFoundBodyAllOf1CodeEnum = typeof ExperimentalCreatePrimarySaleNotFoundBodyAllOf1CodeEnum[keyof typeof ExperimentalCreatePrimarySaleNotFoundBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/experimental-create-primary-sale-not-found-body.ts b/src/api/models/experimental-create-primary-sale-not-found-body.ts new file mode 100644 index 00000000..f2ca434c --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-not-found-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalCreatePrimarySaleNotFoundBodyAllOf0 } from './experimental-create-primary-sale-not-found-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalCreatePrimarySaleNotFoundBodyAllOf1 } from './experimental-create-primary-sale-not-found-body-all-of1'; + +/** + * @type ExperimentalCreatePrimarySaleNotFoundBody + * @export + */ +export type ExperimentalCreatePrimarySaleNotFoundBody = ExperimentalCreatePrimarySaleNotFoundBodyAllOf0 & ExperimentalCreatePrimarySaleNotFoundBodyAllOf1; + + diff --git a/src/api/models/experimental-create-primary-sale-not-implemented-body-all-of0.ts b/src/api/models/experimental-create-primary-sale-not-implemented-body-all-of0.ts new file mode 100644 index 00000000..980292b9 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-not-implemented-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalCreatePrimarySaleNotImplementedBodyAllOf0 + */ +export interface ExperimentalCreatePrimarySaleNotImplementedBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof ExperimentalCreatePrimarySaleNotImplementedBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof ExperimentalCreatePrimarySaleNotImplementedBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof ExperimentalCreatePrimarySaleNotImplementedBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/experimental-create-primary-sale-not-implemented-body-all-of1.ts b/src/api/models/experimental-create-primary-sale-not-implemented-body-all-of1.ts new file mode 100644 index 00000000..bc0a45e5 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-not-implemented-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalCreatePrimarySaleNotImplementedBodyAllOf1 + */ +export interface ExperimentalCreatePrimarySaleNotImplementedBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof ExperimentalCreatePrimarySaleNotImplementedBodyAllOf1 + */ + 'code': ExperimentalCreatePrimarySaleNotImplementedBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof ExperimentalCreatePrimarySaleNotImplementedBodyAllOf1 + */ + 'details': object | null; +} + +export const ExperimentalCreatePrimarySaleNotImplementedBodyAllOf1CodeEnum = { + NotImplementedError: 'NOT_IMPLEMENTED_ERROR' +} as const; + +export type ExperimentalCreatePrimarySaleNotImplementedBodyAllOf1CodeEnum = typeof ExperimentalCreatePrimarySaleNotImplementedBodyAllOf1CodeEnum[keyof typeof ExperimentalCreatePrimarySaleNotImplementedBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/experimental-create-primary-sale-not-implemented-body.ts b/src/api/models/experimental-create-primary-sale-not-implemented-body.ts new file mode 100644 index 00000000..4b03f814 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-not-implemented-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalCreatePrimarySaleNotImplementedBodyAllOf0 } from './experimental-create-primary-sale-not-implemented-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalCreatePrimarySaleNotImplementedBodyAllOf1 } from './experimental-create-primary-sale-not-implemented-body-all-of1'; + +/** + * @type ExperimentalCreatePrimarySaleNotImplementedBody + * @export + */ +export type ExperimentalCreatePrimarySaleNotImplementedBody = ExperimentalCreatePrimarySaleNotImplementedBodyAllOf0 & ExperimentalCreatePrimarySaleNotImplementedBodyAllOf1; + + diff --git a/src/api/models/experimental-create-primary-sale-params-body-fees-items.ts b/src/api/models/experimental-create-primary-sale-params-body-fees-items.ts new file mode 100644 index 00000000..27a3a969 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-params-body-fees-items.ts @@ -0,0 +1,56 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * Fee required to be paid for a primary sale + * @export + * @interface ExperimentalCreatePrimarySaleParamsBodyFeesItems + */ +export interface ExperimentalCreatePrimarySaleParamsBodyFeesItems { + /** + * Ethereum address of the fee recipient + * @type {string} + * @memberof ExperimentalCreatePrimarySaleParamsBodyFeesItems + */ + 'address': string; + /** + * Fee amount + * @type {string} + * @memberof ExperimentalCreatePrimarySaleParamsBodyFeesItems + */ + 'amount': string; + /** + * Fee percentage in basis points (e.g. 200 for 2%) + * @type {number} + * @memberof ExperimentalCreatePrimarySaleParamsBodyFeesItems + */ + 'percentage': number; + /** + * Fee type + * @type {string} + * @memberof ExperimentalCreatePrimarySaleParamsBodyFeesItems + */ + 'type': ExperimentalCreatePrimarySaleParamsBodyFeesItemsTypeEnum; +} + +export const ExperimentalCreatePrimarySaleParamsBodyFeesItemsTypeEnum = { + Ecosystem: 'ECOSYSTEM', + Protocol: 'PROTOCOL' +} as const; + +export type ExperimentalCreatePrimarySaleParamsBodyFeesItemsTypeEnum = typeof ExperimentalCreatePrimarySaleParamsBodyFeesItemsTypeEnum[keyof typeof ExperimentalCreatePrimarySaleParamsBodyFeesItemsTypeEnum]; + + diff --git a/src/api/models/experimental-create-primary-sale-params-body.ts b/src/api/models/experimental-create-primary-sale-params-body.ts new file mode 100644 index 00000000..78455095 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-params-body.ts @@ -0,0 +1,117 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalCreatePrimarySaleParamsBodyFeesItems } from './experimental-create-primary-sale-params-body-fees-items'; + +/** + * + * @export + * @interface ExperimentalCreatePrimarySaleParamsBody + */ +export interface ExperimentalCreatePrimarySaleParamsBody { + /** + * Ethereum address of the payer of the primary sale + * @type {string} + * @memberof ExperimentalCreatePrimarySaleParamsBody + */ + 'buyer_ether_key': string; + /** + * Stark key of the buyer + * @type {string} + * @memberof ExperimentalCreatePrimarySaleParamsBody + */ + 'buyer_stark_key': string; + /** + * Vault ID of the buyer + * @type {number} + * @memberof ExperimentalCreatePrimarySaleParamsBody + */ + 'buyer_vault_id': number; + /** + * Time the primary sale expires + * @type {string} + * @memberof ExperimentalCreatePrimarySaleParamsBody + */ + 'expiration_timestamp': string; + /** + * + * @type {Array} + * @memberof ExperimentalCreatePrimarySaleParamsBody + */ + 'fees'?: Array; + /** + * Ethereum address of the items receiver + * @type {string} + * @memberof ExperimentalCreatePrimarySaleParamsBody + */ + 'items_recipient_ether_key': string; + /** + * Nonce of transaction + * @type {number} + * @memberof ExperimentalCreatePrimarySaleParamsBody + */ + 'nonce': number; + /** + * Fee exclusive amount of the transfer + * @type {string} + * @memberof ExperimentalCreatePrimarySaleParamsBody + */ + 'payment_amount': string; + /** + * Asset ID of payment token + * @type {string} + * @memberof ExperimentalCreatePrimarySaleParamsBody + */ + 'payment_asset_id': string; + /** + * Ethereum address of the recipient of the sale proceedings + * @type {string} + * @memberof ExperimentalCreatePrimarySaleParamsBody + */ + 'payment_recipient_ether_key': string; + /** + * Stark key of the payment receiver + * @type {string} + * @memberof ExperimentalCreatePrimarySaleParamsBody + */ + 'payment_recipient_stark_key': string; + /** + * Vault ID of the payment receiver + * @type {number} + * @memberof ExperimentalCreatePrimarySaleParamsBody + */ + 'payment_recipient_vault_id': number; + /** + * StarkEx signature of the payload + * @type {string} + * @memberof ExperimentalCreatePrimarySaleParamsBody + */ + 'stark_signature': string; + /** + * Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing. + * @type {string} + * @memberof ExperimentalCreatePrimarySaleParamsBody + */ + 'studio_data': string; + /** + * Ethereum address of the studio operating the primary sale, will be used to verify in completion + * @type {string} + * @memberof ExperimentalCreatePrimarySaleParamsBody + */ + 'studio_ether_key': string; +} + diff --git a/src/api/models/experimental-create-primary-sale-unauthorized-body-all-of0.ts b/src/api/models/experimental-create-primary-sale-unauthorized-body-all-of0.ts new file mode 100644 index 00000000..d6873682 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-unauthorized-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf0 + */ +export interface ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/experimental-create-primary-sale-unauthorized-body-all-of1.ts b/src/api/models/experimental-create-primary-sale-unauthorized-body-all-of1.ts new file mode 100644 index 00000000..163d7e73 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-unauthorized-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf1 + */ +export interface ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf1 + */ + 'code': ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf1 + */ + 'details': object | null; +} + +export const ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf1CodeEnum = { + UnauthorisedRequest: 'UNAUTHORISED_REQUEST' +} as const; + +export type ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf1CodeEnum = typeof ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf1CodeEnum[keyof typeof ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/experimental-create-primary-sale-unauthorized-body.ts b/src/api/models/experimental-create-primary-sale-unauthorized-body.ts new file mode 100644 index 00000000..87829dc9 --- /dev/null +++ b/src/api/models/experimental-create-primary-sale-unauthorized-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf0 } from './experimental-create-primary-sale-unauthorized-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf1 } from './experimental-create-primary-sale-unauthorized-body-all-of1'; + +/** + * @type ExperimentalCreatePrimarySaleUnauthorizedBody + * @export + */ +export type ExperimentalCreatePrimarySaleUnauthorizedBody = ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf0 & ExperimentalCreatePrimarySaleUnauthorizedBodyAllOf1; + + diff --git a/src/api/models/experimental-get-primary-sale-bad-request-body-all-of0.ts b/src/api/models/experimental-get-primary-sale-bad-request-body-all-of0.ts new file mode 100644 index 00000000..a89e3300 --- /dev/null +++ b/src/api/models/experimental-get-primary-sale-bad-request-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalGetPrimarySaleBadRequestBodyAllOf0 + */ +export interface ExperimentalGetPrimarySaleBadRequestBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof ExperimentalGetPrimarySaleBadRequestBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof ExperimentalGetPrimarySaleBadRequestBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof ExperimentalGetPrimarySaleBadRequestBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/experimental-get-primary-sale-bad-request-body-all-of1.ts b/src/api/models/experimental-get-primary-sale-bad-request-body-all-of1.ts new file mode 100644 index 00000000..7cde590f --- /dev/null +++ b/src/api/models/experimental-get-primary-sale-bad-request-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalGetPrimarySaleBadRequestBodyAllOf1 + */ +export interface ExperimentalGetPrimarySaleBadRequestBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof ExperimentalGetPrimarySaleBadRequestBodyAllOf1 + */ + 'code': ExperimentalGetPrimarySaleBadRequestBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof ExperimentalGetPrimarySaleBadRequestBodyAllOf1 + */ + 'details': object | null; +} + +export const ExperimentalGetPrimarySaleBadRequestBodyAllOf1CodeEnum = { + ValidationError: 'VALIDATION_ERROR' +} as const; + +export type ExperimentalGetPrimarySaleBadRequestBodyAllOf1CodeEnum = typeof ExperimentalGetPrimarySaleBadRequestBodyAllOf1CodeEnum[keyof typeof ExperimentalGetPrimarySaleBadRequestBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/experimental-get-primary-sale-bad-request-body.ts b/src/api/models/experimental-get-primary-sale-bad-request-body.ts new file mode 100644 index 00000000..d4112306 --- /dev/null +++ b/src/api/models/experimental-get-primary-sale-bad-request-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalGetPrimarySaleBadRequestBodyAllOf0 } from './experimental-get-primary-sale-bad-request-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalGetPrimarySaleBadRequestBodyAllOf1 } from './experimental-get-primary-sale-bad-request-body-all-of1'; + +/** + * @type ExperimentalGetPrimarySaleBadRequestBody + * @export + */ +export type ExperimentalGetPrimarySaleBadRequestBody = ExperimentalGetPrimarySaleBadRequestBodyAllOf0 & ExperimentalGetPrimarySaleBadRequestBodyAllOf1; + + diff --git a/src/api/models/experimental-get-primary-sale-internal-server-error-body-all-of0.ts b/src/api/models/experimental-get-primary-sale-internal-server-error-body-all-of0.ts new file mode 100644 index 00000000..da747714 --- /dev/null +++ b/src/api/models/experimental-get-primary-sale-internal-server-error-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf0 + */ +export interface ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/experimental-get-primary-sale-internal-server-error-body-all-of1.ts b/src/api/models/experimental-get-primary-sale-internal-server-error-body-all-of1.ts new file mode 100644 index 00000000..506de360 --- /dev/null +++ b/src/api/models/experimental-get-primary-sale-internal-server-error-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf1 + */ +export interface ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf1 + */ + 'code': ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf1 + */ + 'details': object | null; +} + +export const ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf1CodeEnum = { + InternalServerError: 'INTERNAL_SERVER_ERROR' +} as const; + +export type ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf1CodeEnum = typeof ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf1CodeEnum[keyof typeof ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/experimental-get-primary-sale-internal-server-error-body.ts b/src/api/models/experimental-get-primary-sale-internal-server-error-body.ts new file mode 100644 index 00000000..f737a2a1 --- /dev/null +++ b/src/api/models/experimental-get-primary-sale-internal-server-error-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf0 } from './experimental-get-primary-sale-internal-server-error-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf1 } from './experimental-get-primary-sale-internal-server-error-body-all-of1'; + +/** + * @type ExperimentalGetPrimarySaleInternalServerErrorBody + * @export + */ +export type ExperimentalGetPrimarySaleInternalServerErrorBody = ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf0 & ExperimentalGetPrimarySaleInternalServerErrorBodyAllOf1; + + diff --git a/src/api/models/experimental-get-primary-sale-not-found-body-all-of0.ts b/src/api/models/experimental-get-primary-sale-not-found-body-all-of0.ts new file mode 100644 index 00000000..594abe45 --- /dev/null +++ b/src/api/models/experimental-get-primary-sale-not-found-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalGetPrimarySaleNotFoundBodyAllOf0 + */ +export interface ExperimentalGetPrimarySaleNotFoundBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof ExperimentalGetPrimarySaleNotFoundBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof ExperimentalGetPrimarySaleNotFoundBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof ExperimentalGetPrimarySaleNotFoundBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/experimental-get-primary-sale-not-found-body-all-of1.ts b/src/api/models/experimental-get-primary-sale-not-found-body-all-of1.ts new file mode 100644 index 00000000..18b2e413 --- /dev/null +++ b/src/api/models/experimental-get-primary-sale-not-found-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalGetPrimarySaleNotFoundBodyAllOf1 + */ +export interface ExperimentalGetPrimarySaleNotFoundBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof ExperimentalGetPrimarySaleNotFoundBodyAllOf1 + */ + 'code': ExperimentalGetPrimarySaleNotFoundBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof ExperimentalGetPrimarySaleNotFoundBodyAllOf1 + */ + 'details': object | null; +} + +export const ExperimentalGetPrimarySaleNotFoundBodyAllOf1CodeEnum = { + ResourceNotFound: 'RESOURCE_NOT_FOUND' +} as const; + +export type ExperimentalGetPrimarySaleNotFoundBodyAllOf1CodeEnum = typeof ExperimentalGetPrimarySaleNotFoundBodyAllOf1CodeEnum[keyof typeof ExperimentalGetPrimarySaleNotFoundBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/experimental-get-primary-sale-not-found-body.ts b/src/api/models/experimental-get-primary-sale-not-found-body.ts new file mode 100644 index 00000000..251e0a13 --- /dev/null +++ b/src/api/models/experimental-get-primary-sale-not-found-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalGetPrimarySaleNotFoundBodyAllOf0 } from './experimental-get-primary-sale-not-found-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalGetPrimarySaleNotFoundBodyAllOf1 } from './experimental-get-primary-sale-not-found-body-all-of1'; + +/** + * @type ExperimentalGetPrimarySaleNotFoundBody + * @export + */ +export type ExperimentalGetPrimarySaleNotFoundBody = ExperimentalGetPrimarySaleNotFoundBodyAllOf0 & ExperimentalGetPrimarySaleNotFoundBodyAllOf1; + + diff --git a/src/api/models/experimental-get-primary-sale-not-implemented-body-all-of0.ts b/src/api/models/experimental-get-primary-sale-not-implemented-body-all-of0.ts new file mode 100644 index 00000000..d3204af0 --- /dev/null +++ b/src/api/models/experimental-get-primary-sale-not-implemented-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalGetPrimarySaleNotImplementedBodyAllOf0 + */ +export interface ExperimentalGetPrimarySaleNotImplementedBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof ExperimentalGetPrimarySaleNotImplementedBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof ExperimentalGetPrimarySaleNotImplementedBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof ExperimentalGetPrimarySaleNotImplementedBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/experimental-get-primary-sale-not-implemented-body-all-of1.ts b/src/api/models/experimental-get-primary-sale-not-implemented-body-all-of1.ts new file mode 100644 index 00000000..a4dda441 --- /dev/null +++ b/src/api/models/experimental-get-primary-sale-not-implemented-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExperimentalGetPrimarySaleNotImplementedBodyAllOf1 + */ +export interface ExperimentalGetPrimarySaleNotImplementedBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof ExperimentalGetPrimarySaleNotImplementedBodyAllOf1 + */ + 'code': ExperimentalGetPrimarySaleNotImplementedBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof ExperimentalGetPrimarySaleNotImplementedBodyAllOf1 + */ + 'details': object | null; +} + +export const ExperimentalGetPrimarySaleNotImplementedBodyAllOf1CodeEnum = { + NotImplementedError: 'NOT_IMPLEMENTED_ERROR' +} as const; + +export type ExperimentalGetPrimarySaleNotImplementedBodyAllOf1CodeEnum = typeof ExperimentalGetPrimarySaleNotImplementedBodyAllOf1CodeEnum[keyof typeof ExperimentalGetPrimarySaleNotImplementedBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/experimental-get-primary-sale-not-implemented-body.ts b/src/api/models/experimental-get-primary-sale-not-implemented-body.ts new file mode 100644 index 00000000..7210a97f --- /dev/null +++ b/src/api/models/experimental-get-primary-sale-not-implemented-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalGetPrimarySaleNotImplementedBodyAllOf0 } from './experimental-get-primary-sale-not-implemented-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalGetPrimarySaleNotImplementedBodyAllOf1 } from './experimental-get-primary-sale-not-implemented-body-all-of1'; + +/** + * @type ExperimentalGetPrimarySaleNotImplementedBody + * @export + */ +export type ExperimentalGetPrimarySaleNotImplementedBody = ExperimentalGetPrimarySaleNotImplementedBodyAllOf0 & ExperimentalGetPrimarySaleNotImplementedBodyAllOf1; + + diff --git a/src/api/models/experimental-get-primary-sale-okbody-result-fees-items.ts b/src/api/models/experimental-get-primary-sale-okbody-result-fees-items.ts new file mode 100644 index 00000000..a7bd6160 --- /dev/null +++ b/src/api/models/experimental-get-primary-sale-okbody-result-fees-items.ts @@ -0,0 +1,56 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * Fee required to be paid for a primary sale + * @export + * @interface ExperimentalGetPrimarySaleOKBodyResultFeesItems + */ +export interface ExperimentalGetPrimarySaleOKBodyResultFeesItems { + /** + * Ethereum address of the fee recipient + * @type {string} + * @memberof ExperimentalGetPrimarySaleOKBodyResultFeesItems + */ + 'address': string; + /** + * Fee amount + * @type {string} + * @memberof ExperimentalGetPrimarySaleOKBodyResultFeesItems + */ + 'amount': string; + /** + * Fee percentage in basis points (e.g. 200 for 2%) + * @type {number} + * @memberof ExperimentalGetPrimarySaleOKBodyResultFeesItems + */ + 'percentage': number; + /** + * Fee type + * @type {string} + * @memberof ExperimentalGetPrimarySaleOKBodyResultFeesItems + */ + 'type': ExperimentalGetPrimarySaleOKBodyResultFeesItemsTypeEnum; +} + +export const ExperimentalGetPrimarySaleOKBodyResultFeesItemsTypeEnum = { + Ecosystem: 'ECOSYSTEM', + Protocol: 'PROTOCOL' +} as const; + +export type ExperimentalGetPrimarySaleOKBodyResultFeesItemsTypeEnum = typeof ExperimentalGetPrimarySaleOKBodyResultFeesItemsTypeEnum[keyof typeof ExperimentalGetPrimarySaleOKBodyResultFeesItemsTypeEnum]; + + diff --git a/src/api/models/experimental-get-primary-sale-okbody-result.ts b/src/api/models/experimental-get-primary-sale-okbody-result.ts new file mode 100644 index 00000000..91e97f2b --- /dev/null +++ b/src/api/models/experimental-get-primary-sale-okbody-result.ts @@ -0,0 +1,118 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalGetPrimarySaleOKBodyResultFeesItems } from './experimental-get-primary-sale-okbody-result-fees-items'; + +/** + * + * @export + * @interface ExperimentalGetPrimarySaleOKBodyResult + */ +export interface ExperimentalGetPrimarySaleOKBodyResult { + /** + * Ethereum address of the buyer + * @type {string} + * @memberof ExperimentalGetPrimarySaleOKBodyResult + */ + 'buyer_ether_key': string; + /** + * Time the primary sale was created + * @type {string} + * @memberof ExperimentalGetPrimarySaleOKBodyResult + */ + 'created_at': string; + /** + * Time the primary sale expires + * @type {string} + * @memberof ExperimentalGetPrimarySaleOKBodyResult + */ + 'expires_at': string; + /** + * + * @type {Array} + * @memberof ExperimentalGetPrimarySaleOKBodyResult + */ + 'fees'?: Array; + /** + * Global Primary Sale identifier + * @type {number} + * @memberof ExperimentalGetPrimarySaleOKBodyResult + */ + 'id': number; + /** + * Ethereum address of the items receiver + * @type {string} + * @memberof ExperimentalGetPrimarySaleOKBodyResult + */ + 'items_recipient_ether_key': string; + /** + * Fee inclusive amount of the transfer + * @type {string} + * @memberof ExperimentalGetPrimarySaleOKBodyResult + */ + 'payment_amount': string; + /** + * Ethereum address of the payment receiver + * @type {string} + * @memberof ExperimentalGetPrimarySaleOKBodyResult + */ + 'payment_recipient_ether_key': string; + /** + * + * @type {object} + * @memberof ExperimentalGetPrimarySaleOKBodyResult + */ + 'payment_token': object; + /** + * The primary sale status + * @type {string} + * @memberof ExperimentalGetPrimarySaleOKBodyResult + */ + 'status': ExperimentalGetPrimarySaleOKBodyResultStatusEnum; + /** + * Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing. + * @type {string} + * @memberof ExperimentalGetPrimarySaleOKBodyResult + */ + 'studio_data': string; + /** + * Ethereum address of the studio operating the primary sale, will be used to verify in completion + * @type {string} + * @memberof ExperimentalGetPrimarySaleOKBodyResult + */ + 'studio_ether_key': string; + /** + * Time the primary sale was updated + * @type {string} + * @memberof ExperimentalGetPrimarySaleOKBodyResult + */ + 'updated_at': string; +} + +export const ExperimentalGetPrimarySaleOKBodyResultStatusEnum = { + Pending: 'PENDING', + Active: 'ACTIVE', + Invalid: 'INVALID', + InProgress: 'IN_PROGRESS', + Accepted: 'ACCEPTED', + Rejected: 'REJECTED', + Expired: 'EXPIRED' +} as const; + +export type ExperimentalGetPrimarySaleOKBodyResultStatusEnum = typeof ExperimentalGetPrimarySaleOKBodyResultStatusEnum[keyof typeof ExperimentalGetPrimarySaleOKBodyResultStatusEnum]; + + diff --git a/src/api/models/experimental-get-primary-sale-okbody.ts b/src/api/models/experimental-get-primary-sale-okbody.ts new file mode 100644 index 00000000..b1bc2c36 --- /dev/null +++ b/src/api/models/experimental-get-primary-sale-okbody.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ExperimentalGetPrimarySaleOKBodyResult } from './experimental-get-primary-sale-okbody-result'; + +/** + * + * @export + * @interface ExperimentalGetPrimarySaleOKBody + */ +export interface ExperimentalGetPrimarySaleOKBody { + /** + * + * @type {ExperimentalGetPrimarySaleOKBodyResult} + * @memberof ExperimentalGetPrimarySaleOKBody + */ + 'result': ExperimentalGetPrimarySaleOKBodyResult; +} + diff --git a/src/api/models/fee-data.ts b/src/api/models/fee-data.ts index ef8b5e5b..77d4fdb0 100644 --- a/src/api/models/fee-data.ts +++ b/src/api/models/fee-data.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/fee-entry.ts b/src/api/models/fee-entry.ts index e42f038b..29a5d99f 100644 --- a/src/api/models/fee-entry.ts +++ b/src/api/models/fee-entry.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/fee-info.ts b/src/api/models/fee-info.ts index 2fe00157..d5709fdd 100644 --- a/src/api/models/fee-info.ts +++ b/src/api/models/fee-info.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/fee-token-data.ts b/src/api/models/fee-token-data.ts index 3c099a7a..d5989cdb 100644 --- a/src/api/models/fee-token-data.ts +++ b/src/api/models/fee-token-data.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/fee-token.ts b/src/api/models/fee-token.ts index 2049440f..9a7cd7f8 100644 --- a/src/api/models/fee-token.ts +++ b/src/api/models/fee-token.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/fee.ts b/src/api/models/fee.ts index 4598397c..81d3876a 100644 --- a/src/api/models/fee.ts +++ b/src/api/models/fee.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-metadata-refresh-errors-response.ts b/src/api/models/get-metadata-refresh-errors-response.ts index cc40e735..414ba946 100644 --- a/src/api/models/get-metadata-refresh-errors-response.ts +++ b/src/api/models/get-metadata-refresh-errors-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-metadata-refresh-response.ts b/src/api/models/get-metadata-refresh-response.ts index da05afdd..869e3334 100644 --- a/src/api/models/get-metadata-refresh-response.ts +++ b/src/api/models/get-metadata-refresh-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-metadata-refreshes.ts b/src/api/models/get-metadata-refreshes.ts index 584c9984..4d9ea0ec 100644 --- a/src/api/models/get-metadata-refreshes.ts +++ b/src/api/models/get-metadata-refreshes.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-primary-sale-bad-request-body-all-of0.ts b/src/api/models/get-primary-sale-bad-request-body-all-of0.ts new file mode 100644 index 00000000..6e690d6d --- /dev/null +++ b/src/api/models/get-primary-sale-bad-request-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface GetPrimarySaleBadRequestBodyAllOf0 + */ +export interface GetPrimarySaleBadRequestBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof GetPrimarySaleBadRequestBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof GetPrimarySaleBadRequestBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof GetPrimarySaleBadRequestBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/get-primary-sale-bad-request-body-all-of1.ts b/src/api/models/get-primary-sale-bad-request-body-all-of1.ts new file mode 100644 index 00000000..7e95691f --- /dev/null +++ b/src/api/models/get-primary-sale-bad-request-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface GetPrimarySaleBadRequestBodyAllOf1 + */ +export interface GetPrimarySaleBadRequestBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof GetPrimarySaleBadRequestBodyAllOf1 + */ + 'code': GetPrimarySaleBadRequestBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof GetPrimarySaleBadRequestBodyAllOf1 + */ + 'details': object | null; +} + +export const GetPrimarySaleBadRequestBodyAllOf1CodeEnum = { + ValidationError: 'VALIDATION_ERROR' +} as const; + +export type GetPrimarySaleBadRequestBodyAllOf1CodeEnum = typeof GetPrimarySaleBadRequestBodyAllOf1CodeEnum[keyof typeof GetPrimarySaleBadRequestBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/get-primary-sale-bad-request-body.ts b/src/api/models/get-primary-sale-bad-request-body.ts new file mode 100644 index 00000000..3db7008f --- /dev/null +++ b/src/api/models/get-primary-sale-bad-request-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { GetPrimarySaleBadRequestBodyAllOf0 } from './get-primary-sale-bad-request-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { GetPrimarySaleBadRequestBodyAllOf1 } from './get-primary-sale-bad-request-body-all-of1'; + +/** + * @type GetPrimarySaleBadRequestBody + * @export + */ +export type GetPrimarySaleBadRequestBody = GetPrimarySaleBadRequestBodyAllOf0 & GetPrimarySaleBadRequestBodyAllOf1; + + diff --git a/src/api/models/get-primary-sale-internal-server-error-body-all-of0.ts b/src/api/models/get-primary-sale-internal-server-error-body-all-of0.ts new file mode 100644 index 00000000..d122ec21 --- /dev/null +++ b/src/api/models/get-primary-sale-internal-server-error-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface GetPrimarySaleInternalServerErrorBodyAllOf0 + */ +export interface GetPrimarySaleInternalServerErrorBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof GetPrimarySaleInternalServerErrorBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof GetPrimarySaleInternalServerErrorBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof GetPrimarySaleInternalServerErrorBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/get-primary-sale-internal-server-error-body-all-of1.ts b/src/api/models/get-primary-sale-internal-server-error-body-all-of1.ts new file mode 100644 index 00000000..69c148b1 --- /dev/null +++ b/src/api/models/get-primary-sale-internal-server-error-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface GetPrimarySaleInternalServerErrorBodyAllOf1 + */ +export interface GetPrimarySaleInternalServerErrorBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof GetPrimarySaleInternalServerErrorBodyAllOf1 + */ + 'code': GetPrimarySaleInternalServerErrorBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof GetPrimarySaleInternalServerErrorBodyAllOf1 + */ + 'details': object | null; +} + +export const GetPrimarySaleInternalServerErrorBodyAllOf1CodeEnum = { + InternalServerError: 'INTERNAL_SERVER_ERROR' +} as const; + +export type GetPrimarySaleInternalServerErrorBodyAllOf1CodeEnum = typeof GetPrimarySaleInternalServerErrorBodyAllOf1CodeEnum[keyof typeof GetPrimarySaleInternalServerErrorBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/get-primary-sale-internal-server-error-body.ts b/src/api/models/get-primary-sale-internal-server-error-body.ts new file mode 100644 index 00000000..e4c46cba --- /dev/null +++ b/src/api/models/get-primary-sale-internal-server-error-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { GetPrimarySaleInternalServerErrorBodyAllOf0 } from './get-primary-sale-internal-server-error-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { GetPrimarySaleInternalServerErrorBodyAllOf1 } from './get-primary-sale-internal-server-error-body-all-of1'; + +/** + * @type GetPrimarySaleInternalServerErrorBody + * @export + */ +export type GetPrimarySaleInternalServerErrorBody = GetPrimarySaleInternalServerErrorBodyAllOf0 & GetPrimarySaleInternalServerErrorBodyAllOf1; + + diff --git a/src/api/models/get-primary-sale-not-found-body-all-of0.ts b/src/api/models/get-primary-sale-not-found-body-all-of0.ts new file mode 100644 index 00000000..a9f690ad --- /dev/null +++ b/src/api/models/get-primary-sale-not-found-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface GetPrimarySaleNotFoundBodyAllOf0 + */ +export interface GetPrimarySaleNotFoundBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof GetPrimarySaleNotFoundBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof GetPrimarySaleNotFoundBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof GetPrimarySaleNotFoundBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/get-primary-sale-not-found-body-all-of1.ts b/src/api/models/get-primary-sale-not-found-body-all-of1.ts new file mode 100644 index 00000000..78d874ec --- /dev/null +++ b/src/api/models/get-primary-sale-not-found-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface GetPrimarySaleNotFoundBodyAllOf1 + */ +export interface GetPrimarySaleNotFoundBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof GetPrimarySaleNotFoundBodyAllOf1 + */ + 'code': GetPrimarySaleNotFoundBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof GetPrimarySaleNotFoundBodyAllOf1 + */ + 'details': object | null; +} + +export const GetPrimarySaleNotFoundBodyAllOf1CodeEnum = { + ResourceNotFound: 'RESOURCE_NOT_FOUND' +} as const; + +export type GetPrimarySaleNotFoundBodyAllOf1CodeEnum = typeof GetPrimarySaleNotFoundBodyAllOf1CodeEnum[keyof typeof GetPrimarySaleNotFoundBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/get-primary-sale-not-found-body.ts b/src/api/models/get-primary-sale-not-found-body.ts new file mode 100644 index 00000000..3f2e496e --- /dev/null +++ b/src/api/models/get-primary-sale-not-found-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { GetPrimarySaleNotFoundBodyAllOf0 } from './get-primary-sale-not-found-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { GetPrimarySaleNotFoundBodyAllOf1 } from './get-primary-sale-not-found-body-all-of1'; + +/** + * @type GetPrimarySaleNotFoundBody + * @export + */ +export type GetPrimarySaleNotFoundBody = GetPrimarySaleNotFoundBodyAllOf0 & GetPrimarySaleNotFoundBodyAllOf1; + + diff --git a/src/api/models/get-primary-sale-not-implemented-body-all-of0.ts b/src/api/models/get-primary-sale-not-implemented-body-all-of0.ts new file mode 100644 index 00000000..cd7013ef --- /dev/null +++ b/src/api/models/get-primary-sale-not-implemented-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface GetPrimarySaleNotImplementedBodyAllOf0 + */ +export interface GetPrimarySaleNotImplementedBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof GetPrimarySaleNotImplementedBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof GetPrimarySaleNotImplementedBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof GetPrimarySaleNotImplementedBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/get-primary-sale-not-implemented-body-all-of1.ts b/src/api/models/get-primary-sale-not-implemented-body-all-of1.ts new file mode 100644 index 00000000..9ba4a54a --- /dev/null +++ b/src/api/models/get-primary-sale-not-implemented-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface GetPrimarySaleNotImplementedBodyAllOf1 + */ +export interface GetPrimarySaleNotImplementedBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof GetPrimarySaleNotImplementedBodyAllOf1 + */ + 'code': GetPrimarySaleNotImplementedBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof GetPrimarySaleNotImplementedBodyAllOf1 + */ + 'details': object | null; +} + +export const GetPrimarySaleNotImplementedBodyAllOf1CodeEnum = { + NotImplementedError: 'NOT_IMPLEMENTED_ERROR' +} as const; + +export type GetPrimarySaleNotImplementedBodyAllOf1CodeEnum = typeof GetPrimarySaleNotImplementedBodyAllOf1CodeEnum[keyof typeof GetPrimarySaleNotImplementedBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/get-primary-sale-not-implemented-body.ts b/src/api/models/get-primary-sale-not-implemented-body.ts new file mode 100644 index 00000000..274e730f --- /dev/null +++ b/src/api/models/get-primary-sale-not-implemented-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { GetPrimarySaleNotImplementedBodyAllOf0 } from './get-primary-sale-not-implemented-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { GetPrimarySaleNotImplementedBodyAllOf1 } from './get-primary-sale-not-implemented-body-all-of1'; + +/** + * @type GetPrimarySaleNotImplementedBody + * @export + */ +export type GetPrimarySaleNotImplementedBody = GetPrimarySaleNotImplementedBodyAllOf0 & GetPrimarySaleNotImplementedBodyAllOf1; + + diff --git a/src/api/models/get-primary-sale-okbody-result-fees-items.ts b/src/api/models/get-primary-sale-okbody-result-fees-items.ts new file mode 100644 index 00000000..6dbe1a0b --- /dev/null +++ b/src/api/models/get-primary-sale-okbody-result-fees-items.ts @@ -0,0 +1,56 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * Fee required to be paid for a primary sale + * @export + * @interface GetPrimarySaleOKBodyResultFeesItems + */ +export interface GetPrimarySaleOKBodyResultFeesItems { + /** + * Ethereum address of the fee recipient + * @type {string} + * @memberof GetPrimarySaleOKBodyResultFeesItems + */ + 'address': string; + /** + * Fee amount + * @type {string} + * @memberof GetPrimarySaleOKBodyResultFeesItems + */ + 'amount': string; + /** + * Fee percentage in basis points (e.g. 200 for 2%) + * @type {number} + * @memberof GetPrimarySaleOKBodyResultFeesItems + */ + 'percentage': number; + /** + * Fee type + * @type {string} + * @memberof GetPrimarySaleOKBodyResultFeesItems + */ + 'type': GetPrimarySaleOKBodyResultFeesItemsTypeEnum; +} + +export const GetPrimarySaleOKBodyResultFeesItemsTypeEnum = { + Ecosystem: 'ECOSYSTEM', + Protocol: 'PROTOCOL' +} as const; + +export type GetPrimarySaleOKBodyResultFeesItemsTypeEnum = typeof GetPrimarySaleOKBodyResultFeesItemsTypeEnum[keyof typeof GetPrimarySaleOKBodyResultFeesItemsTypeEnum]; + + diff --git a/src/api/models/get-primary-sale-okbody-result.ts b/src/api/models/get-primary-sale-okbody-result.ts new file mode 100644 index 00000000..1e388987 --- /dev/null +++ b/src/api/models/get-primary-sale-okbody-result.ts @@ -0,0 +1,118 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { GetPrimarySaleOKBodyResultFeesItems } from './get-primary-sale-okbody-result-fees-items'; + +/** + * + * @export + * @interface GetPrimarySaleOKBodyResult + */ +export interface GetPrimarySaleOKBodyResult { + /** + * Ethereum address of the buyer + * @type {string} + * @memberof GetPrimarySaleOKBodyResult + */ + 'buyer_ether_key': string; + /** + * Time the primary sale was created + * @type {string} + * @memberof GetPrimarySaleOKBodyResult + */ + 'created_at': string; + /** + * Time the primary sale expires + * @type {string} + * @memberof GetPrimarySaleOKBodyResult + */ + 'expires_at': string; + /** + * + * @type {Array} + * @memberof GetPrimarySaleOKBodyResult + */ + 'fees'?: Array; + /** + * Global Primary Sale identifier + * @type {number} + * @memberof GetPrimarySaleOKBodyResult + */ + 'id': number; + /** + * Ethereum address of the items receiver + * @type {string} + * @memberof GetPrimarySaleOKBodyResult + */ + 'items_recipient_ether_key': string; + /** + * Fee inclusive amount of the transfer + * @type {string} + * @memberof GetPrimarySaleOKBodyResult + */ + 'payment_amount': string; + /** + * Ethereum address of the payment receiver + * @type {string} + * @memberof GetPrimarySaleOKBodyResult + */ + 'payment_recipient_ether_key': string; + /** + * + * @type {object} + * @memberof GetPrimarySaleOKBodyResult + */ + 'payment_token': object; + /** + * The primary sale status + * @type {string} + * @memberof GetPrimarySaleOKBodyResult + */ + 'status': GetPrimarySaleOKBodyResultStatusEnum; + /** + * Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing. + * @type {string} + * @memberof GetPrimarySaleOKBodyResult + */ + 'studio_data': string; + /** + * Ethereum address of the studio operating the primary sale, will be used to verify in completion + * @type {string} + * @memberof GetPrimarySaleOKBodyResult + */ + 'studio_ether_key': string; + /** + * Time the primary sale was updated + * @type {string} + * @memberof GetPrimarySaleOKBodyResult + */ + 'updated_at': string; +} + +export const GetPrimarySaleOKBodyResultStatusEnum = { + Pending: 'PENDING', + Active: 'ACTIVE', + Invalid: 'INVALID', + InProgress: 'IN_PROGRESS', + Accepted: 'ACCEPTED', + Rejected: 'REJECTED', + Expired: 'EXPIRED' +} as const; + +export type GetPrimarySaleOKBodyResultStatusEnum = typeof GetPrimarySaleOKBodyResultStatusEnum[keyof typeof GetPrimarySaleOKBodyResultStatusEnum]; + + diff --git a/src/api/models/get-primary-sale-okbody.ts b/src/api/models/get-primary-sale-okbody.ts new file mode 100644 index 00000000..a1c3b839 --- /dev/null +++ b/src/api/models/get-primary-sale-okbody.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { GetPrimarySaleOKBodyResult } from './get-primary-sale-okbody-result'; + +/** + * + * @export + * @interface GetPrimarySaleOKBody + */ +export interface GetPrimarySaleOKBody { + /** + * + * @type {GetPrimarySaleOKBodyResult} + * @memberof GetPrimarySaleOKBody + */ + 'result': GetPrimarySaleOKBodyResult; +} + diff --git a/src/api/models/get-projects-response.ts b/src/api/models/get-projects-response.ts index f8cb990b..deb33148 100644 --- a/src/api/models/get-projects-response.ts +++ b/src/api/models/get-projects-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-cancel-order-request.ts b/src/api/models/get-signable-cancel-order-request.ts index c0a2b131..b3f66e92 100644 --- a/src/api/models/get-signable-cancel-order-request.ts +++ b/src/api/models/get-signable-cancel-order-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-cancel-order-response.ts b/src/api/models/get-signable-cancel-order-response.ts index f33ab4ca..31f6a84d 100644 --- a/src/api/models/get-signable-cancel-order-response.ts +++ b/src/api/models/get-signable-cancel-order-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-deposit-request-token.ts b/src/api/models/get-signable-deposit-request-token.ts index 649026c1..ca97d7ab 100644 --- a/src/api/models/get-signable-deposit-request-token.ts +++ b/src/api/models/get-signable-deposit-request-token.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-deposit-request.ts b/src/api/models/get-signable-deposit-request.ts index 29b46605..cf090051 100644 --- a/src/api/models/get-signable-deposit-request.ts +++ b/src/api/models/get-signable-deposit-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-deposit-response.ts b/src/api/models/get-signable-deposit-response.ts index 3e86d50f..b7c95f32 100644 --- a/src/api/models/get-signable-deposit-response.ts +++ b/src/api/models/get-signable-deposit-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-order-request-token-buy.ts b/src/api/models/get-signable-order-request-token-buy.ts index 7031498b..10a73bce 100644 --- a/src/api/models/get-signable-order-request-token-buy.ts +++ b/src/api/models/get-signable-order-request-token-buy.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-order-request-token-sell.ts b/src/api/models/get-signable-order-request-token-sell.ts index 546e8cea..f5379322 100644 --- a/src/api/models/get-signable-order-request-token-sell.ts +++ b/src/api/models/get-signable-order-request-token-sell.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-order-request-v3-token-buy.ts b/src/api/models/get-signable-order-request-v3-token-buy.ts index 54ba4594..d6b6c821 100644 --- a/src/api/models/get-signable-order-request-v3-token-buy.ts +++ b/src/api/models/get-signable-order-request-v3-token-buy.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-order-request-v3-token-sell.ts b/src/api/models/get-signable-order-request-v3-token-sell.ts index 408973d5..ac067ff2 100644 --- a/src/api/models/get-signable-order-request-v3-token-sell.ts +++ b/src/api/models/get-signable-order-request-v3-token-sell.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-order-request-v3.ts b/src/api/models/get-signable-order-request-v3.ts index 6752354a..799a19ee 100644 --- a/src/api/models/get-signable-order-request-v3.ts +++ b/src/api/models/get-signable-order-request-v3.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-order-request.ts b/src/api/models/get-signable-order-request.ts index 107d2900..4fa09efa 100644 --- a/src/api/models/get-signable-order-request.ts +++ b/src/api/models/get-signable-order-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-order-response-fee-info.ts b/src/api/models/get-signable-order-response-fee-info.ts index 2f70108a..cc3714b7 100644 --- a/src/api/models/get-signable-order-response-fee-info.ts +++ b/src/api/models/get-signable-order-response-fee-info.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-order-response.ts b/src/api/models/get-signable-order-response.ts index 0162f556..ad3f2100 100644 --- a/src/api/models/get-signable-order-response.ts +++ b/src/api/models/get-signable-order-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-registration-offchain-response.ts b/src/api/models/get-signable-registration-offchain-response.ts index fafbbadc..31e7cb01 100644 --- a/src/api/models/get-signable-registration-offchain-response.ts +++ b/src/api/models/get-signable-registration-offchain-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-registration-request.ts b/src/api/models/get-signable-registration-request.ts index ef44fdd0..78979a9d 100644 --- a/src/api/models/get-signable-registration-request.ts +++ b/src/api/models/get-signable-registration-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-registration-response.ts b/src/api/models/get-signable-registration-response.ts index f73d16fb..d454939c 100644 --- a/src/api/models/get-signable-registration-response.ts +++ b/src/api/models/get-signable-registration-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-trade-request.ts b/src/api/models/get-signable-trade-request.ts index 3dd53fff..a431406f 100644 --- a/src/api/models/get-signable-trade-request.ts +++ b/src/api/models/get-signable-trade-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-trade-response-fee-info.ts b/src/api/models/get-signable-trade-response-fee-info.ts index 6aaace32..da6ddd8b 100644 --- a/src/api/models/get-signable-trade-response-fee-info.ts +++ b/src/api/models/get-signable-trade-response-fee-info.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-trade-response-result.ts b/src/api/models/get-signable-trade-response-result.ts index 05f78140..0462e912 100644 --- a/src/api/models/get-signable-trade-response-result.ts +++ b/src/api/models/get-signable-trade-response-result.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-trade-response.ts b/src/api/models/get-signable-trade-response.ts index f9f72433..b336eded 100644 --- a/src/api/models/get-signable-trade-response.ts +++ b/src/api/models/get-signable-trade-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-trade-result-fee-info.ts b/src/api/models/get-signable-trade-result-fee-info.ts index 681e052f..5e986c14 100644 --- a/src/api/models/get-signable-trade-result-fee-info.ts +++ b/src/api/models/get-signable-trade-result-fee-info.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-trade-result.ts b/src/api/models/get-signable-trade-result.ts index e2cb00d1..9a63fe87 100644 --- a/src/api/models/get-signable-trade-result.ts +++ b/src/api/models/get-signable-trade-result.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-transfer-request-token.ts b/src/api/models/get-signable-transfer-request-token.ts index f9fe29ce..8fe37209 100644 --- a/src/api/models/get-signable-transfer-request-token.ts +++ b/src/api/models/get-signable-transfer-request-token.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-transfer-request-v1.ts b/src/api/models/get-signable-transfer-request-v1.ts index c0d64434..6c4b426e 100644 --- a/src/api/models/get-signable-transfer-request-v1.ts +++ b/src/api/models/get-signable-transfer-request-v1.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-transfer-request-v2.ts b/src/api/models/get-signable-transfer-request-v2.ts index 25051082..5caf8bbf 100644 --- a/src/api/models/get-signable-transfer-request-v2.ts +++ b/src/api/models/get-signable-transfer-request-v2.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-transfer-request.ts b/src/api/models/get-signable-transfer-request.ts index 594956f7..a341d2a2 100644 --- a/src/api/models/get-signable-transfer-request.ts +++ b/src/api/models/get-signable-transfer-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-transfer-response-v1.ts b/src/api/models/get-signable-transfer-response-v1.ts index 6ee19d9d..e691e904 100644 --- a/src/api/models/get-signable-transfer-response-v1.ts +++ b/src/api/models/get-signable-transfer-response-v1.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-transfer-response-v2.ts b/src/api/models/get-signable-transfer-response-v2.ts index 19fbbe7d..0b02f0ea 100644 --- a/src/api/models/get-signable-transfer-response-v2.ts +++ b/src/api/models/get-signable-transfer-response-v2.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-transfer-response.ts b/src/api/models/get-signable-transfer-response.ts index 6f4a6cb3..f47d9a4e 100644 --- a/src/api/models/get-signable-transfer-response.ts +++ b/src/api/models/get-signable-transfer-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-withdrawal-request-token.ts b/src/api/models/get-signable-withdrawal-request-token.ts index 3a483c26..f50d7aa2 100644 --- a/src/api/models/get-signable-withdrawal-request-token.ts +++ b/src/api/models/get-signable-withdrawal-request-token.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-withdrawal-request.ts b/src/api/models/get-signable-withdrawal-request.ts index 602b3761..d764eaf6 100644 --- a/src/api/models/get-signable-withdrawal-request.ts +++ b/src/api/models/get-signable-withdrawal-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-signable-withdrawal-response-v2.ts b/src/api/models/get-signable-withdrawal-response-v2.ts new file mode 100644 index 00000000..656c245e --- /dev/null +++ b/src/api/models/get-signable-withdrawal-response-v2.ts @@ -0,0 +1,102 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface GetSignableWithdrawalResponseV2 + */ +export interface GetSignableWithdrawalResponseV2 { + /** + * Amount of the asset being withdrawn + * @type {string} + * @memberof GetSignableWithdrawalResponseV2 + */ + 'amount': string; + /** + * ID of the asset being withdrawn + * @type {string} + * @memberof GetSignableWithdrawalResponseV2 + */ + 'asset_id': string; + /** + * Token in request to match in SDK implementation + * @type {number} + * @memberof GetSignableWithdrawalResponseV2 + */ + 'expiration_timestamp': number; + /** + * Nonce of the transfer + * @type {number} + * @memberof GetSignableWithdrawalResponseV2 + */ + 'nonce': number; + /** + * Hash of the payload + * @type {string} + * @memberof GetSignableWithdrawalResponseV2 + */ + 'payload_hash': string; + /** + * QuantizedAmount of the asset being withdrawn + * @type {string} + * @memberof GetSignableWithdrawalResponseV2 + */ + 'quantized_amount': string; + /** + * EIP-712 encoding of the StarkEx withdrawal request to be displayed to the user + * @type {string} + * @memberof GetSignableWithdrawalResponseV2 + */ + 'readable_transaction': string; + /** + * Receiver of the transfer (l1 eth wallet) + * @type {string} + * @memberof GetSignableWithdrawalResponseV2 + */ + 'receiver_stark_key': string; + /** + * ID of the vault being transferred to (special vault = 0 used for withdrawal operations) + * @type {number} + * @memberof GetSignableWithdrawalResponseV2 + */ + 'receiver_vault_id': number; + /** + * Sender of the withdrawal + * @type {string} + * @memberof GetSignableWithdrawalResponseV2 + */ + 'sender_stark_key': string; + /** + * ID of the vault being withdrawn from + * @type {number} + * @memberof GetSignableWithdrawalResponseV2 + */ + 'sender_vault_id': number; + /** + * Message to sign with L1 wallet to verity withdrawal request + * @type {string} + * @memberof GetSignableWithdrawalResponseV2 + */ + 'signable_message': string; + /** + * IMX signed readable_transaction and payload_hash + * @type {string} + * @memberof GetSignableWithdrawalResponseV2 + */ + 'verification_signature': string; +} + diff --git a/src/api/models/get-signable-withdrawal-response.ts b/src/api/models/get-signable-withdrawal-response.ts index eb444994..b145e0e8 100644 --- a/src/api/models/get-signable-withdrawal-response.ts +++ b/src/api/models/get-signable-withdrawal-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-transactions-response.ts b/src/api/models/get-transactions-response.ts index 49be8d10..c7396866 100644 --- a/src/api/models/get-transactions-response.ts +++ b/src/api/models/get-transactions-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/get-users-api-response.ts b/src/api/models/get-users-api-response.ts index 5b90e2b0..c746096d 100644 --- a/src/api/models/get-users-api-response.ts +++ b/src/api/models/get-users-api-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/index.ts b/src/api/models/index.ts index 3627f99e..8f988097 100644 --- a/src/api/models/index.ts +++ b/src/api/models/index.ts @@ -1,4 +1,28 @@ export * from './apierror'; +export * from './accept-primary-sale-bad-request-body'; +export * from './accept-primary-sale-bad-request-body-all-of0'; +export * from './accept-primary-sale-bad-request-body-all-of1'; +export * from './accept-primary-sale-forbidden-body'; +export * from './accept-primary-sale-forbidden-body-all-of0'; +export * from './accept-primary-sale-forbidden-body-all-of1'; +export * from './accept-primary-sale-internal-server-error-body'; +export * from './accept-primary-sale-internal-server-error-body-all-of0'; +export * from './accept-primary-sale-internal-server-error-body-all-of1'; +export * from './accept-primary-sale-not-found-body'; +export * from './accept-primary-sale-not-found-body-all-of0'; +export * from './accept-primary-sale-not-found-body-all-of1'; +export * from './accept-primary-sale-not-implemented-body'; +export * from './accept-primary-sale-not-implemented-body-all-of0'; +export * from './accept-primary-sale-not-implemented-body-all-of1'; +export * from './accept-primary-sale-okbody'; +export * from './accept-primary-sale-okbody-result'; +export * from './accept-primary-sale-okbody-result-fees-items'; +export * from './accept-primary-sale-unauthorized-body'; +export * from './accept-primary-sale-unauthorized-body-all-of0'; +export * from './accept-primary-sale-unauthorized-body-all-of1'; +export * from './accept-primary-sale-unprocessable-entity-body'; +export * from './accept-primary-sale-unprocessable-entity-body-all-of0'; +export * from './accept-primary-sale-unprocessable-entity-body-all-of1'; export * from './add-metadata-schema-to-collection-request'; export * from './aggregate-limit'; export * from './api-order-v3'; @@ -8,6 +32,8 @@ export * from './api-order-v3-sell'; export * from './api-order-v3-taker-fees'; export * from './api-register-passport-user-request'; export * from './api-sdkversion-check-response'; +export * from './api-summarize-collections-response'; +export * from './api-summarized-collection'; export * from './asset'; export * from './asset-collection'; export * from './asset-orders'; @@ -33,6 +59,29 @@ export * from './create-metadata-refresh-response'; export * from './create-order-request'; export * from './create-order-request-v3'; export * from './create-order-response'; +export * from './create-primary-sale-bad-request-body'; +export * from './create-primary-sale-bad-request-body-all-of0'; +export * from './create-primary-sale-bad-request-body-all-of1'; +export * from './create-primary-sale-created-body'; +export * from './create-primary-sale-created-body-result'; +export * from './create-primary-sale-created-body-result-fees-items'; +export * from './create-primary-sale-forbidden-body'; +export * from './create-primary-sale-forbidden-body-all-of0'; +export * from './create-primary-sale-forbidden-body-all-of1'; +export * from './create-primary-sale-internal-server-error-body'; +export * from './create-primary-sale-internal-server-error-body-all-of0'; +export * from './create-primary-sale-internal-server-error-body-all-of1'; +export * from './create-primary-sale-not-found-body'; +export * from './create-primary-sale-not-found-body-all-of0'; +export * from './create-primary-sale-not-found-body-all-of1'; +export * from './create-primary-sale-not-implemented-body'; +export * from './create-primary-sale-not-implemented-body-all-of0'; +export * from './create-primary-sale-not-implemented-body-all-of1'; +export * from './create-primary-sale-params-body'; +export * from './create-primary-sale-params-body-fees-items'; +export * from './create-primary-sale-unauthorized-body'; +export * from './create-primary-sale-unauthorized-body-all-of0'; +export * from './create-primary-sale-unauthorized-body-all-of1'; export * from './create-project-group-request'; export * from './create-project-request'; export * from './create-project-response'; @@ -45,6 +94,7 @@ export * from './create-transfer-response'; export * from './create-transfer-response-v1'; export * from './create-transfer-response-v2'; export * from './create-withdrawal-request'; +export * from './create-withdrawal-request-v2'; export * from './create-withdrawal-response'; export * from './currency-with-limits'; export * from './deposit'; @@ -57,6 +107,44 @@ export * from './encode-asset-token-data'; export * from './engine-register-user-result'; export * from './exchange'; export * from './exchange-create-exchange-and-urlresponse'; +export * from './experimental-create-primary-sale-bad-request-body'; +export * from './experimental-create-primary-sale-bad-request-body-all-of0'; +export * from './experimental-create-primary-sale-bad-request-body-all-of1'; +export * from './experimental-create-primary-sale-created-body'; +export * from './experimental-create-primary-sale-created-body-result'; +export * from './experimental-create-primary-sale-created-body-result-fees-items'; +export * from './experimental-create-primary-sale-forbidden-body'; +export * from './experimental-create-primary-sale-forbidden-body-all-of0'; +export * from './experimental-create-primary-sale-forbidden-body-all-of1'; +export * from './experimental-create-primary-sale-internal-server-error-body'; +export * from './experimental-create-primary-sale-internal-server-error-body-all-of0'; +export * from './experimental-create-primary-sale-internal-server-error-body-all-of1'; +export * from './experimental-create-primary-sale-not-found-body'; +export * from './experimental-create-primary-sale-not-found-body-all-of0'; +export * from './experimental-create-primary-sale-not-found-body-all-of1'; +export * from './experimental-create-primary-sale-not-implemented-body'; +export * from './experimental-create-primary-sale-not-implemented-body-all-of0'; +export * from './experimental-create-primary-sale-not-implemented-body-all-of1'; +export * from './experimental-create-primary-sale-params-body'; +export * from './experimental-create-primary-sale-params-body-fees-items'; +export * from './experimental-create-primary-sale-unauthorized-body'; +export * from './experimental-create-primary-sale-unauthorized-body-all-of0'; +export * from './experimental-create-primary-sale-unauthorized-body-all-of1'; +export * from './experimental-get-primary-sale-bad-request-body'; +export * from './experimental-get-primary-sale-bad-request-body-all-of0'; +export * from './experimental-get-primary-sale-bad-request-body-all-of1'; +export * from './experimental-get-primary-sale-internal-server-error-body'; +export * from './experimental-get-primary-sale-internal-server-error-body-all-of0'; +export * from './experimental-get-primary-sale-internal-server-error-body-all-of1'; +export * from './experimental-get-primary-sale-not-found-body'; +export * from './experimental-get-primary-sale-not-found-body-all-of0'; +export * from './experimental-get-primary-sale-not-found-body-all-of1'; +export * from './experimental-get-primary-sale-not-implemented-body'; +export * from './experimental-get-primary-sale-not-implemented-body-all-of0'; +export * from './experimental-get-primary-sale-not-implemented-body-all-of1'; +export * from './experimental-get-primary-sale-okbody'; +export * from './experimental-get-primary-sale-okbody-result'; +export * from './experimental-get-primary-sale-okbody-result-fees-items'; export * from './fee'; export * from './fee-data'; export * from './fee-entry'; @@ -66,6 +154,21 @@ export * from './fee-token-data'; export * from './get-metadata-refresh-errors-response'; export * from './get-metadata-refresh-response'; export * from './get-metadata-refreshes'; +export * from './get-primary-sale-bad-request-body'; +export * from './get-primary-sale-bad-request-body-all-of0'; +export * from './get-primary-sale-bad-request-body-all-of1'; +export * from './get-primary-sale-internal-server-error-body'; +export * from './get-primary-sale-internal-server-error-body-all-of0'; +export * from './get-primary-sale-internal-server-error-body-all-of1'; +export * from './get-primary-sale-not-found-body'; +export * from './get-primary-sale-not-found-body-all-of0'; +export * from './get-primary-sale-not-found-body-all-of1'; +export * from './get-primary-sale-not-implemented-body'; +export * from './get-primary-sale-not-implemented-body-all-of0'; +export * from './get-primary-sale-not-implemented-body-all-of1'; +export * from './get-primary-sale-okbody'; +export * from './get-primary-sale-okbody-result'; +export * from './get-primary-sale-okbody-result-fees-items'; export * from './get-projects-response'; export * from './get-signable-cancel-order-request'; export * from './get-signable-cancel-order-response'; @@ -99,6 +202,7 @@ export * from './get-signable-transfer-response-v2'; export * from './get-signable-withdrawal-request'; export * from './get-signable-withdrawal-request-token'; export * from './get-signable-withdrawal-response'; +export * from './get-signable-withdrawal-response-v2'; export * from './get-transactions-response'; export * from './get-users-api-response'; export * from './lambdas-apierror'; @@ -152,6 +256,39 @@ export * from './register-passport-user-request'; export * from './register-passport-user-result'; export * from './register-user-request'; export * from './register-user-response'; +export * from './signable-accept-primary-sale-bad-request-body'; +export * from './signable-accept-primary-sale-bad-request-body-all-of0'; +export * from './signable-accept-primary-sale-bad-request-body-all-of1'; +export * from './signable-accept-primary-sale-internal-server-error-body'; +export * from './signable-accept-primary-sale-internal-server-error-body-all-of0'; +export * from './signable-accept-primary-sale-internal-server-error-body-all-of1'; +export * from './signable-accept-primary-sale-not-found-body'; +export * from './signable-accept-primary-sale-not-found-body-all-of0'; +export * from './signable-accept-primary-sale-not-found-body-all-of1'; +export * from './signable-accept-primary-sale-not-implemented-body'; +export * from './signable-accept-primary-sale-not-implemented-body-all-of0'; +export * from './signable-accept-primary-sale-not-implemented-body-all-of1'; +export * from './signable-accept-primary-sale-okbody'; +export * from './signable-accept-primary-sale-unprocessable-entity-body'; +export * from './signable-accept-primary-sale-unprocessable-entity-body-all-of0'; +export * from './signable-accept-primary-sale-unprocessable-entity-body-all-of1'; +export * from './signable-create-primary-sale-bad-request-body'; +export * from './signable-create-primary-sale-bad-request-body-all-of0'; +export * from './signable-create-primary-sale-bad-request-body-all-of1'; +export * from './signable-create-primary-sale-internal-server-error-body'; +export * from './signable-create-primary-sale-internal-server-error-body-all-of0'; +export * from './signable-create-primary-sale-internal-server-error-body-all-of1'; +export * from './signable-create-primary-sale-not-found-body'; +export * from './signable-create-primary-sale-not-found-body-all-of0'; +export * from './signable-create-primary-sale-not-found-body-all-of1'; +export * from './signable-create-primary-sale-not-implemented-body'; +export * from './signable-create-primary-sale-not-implemented-body-all-of0'; +export * from './signable-create-primary-sale-not-implemented-body-all-of1'; +export * from './signable-create-primary-sale-okbody'; +export * from './signable-create-primary-sale-okbody-fee-info'; +export * from './signable-create-primary-sale-okbody-fees-items'; +export * from './signable-create-primary-sale-params-body'; +export * from './signable-create-primary-sale-params-body-fees-items'; export * from './signable-token'; export * from './signable-transfer-details'; export * from './signable-transfer-details-token'; diff --git a/src/api/models/lambdas-apierror.ts b/src/api/models/lambdas-apierror.ts index ae7c2012..528ad3b4 100644 --- a/src/api/models/lambdas-apierror.ts +++ b/src/api/models/lambdas-apierror.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/list-assets-response.ts b/src/api/models/list-assets-response.ts index 3d3aac0e..4bc1cc06 100644 --- a/src/api/models/list-assets-response.ts +++ b/src/api/models/list-assets-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/list-balances-response.ts b/src/api/models/list-balances-response.ts index b20b630b..491491a0 100644 --- a/src/api/models/list-balances-response.ts +++ b/src/api/models/list-balances-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/list-collections-response.ts b/src/api/models/list-collections-response.ts index 9db13807..cee0bcaa 100644 --- a/src/api/models/list-collections-response.ts +++ b/src/api/models/list-collections-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/list-deposits-response.ts b/src/api/models/list-deposits-response.ts index 8aaa7fd0..08e44191 100644 --- a/src/api/models/list-deposits-response.ts +++ b/src/api/models/list-deposits-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/list-mints-response.ts b/src/api/models/list-mints-response.ts index 7ddd9cf8..9b740101 100644 --- a/src/api/models/list-mints-response.ts +++ b/src/api/models/list-mints-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/list-orders-response-v3.ts b/src/api/models/list-orders-response-v3.ts index 613d8727..8d511897 100644 --- a/src/api/models/list-orders-response-v3.ts +++ b/src/api/models/list-orders-response-v3.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/list-orders-response.ts b/src/api/models/list-orders-response.ts index 1b50f5f4..7d248299 100644 --- a/src/api/models/list-orders-response.ts +++ b/src/api/models/list-orders-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/list-tokens-response.ts b/src/api/models/list-tokens-response.ts index 12a9b94d..9baa6889 100644 --- a/src/api/models/list-tokens-response.ts +++ b/src/api/models/list-tokens-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/list-trades-response.ts b/src/api/models/list-trades-response.ts index 37a1c548..a84e1c50 100644 --- a/src/api/models/list-trades-response.ts +++ b/src/api/models/list-trades-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/list-transfers-response.ts b/src/api/models/list-transfers-response.ts index e7285e14..718c3b65 100644 --- a/src/api/models/list-transfers-response.ts +++ b/src/api/models/list-transfers-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/list-withdrawals-response.ts b/src/api/models/list-withdrawals-response.ts index 637ed3c0..2457c9eb 100644 --- a/src/api/models/list-withdrawals-response.ts +++ b/src/api/models/list-withdrawals-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/metadata-refresh-errors.ts b/src/api/models/metadata-refresh-errors.ts index 86830fb3..c015a158 100644 --- a/src/api/models/metadata-refresh-errors.ts +++ b/src/api/models/metadata-refresh-errors.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/metadata-refresh-excluding-summary.ts b/src/api/models/metadata-refresh-excluding-summary.ts index d3bee7bd..661f37f3 100644 --- a/src/api/models/metadata-refresh-excluding-summary.ts +++ b/src/api/models/metadata-refresh-excluding-summary.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/metadata-refresh-summary.ts b/src/api/models/metadata-refresh-summary.ts index 90b8fce9..e27f962c 100644 --- a/src/api/models/metadata-refresh-summary.ts +++ b/src/api/models/metadata-refresh-summary.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/metadata-schema-property.ts b/src/api/models/metadata-schema-property.ts index a9ff19c2..118d595d 100644 --- a/src/api/models/metadata-schema-property.ts +++ b/src/api/models/metadata-schema-property.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/metadata-schema-request.ts b/src/api/models/metadata-schema-request.ts index 37c8f844..0ceba9b4 100644 --- a/src/api/models/metadata-schema-request.ts +++ b/src/api/models/metadata-schema-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/mint-fee.ts b/src/api/models/mint-fee.ts index 309f4245..068c98d4 100644 --- a/src/api/models/mint-fee.ts +++ b/src/api/models/mint-fee.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/mint-request.ts b/src/api/models/mint-request.ts index 5f6f025a..da40573e 100644 --- a/src/api/models/mint-request.ts +++ b/src/api/models/mint-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/mint-result-details.ts b/src/api/models/mint-result-details.ts index 25f54c18..4c8887b8 100644 --- a/src/api/models/mint-result-details.ts +++ b/src/api/models/mint-result-details.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/mint-token-data-v2.ts b/src/api/models/mint-token-data-v2.ts index 54e6ccd3..e254fdde 100644 --- a/src/api/models/mint-token-data-v2.ts +++ b/src/api/models/mint-token-data-v2.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/mint-token.ts b/src/api/models/mint-token.ts index 56f110e0..2794a941 100644 --- a/src/api/models/mint-token.ts +++ b/src/api/models/mint-token.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/mint-tokens-response.ts b/src/api/models/mint-tokens-response.ts index bf658728..4b57e32a 100644 --- a/src/api/models/mint-tokens-response.ts +++ b/src/api/models/mint-tokens-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/mint-user.ts b/src/api/models/mint-user.ts index 4b786114..0b3e140a 100644 --- a/src/api/models/mint-user.ts +++ b/src/api/models/mint-user.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/mint.ts b/src/api/models/mint.ts index aed6434c..26e0296b 100644 --- a/src/api/models/mint.ts +++ b/src/api/models/mint.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/mintable-token-details.ts b/src/api/models/mintable-token-details.ts index 093f4e5e..ea8d3bd6 100644 --- a/src/api/models/mintable-token-details.ts +++ b/src/api/models/mintable-token-details.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/nftprimarytransaction-create-apirequest.ts b/src/api/models/nftprimarytransaction-create-apirequest.ts index a49bc371..0372ef66 100644 --- a/src/api/models/nftprimarytransaction-create-apirequest.ts +++ b/src/api/models/nftprimarytransaction-create-apirequest.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/nftprimarytransaction-create-response.ts b/src/api/models/nftprimarytransaction-create-response.ts index 991c2c98..3742695d 100644 --- a/src/api/models/nftprimarytransaction-create-response.ts +++ b/src/api/models/nftprimarytransaction-create-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/nftprimarytransaction-get-response.ts b/src/api/models/nftprimarytransaction-get-response.ts index ba573ea7..d41dcf5d 100644 --- a/src/api/models/nftprimarytransaction-get-response.ts +++ b/src/api/models/nftprimarytransaction-get-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/nftprimarytransaction-list-transactions-response.ts b/src/api/models/nftprimarytransaction-list-transactions-response.ts index 7316b6a3..bc7d2391 100644 --- a/src/api/models/nftprimarytransaction-list-transactions-response.ts +++ b/src/api/models/nftprimarytransaction-list-transactions-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/nftprimarytransaction-transaction-data.ts b/src/api/models/nftprimarytransaction-transaction-data.ts index 9de55c45..cf04f12f 100644 --- a/src/api/models/nftprimarytransaction-transaction-data.ts +++ b/src/api/models/nftprimarytransaction-transaction-data.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/nftprimarytransaction-widget-params.ts b/src/api/models/nftprimarytransaction-widget-params.ts index c4ca5e31..560f0f81 100644 --- a/src/api/models/nftprimarytransaction-widget-params.ts +++ b/src/api/models/nftprimarytransaction-widget-params.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/optional-exchange-data.ts b/src/api/models/optional-exchange-data.ts index 3083578a..7014bd35 100644 --- a/src/api/models/optional-exchange-data.ts +++ b/src/api/models/optional-exchange-data.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/order-buy.ts b/src/api/models/order-buy.ts index 3d2a2d9a..8ebf3572 100644 --- a/src/api/models/order-buy.ts +++ b/src/api/models/order-buy.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/order-details.ts b/src/api/models/order-details.ts index 9631ad81..38563dfd 100644 --- a/src/api/models/order-details.ts +++ b/src/api/models/order-details.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/order-fee-info-token.ts b/src/api/models/order-fee-info-token.ts index af43e851..fdbaaa86 100644 --- a/src/api/models/order-fee-info-token.ts +++ b/src/api/models/order-fee-info-token.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/order-fee-info.ts b/src/api/models/order-fee-info.ts index 334c440f..e002e56f 100644 --- a/src/api/models/order-fee-info.ts +++ b/src/api/models/order-fee-info.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/order-sell.ts b/src/api/models/order-sell.ts index eb9f3c14..04cbe2f8 100644 --- a/src/api/models/order-sell.ts +++ b/src/api/models/order-sell.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/order-v3-buy.ts b/src/api/models/order-v3-buy.ts index 7cf11bc7..19decdef 100644 --- a/src/api/models/order-v3-buy.ts +++ b/src/api/models/order-v3-buy.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/order-v3-maker-fees.ts b/src/api/models/order-v3-maker-fees.ts index 782a9522..fa41a075 100644 --- a/src/api/models/order-v3-maker-fees.ts +++ b/src/api/models/order-v3-maker-fees.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/order-v3-sell.ts b/src/api/models/order-v3-sell.ts index 615532ef..d58463da 100644 --- a/src/api/models/order-v3-sell.ts +++ b/src/api/models/order-v3-sell.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/order-v3-taker-fees.ts b/src/api/models/order-v3-taker-fees.ts index e7c2c962..23264a06 100644 --- a/src/api/models/order-v3-taker-fees.ts +++ b/src/api/models/order-v3-taker-fees.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/order-v3.ts b/src/api/models/order-v3.ts index 7bc76a71..b51c89d3 100644 --- a/src/api/models/order-v3.ts +++ b/src/api/models/order-v3.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/order.ts b/src/api/models/order.ts index 7299a02d..9f6bd089 100644 --- a/src/api/models/order.ts +++ b/src/api/models/order.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/orders-maker-taker-fee.ts b/src/api/models/orders-maker-taker-fee.ts index df66baf4..f76fe15c 100644 --- a/src/api/models/orders-maker-taker-fee.ts +++ b/src/api/models/orders-maker-taker-fee.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/project.ts b/src/api/models/project.ts index 36b87aea..077dbec9 100644 --- a/src/api/models/project.ts +++ b/src/api/models/project.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/range.ts b/src/api/models/range.ts index 57ea187c..f3b22703 100644 --- a/src/api/models/range.ts +++ b/src/api/models/range.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/register-passport-user-request.ts b/src/api/models/register-passport-user-request.ts index e17ae31b..82db675a 100644 --- a/src/api/models/register-passport-user-request.ts +++ b/src/api/models/register-passport-user-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/register-passport-user-result.ts b/src/api/models/register-passport-user-result.ts index 44967a05..5c8fa2f2 100644 --- a/src/api/models/register-passport-user-result.ts +++ b/src/api/models/register-passport-user-result.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/register-user-request.ts b/src/api/models/register-user-request.ts index de389391..6bb535ea 100644 --- a/src/api/models/register-user-request.ts +++ b/src/api/models/register-user-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/register-user-response.ts b/src/api/models/register-user-response.ts index 119098dd..2867d9ef 100644 --- a/src/api/models/register-user-response.ts +++ b/src/api/models/register-user-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/signable-accept-primary-sale-bad-request-body-all-of0.ts b/src/api/models/signable-accept-primary-sale-bad-request-body-all-of0.ts new file mode 100644 index 00000000..3a9ac2da --- /dev/null +++ b/src/api/models/signable-accept-primary-sale-bad-request-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableAcceptPrimarySaleBadRequestBodyAllOf0 + */ +export interface SignableAcceptPrimarySaleBadRequestBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof SignableAcceptPrimarySaleBadRequestBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof SignableAcceptPrimarySaleBadRequestBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof SignableAcceptPrimarySaleBadRequestBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/signable-accept-primary-sale-bad-request-body-all-of1.ts b/src/api/models/signable-accept-primary-sale-bad-request-body-all-of1.ts new file mode 100644 index 00000000..e809ddbd --- /dev/null +++ b/src/api/models/signable-accept-primary-sale-bad-request-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableAcceptPrimarySaleBadRequestBodyAllOf1 + */ +export interface SignableAcceptPrimarySaleBadRequestBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof SignableAcceptPrimarySaleBadRequestBodyAllOf1 + */ + 'code': SignableAcceptPrimarySaleBadRequestBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof SignableAcceptPrimarySaleBadRequestBodyAllOf1 + */ + 'details': object | null; +} + +export const SignableAcceptPrimarySaleBadRequestBodyAllOf1CodeEnum = { + ValidationError: 'VALIDATION_ERROR' +} as const; + +export type SignableAcceptPrimarySaleBadRequestBodyAllOf1CodeEnum = typeof SignableAcceptPrimarySaleBadRequestBodyAllOf1CodeEnum[keyof typeof SignableAcceptPrimarySaleBadRequestBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/signable-accept-primary-sale-bad-request-body.ts b/src/api/models/signable-accept-primary-sale-bad-request-body.ts new file mode 100644 index 00000000..f0a65cc9 --- /dev/null +++ b/src/api/models/signable-accept-primary-sale-bad-request-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { SignableAcceptPrimarySaleBadRequestBodyAllOf0 } from './signable-accept-primary-sale-bad-request-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { SignableAcceptPrimarySaleBadRequestBodyAllOf1 } from './signable-accept-primary-sale-bad-request-body-all-of1'; + +/** + * @type SignableAcceptPrimarySaleBadRequestBody + * @export + */ +export type SignableAcceptPrimarySaleBadRequestBody = SignableAcceptPrimarySaleBadRequestBodyAllOf0 & SignableAcceptPrimarySaleBadRequestBodyAllOf1; + + diff --git a/src/api/models/signable-accept-primary-sale-internal-server-error-body-all-of0.ts b/src/api/models/signable-accept-primary-sale-internal-server-error-body-all-of0.ts new file mode 100644 index 00000000..8135f35b --- /dev/null +++ b/src/api/models/signable-accept-primary-sale-internal-server-error-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableAcceptPrimarySaleInternalServerErrorBodyAllOf0 + */ +export interface SignableAcceptPrimarySaleInternalServerErrorBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof SignableAcceptPrimarySaleInternalServerErrorBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof SignableAcceptPrimarySaleInternalServerErrorBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof SignableAcceptPrimarySaleInternalServerErrorBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/signable-accept-primary-sale-internal-server-error-body-all-of1.ts b/src/api/models/signable-accept-primary-sale-internal-server-error-body-all-of1.ts new file mode 100644 index 00000000..0e590572 --- /dev/null +++ b/src/api/models/signable-accept-primary-sale-internal-server-error-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableAcceptPrimarySaleInternalServerErrorBodyAllOf1 + */ +export interface SignableAcceptPrimarySaleInternalServerErrorBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof SignableAcceptPrimarySaleInternalServerErrorBodyAllOf1 + */ + 'code': SignableAcceptPrimarySaleInternalServerErrorBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof SignableAcceptPrimarySaleInternalServerErrorBodyAllOf1 + */ + 'details': object | null; +} + +export const SignableAcceptPrimarySaleInternalServerErrorBodyAllOf1CodeEnum = { + InternalServerError: 'INTERNAL_SERVER_ERROR' +} as const; + +export type SignableAcceptPrimarySaleInternalServerErrorBodyAllOf1CodeEnum = typeof SignableAcceptPrimarySaleInternalServerErrorBodyAllOf1CodeEnum[keyof typeof SignableAcceptPrimarySaleInternalServerErrorBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/signable-accept-primary-sale-internal-server-error-body.ts b/src/api/models/signable-accept-primary-sale-internal-server-error-body.ts new file mode 100644 index 00000000..ab3da376 --- /dev/null +++ b/src/api/models/signable-accept-primary-sale-internal-server-error-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { SignableAcceptPrimarySaleInternalServerErrorBodyAllOf0 } from './signable-accept-primary-sale-internal-server-error-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { SignableAcceptPrimarySaleInternalServerErrorBodyAllOf1 } from './signable-accept-primary-sale-internal-server-error-body-all-of1'; + +/** + * @type SignableAcceptPrimarySaleInternalServerErrorBody + * @export + */ +export type SignableAcceptPrimarySaleInternalServerErrorBody = SignableAcceptPrimarySaleInternalServerErrorBodyAllOf0 & SignableAcceptPrimarySaleInternalServerErrorBodyAllOf1; + + diff --git a/src/api/models/signable-accept-primary-sale-not-found-body-all-of0.ts b/src/api/models/signable-accept-primary-sale-not-found-body-all-of0.ts new file mode 100644 index 00000000..5bed03ef --- /dev/null +++ b/src/api/models/signable-accept-primary-sale-not-found-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableAcceptPrimarySaleNotFoundBodyAllOf0 + */ +export interface SignableAcceptPrimarySaleNotFoundBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof SignableAcceptPrimarySaleNotFoundBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof SignableAcceptPrimarySaleNotFoundBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof SignableAcceptPrimarySaleNotFoundBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/signable-accept-primary-sale-not-found-body-all-of1.ts b/src/api/models/signable-accept-primary-sale-not-found-body-all-of1.ts new file mode 100644 index 00000000..6d5fd7bc --- /dev/null +++ b/src/api/models/signable-accept-primary-sale-not-found-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableAcceptPrimarySaleNotFoundBodyAllOf1 + */ +export interface SignableAcceptPrimarySaleNotFoundBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof SignableAcceptPrimarySaleNotFoundBodyAllOf1 + */ + 'code': SignableAcceptPrimarySaleNotFoundBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof SignableAcceptPrimarySaleNotFoundBodyAllOf1 + */ + 'details': object | null; +} + +export const SignableAcceptPrimarySaleNotFoundBodyAllOf1CodeEnum = { + ResourceNotFound: 'RESOURCE_NOT_FOUND' +} as const; + +export type SignableAcceptPrimarySaleNotFoundBodyAllOf1CodeEnum = typeof SignableAcceptPrimarySaleNotFoundBodyAllOf1CodeEnum[keyof typeof SignableAcceptPrimarySaleNotFoundBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/signable-accept-primary-sale-not-found-body.ts b/src/api/models/signable-accept-primary-sale-not-found-body.ts new file mode 100644 index 00000000..6c0f9346 --- /dev/null +++ b/src/api/models/signable-accept-primary-sale-not-found-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { SignableAcceptPrimarySaleNotFoundBodyAllOf0 } from './signable-accept-primary-sale-not-found-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { SignableAcceptPrimarySaleNotFoundBodyAllOf1 } from './signable-accept-primary-sale-not-found-body-all-of1'; + +/** + * @type SignableAcceptPrimarySaleNotFoundBody + * @export + */ +export type SignableAcceptPrimarySaleNotFoundBody = SignableAcceptPrimarySaleNotFoundBodyAllOf0 & SignableAcceptPrimarySaleNotFoundBodyAllOf1; + + diff --git a/src/api/models/signable-accept-primary-sale-not-implemented-body-all-of0.ts b/src/api/models/signable-accept-primary-sale-not-implemented-body-all-of0.ts new file mode 100644 index 00000000..6a79ba6a --- /dev/null +++ b/src/api/models/signable-accept-primary-sale-not-implemented-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableAcceptPrimarySaleNotImplementedBodyAllOf0 + */ +export interface SignableAcceptPrimarySaleNotImplementedBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof SignableAcceptPrimarySaleNotImplementedBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof SignableAcceptPrimarySaleNotImplementedBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof SignableAcceptPrimarySaleNotImplementedBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/signable-accept-primary-sale-not-implemented-body-all-of1.ts b/src/api/models/signable-accept-primary-sale-not-implemented-body-all-of1.ts new file mode 100644 index 00000000..7285a3e8 --- /dev/null +++ b/src/api/models/signable-accept-primary-sale-not-implemented-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableAcceptPrimarySaleNotImplementedBodyAllOf1 + */ +export interface SignableAcceptPrimarySaleNotImplementedBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof SignableAcceptPrimarySaleNotImplementedBodyAllOf1 + */ + 'code': SignableAcceptPrimarySaleNotImplementedBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof SignableAcceptPrimarySaleNotImplementedBodyAllOf1 + */ + 'details': object | null; +} + +export const SignableAcceptPrimarySaleNotImplementedBodyAllOf1CodeEnum = { + NotImplementedError: 'NOT_IMPLEMENTED_ERROR' +} as const; + +export type SignableAcceptPrimarySaleNotImplementedBodyAllOf1CodeEnum = typeof SignableAcceptPrimarySaleNotImplementedBodyAllOf1CodeEnum[keyof typeof SignableAcceptPrimarySaleNotImplementedBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/signable-accept-primary-sale-not-implemented-body.ts b/src/api/models/signable-accept-primary-sale-not-implemented-body.ts new file mode 100644 index 00000000..01573fd0 --- /dev/null +++ b/src/api/models/signable-accept-primary-sale-not-implemented-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { SignableAcceptPrimarySaleNotImplementedBodyAllOf0 } from './signable-accept-primary-sale-not-implemented-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { SignableAcceptPrimarySaleNotImplementedBodyAllOf1 } from './signable-accept-primary-sale-not-implemented-body-all-of1'; + +/** + * @type SignableAcceptPrimarySaleNotImplementedBody + * @export + */ +export type SignableAcceptPrimarySaleNotImplementedBody = SignableAcceptPrimarySaleNotImplementedBodyAllOf0 & SignableAcceptPrimarySaleNotImplementedBodyAllOf1; + + diff --git a/src/api/models/signable-accept-primary-sale-okbody.ts b/src/api/models/signable-accept-primary-sale-okbody.ts new file mode 100644 index 00000000..960733a1 --- /dev/null +++ b/src/api/models/signable-accept-primary-sale-okbody.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableAcceptPrimarySaleOKBody + */ +export interface SignableAcceptPrimarySaleOKBody { + /** + * Hashed Ethereum payload of the request + * @type {string} + * @memberof SignableAcceptPrimarySaleOKBody + */ + 'signable_message': string; +} + diff --git a/src/api/models/signable-accept-primary-sale-unprocessable-entity-body-all-of0.ts b/src/api/models/signable-accept-primary-sale-unprocessable-entity-body-all-of0.ts new file mode 100644 index 00000000..b76afa33 --- /dev/null +++ b/src/api/models/signable-accept-primary-sale-unprocessable-entity-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf0 + */ +export interface SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/signable-accept-primary-sale-unprocessable-entity-body-all-of1.ts b/src/api/models/signable-accept-primary-sale-unprocessable-entity-body-all-of1.ts new file mode 100644 index 00000000..54cdb8f8 --- /dev/null +++ b/src/api/models/signable-accept-primary-sale-unprocessable-entity-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf1 + */ +export interface SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf1 + */ + 'code': SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf1 + */ + 'details': object | null; +} + +export const SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf1CodeEnum = { + UnprocessableEntityError: 'UNPROCESSABLE_ENTITY_ERROR' +} as const; + +export type SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf1CodeEnum = typeof SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf1CodeEnum[keyof typeof SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/signable-accept-primary-sale-unprocessable-entity-body.ts b/src/api/models/signable-accept-primary-sale-unprocessable-entity-body.ts new file mode 100644 index 00000000..8e1fa016 --- /dev/null +++ b/src/api/models/signable-accept-primary-sale-unprocessable-entity-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf0 } from './signable-accept-primary-sale-unprocessable-entity-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf1 } from './signable-accept-primary-sale-unprocessable-entity-body-all-of1'; + +/** + * @type SignableAcceptPrimarySaleUnprocessableEntityBody + * @export + */ +export type SignableAcceptPrimarySaleUnprocessableEntityBody = SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf0 & SignableAcceptPrimarySaleUnprocessableEntityBodyAllOf1; + + diff --git a/src/api/models/signable-create-primary-sale-bad-request-body-all-of0.ts b/src/api/models/signable-create-primary-sale-bad-request-body-all-of0.ts new file mode 100644 index 00000000..f4b84fa0 --- /dev/null +++ b/src/api/models/signable-create-primary-sale-bad-request-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableCreatePrimarySaleBadRequestBodyAllOf0 + */ +export interface SignableCreatePrimarySaleBadRequestBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof SignableCreatePrimarySaleBadRequestBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof SignableCreatePrimarySaleBadRequestBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof SignableCreatePrimarySaleBadRequestBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/signable-create-primary-sale-bad-request-body-all-of1.ts b/src/api/models/signable-create-primary-sale-bad-request-body-all-of1.ts new file mode 100644 index 00000000..87af4b2a --- /dev/null +++ b/src/api/models/signable-create-primary-sale-bad-request-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableCreatePrimarySaleBadRequestBodyAllOf1 + */ +export interface SignableCreatePrimarySaleBadRequestBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof SignableCreatePrimarySaleBadRequestBodyAllOf1 + */ + 'code': SignableCreatePrimarySaleBadRequestBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof SignableCreatePrimarySaleBadRequestBodyAllOf1 + */ + 'details': object | null; +} + +export const SignableCreatePrimarySaleBadRequestBodyAllOf1CodeEnum = { + ValidationError: 'VALIDATION_ERROR' +} as const; + +export type SignableCreatePrimarySaleBadRequestBodyAllOf1CodeEnum = typeof SignableCreatePrimarySaleBadRequestBodyAllOf1CodeEnum[keyof typeof SignableCreatePrimarySaleBadRequestBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/signable-create-primary-sale-bad-request-body.ts b/src/api/models/signable-create-primary-sale-bad-request-body.ts new file mode 100644 index 00000000..6af63855 --- /dev/null +++ b/src/api/models/signable-create-primary-sale-bad-request-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { SignableCreatePrimarySaleBadRequestBodyAllOf0 } from './signable-create-primary-sale-bad-request-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { SignableCreatePrimarySaleBadRequestBodyAllOf1 } from './signable-create-primary-sale-bad-request-body-all-of1'; + +/** + * @type SignableCreatePrimarySaleBadRequestBody + * @export + */ +export type SignableCreatePrimarySaleBadRequestBody = SignableCreatePrimarySaleBadRequestBodyAllOf0 & SignableCreatePrimarySaleBadRequestBodyAllOf1; + + diff --git a/src/api/models/signable-create-primary-sale-internal-server-error-body-all-of0.ts b/src/api/models/signable-create-primary-sale-internal-server-error-body-all-of0.ts new file mode 100644 index 00000000..d4a0ae1f --- /dev/null +++ b/src/api/models/signable-create-primary-sale-internal-server-error-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableCreatePrimarySaleInternalServerErrorBodyAllOf0 + */ +export interface SignableCreatePrimarySaleInternalServerErrorBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof SignableCreatePrimarySaleInternalServerErrorBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof SignableCreatePrimarySaleInternalServerErrorBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof SignableCreatePrimarySaleInternalServerErrorBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/signable-create-primary-sale-internal-server-error-body-all-of1.ts b/src/api/models/signable-create-primary-sale-internal-server-error-body-all-of1.ts new file mode 100644 index 00000000..9b9632bd --- /dev/null +++ b/src/api/models/signable-create-primary-sale-internal-server-error-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableCreatePrimarySaleInternalServerErrorBodyAllOf1 + */ +export interface SignableCreatePrimarySaleInternalServerErrorBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof SignableCreatePrimarySaleInternalServerErrorBodyAllOf1 + */ + 'code': SignableCreatePrimarySaleInternalServerErrorBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof SignableCreatePrimarySaleInternalServerErrorBodyAllOf1 + */ + 'details': object | null; +} + +export const SignableCreatePrimarySaleInternalServerErrorBodyAllOf1CodeEnum = { + InternalServerError: 'INTERNAL_SERVER_ERROR' +} as const; + +export type SignableCreatePrimarySaleInternalServerErrorBodyAllOf1CodeEnum = typeof SignableCreatePrimarySaleInternalServerErrorBodyAllOf1CodeEnum[keyof typeof SignableCreatePrimarySaleInternalServerErrorBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/signable-create-primary-sale-internal-server-error-body.ts b/src/api/models/signable-create-primary-sale-internal-server-error-body.ts new file mode 100644 index 00000000..929f1044 --- /dev/null +++ b/src/api/models/signable-create-primary-sale-internal-server-error-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { SignableCreatePrimarySaleInternalServerErrorBodyAllOf0 } from './signable-create-primary-sale-internal-server-error-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { SignableCreatePrimarySaleInternalServerErrorBodyAllOf1 } from './signable-create-primary-sale-internal-server-error-body-all-of1'; + +/** + * @type SignableCreatePrimarySaleInternalServerErrorBody + * @export + */ +export type SignableCreatePrimarySaleInternalServerErrorBody = SignableCreatePrimarySaleInternalServerErrorBodyAllOf0 & SignableCreatePrimarySaleInternalServerErrorBodyAllOf1; + + diff --git a/src/api/models/signable-create-primary-sale-not-found-body-all-of0.ts b/src/api/models/signable-create-primary-sale-not-found-body-all-of0.ts new file mode 100644 index 00000000..5b25ce44 --- /dev/null +++ b/src/api/models/signable-create-primary-sale-not-found-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableCreatePrimarySaleNotFoundBodyAllOf0 + */ +export interface SignableCreatePrimarySaleNotFoundBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof SignableCreatePrimarySaleNotFoundBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof SignableCreatePrimarySaleNotFoundBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof SignableCreatePrimarySaleNotFoundBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/signable-create-primary-sale-not-found-body-all-of1.ts b/src/api/models/signable-create-primary-sale-not-found-body-all-of1.ts new file mode 100644 index 00000000..d76d631f --- /dev/null +++ b/src/api/models/signable-create-primary-sale-not-found-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableCreatePrimarySaleNotFoundBodyAllOf1 + */ +export interface SignableCreatePrimarySaleNotFoundBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof SignableCreatePrimarySaleNotFoundBodyAllOf1 + */ + 'code': SignableCreatePrimarySaleNotFoundBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof SignableCreatePrimarySaleNotFoundBodyAllOf1 + */ + 'details': object | null; +} + +export const SignableCreatePrimarySaleNotFoundBodyAllOf1CodeEnum = { + ResourceNotFound: 'RESOURCE_NOT_FOUND' +} as const; + +export type SignableCreatePrimarySaleNotFoundBodyAllOf1CodeEnum = typeof SignableCreatePrimarySaleNotFoundBodyAllOf1CodeEnum[keyof typeof SignableCreatePrimarySaleNotFoundBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/signable-create-primary-sale-not-found-body.ts b/src/api/models/signable-create-primary-sale-not-found-body.ts new file mode 100644 index 00000000..6986b175 --- /dev/null +++ b/src/api/models/signable-create-primary-sale-not-found-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { SignableCreatePrimarySaleNotFoundBodyAllOf0 } from './signable-create-primary-sale-not-found-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { SignableCreatePrimarySaleNotFoundBodyAllOf1 } from './signable-create-primary-sale-not-found-body-all-of1'; + +/** + * @type SignableCreatePrimarySaleNotFoundBody + * @export + */ +export type SignableCreatePrimarySaleNotFoundBody = SignableCreatePrimarySaleNotFoundBodyAllOf0 & SignableCreatePrimarySaleNotFoundBodyAllOf1; + + diff --git a/src/api/models/signable-create-primary-sale-not-implemented-body-all-of0.ts b/src/api/models/signable-create-primary-sale-not-implemented-body-all-of0.ts new file mode 100644 index 00000000..f247040b --- /dev/null +++ b/src/api/models/signable-create-primary-sale-not-implemented-body-all-of0.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableCreatePrimarySaleNotImplementedBodyAllOf0 + */ +export interface SignableCreatePrimarySaleNotImplementedBodyAllOf0 { + /** + * Link to IMX documentation that can help resolve this error + * @type {string} + * @memberof SignableCreatePrimarySaleNotImplementedBodyAllOf0 + */ + 'link': string; + /** + * Error Message + * @type {string} + * @memberof SignableCreatePrimarySaleNotImplementedBodyAllOf0 + */ + 'message': string; + /** + * Trace ID of the initial request + * @type {string} + * @memberof SignableCreatePrimarySaleNotImplementedBodyAllOf0 + */ + 'trace_id': string; +} + diff --git a/src/api/models/signable-create-primary-sale-not-implemented-body-all-of1.ts b/src/api/models/signable-create-primary-sale-not-implemented-body-all-of1.ts new file mode 100644 index 00000000..5e18f595 --- /dev/null +++ b/src/api/models/signable-create-primary-sale-not-implemented-body-all-of1.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableCreatePrimarySaleNotImplementedBodyAllOf1 + */ +export interface SignableCreatePrimarySaleNotImplementedBodyAllOf1 { + /** + * Error Code + * @type {string} + * @memberof SignableCreatePrimarySaleNotImplementedBodyAllOf1 + */ + 'code': SignableCreatePrimarySaleNotImplementedBodyAllOf1CodeEnum; + /** + * Additional details to help resolve the error + * @type {object} + * @memberof SignableCreatePrimarySaleNotImplementedBodyAllOf1 + */ + 'details': object | null; +} + +export const SignableCreatePrimarySaleNotImplementedBodyAllOf1CodeEnum = { + NotImplementedError: 'NOT_IMPLEMENTED_ERROR' +} as const; + +export type SignableCreatePrimarySaleNotImplementedBodyAllOf1CodeEnum = typeof SignableCreatePrimarySaleNotImplementedBodyAllOf1CodeEnum[keyof typeof SignableCreatePrimarySaleNotImplementedBodyAllOf1CodeEnum]; + + diff --git a/src/api/models/signable-create-primary-sale-not-implemented-body.ts b/src/api/models/signable-create-primary-sale-not-implemented-body.ts new file mode 100644 index 00000000..48729fa5 --- /dev/null +++ b/src/api/models/signable-create-primary-sale-not-implemented-body.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { SignableCreatePrimarySaleNotImplementedBodyAllOf0 } from './signable-create-primary-sale-not-implemented-body-all-of0'; +// May contain unused imports in some cases +// @ts-ignore +import { SignableCreatePrimarySaleNotImplementedBodyAllOf1 } from './signable-create-primary-sale-not-implemented-body-all-of1'; + +/** + * @type SignableCreatePrimarySaleNotImplementedBody + * @export + */ +export type SignableCreatePrimarySaleNotImplementedBody = SignableCreatePrimarySaleNotImplementedBodyAllOf0 & SignableCreatePrimarySaleNotImplementedBodyAllOf1; + + diff --git a/src/api/models/signable-create-primary-sale-okbody-fee-info.ts b/src/api/models/signable-create-primary-sale-okbody-fee-info.ts new file mode 100644 index 00000000..69ba586c --- /dev/null +++ b/src/api/models/signable-create-primary-sale-okbody-fee-info.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SignableCreatePrimarySaleOKBodyFeeInfo + */ +export interface SignableCreatePrimarySaleOKBodyFeeInfo { + /** + * Asset ID of fee token + * @type {string} + * @memberof SignableCreatePrimarySaleOKBodyFeeInfo + */ + 'asset_id'?: string; + /** + * Fee limit of transaction - total fee amount + * @type {string} + * @memberof SignableCreatePrimarySaleOKBodyFeeInfo + */ + 'fee_limit'?: string; + /** + * Vault ID of fee payer + * @type {number} + * @memberof SignableCreatePrimarySaleOKBodyFeeInfo + */ + 'source_vault_id'?: number; +} + diff --git a/src/api/models/signable-create-primary-sale-okbody-fees-items.ts b/src/api/models/signable-create-primary-sale-okbody-fees-items.ts new file mode 100644 index 00000000..409f8cde --- /dev/null +++ b/src/api/models/signable-create-primary-sale-okbody-fees-items.ts @@ -0,0 +1,56 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * Fee required to be paid for a primary sale + * @export + * @interface SignableCreatePrimarySaleOKBodyFeesItems + */ +export interface SignableCreatePrimarySaleOKBodyFeesItems { + /** + * Ethereum address of the fee recipient + * @type {string} + * @memberof SignableCreatePrimarySaleOKBodyFeesItems + */ + 'address': string; + /** + * Fee amount + * @type {string} + * @memberof SignableCreatePrimarySaleOKBodyFeesItems + */ + 'amount': string; + /** + * Fee percentage in basis points (e.g. 200 for 2%) + * @type {number} + * @memberof SignableCreatePrimarySaleOKBodyFeesItems + */ + 'percentage': number; + /** + * Fee type + * @type {string} + * @memberof SignableCreatePrimarySaleOKBodyFeesItems + */ + 'type': SignableCreatePrimarySaleOKBodyFeesItemsTypeEnum; +} + +export const SignableCreatePrimarySaleOKBodyFeesItemsTypeEnum = { + Ecosystem: 'ECOSYSTEM', + Protocol: 'PROTOCOL' +} as const; + +export type SignableCreatePrimarySaleOKBodyFeesItemsTypeEnum = typeof SignableCreatePrimarySaleOKBodyFeesItemsTypeEnum[keyof typeof SignableCreatePrimarySaleOKBodyFeesItemsTypeEnum]; + + diff --git a/src/api/models/signable-create-primary-sale-okbody.ts b/src/api/models/signable-create-primary-sale-okbody.ts new file mode 100644 index 00000000..f06b74ac --- /dev/null +++ b/src/api/models/signable-create-primary-sale-okbody.ts @@ -0,0 +1,123 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { SignableCreatePrimarySaleOKBodyFeesItems } from './signable-create-primary-sale-okbody-fees-items'; + +/** + * + * @export + * @interface SignableCreatePrimarySaleOKBody + */ +export interface SignableCreatePrimarySaleOKBody { + /** + * Ethereum address of the payer of the primary sale + * @type {string} + * @memberof SignableCreatePrimarySaleOKBody + */ + 'buyer_ether_key': string; + /** + * Stark key of the buyer + * @type {string} + * @memberof SignableCreatePrimarySaleOKBody + */ + 'buyer_stark_key': string; + /** + * Vault ID of the buyer + * @type {number} + * @memberof SignableCreatePrimarySaleOKBody + */ + 'buyer_vault_id': number; + /** + * Time the primary sale expires + * @type {string} + * @memberof SignableCreatePrimarySaleOKBody + */ + 'expiration_timestamp': string; + /** + * + * @type {Array} + * @memberof SignableCreatePrimarySaleOKBody + */ + 'fees'?: Array; + /** + * Ethereum address of the items receiver + * @type {string} + * @memberof SignableCreatePrimarySaleOKBody + */ + 'items_recipient_ether_key': string; + /** + * Nonce of transaction + * @type {number} + * @memberof SignableCreatePrimarySaleOKBody + */ + 'nonce': number; + /** + * Hash of the StarkEx payload + * @type {string} + * @memberof SignableCreatePrimarySaleOKBody + */ + 'payload_hash': string; + /** + * Fee exclusive amount of the transfer + * @type {string} + * @memberof SignableCreatePrimarySaleOKBody + */ + 'payment_amount': string; + /** + * Asset ID of payment token + * @type {string} + * @memberof SignableCreatePrimarySaleOKBody + */ + 'payment_asset_id': string; + /** + * Ethereum address of the recipient of the sale proceedings + * @type {string} + * @memberof SignableCreatePrimarySaleOKBody + */ + 'payment_recipient_ether_key': string; + /** + * Stark key of the payment receiver + * @type {string} + * @memberof SignableCreatePrimarySaleOKBody + */ + 'payment_recipient_stark_key': string; + /** + * Vault ID of the payment receiver + * @type {number} + * @memberof SignableCreatePrimarySaleOKBody + */ + 'payment_recipient_vault_id': number; + /** + * Hashed Ethereum payload of the request + * @type {string} + * @memberof SignableCreatePrimarySaleOKBody + */ + 'signable_message': string; + /** + * Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing. + * @type {string} + * @memberof SignableCreatePrimarySaleOKBody + */ + 'studio_data': string; + /** + * Ethereum address of the studio operating the primary sale, will be used to verify in completion + * @type {string} + * @memberof SignableCreatePrimarySaleOKBody + */ + 'studio_ether_key': string; +} + diff --git a/src/api/models/signable-create-primary-sale-params-body-fees-items.ts b/src/api/models/signable-create-primary-sale-params-body-fees-items.ts new file mode 100644 index 00000000..fdc78315 --- /dev/null +++ b/src/api/models/signable-create-primary-sale-params-body-fees-items.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * A fee object used in requests + * @export + * @interface SignableCreatePrimarySaleParamsBodyFeesItems + */ +export interface SignableCreatePrimarySaleParamsBodyFeesItems { + /** + * Ethereum address of the fee recipient + * @type {string} + * @memberof SignableCreatePrimarySaleParamsBodyFeesItems + */ + 'address': string; + /** + * Fee percentage in basis points (e.g. 200 for 2%) + * @type {number} + * @memberof SignableCreatePrimarySaleParamsBodyFeesItems + */ + 'fee_percentage': number; +} + diff --git a/src/api/models/signable-create-primary-sale-params-body.ts b/src/api/models/signable-create-primary-sale-params-body.ts new file mode 100644 index 00000000..7b0df8cd --- /dev/null +++ b/src/api/models/signable-create-primary-sale-params-body.ts @@ -0,0 +1,81 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Immutable X API + * Immutable X API + * + * The version of the OpenAPI document: 3.0.0 + * Contact: support@immutable.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { SignableCreatePrimarySaleParamsBodyFeesItems } from './signable-create-primary-sale-params-body-fees-items'; + +/** + * + * @export + * @interface SignableCreatePrimarySaleParamsBody + */ +export interface SignableCreatePrimarySaleParamsBody { + /** + * Ethereum address of the payer of the primary sale + * @type {string} + * @memberof SignableCreatePrimarySaleParamsBody + */ + 'buyer_ether_key': string; + /** + * Time the primary sale expires + * @type {string} + * @memberof SignableCreatePrimarySaleParamsBody + */ + 'expiration_timestamp'?: string; + /** + * + * @type {Array} + * @memberof SignableCreatePrimarySaleParamsBody + */ + 'fees'?: Array; + /** + * Ethereum address of the recipient of the items - in many cases this will be the same as account, but sometimes you may wish to gift the items to another address. + * @type {string} + * @memberof SignableCreatePrimarySaleParamsBody + */ + 'items_recipient_ether_key': string; + /** + * Fee exclusive amount of the primary sale + * @type {string} + * @memberof SignableCreatePrimarySaleParamsBody + */ + 'payment_amount': string; + /** + * Ethereum address of the recipient of the sale proceedings + * @type {string} + * @memberof SignableCreatePrimarySaleParamsBody + */ + 'payment_recipient_ether_key': string; + /** + * + * @type {object} + * @memberof SignableCreatePrimarySaleParamsBody + */ + 'payment_token': object; + /** + * Arbitrary data defined by the selling party (e.g. game studio) to identify the primary sale. We suggest signing this payload to verify authenticity when processing. + * @type {string} + * @memberof SignableCreatePrimarySaleParamsBody + */ + 'studio_data': string; + /** + * Ethereum address of the studio operating the primary sale, will be used to verify in completion + * @type {string} + * @memberof SignableCreatePrimarySaleParamsBody + */ + 'studio_ether_key': string; +} + diff --git a/src/api/models/signable-token.ts b/src/api/models/signable-token.ts index f8107861..e8f202f4 100644 --- a/src/api/models/signable-token.ts +++ b/src/api/models/signable-token.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/signable-transfer-details-token.ts b/src/api/models/signable-transfer-details-token.ts index 4ebfa3bb..50081c9a 100644 --- a/src/api/models/signable-transfer-details-token.ts +++ b/src/api/models/signable-transfer-details-token.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/signable-transfer-details-v2-token.ts b/src/api/models/signable-transfer-details-v2-token.ts index 684691c1..b01ba108 100644 --- a/src/api/models/signable-transfer-details-v2-token.ts +++ b/src/api/models/signable-transfer-details-v2-token.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/signable-transfer-details-v2.ts b/src/api/models/signable-transfer-details-v2.ts index 682a16e5..82928188 100644 --- a/src/api/models/signable-transfer-details-v2.ts +++ b/src/api/models/signable-transfer-details-v2.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/signable-transfer-details.ts b/src/api/models/signable-transfer-details.ts index 805a05b7..073b8179 100644 --- a/src/api/models/signable-transfer-details.ts +++ b/src/api/models/signable-transfer-details.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/signable-transfer-response-details-token.ts b/src/api/models/signable-transfer-response-details-token.ts index b916056f..f9eea167 100644 --- a/src/api/models/signable-transfer-response-details-token.ts +++ b/src/api/models/signable-transfer-response-details-token.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/signable-transfer-response-details.ts b/src/api/models/signable-transfer-response-details.ts index a9dbaeed..00592331 100644 --- a/src/api/models/signable-transfer-response-details.ts +++ b/src/api/models/signable-transfer-response-details.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/store-maker-taker-fee.ts b/src/api/models/store-maker-taker-fee.ts index 8076ecce..6f816a0f 100644 --- a/src/api/models/store-maker-taker-fee.ts +++ b/src/api/models/store-maker-taker-fee.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/success-response.ts b/src/api/models/success-response.ts index 67049e09..119d9afe 100644 --- a/src/api/models/success-response.ts +++ b/src/api/models/success-response.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/token-data-oaigen.ts b/src/api/models/token-data-oaigen.ts index d30c9444..42ba535b 100644 --- a/src/api/models/token-data-oaigen.ts +++ b/src/api/models/token-data-oaigen.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/token-data-properties.ts b/src/api/models/token-data-properties.ts index 842c555f..d33271b4 100644 --- a/src/api/models/token-data-properties.ts +++ b/src/api/models/token-data-properties.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/token-data.ts b/src/api/models/token-data.ts index ea4b7527..2e189d12 100644 --- a/src/api/models/token-data.ts +++ b/src/api/models/token-data.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/token-details.ts b/src/api/models/token-details.ts index 1bf8b90d..6092e74a 100644 --- a/src/api/models/token-details.ts +++ b/src/api/models/token-details.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/token.ts b/src/api/models/token.ts index 238bd818..8083ba98 100644 --- a/src/api/models/token.ts +++ b/src/api/models/token.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/trade-a.ts b/src/api/models/trade-a.ts index 8795e9b6..2fcbd536 100644 --- a/src/api/models/trade-a.ts +++ b/src/api/models/trade-a.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/trade-b.ts b/src/api/models/trade-b.ts index 7148fafe..f74b182a 100644 --- a/src/api/models/trade-b.ts +++ b/src/api/models/trade-b.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/trade-side.ts b/src/api/models/trade-side.ts index 5a15a136..0e80f27e 100644 --- a/src/api/models/trade-side.ts +++ b/src/api/models/trade-side.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/trade.ts b/src/api/models/trade.ts index 6272935b..3edade2a 100644 --- a/src/api/models/trade.ts +++ b/src/api/models/trade.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/trades-create-trade-request-fee-info.ts b/src/api/models/trades-create-trade-request-fee-info.ts index 1aa47dc1..8b818fed 100644 --- a/src/api/models/trades-create-trade-request-fee-info.ts +++ b/src/api/models/trades-create-trade-request-fee-info.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/trades-create-trade-request.ts b/src/api/models/trades-create-trade-request.ts index 9fa7df40..86ba6548 100644 --- a/src/api/models/trades-create-trade-request.ts +++ b/src/api/models/trades-create-trade-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/transfer-request.ts b/src/api/models/transfer-request.ts index d1752a2a..1b5770db 100644 --- a/src/api/models/transfer-request.ts +++ b/src/api/models/transfer-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/transfer-token.ts b/src/api/models/transfer-token.ts index c7f983eb..69c49139 100644 --- a/src/api/models/transfer-token.ts +++ b/src/api/models/transfer-token.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/transfer.ts b/src/api/models/transfer.ts index 0d443f4f..1e48e367 100644 --- a/src/api/models/transfer.ts +++ b/src/api/models/transfer.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/update-collection-request.ts b/src/api/models/update-collection-request.ts index 893e019b..92c1abbd 100644 --- a/src/api/models/update-collection-request.ts +++ b/src/api/models/update-collection-request.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/widget-params.ts b/src/api/models/widget-params.ts index ae0c8922..300b4d8d 100644 --- a/src/api/models/widget-params.ts +++ b/src/api/models/widget-params.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/withdrawal-token.ts b/src/api/models/withdrawal-token.ts index 4f1d92d2..5abc06e0 100644 --- a/src/api/models/withdrawal-token.ts +++ b/src/api/models/withdrawal-token.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/api/models/withdrawal.ts b/src/api/models/withdrawal.ts index 2c4f6366..4dffe9fb 100644 --- a/src/api/models/withdrawal.ts +++ b/src/api/models/withdrawal.ts @@ -2,9 +2,9 @@ /* eslint-disable */ /** * Immutable X API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * Immutable X API * - * The version of the OpenAPI document: 3.0 + * The version of the OpenAPI document: 3.0.0 * Contact: support@immutable.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).