@snagsolutions/sdk 0.1.0-alpha.215 → 0.1.0-alpha.217
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/index.d.mts +5 -2
- package/index.d.ts +5 -2
- package/index.d.ts.map +1 -1
- package/index.js +4 -1
- package/index.js.map +1 -1
- package/index.mjs +4 -1
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/index.d.ts +2 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -1
- package/resources/index.mjs.map +1 -1
- package/resources/loyalty/index.d.ts +1 -1
- package/resources/loyalty/index.d.ts.map +1 -1
- package/resources/loyalty/index.js.map +1 -1
- package/resources/loyalty/index.mjs.map +1 -1
- package/resources/loyalty/loyalty.d.ts +2 -2
- package/resources/loyalty/loyalty.d.ts.map +1 -1
- package/resources/loyalty/loyalty.js.map +1 -1
- package/resources/loyalty/loyalty.mjs.map +1 -1
- package/resources/loyalty/transactions/index.d.ts +2 -1
- package/resources/loyalty/transactions/index.d.ts.map +1 -1
- package/resources/loyalty/transactions/index.js +3 -1
- package/resources/loyalty/transactions/index.js.map +1 -1
- package/resources/loyalty/transactions/index.mjs +1 -0
- package/resources/loyalty/transactions/index.mjs.map +1 -1
- package/resources/loyalty/transactions/posts.d.ts +145 -0
- package/resources/loyalty/transactions/posts.d.ts.map +1 -0
- package/resources/loyalty/transactions/posts.js +32 -0
- package/resources/loyalty/transactions/posts.js.map +1 -0
- package/resources/loyalty/transactions/posts.mjs +28 -0
- package/resources/loyalty/transactions/posts.mjs.map +1 -0
- package/resources/loyalty/transactions/transactions.d.ts +143 -1
- package/resources/loyalty/transactions/transactions.d.ts.map +1 -1
- package/resources/loyalty/transactions/transactions.js +34 -0
- package/resources/loyalty/transactions/transactions.js.map +1 -1
- package/resources/loyalty/transactions/transactions.mjs +34 -0
- package/resources/loyalty/transactions/transactions.mjs.map +1 -1
- package/resources/minting/allowlist.d.ts +84 -0
- package/resources/minting/allowlist.d.ts.map +1 -0
- package/resources/minting/allowlist.js +42 -0
- package/resources/minting/allowlist.js.map +1 -0
- package/resources/minting/allowlist.mjs +38 -0
- package/resources/minting/allowlist.mjs.map +1 -0
- package/resources/minting/contracts.d.ts +164 -0
- package/resources/minting/contracts.d.ts.map +1 -0
- package/resources/minting/contracts.js +30 -0
- package/resources/minting/contracts.js.map +1 -0
- package/resources/minting/contracts.mjs +26 -0
- package/resources/minting/contracts.mjs.map +1 -0
- package/resources/minting/index.d.ts +5 -0
- package/resources/minting/index.d.ts.map +1 -0
- package/resources/minting/index.js +13 -0
- package/resources/minting/index.js.map +1 -0
- package/resources/minting/index.mjs +6 -0
- package/resources/minting/index.mjs.map +1 -0
- package/resources/minting/minting.d.ts +142 -0
- package/resources/minting/minting.d.ts.map +1 -0
- package/resources/minting/minting.js +79 -0
- package/resources/minting/minting.js.map +1 -0
- package/resources/minting/minting.mjs +52 -0
- package/resources/minting/minting.mjs.map +1 -0
- package/resources/minting/status.d.ts +44 -0
- package/resources/minting/status.d.ts.map +1 -0
- package/resources/minting/status.js +33 -0
- package/resources/minting/status.js.map +1 -0
- package/resources/minting/status.mjs +29 -0
- package/resources/minting/status.mjs.map +1 -0
- package/resources/minting.d.ts +1 -94
- package/resources/minting.d.ts.map +1 -1
- package/resources/minting.js +15 -11
- package/resources/minting.js.map +1 -1
- package/resources/minting.mjs +1 -9
- package/resources/minting.mjs.map +1 -1
- package/resources/token-claims.d.ts +160 -0
- package/resources/token-claims.d.ts.map +1 -0
- package/resources/token-claims.js +46 -0
- package/resources/token-claims.js.map +1 -0
- package/resources/token-claims.mjs +42 -0
- package/resources/token-claims.mjs.map +1 -0
- package/src/index.ts +42 -1
- package/src/resources/index.ts +22 -1
- package/src/resources/loyalty/index.ts +4 -0
- package/src/resources/loyalty/loyalty.ts +8 -0
- package/src/resources/loyalty/transactions/index.ts +11 -0
- package/src/resources/loyalty/transactions/posts.ts +221 -0
- package/src/resources/loyalty/transactions/transactions.ts +194 -0
- package/src/resources/minting/allowlist.ts +116 -0
- package/src/resources/minting/contracts.ts +405 -0
- package/src/resources/minting/index.ts +29 -0
- package/src/resources/minting/minting.ts +277 -0
- package/src/resources/minting/status.ts +70 -0
- package/src/resources/minting.ts +1 -176
- package/src/resources/token-claims.ts +307 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { APIResource } from "../../resource.js";
|
|
2
|
+
import * as Core from "../../core.js";
|
|
3
|
+
export declare class Contracts extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get minting contracts
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* const contracts = await client.minting.contracts.list();
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
list(query?: ContractListParams, options?: Core.RequestOptions): Core.APIPromise<ContractListResponse>;
|
|
13
|
+
list(options?: Core.RequestOptions): Core.APIPromise<ContractListResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Generates a signature for minting an asset on a given contract
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* const response = await client.minting.contracts.mint({
|
|
20
|
+
* assetId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
21
|
+
* contractId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
mint(body: ContractMintParams, options?: Core.RequestOptions): Core.APIPromise<ContractMintResponse>;
|
|
26
|
+
}
|
|
27
|
+
export interface ContractListResponse {
|
|
28
|
+
data: Array<ContractListResponse.Data>;
|
|
29
|
+
hasNextPage: boolean;
|
|
30
|
+
stats: Array<ContractListResponse.Stat>;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace ContractListResponse {
|
|
33
|
+
interface Data {
|
|
34
|
+
id: string;
|
|
35
|
+
_count: Data._Count;
|
|
36
|
+
address: string;
|
|
37
|
+
description: string | null;
|
|
38
|
+
enableGasless: boolean;
|
|
39
|
+
externalLinkUrl: string | null;
|
|
40
|
+
hasRevealMechanic: boolean;
|
|
41
|
+
hideInactiveListings: boolean;
|
|
42
|
+
imageUrl: string | null;
|
|
43
|
+
isFreeClaimForBadgeHolders: boolean;
|
|
44
|
+
isFreeClaimForTokenHolders: boolean;
|
|
45
|
+
isListed: boolean;
|
|
46
|
+
isPerAssetMintLimit: boolean;
|
|
47
|
+
isSoulbound: boolean;
|
|
48
|
+
mintingContractAssets: Array<Data.MintingContractAsset>;
|
|
49
|
+
mintingContractBadgeAssociation: Array<Data.MintingContractBadgeAssociation>;
|
|
50
|
+
mustOwnCollections: Array<Data.MustOwnCollection>;
|
|
51
|
+
name: string;
|
|
52
|
+
network: 'abstract' | 'abstractTestnet' | 'apechain' | 'arbitrum' | 'avalanche' | 'avalancheFuji' | 'base' | 'baseSepolia' | 'berachain' | 'berachainArtio' | 'berachainBepolia' | 'binance' | 'bscTestnet' | 'campTestnet' | 'fantom' | 'fantomTestnet' | 'flowMainnet' | 'mainnet' | 'nexusTestnet' | 'optimism' | 'polygon' | 'polygon_mumbai' | 'skaleNebula' | 'skaleEuropa' | 'skaleCalypso' | 'solana' | 'sophon' | 'sophonTestnet' | 'sui' | 'superseed' | 'superseedSepolia' | 'vanar' | 'xai' | 'zksync' | 'coti' | 'cotiTestnet' | 'morph' | 'morphTestnet' | 'morphHolesky' | 'ultra' | 'ultraTestnet' | 'nitrograph' | 'sepolia' | 'optimism_sepolia' | 'arbitrumSepolia' | 'goerli' | 'optimism_goerli' | 'arbitrumGoerli' | 'basecamp' | 'somnia' | 'zkverify' | 'polkadot' | 'kusama' | 'flow_cadence';
|
|
53
|
+
organizationId: string;
|
|
54
|
+
preRevealMedia: string | null;
|
|
55
|
+
primarySaleRecipientAddress: string;
|
|
56
|
+
relayerId: string | null;
|
|
57
|
+
requireHoldingAllGatedItems: boolean;
|
|
58
|
+
revealAvailableAt: string | null;
|
|
59
|
+
royaltyFee: unknown;
|
|
60
|
+
royaltyFeeAddress: string;
|
|
61
|
+
shouldCollectEmail: boolean;
|
|
62
|
+
showOnMarketplace: boolean;
|
|
63
|
+
sortId: number | null;
|
|
64
|
+
symbol: string;
|
|
65
|
+
tokenType: 'erc721' | 'erc1155' | 'erc721c';
|
|
66
|
+
websiteCollectionId: string | null;
|
|
67
|
+
websiteId: string;
|
|
68
|
+
}
|
|
69
|
+
namespace Data {
|
|
70
|
+
interface _Count {
|
|
71
|
+
mintingContractAssets: number;
|
|
72
|
+
}
|
|
73
|
+
interface MintingContractAsset {
|
|
74
|
+
id: string;
|
|
75
|
+
animationUrl: string | null;
|
|
76
|
+
assetNr: number;
|
|
77
|
+
auctionItems: Array<MintingContractAsset.AuctionItem>;
|
|
78
|
+
collectInfoType: 'customInput' | 'freeText' | 'shippingDetails' | null;
|
|
79
|
+
currencyAddress: string | null;
|
|
80
|
+
currencyDecimals: number | null;
|
|
81
|
+
description: string | null;
|
|
82
|
+
imageUrl: string | null;
|
|
83
|
+
isHidden: boolean;
|
|
84
|
+
isListed: boolean;
|
|
85
|
+
isPhygitalItem: boolean;
|
|
86
|
+
listingEndsAt: string | null;
|
|
87
|
+
listingStartsAt: string | null;
|
|
88
|
+
loyaltyCurrencyId: string | null;
|
|
89
|
+
name: string;
|
|
90
|
+
organizationId: string;
|
|
91
|
+
price: unknown;
|
|
92
|
+
quantity: number;
|
|
93
|
+
quantityMinted: number;
|
|
94
|
+
revealedAt: string | null;
|
|
95
|
+
shouldCollectUserInfo: boolean;
|
|
96
|
+
tokenId: number | null;
|
|
97
|
+
unlimitedQty: boolean;
|
|
98
|
+
websiteId: string;
|
|
99
|
+
}
|
|
100
|
+
namespace MintingContractAsset {
|
|
101
|
+
interface AuctionItem {
|
|
102
|
+
id: string;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
interface MintingContractBadgeAssociation {
|
|
106
|
+
loyaltyBadge: MintingContractBadgeAssociation.LoyaltyBadge;
|
|
107
|
+
}
|
|
108
|
+
namespace MintingContractBadgeAssociation {
|
|
109
|
+
interface LoyaltyBadge {
|
|
110
|
+
id: string;
|
|
111
|
+
imageUrl: string | null;
|
|
112
|
+
name: string;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
interface MustOwnCollection {
|
|
116
|
+
address: string;
|
|
117
|
+
network: 'abstract' | 'abstractTestnet' | 'apechain' | 'arbitrum' | 'avalanche' | 'avalancheFuji' | 'base' | 'baseSepolia' | 'berachain' | 'berachainArtio' | 'berachainBepolia' | 'binance' | 'bscTestnet' | 'campTestnet' | 'fantom' | 'fantomTestnet' | 'flowMainnet' | 'mainnet' | 'nexusTestnet' | 'optimism' | 'polygon' | 'polygon_mumbai' | 'skaleNebula' | 'skaleEuropa' | 'skaleCalypso' | 'solana' | 'sophon' | 'sophonTestnet' | 'sui' | 'superseed' | 'superseedSepolia' | 'vanar' | 'xai' | 'zksync' | 'coti' | 'cotiTestnet' | 'morph' | 'morphTestnet' | 'morphHolesky' | 'ultra' | 'ultraTestnet' | 'nitrograph' | 'sepolia' | 'optimism_sepolia' | 'arbitrumSepolia' | 'goerli' | 'optimism_goerli' | 'arbitrumGoerli' | 'basecamp' | 'somnia' | 'zkverify' | 'polkadot' | 'kusama' | 'flow_cadence';
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
interface Stat {
|
|
121
|
+
_count: Stat._Count;
|
|
122
|
+
_sum: Stat._Sum;
|
|
123
|
+
mintingContractId: string;
|
|
124
|
+
}
|
|
125
|
+
namespace Stat {
|
|
126
|
+
interface _Count {
|
|
127
|
+
isListed: number;
|
|
128
|
+
}
|
|
129
|
+
interface _Sum {
|
|
130
|
+
quantity: number | null;
|
|
131
|
+
quantityMinted: number | null;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Use the id returned here to fetch the status and signature of the mint from the
|
|
137
|
+
* `/api/minting/status/:id` endpoint
|
|
138
|
+
*/
|
|
139
|
+
export interface ContractMintResponse {
|
|
140
|
+
mintingContractAssetMintStatusId: string;
|
|
141
|
+
}
|
|
142
|
+
export interface ContractListParams {
|
|
143
|
+
includeDeleted?: boolean | null;
|
|
144
|
+
limit?: number;
|
|
145
|
+
organizationId?: string;
|
|
146
|
+
showOnMarketplace?: boolean | null;
|
|
147
|
+
startingAfter?: string;
|
|
148
|
+
websiteId?: string;
|
|
149
|
+
}
|
|
150
|
+
export interface ContractMintParams {
|
|
151
|
+
assetId: string;
|
|
152
|
+
contractId: string;
|
|
153
|
+
agreedToSendW9?: boolean | null;
|
|
154
|
+
customInputValue?: string | null;
|
|
155
|
+
emailAddress?: string;
|
|
156
|
+
quantity?: number;
|
|
157
|
+
shippingId?: string;
|
|
158
|
+
shippingOrderType?: 'stripe' | 'shipstation' | 'drip' | 'twitter_bearer' | 'epic_games' | 'stardust' | 'twitter_clientsecret' | 'immutable_passport' | 'sequence' | 'google' | 'walletConnect' | 'auth0' | 'privy' | 'thirdweb' | 'steam' | 'discord' | 'google_api' | 'shopify' | 'ultra' | 'github';
|
|
159
|
+
walletAddress?: string;
|
|
160
|
+
}
|
|
161
|
+
export declare namespace Contracts {
|
|
162
|
+
export { type ContractListResponse as ContractListResponse, type ContractMintResponse as ContractMintResponse, type ContractListParams as ContractListParams, type ContractMintParams as ContractMintParams, };
|
|
163
|
+
}
|
|
164
|
+
//# sourceMappingURL=contracts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../src/resources/minting/contracts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AAEnC,qBAAa,SAAU,SAAQ,WAAW;IAC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EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Contracts = void 0;
|
|
5
|
+
const resource_1 = require("../../resource.js");
|
|
6
|
+
const core_1 = require("../../core.js");
|
|
7
|
+
class Contracts extends resource_1.APIResource {
|
|
8
|
+
list(query = {}, options) {
|
|
9
|
+
if ((0, core_1.isRequestOptions)(query)) {
|
|
10
|
+
return this.list({}, query);
|
|
11
|
+
}
|
|
12
|
+
return this._client.get('/api/minting/contracts', { query, ...options });
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Generates a signature for minting an asset on a given contract
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* const response = await client.minting.contracts.mint({
|
|
20
|
+
* assetId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
21
|
+
* contractId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
mint(body, options) {
|
|
26
|
+
return this._client.post('/api/minting/contracts/mint', { body, ...options });
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.Contracts = Contracts;
|
|
30
|
+
//# sourceMappingURL=contracts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../../src/resources/minting/contracts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAG9C,MAAa,SAAU,SAAQ,sBAAW;IAWxC,IAAI,CACF,QAAkD,EAAE,EACpD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CAAC,IAAwB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AAnCD,8BAmCC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../resource.mjs";
|
|
3
|
+
import { isRequestOptions } from "../../core.mjs";
|
|
4
|
+
export class Contracts extends APIResource {
|
|
5
|
+
list(query = {}, options) {
|
|
6
|
+
if (isRequestOptions(query)) {
|
|
7
|
+
return this.list({}, query);
|
|
8
|
+
}
|
|
9
|
+
return this._client.get('/api/minting/contracts', { query, ...options });
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Generates a signature for minting an asset on a given contract
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const response = await client.minting.contracts.mint({
|
|
17
|
+
* assetId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
18
|
+
* contractId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
mint(body, options) {
|
|
23
|
+
return this._client.post('/api/minting/contracts/mint', { body, ...options });
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=contracts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contracts.mjs","sourceRoot":"","sources":["../../src/resources/minting/contracts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;AAG3B,MAAM,OAAO,SAAU,SAAQ,WAAW;IAWxC,IAAI,CACF,QAAkD,EAAE,EACpD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CAAC,IAAwB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { Allowlist, type AllowlistListResponse, type AllowlistUpsertResponse, type AllowlistListParams, type AllowlistUpsertParams, } from "./allowlist.js";
|
|
2
|
+
export { Contracts, type ContractListResponse, type ContractMintResponse, type ContractListParams, type ContractMintParams, } from "./contracts.js";
|
|
3
|
+
export { Minting, type MintingGetAssetsResponse, type MintingGetTokenGateStatusResponse, type MintingGetAssetsParams, type MintingGetTokenGateStatusParams, } from "./minting.js";
|
|
4
|
+
export { Status, type StatusRetrieveResponse, type StatusUpdateResponse, type StatusUpdateParams, } from "./status.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/minting/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,GAC3B,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,OAAO,EACP,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,GACrC,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,MAAM,EACN,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,GACxB,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Status = exports.Minting = exports.Contracts = exports.Allowlist = void 0;
|
|
5
|
+
var allowlist_1 = require("./allowlist.js");
|
|
6
|
+
Object.defineProperty(exports, "Allowlist", { enumerable: true, get: function () { return allowlist_1.Allowlist; } });
|
|
7
|
+
var contracts_1 = require("./contracts.js");
|
|
8
|
+
Object.defineProperty(exports, "Contracts", { enumerable: true, get: function () { return contracts_1.Contracts; } });
|
|
9
|
+
var minting_1 = require("./minting.js");
|
|
10
|
+
Object.defineProperty(exports, "Minting", { enumerable: true, get: function () { return minting_1.Minting; } });
|
|
11
|
+
var status_1 = require("./status.js");
|
|
12
|
+
Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return status_1.Status; } });
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/minting/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAMqB;AALnB,sGAAA,SAAS,OAAA;AAMX,4CAMqB;AALnB,sGAAA,SAAS,OAAA;AAMX,wCAMmB;AALjB,kGAAA,OAAO,OAAA;AAMT,sCAKkB;AAJhB,gGAAA,MAAM,OAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { Allowlist, } from "./allowlist.mjs";
|
|
3
|
+
export { Contracts, } from "./contracts.mjs";
|
|
4
|
+
export { Minting, } from "./minting.mjs";
|
|
5
|
+
export { Status, } from "./status.mjs";
|
|
6
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/minting/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GAKV;OACM,EACL,SAAS,GAKV;OACM,EACL,OAAO,GAKR;OACM,EACL,MAAM,GAIP"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { APIResource } from "../../resource.js";
|
|
2
|
+
import * as Core from "../../core.js";
|
|
3
|
+
import * as AllowlistAPI from "./allowlist.js";
|
|
4
|
+
import { Allowlist, AllowlistListParams, AllowlistListResponse, AllowlistUpsertParams, AllowlistUpsertResponse } from "./allowlist.js";
|
|
5
|
+
import * as ContractsAPI from "./contracts.js";
|
|
6
|
+
import { ContractListParams, ContractListResponse, ContractMintParams, ContractMintResponse, Contracts } from "./contracts.js";
|
|
7
|
+
import * as StatusAPI from "./status.js";
|
|
8
|
+
import { Status, StatusRetrieveResponse, StatusUpdateParams, StatusUpdateResponse } from "./status.js";
|
|
9
|
+
export declare class Minting extends APIResource {
|
|
10
|
+
status: StatusAPI.Status;
|
|
11
|
+
allowlist: AllowlistAPI.Allowlist;
|
|
12
|
+
contracts: ContractsAPI.Contracts;
|
|
13
|
+
/**
|
|
14
|
+
* Returns minting assets and any relevant context
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* const response = await client.minting.getAssets({
|
|
19
|
+
* organizationId: '00000000-0000-0000-0000-000000000000',
|
|
20
|
+
* websiteId: '00000000-0000-0000-0000-000000000000',
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
getAssets(query: MintingGetAssetsParams, options?: Core.RequestOptions): Core.APIPromise<MintingGetAssetsResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Pass in to see if a token is eligible for minting
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```ts
|
|
30
|
+
* const response = await client.minting.getTokenGateStatus({
|
|
31
|
+
* collectionAddress: 'collectionAddress',
|
|
32
|
+
* mintingContractAssetId:
|
|
33
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
34
|
+
* mintingContractId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
35
|
+
* network: 'network',
|
|
36
|
+
* tokenId: 'tokenId',
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
getTokenGateStatus(query: MintingGetTokenGateStatusParams, options?: Core.RequestOptions): Core.APIPromise<MintingGetTokenGateStatusResponse>;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Schema for getting minting assets response
|
|
44
|
+
*/
|
|
45
|
+
export interface MintingGetAssetsResponse {
|
|
46
|
+
/**
|
|
47
|
+
* Array of minting assets
|
|
48
|
+
*/
|
|
49
|
+
data: Array<MintingGetAssetsResponse.Data>;
|
|
50
|
+
/**
|
|
51
|
+
* Indicates if more pages are available
|
|
52
|
+
*/
|
|
53
|
+
hasNextPage: boolean;
|
|
54
|
+
}
|
|
55
|
+
export declare namespace MintingGetAssetsResponse {
|
|
56
|
+
interface Data {
|
|
57
|
+
/**
|
|
58
|
+
* UUID of the minting asset
|
|
59
|
+
*/
|
|
60
|
+
id: string;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export interface MintingGetTokenGateStatusResponse {
|
|
64
|
+
eligible: boolean;
|
|
65
|
+
message: string;
|
|
66
|
+
}
|
|
67
|
+
export interface MintingGetAssetsParams {
|
|
68
|
+
/**
|
|
69
|
+
* Organization ID
|
|
70
|
+
*/
|
|
71
|
+
organizationId: string;
|
|
72
|
+
/**
|
|
73
|
+
* Website ID
|
|
74
|
+
*/
|
|
75
|
+
websiteId: string;
|
|
76
|
+
/**
|
|
77
|
+
* Contract Address
|
|
78
|
+
*/
|
|
79
|
+
contractAddress?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Currency Type
|
|
82
|
+
*/
|
|
83
|
+
currencyType?: 'loyalty' | 'native' | null;
|
|
84
|
+
/**
|
|
85
|
+
* Whether to include deleted assets in the response
|
|
86
|
+
*/
|
|
87
|
+
includeDeleted?: boolean | null;
|
|
88
|
+
/**
|
|
89
|
+
* Whether to include metadata in the response
|
|
90
|
+
*/
|
|
91
|
+
includeMetadata?: boolean | null;
|
|
92
|
+
/**
|
|
93
|
+
* Whether to include listed assets in the response
|
|
94
|
+
*/
|
|
95
|
+
isListed?: boolean | null;
|
|
96
|
+
/**
|
|
97
|
+
* Minting Contract Asset ID
|
|
98
|
+
*/
|
|
99
|
+
mintingContractAssetId?: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* Comma-separated list of Minting Contract UUIDs
|
|
102
|
+
*/
|
|
103
|
+
mintingContractIds?: string | null;
|
|
104
|
+
/**
|
|
105
|
+
* Network
|
|
106
|
+
*/
|
|
107
|
+
network?: 'abstract' | 'abstractTestnet' | 'apechain' | 'arbitrum' | 'avalanche' | 'avalancheFuji' | 'base' | 'baseSepolia' | 'berachain' | 'berachainArtio' | 'berachainBepolia' | 'binance' | 'bscTestnet' | 'campTestnet' | 'fantom' | 'fantomTestnet' | 'flowMainnet' | 'mainnet' | 'nexusTestnet' | 'optimism' | 'polygon' | 'polygon_mumbai' | 'skaleNebula' | 'skaleEuropa' | 'skaleCalypso' | 'solana' | 'sophon' | 'sophonTestnet' | 'sui' | 'superseed' | 'superseedSepolia' | 'vanar' | 'xai' | 'zksync' | 'coti' | 'cotiTestnet' | 'morph' | 'morphTestnet' | 'morphHolesky' | 'ultra' | 'ultraTestnet' | 'nitrograph' | 'sepolia' | 'optimism_sepolia' | 'arbitrumSepolia' | 'goerli' | 'optimism_goerli' | 'arbitrumGoerli' | 'basecamp' | 'somnia' | 'zkverify' | 'polkadot' | 'kusama' | 'flow_cadence';
|
|
108
|
+
/**
|
|
109
|
+
* Sort Key
|
|
110
|
+
*/
|
|
111
|
+
sortBy?: 'price' | 'startsAt' | 'assetNr' | null;
|
|
112
|
+
/**
|
|
113
|
+
* Sort Dir
|
|
114
|
+
*/
|
|
115
|
+
sortDir?: 'asc' | 'desc' | null;
|
|
116
|
+
/**
|
|
117
|
+
* Status
|
|
118
|
+
*/
|
|
119
|
+
status?: 'active' | 'past' | null;
|
|
120
|
+
/**
|
|
121
|
+
* Token ID
|
|
122
|
+
*/
|
|
123
|
+
tokenId?: string | Array<number> | null;
|
|
124
|
+
/**
|
|
125
|
+
* Wallet Address
|
|
126
|
+
*/
|
|
127
|
+
walletAddress?: string | Array<string>;
|
|
128
|
+
}
|
|
129
|
+
export interface MintingGetTokenGateStatusParams {
|
|
130
|
+
collectionAddress: string;
|
|
131
|
+
mintingContractAssetId: string;
|
|
132
|
+
mintingContractId: string;
|
|
133
|
+
network: string;
|
|
134
|
+
tokenId: string;
|
|
135
|
+
}
|
|
136
|
+
export declare namespace Minting {
|
|
137
|
+
export { type MintingGetAssetsResponse as MintingGetAssetsResponse, type MintingGetTokenGateStatusResponse as MintingGetTokenGateStatusResponse, type MintingGetAssetsParams as MintingGetAssetsParams, type MintingGetTokenGateStatusParams as MintingGetTokenGateStatusParams, };
|
|
138
|
+
export { Status as Status, type StatusRetrieveResponse as StatusRetrieveResponse, type StatusUpdateResponse as StatusUpdateResponse, type StatusUpdateParams as StatusUpdateParams, };
|
|
139
|
+
export { Allowlist as Allowlist, type AllowlistListResponse as AllowlistListResponse, type AllowlistUpsertResponse as AllowlistUpsertResponse, type AllowlistListParams as AllowlistListParams, type AllowlistUpsertParams as AllowlistUpsertParams, };
|
|
140
|
+
export { Contracts as Contracts, type ContractListResponse as ContractListResponse, type ContractMintResponse as ContractMintResponse, type ContractListParams as ContractListParams, type ContractMintParams as ContractMintParams, };
|
|
141
|
+
}
|
|
142
|
+
//# sourceMappingURL=minting.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"minting.d.ts","sourceRoot":"","sources":["../../src/resources/minting/minting.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,YAAY,MAAM,aAAa,CAAC;AAC5C,OAAO,EACL,SAAS,EACT,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,YAAY,MAAM,aAAa,CAAC;AAC5C,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACV,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,SAAS,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEpG,qBAAa,OAAQ,SAAQ,WAAW;IACtC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAE7E;;;;;;;;;;OAUG;IACH,SAAS,CACP,KAAK,EAAE,sBAAsB,EAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAI5C;;;;;;;;;;;;;;OAcG;IACH,kBAAkB,CAChB,KAAK,EAAE,+BAA+B,EACt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AC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.Minting = void 0;
|
|
28
|
+
const resource_1 = require("../../resource.js");
|
|
29
|
+
const AllowlistAPI = __importStar(require("./allowlist.js"));
|
|
30
|
+
const allowlist_1 = require("./allowlist.js");
|
|
31
|
+
const ContractsAPI = __importStar(require("./contracts.js"));
|
|
32
|
+
const contracts_1 = require("./contracts.js");
|
|
33
|
+
const StatusAPI = __importStar(require("./status.js"));
|
|
34
|
+
const status_1 = require("./status.js");
|
|
35
|
+
class Minting extends resource_1.APIResource {
|
|
36
|
+
constructor() {
|
|
37
|
+
super(...arguments);
|
|
38
|
+
this.status = new StatusAPI.Status(this._client);
|
|
39
|
+
this.allowlist = new AllowlistAPI.Allowlist(this._client);
|
|
40
|
+
this.contracts = new ContractsAPI.Contracts(this._client);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Returns minting assets and any relevant context
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* const response = await client.minting.getAssets({
|
|
48
|
+
* organizationId: '00000000-0000-0000-0000-000000000000',
|
|
49
|
+
* websiteId: '00000000-0000-0000-0000-000000000000',
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
getAssets(query, options) {
|
|
54
|
+
return this._client.get('/api/minting/assets', { query, ...options });
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Pass in to see if a token is eligible for minting
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* const response = await client.minting.getTokenGateStatus({
|
|
62
|
+
* collectionAddress: 'collectionAddress',
|
|
63
|
+
* mintingContractAssetId:
|
|
64
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
65
|
+
* mintingContractId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
66
|
+
* network: 'network',
|
|
67
|
+
* tokenId: 'tokenId',
|
|
68
|
+
* });
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
getTokenGateStatus(query, options) {
|
|
72
|
+
return this._client.get('/api/minting/token_gate', { query, ...options });
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.Minting = Minting;
|
|
76
|
+
Minting.Status = status_1.Status;
|
|
77
|
+
Minting.Allowlist = allowlist_1.Allowlist;
|
|
78
|
+
Minting.Contracts = contracts_1.Contracts;
|
|
79
|
+
//# sourceMappingURL=minting.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"minting.js","sourceRoot":"","sources":["../../src/resources/minting/minting.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAE7C,6DAA4C;AAC5C,8CAMqB;AACrB,6DAA4C;AAC5C,8CAMqB;AACrB,uDAAsC;AACtC,wCAAoG;AAEpG,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAyC/E,CAAC;IAvCC;;;;;;;;;;OAUG;IACH,SAAS,CACP,KAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,kBAAkB,CAChB,KAAsC,EACtC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;CACF;AA5CD,0BA4CC;AA+KD,OAAO,CAAC,MAAM,GAAG,eAAM,CAAC;AACxB,OAAO,CAAC,SAAS,GAAG,qBAAS,CAAC;AAC9B,OAAO,CAAC,SAAS,GAAG,qBAAS,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../resource.mjs";
|
|
3
|
+
import * as AllowlistAPI from "./allowlist.mjs";
|
|
4
|
+
import { Allowlist, } from "./allowlist.mjs";
|
|
5
|
+
import * as ContractsAPI from "./contracts.mjs";
|
|
6
|
+
import { Contracts, } from "./contracts.mjs";
|
|
7
|
+
import * as StatusAPI from "./status.mjs";
|
|
8
|
+
import { Status } from "./status.mjs";
|
|
9
|
+
export class Minting extends APIResource {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.status = new StatusAPI.Status(this._client);
|
|
13
|
+
this.allowlist = new AllowlistAPI.Allowlist(this._client);
|
|
14
|
+
this.contracts = new ContractsAPI.Contracts(this._client);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Returns minting assets and any relevant context
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const response = await client.minting.getAssets({
|
|
22
|
+
* organizationId: '00000000-0000-0000-0000-000000000000',
|
|
23
|
+
* websiteId: '00000000-0000-0000-0000-000000000000',
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
getAssets(query, options) {
|
|
28
|
+
return this._client.get('/api/minting/assets', { query, ...options });
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Pass in to see if a token is eligible for minting
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const response = await client.minting.getTokenGateStatus({
|
|
36
|
+
* collectionAddress: 'collectionAddress',
|
|
37
|
+
* mintingContractAssetId:
|
|
38
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
39
|
+
* mintingContractId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
40
|
+
* network: 'network',
|
|
41
|
+
* tokenId: 'tokenId',
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
getTokenGateStatus(query, options) {
|
|
46
|
+
return this._client.get('/api/minting/token_gate', { query, ...options });
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
Minting.Status = Status;
|
|
50
|
+
Minting.Allowlist = Allowlist;
|
|
51
|
+
Minting.Contracts = Contracts;
|
|
52
|
+
//# sourceMappingURL=minting.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"minting.mjs","sourceRoot":"","sources":["../../src/resources/minting/minting.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,YAAY;OACjB,EACL,SAAS,GAKV;OACM,KAAK,YAAY;OACjB,EAKL,SAAS,GACV;OACM,KAAK,SAAS;OACd,EAAE,MAAM,EAAoE;AAEnF,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAyC/E,CAAC;IAvCC;;;;;;;;;;OAUG;IACH,SAAS,CACP,KAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,kBAAkB,CAChB,KAAsC,EACtC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;CACF;AA+KD,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC;AACxB,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC;AAC9B,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { APIResource } from "../../resource.js";
|
|
2
|
+
import * as Core from "../../core.js";
|
|
3
|
+
export declare class Status extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get the status of a mint
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* const status = await client.minting.status.retrieve('id');
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
retrieve(id: string, options?: Core.RequestOptions): Core.APIPromise<StatusRetrieveResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Update the status of a mint
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* const status = await client.minting.status.update('id', {
|
|
19
|
+
* status: 'failed',
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
update(id: string, body: StatusUpdateParams, options?: Core.RequestOptions): Core.APIPromise<StatusUpdateResponse>;
|
|
24
|
+
}
|
|
25
|
+
export interface StatusRetrieveResponse {
|
|
26
|
+
errorCode: number | null;
|
|
27
|
+
errorMessage: string | null;
|
|
28
|
+
price: number | null;
|
|
29
|
+
relayerTxId: string | null;
|
|
30
|
+
status: 'minted' | 'minting' | 'failed' | 'generatingSignature';
|
|
31
|
+
txHash: string | null;
|
|
32
|
+
signature?: unknown;
|
|
33
|
+
}
|
|
34
|
+
export interface StatusUpdateResponse {
|
|
35
|
+
message: string;
|
|
36
|
+
}
|
|
37
|
+
export interface StatusUpdateParams {
|
|
38
|
+
status: 'failed' | 'minted';
|
|
39
|
+
txHash?: string;
|
|
40
|
+
}
|
|
41
|
+
export declare namespace Status {
|
|
42
|
+
export { type StatusRetrieveResponse as StatusRetrieveResponse, type StatusUpdateResponse as StatusUpdateResponse, type StatusUpdateParams as StatusUpdateParams, };
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/resources/minting/status.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AAEnC,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,sBAAsB,CAAC;IAI5F;;;;;;;;;OASG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,kBAAkB,EACxB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,oBAAoB,CAAC;CAGzC;AAED,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,WAAW,EAAE,MAAM,GAAG,I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