@carrot-foundation/schemas 0.1.36 → 0.1.37
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/dist/index.cjs +1124 -36
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +959 -13
- package/dist/index.d.ts +959 -13
- package/dist/index.js +1102 -37
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/schemas/ipfs/collection/collection.example.json +1 -0
- package/schemas/ipfs/collection/collection.schema.json +305 -32
- package/schemas/ipfs/credit/credit.example.json +1 -0
- package/schemas/ipfs/credit/credit.schema.json +326 -45
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.example.json +290 -0
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json +1768 -0
- package/schemas/ipfs/gas-id/gas-id.schema.json +6 -6
- package/schemas/ipfs/mass-id/mass-id.schema.json +6 -6
- package/schemas/ipfs/mass-id-audit/mass-id-audit.example.json +30 -29
- package/schemas/ipfs/mass-id-audit/mass-id-audit.schema.json +636 -15
- package/schemas/ipfs/methodology/methodology.example.json +27 -26
- package/schemas/ipfs/methodology/methodology.schema.json +457 -15
- package/schemas/ipfs/recycled-id/recycled-id.schema.json +6 -6
- package/schemas/ipfs/gas-id/gas-id.attributes.schema.json +0 -219
- package/schemas/ipfs/gas-id/gas-id.data.schema.json +0 -120
- package/schemas/ipfs/mass-id-audit/mass-id-audit.data.schema.json +0 -130
- package/schemas/ipfs/methodology/methodology.data.schema.json +0 -121
- package/schemas/ipfs/purchase-id/purchase-id.attributes.schema.json +0 -91
- package/schemas/ipfs/purchase-id/purchase-id.data.schema.json +0 -337
- package/schemas/ipfs/purchase-id/purchase-id.example.json +0 -224
- package/schemas/ipfs/purchase-id/purchase-id.schema.json +0 -29
- package/schemas/ipfs/recycled-id/recycled-id.attributes.schema.json +0 -202
- package/schemas/ipfs/recycled-id/recycled-id.data.schema.json +0 -63
- package/schemas/ipfs/shared/base/base.schema.json +0 -163
- package/schemas/ipfs/shared/certificate/certificate.schema.json +0 -145
- package/schemas/ipfs/shared/definitions/definitions.schema.json +0 -255
- package/schemas/ipfs/shared/entities/location/location.schema.json +0 -90
- package/schemas/ipfs/shared/entities/participant/participant.schema.json +0 -28
- package/schemas/ipfs/shared/nft/nft.schema.json +0 -182
- package/schemas/ipfs/shared/references/audit-reference/audit-reference.schema.json +0 -42
- package/schemas/ipfs/shared/references/gas-id-reference/gas-id-reference.schema.json +0 -27
- package/schemas/ipfs/shared/references/mass-id-reference/mass-id-reference.schema.json +0 -27
- package/schemas/ipfs/shared/references/methodology-reference/methodology-reference.schema.json +0 -34
package/dist/index.d.cts
CHANGED
|
@@ -590,7 +590,7 @@ declare const MassIDIpfsSchema: z.ZodObject<{
|
|
|
590
590
|
"mass-id": "mass-id";
|
|
591
591
|
"mass-id-audit": "mass-id-audit";
|
|
592
592
|
methodology: "methodology";
|
|
593
|
-
"purchase-
|
|
593
|
+
"credit-purchase-receipt": "credit-purchase-receipt";
|
|
594
594
|
"recycled-id": "recycled-id";
|
|
595
595
|
}>;
|
|
596
596
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1250,7 +1250,7 @@ declare const GasIDIpfsSchema: z.ZodObject<{
|
|
|
1250
1250
|
"mass-id": "mass-id";
|
|
1251
1251
|
"mass-id-audit": "mass-id-audit";
|
|
1252
1252
|
methodology: "methodology";
|
|
1253
|
-
"purchase-
|
|
1253
|
+
"credit-purchase-receipt": "credit-purchase-receipt";
|
|
1254
1254
|
"recycled-id": "recycled-id";
|
|
1255
1255
|
}>;
|
|
1256
1256
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1811,7 +1811,7 @@ declare const RecycledIDIpfsSchema: z.ZodObject<{
|
|
|
1811
1811
|
"mass-id": "mass-id";
|
|
1812
1812
|
"mass-id-audit": "mass-id-audit";
|
|
1813
1813
|
methodology: "methodology";
|
|
1814
|
-
"purchase-
|
|
1814
|
+
"credit-purchase-receipt": "credit-purchase-receipt";
|
|
1815
1815
|
"recycled-id": "recycled-id";
|
|
1816
1816
|
}>;
|
|
1817
1817
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2030,6 +2030,889 @@ declare const RecycledIDIpfsSchema: z.ZodObject<{
|
|
|
2030
2030
|
}, z.core.$strict>;
|
|
2031
2031
|
type RecycledIDIpfs = z.infer<typeof RecycledIDIpfsSchema>;
|
|
2032
2032
|
|
|
2033
|
+
declare const CreditPurchaseReceiptAttributesSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2034
|
+
max_value: z.ZodOptional<z.ZodNumber>;
|
|
2035
|
+
trait_type: z.ZodString;
|
|
2036
|
+
value: z.ZodNumber;
|
|
2037
|
+
display_type: z.ZodLiteral<"number">;
|
|
2038
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2039
|
+
max_value: z.ZodOptional<z.ZodNumber>;
|
|
2040
|
+
trait_type: z.ZodLiteral<"Total Credits Purchased">;
|
|
2041
|
+
value: z.ZodNumber;
|
|
2042
|
+
display_type: z.ZodLiteral<"number">;
|
|
2043
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2044
|
+
max_value: z.ZodOptional<z.ZodNumber>;
|
|
2045
|
+
trait_type: z.ZodLiteral<"Total USDC Amount">;
|
|
2046
|
+
value: z.ZodNumber;
|
|
2047
|
+
display_type: z.ZodLiteral<"number">;
|
|
2048
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2049
|
+
max_value: z.ZodOptional<z.ZodNumber>;
|
|
2050
|
+
trait_type: z.ZodLiteral<"Purchase Date">;
|
|
2051
|
+
value: z.ZodNumber;
|
|
2052
|
+
display_type: z.ZodLiteral<"date">;
|
|
2053
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2054
|
+
max_value: z.ZodOptional<z.ZodNumber>;
|
|
2055
|
+
trait_type: z.ZodLiteral<"Certificates Purchased">;
|
|
2056
|
+
value: z.ZodNumber;
|
|
2057
|
+
display_type: z.ZodLiteral<"number">;
|
|
2058
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2059
|
+
trait_type: z.ZodLiteral<"Receiver">;
|
|
2060
|
+
value: z.ZodString;
|
|
2061
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2062
|
+
max_value: z.ZodOptional<z.ZodNumber>;
|
|
2063
|
+
trait_type: z.ZodString;
|
|
2064
|
+
value: z.ZodNumber;
|
|
2065
|
+
display_type: z.ZodLiteral<"number">;
|
|
2066
|
+
}, z.core.$strict>]>>;
|
|
2067
|
+
type CreditPurchaseReceiptAttributes = z.infer<typeof CreditPurchaseReceiptAttributesSchema>;
|
|
2068
|
+
|
|
2069
|
+
declare const CreditPurchaseReceiptSummarySchema: z.ZodObject<{
|
|
2070
|
+
total_usdc_amount: z.ZodNumber;
|
|
2071
|
+
total_credits: z.ZodNumber;
|
|
2072
|
+
total_certificates: z.ZodNumber;
|
|
2073
|
+
purchase_date: z.ZodISODate;
|
|
2074
|
+
credit_symbols: z.ZodArray<z.ZodString>;
|
|
2075
|
+
certificate_types: z.ZodArray<z.ZodEnum<{
|
|
2076
|
+
RecycledID: "RecycledID";
|
|
2077
|
+
GasID: "GasID";
|
|
2078
|
+
}>>;
|
|
2079
|
+
collection_slugs: z.ZodArray<z.ZodString>;
|
|
2080
|
+
}, z.core.$strict>;
|
|
2081
|
+
type CreditPurchaseReceiptSummary = z.infer<typeof CreditPurchaseReceiptSummarySchema>;
|
|
2082
|
+
declare const CreditPurchaseReceiptIdentitySchema: z.ZodObject<{
|
|
2083
|
+
name: z.ZodString;
|
|
2084
|
+
external_id: z.ZodUUID;
|
|
2085
|
+
external_url: z.ZodURL;
|
|
2086
|
+
}, z.core.$strict>;
|
|
2087
|
+
type CreditPurchaseReceiptIdentity = z.infer<typeof CreditPurchaseReceiptIdentitySchema>;
|
|
2088
|
+
declare const CreditPurchaseReceiptReceiverSchema: z.ZodObject<{
|
|
2089
|
+
wallet_address: z.ZodString;
|
|
2090
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
2091
|
+
name: z.ZodString;
|
|
2092
|
+
external_id: z.ZodUUID;
|
|
2093
|
+
external_url: z.ZodURL;
|
|
2094
|
+
}, z.core.$strict>>;
|
|
2095
|
+
}, z.core.$strict>;
|
|
2096
|
+
type CreditPurchaseReceiptReceiver = z.infer<typeof CreditPurchaseReceiptReceiverSchema>;
|
|
2097
|
+
declare const CreditPurchaseReceiptBuyerSchema: z.ZodObject<{
|
|
2098
|
+
buyer_id: z.ZodUUID;
|
|
2099
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
2100
|
+
name: z.ZodString;
|
|
2101
|
+
external_id: z.ZodUUID;
|
|
2102
|
+
external_url: z.ZodURL;
|
|
2103
|
+
}, z.core.$strict>>;
|
|
2104
|
+
}, z.core.$strict>;
|
|
2105
|
+
type CreditPurchaseReceiptBuyer = z.infer<typeof CreditPurchaseReceiptBuyerSchema>;
|
|
2106
|
+
declare const CreditPurchaseReceiptPartiesSchema: z.ZodObject<{
|
|
2107
|
+
payer: z.ZodString;
|
|
2108
|
+
receiver: z.ZodObject<{
|
|
2109
|
+
wallet_address: z.ZodString;
|
|
2110
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
2111
|
+
name: z.ZodString;
|
|
2112
|
+
external_id: z.ZodUUID;
|
|
2113
|
+
external_url: z.ZodURL;
|
|
2114
|
+
}, z.core.$strict>>;
|
|
2115
|
+
}, z.core.$strict>;
|
|
2116
|
+
buyer: z.ZodOptional<z.ZodObject<{
|
|
2117
|
+
buyer_id: z.ZodUUID;
|
|
2118
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
2119
|
+
name: z.ZodString;
|
|
2120
|
+
external_id: z.ZodUUID;
|
|
2121
|
+
external_url: z.ZodURL;
|
|
2122
|
+
}, z.core.$strict>>;
|
|
2123
|
+
}, z.core.$strict>>;
|
|
2124
|
+
}, z.core.$strict>;
|
|
2125
|
+
type CreditPurchaseReceiptParties = z.infer<typeof CreditPurchaseReceiptPartiesSchema>;
|
|
2126
|
+
declare const CreditPurchaseReceiptCollectionSchema: z.ZodObject<{
|
|
2127
|
+
slug: z.ZodString;
|
|
2128
|
+
external_id: z.ZodUUID;
|
|
2129
|
+
name: z.ZodString;
|
|
2130
|
+
external_url: z.ZodURL;
|
|
2131
|
+
uri: z.ZodString;
|
|
2132
|
+
credit_amount: z.ZodNumber;
|
|
2133
|
+
}, z.core.$strict>;
|
|
2134
|
+
type CreditPurchaseReceiptCollection = z.infer<typeof CreditPurchaseReceiptCollectionSchema>;
|
|
2135
|
+
declare const CreditPurchaseReceiptCreditSchema: z.ZodObject<{
|
|
2136
|
+
slug: z.ZodString;
|
|
2137
|
+
symbol: z.ZodString;
|
|
2138
|
+
external_id: z.ZodUUID;
|
|
2139
|
+
external_url: z.ZodURL;
|
|
2140
|
+
uri: z.ZodString;
|
|
2141
|
+
smart_contract: z.ZodObject<{
|
|
2142
|
+
address: z.ZodString;
|
|
2143
|
+
chain_id: z.ZodNumber;
|
|
2144
|
+
network_name: z.ZodString;
|
|
2145
|
+
}, z.core.$strict>;
|
|
2146
|
+
purchase_amount: z.ZodNumber;
|
|
2147
|
+
retirement_amount: z.ZodOptional<z.ZodNumber>;
|
|
2148
|
+
}, z.core.$strict>;
|
|
2149
|
+
type CreditPurchaseReceiptCredit = z.infer<typeof CreditPurchaseReceiptCreditSchema>;
|
|
2150
|
+
declare const MassIDReferenceWithContractSchema: z.ZodObject<{
|
|
2151
|
+
external_url: z.ZodURL;
|
|
2152
|
+
token_id: z.ZodString;
|
|
2153
|
+
uri: z.ZodString;
|
|
2154
|
+
external_id: z.ZodUUID;
|
|
2155
|
+
smart_contract: z.ZodObject<{
|
|
2156
|
+
address: z.ZodString;
|
|
2157
|
+
chain_id: z.ZodNumber;
|
|
2158
|
+
network_name: z.ZodString;
|
|
2159
|
+
}, z.core.$strict>;
|
|
2160
|
+
}, z.core.$strict>;
|
|
2161
|
+
type MassIDReferenceWithContract = z.infer<typeof MassIDReferenceWithContractSchema>;
|
|
2162
|
+
declare const CreditPurchaseReceiptCertificateSchema: z.ZodObject<{
|
|
2163
|
+
token_id: z.ZodString;
|
|
2164
|
+
type: z.ZodEnum<{
|
|
2165
|
+
RecycledID: "RecycledID";
|
|
2166
|
+
GasID: "GasID";
|
|
2167
|
+
}>;
|
|
2168
|
+
external_id: z.ZodUUID;
|
|
2169
|
+
external_url: z.ZodURL;
|
|
2170
|
+
uri: z.ZodString;
|
|
2171
|
+
smart_contract: z.ZodObject<{
|
|
2172
|
+
address: z.ZodString;
|
|
2173
|
+
chain_id: z.ZodNumber;
|
|
2174
|
+
network_name: z.ZodString;
|
|
2175
|
+
}, z.core.$strict>;
|
|
2176
|
+
collection_slug: z.ZodString;
|
|
2177
|
+
total_amount: z.ZodNumber;
|
|
2178
|
+
purchased_amount: z.ZodNumber;
|
|
2179
|
+
retired_amount: z.ZodNumber;
|
|
2180
|
+
credit_slug: z.ZodString;
|
|
2181
|
+
mass_id: z.ZodObject<{
|
|
2182
|
+
external_url: z.ZodURL;
|
|
2183
|
+
token_id: z.ZodString;
|
|
2184
|
+
uri: z.ZodString;
|
|
2185
|
+
external_id: z.ZodUUID;
|
|
2186
|
+
smart_contract: z.ZodObject<{
|
|
2187
|
+
address: z.ZodString;
|
|
2188
|
+
chain_id: z.ZodNumber;
|
|
2189
|
+
network_name: z.ZodString;
|
|
2190
|
+
}, z.core.$strict>;
|
|
2191
|
+
}, z.core.$strict>;
|
|
2192
|
+
}, z.core.$strict>;
|
|
2193
|
+
type CreditPurchaseReceiptCertificate = z.infer<typeof CreditPurchaseReceiptCertificateSchema>;
|
|
2194
|
+
declare const CreditPurchaseReceiptParticipantRewardSchema: z.ZodObject<{
|
|
2195
|
+
id_hash: z.ZodCustomStringFormat<"sha256_hex">;
|
|
2196
|
+
participant_name: z.ZodString;
|
|
2197
|
+
roles: z.ZodArray<z.ZodString>;
|
|
2198
|
+
usdc_amount: z.ZodNumber;
|
|
2199
|
+
}, z.core.$strict>;
|
|
2200
|
+
type CreditPurchaseReceiptParticipantReward = z.infer<typeof CreditPurchaseReceiptParticipantRewardSchema>;
|
|
2201
|
+
declare const CreditPurchaseReceiptRetirementReceiptSchema: z.ZodObject<{
|
|
2202
|
+
token_id: z.ZodString;
|
|
2203
|
+
external_id: z.ZodUUID;
|
|
2204
|
+
external_url: z.ZodURL;
|
|
2205
|
+
uri: z.ZodString;
|
|
2206
|
+
smart_contract: z.ZodObject<{
|
|
2207
|
+
address: z.ZodString;
|
|
2208
|
+
chain_id: z.ZodNumber;
|
|
2209
|
+
network_name: z.ZodString;
|
|
2210
|
+
}, z.core.$strict>;
|
|
2211
|
+
}, z.core.$strict>;
|
|
2212
|
+
type CreditPurchaseReceiptRetirementReceipt = z.infer<typeof CreditPurchaseReceiptRetirementReceiptSchema>;
|
|
2213
|
+
declare const CreditPurchaseReceiptRetirementSchema: z.ZodObject<{
|
|
2214
|
+
beneficiary_id: z.ZodUUID;
|
|
2215
|
+
retirement_receipt: z.ZodOptional<z.ZodObject<{
|
|
2216
|
+
token_id: z.ZodString;
|
|
2217
|
+
external_id: z.ZodUUID;
|
|
2218
|
+
external_url: z.ZodURL;
|
|
2219
|
+
uri: z.ZodString;
|
|
2220
|
+
smart_contract: z.ZodObject<{
|
|
2221
|
+
address: z.ZodString;
|
|
2222
|
+
chain_id: z.ZodNumber;
|
|
2223
|
+
network_name: z.ZodString;
|
|
2224
|
+
}, z.core.$strict>;
|
|
2225
|
+
}, z.core.$strict>>;
|
|
2226
|
+
}, z.core.$strict>;
|
|
2227
|
+
type CreditPurchaseReceiptRetirement = z.infer<typeof CreditPurchaseReceiptRetirementSchema>;
|
|
2228
|
+
declare const CreditPurchaseReceiptDataSchema: z.ZodObject<{
|
|
2229
|
+
summary: z.ZodObject<{
|
|
2230
|
+
total_usdc_amount: z.ZodNumber;
|
|
2231
|
+
total_credits: z.ZodNumber;
|
|
2232
|
+
total_certificates: z.ZodNumber;
|
|
2233
|
+
purchase_date: z.ZodISODate;
|
|
2234
|
+
credit_symbols: z.ZodArray<z.ZodString>;
|
|
2235
|
+
certificate_types: z.ZodArray<z.ZodEnum<{
|
|
2236
|
+
RecycledID: "RecycledID";
|
|
2237
|
+
GasID: "GasID";
|
|
2238
|
+
}>>;
|
|
2239
|
+
collection_slugs: z.ZodArray<z.ZodString>;
|
|
2240
|
+
}, z.core.$strict>;
|
|
2241
|
+
parties: z.ZodObject<{
|
|
2242
|
+
payer: z.ZodString;
|
|
2243
|
+
receiver: z.ZodObject<{
|
|
2244
|
+
wallet_address: z.ZodString;
|
|
2245
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
2246
|
+
name: z.ZodString;
|
|
2247
|
+
external_id: z.ZodUUID;
|
|
2248
|
+
external_url: z.ZodURL;
|
|
2249
|
+
}, z.core.$strict>>;
|
|
2250
|
+
}, z.core.$strict>;
|
|
2251
|
+
buyer: z.ZodOptional<z.ZodObject<{
|
|
2252
|
+
buyer_id: z.ZodUUID;
|
|
2253
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
2254
|
+
name: z.ZodString;
|
|
2255
|
+
external_id: z.ZodUUID;
|
|
2256
|
+
external_url: z.ZodURL;
|
|
2257
|
+
}, z.core.$strict>>;
|
|
2258
|
+
}, z.core.$strict>>;
|
|
2259
|
+
}, z.core.$strict>;
|
|
2260
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
2261
|
+
slug: z.ZodString;
|
|
2262
|
+
external_id: z.ZodUUID;
|
|
2263
|
+
name: z.ZodString;
|
|
2264
|
+
external_url: z.ZodURL;
|
|
2265
|
+
uri: z.ZodString;
|
|
2266
|
+
credit_amount: z.ZodNumber;
|
|
2267
|
+
}, z.core.$strict>>;
|
|
2268
|
+
credits: z.ZodArray<z.ZodObject<{
|
|
2269
|
+
slug: z.ZodString;
|
|
2270
|
+
symbol: z.ZodString;
|
|
2271
|
+
external_id: z.ZodUUID;
|
|
2272
|
+
external_url: z.ZodURL;
|
|
2273
|
+
uri: z.ZodString;
|
|
2274
|
+
smart_contract: z.ZodObject<{
|
|
2275
|
+
address: z.ZodString;
|
|
2276
|
+
chain_id: z.ZodNumber;
|
|
2277
|
+
network_name: z.ZodString;
|
|
2278
|
+
}, z.core.$strict>;
|
|
2279
|
+
purchase_amount: z.ZodNumber;
|
|
2280
|
+
retirement_amount: z.ZodOptional<z.ZodNumber>;
|
|
2281
|
+
}, z.core.$strict>>;
|
|
2282
|
+
certificates: z.ZodArray<z.ZodObject<{
|
|
2283
|
+
token_id: z.ZodString;
|
|
2284
|
+
type: z.ZodEnum<{
|
|
2285
|
+
RecycledID: "RecycledID";
|
|
2286
|
+
GasID: "GasID";
|
|
2287
|
+
}>;
|
|
2288
|
+
external_id: z.ZodUUID;
|
|
2289
|
+
external_url: z.ZodURL;
|
|
2290
|
+
uri: z.ZodString;
|
|
2291
|
+
smart_contract: z.ZodObject<{
|
|
2292
|
+
address: z.ZodString;
|
|
2293
|
+
chain_id: z.ZodNumber;
|
|
2294
|
+
network_name: z.ZodString;
|
|
2295
|
+
}, z.core.$strict>;
|
|
2296
|
+
collection_slug: z.ZodString;
|
|
2297
|
+
total_amount: z.ZodNumber;
|
|
2298
|
+
purchased_amount: z.ZodNumber;
|
|
2299
|
+
retired_amount: z.ZodNumber;
|
|
2300
|
+
credit_slug: z.ZodString;
|
|
2301
|
+
mass_id: z.ZodObject<{
|
|
2302
|
+
external_url: z.ZodURL;
|
|
2303
|
+
token_id: z.ZodString;
|
|
2304
|
+
uri: z.ZodString;
|
|
2305
|
+
external_id: z.ZodUUID;
|
|
2306
|
+
smart_contract: z.ZodObject<{
|
|
2307
|
+
address: z.ZodString;
|
|
2308
|
+
chain_id: z.ZodNumber;
|
|
2309
|
+
network_name: z.ZodString;
|
|
2310
|
+
}, z.core.$strict>;
|
|
2311
|
+
}, z.core.$strict>;
|
|
2312
|
+
}, z.core.$strict>>;
|
|
2313
|
+
participant_rewards: z.ZodArray<z.ZodObject<{
|
|
2314
|
+
id_hash: z.ZodCustomStringFormat<"sha256_hex">;
|
|
2315
|
+
participant_name: z.ZodString;
|
|
2316
|
+
roles: z.ZodArray<z.ZodString>;
|
|
2317
|
+
usdc_amount: z.ZodNumber;
|
|
2318
|
+
}, z.core.$strict>>;
|
|
2319
|
+
retirement: z.ZodOptional<z.ZodObject<{
|
|
2320
|
+
beneficiary_id: z.ZodUUID;
|
|
2321
|
+
retirement_receipt: z.ZodOptional<z.ZodObject<{
|
|
2322
|
+
token_id: z.ZodString;
|
|
2323
|
+
external_id: z.ZodUUID;
|
|
2324
|
+
external_url: z.ZodURL;
|
|
2325
|
+
uri: z.ZodString;
|
|
2326
|
+
smart_contract: z.ZodObject<{
|
|
2327
|
+
address: z.ZodString;
|
|
2328
|
+
chain_id: z.ZodNumber;
|
|
2329
|
+
network_name: z.ZodString;
|
|
2330
|
+
}, z.core.$strict>;
|
|
2331
|
+
}, z.core.$strict>>;
|
|
2332
|
+
}, z.core.$strict>>;
|
|
2333
|
+
}, z.core.$strict>;
|
|
2334
|
+
type CreditPurchaseReceiptData = z.infer<typeof CreditPurchaseReceiptDataSchema>;
|
|
2335
|
+
|
|
2336
|
+
declare const CreditPurchaseReceiptIpfsSchemaMeta: {
|
|
2337
|
+
readonly title: "CreditPurchaseReceipt NFT IPFS Record";
|
|
2338
|
+
readonly description: "Complete CreditPurchaseReceipt NFT IPFS record including attributes and credit purchase data";
|
|
2339
|
+
readonly $id: string;
|
|
2340
|
+
readonly version: string;
|
|
2341
|
+
};
|
|
2342
|
+
declare const CreditPurchaseReceiptIpfsSchema: z.ZodObject<{
|
|
2343
|
+
$schema: z.ZodURL;
|
|
2344
|
+
created_at: z.ZodISODateTime;
|
|
2345
|
+
external_id: z.ZodUUID;
|
|
2346
|
+
external_url: z.ZodURL;
|
|
2347
|
+
original_content_hash: z.ZodCustomStringFormat<"sha256_hex">;
|
|
2348
|
+
content_hash: z.ZodCustomStringFormat<"sha256_hex">;
|
|
2349
|
+
creator: z.ZodOptional<z.ZodObject<{
|
|
2350
|
+
name: z.ZodString;
|
|
2351
|
+
id: z.ZodUUID;
|
|
2352
|
+
}, z.core.$strict>>;
|
|
2353
|
+
relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2354
|
+
target_uri: z.ZodString;
|
|
2355
|
+
type: z.ZodEnum<{
|
|
2356
|
+
collection: "collection";
|
|
2357
|
+
credit: "credit";
|
|
2358
|
+
"gas-id": "gas-id";
|
|
2359
|
+
"mass-id": "mass-id";
|
|
2360
|
+
"mass-id-audit": "mass-id-audit";
|
|
2361
|
+
methodology: "methodology";
|
|
2362
|
+
"credit-purchase-receipt": "credit-purchase-receipt";
|
|
2363
|
+
"recycled-id": "recycled-id";
|
|
2364
|
+
}>;
|
|
2365
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2366
|
+
}, z.core.$strict>>>;
|
|
2367
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
2368
|
+
blockchain_network: z.ZodEnum<{
|
|
2369
|
+
mainnet: "mainnet";
|
|
2370
|
+
testnet: "testnet";
|
|
2371
|
+
}>;
|
|
2372
|
+
deployment: z.ZodEnum<{
|
|
2373
|
+
production: "production";
|
|
2374
|
+
development: "development";
|
|
2375
|
+
testing: "testing";
|
|
2376
|
+
}>;
|
|
2377
|
+
data_set_name: z.ZodEnum<{
|
|
2378
|
+
TEST: "TEST";
|
|
2379
|
+
PROD: "PROD";
|
|
2380
|
+
}>;
|
|
2381
|
+
}, z.core.$strict>>;
|
|
2382
|
+
blockchain: z.ZodObject<{
|
|
2383
|
+
smart_contract_address: z.ZodString;
|
|
2384
|
+
chain_id: z.ZodNumber;
|
|
2385
|
+
network_name: z.ZodString;
|
|
2386
|
+
token_id: z.ZodString;
|
|
2387
|
+
}, z.core.$strict>;
|
|
2388
|
+
name: z.ZodString;
|
|
2389
|
+
short_name: z.ZodString;
|
|
2390
|
+
description: z.ZodString;
|
|
2391
|
+
image: z.ZodString;
|
|
2392
|
+
background_color: z.ZodOptional<z.ZodString>;
|
|
2393
|
+
animation_url: z.ZodOptional<z.ZodString>;
|
|
2394
|
+
external_links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2395
|
+
label: z.ZodString;
|
|
2396
|
+
url: z.ZodURL;
|
|
2397
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2398
|
+
}, z.core.$strict>>>;
|
|
2399
|
+
schema: z.ZodObject<{
|
|
2400
|
+
hash: z.ZodUnion<readonly [z.ZodCustomStringFormat<"sha256_hex">, z.ZodString]>;
|
|
2401
|
+
version: z.ZodString;
|
|
2402
|
+
type: z.ZodLiteral<"CreditPurchaseReceipt">;
|
|
2403
|
+
}, z.core.$strict>;
|
|
2404
|
+
attributes: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2405
|
+
max_value: z.ZodOptional<z.ZodNumber>;
|
|
2406
|
+
trait_type: z.ZodString;
|
|
2407
|
+
value: z.ZodNumber;
|
|
2408
|
+
display_type: z.ZodLiteral<"number">;
|
|
2409
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2410
|
+
max_value: z.ZodOptional<z.ZodNumber>;
|
|
2411
|
+
trait_type: z.ZodLiteral<"Total Credits Purchased">;
|
|
2412
|
+
value: z.ZodNumber;
|
|
2413
|
+
display_type: z.ZodLiteral<"number">;
|
|
2414
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2415
|
+
max_value: z.ZodOptional<z.ZodNumber>;
|
|
2416
|
+
trait_type: z.ZodLiteral<"Total USDC Amount">;
|
|
2417
|
+
value: z.ZodNumber;
|
|
2418
|
+
display_type: z.ZodLiteral<"number">;
|
|
2419
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2420
|
+
max_value: z.ZodOptional<z.ZodNumber>;
|
|
2421
|
+
trait_type: z.ZodLiteral<"Purchase Date">;
|
|
2422
|
+
value: z.ZodNumber;
|
|
2423
|
+
display_type: z.ZodLiteral<"date">;
|
|
2424
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2425
|
+
max_value: z.ZodOptional<z.ZodNumber>;
|
|
2426
|
+
trait_type: z.ZodLiteral<"Certificates Purchased">;
|
|
2427
|
+
value: z.ZodNumber;
|
|
2428
|
+
display_type: z.ZodLiteral<"number">;
|
|
2429
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2430
|
+
trait_type: z.ZodLiteral<"Receiver">;
|
|
2431
|
+
value: z.ZodString;
|
|
2432
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2433
|
+
max_value: z.ZodOptional<z.ZodNumber>;
|
|
2434
|
+
trait_type: z.ZodString;
|
|
2435
|
+
value: z.ZodNumber;
|
|
2436
|
+
display_type: z.ZodLiteral<"number">;
|
|
2437
|
+
}, z.core.$strict>]>>;
|
|
2438
|
+
data: z.ZodObject<{
|
|
2439
|
+
summary: z.ZodObject<{
|
|
2440
|
+
total_usdc_amount: z.ZodNumber;
|
|
2441
|
+
total_credits: z.ZodNumber;
|
|
2442
|
+
total_certificates: z.ZodNumber;
|
|
2443
|
+
purchase_date: z.ZodISODate;
|
|
2444
|
+
credit_symbols: z.ZodArray<z.ZodString>;
|
|
2445
|
+
certificate_types: z.ZodArray<z.ZodEnum<{
|
|
2446
|
+
RecycledID: "RecycledID";
|
|
2447
|
+
GasID: "GasID";
|
|
2448
|
+
}>>;
|
|
2449
|
+
collection_slugs: z.ZodArray<z.ZodString>;
|
|
2450
|
+
}, z.core.$strict>;
|
|
2451
|
+
parties: z.ZodObject<{
|
|
2452
|
+
payer: z.ZodString;
|
|
2453
|
+
receiver: z.ZodObject<{
|
|
2454
|
+
wallet_address: z.ZodString;
|
|
2455
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
2456
|
+
name: z.ZodString;
|
|
2457
|
+
external_id: z.ZodUUID;
|
|
2458
|
+
external_url: z.ZodURL;
|
|
2459
|
+
}, z.core.$strict>>;
|
|
2460
|
+
}, z.core.$strict>;
|
|
2461
|
+
buyer: z.ZodOptional<z.ZodObject<{
|
|
2462
|
+
buyer_id: z.ZodUUID;
|
|
2463
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
2464
|
+
name: z.ZodString;
|
|
2465
|
+
external_id: z.ZodUUID;
|
|
2466
|
+
external_url: z.ZodURL;
|
|
2467
|
+
}, z.core.$strict>>;
|
|
2468
|
+
}, z.core.$strict>>;
|
|
2469
|
+
}, z.core.$strict>;
|
|
2470
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
2471
|
+
slug: z.ZodString;
|
|
2472
|
+
external_id: z.ZodUUID;
|
|
2473
|
+
name: z.ZodString;
|
|
2474
|
+
external_url: z.ZodURL;
|
|
2475
|
+
uri: z.ZodString;
|
|
2476
|
+
credit_amount: z.ZodNumber;
|
|
2477
|
+
}, z.core.$strict>>;
|
|
2478
|
+
credits: z.ZodArray<z.ZodObject<{
|
|
2479
|
+
slug: z.ZodString;
|
|
2480
|
+
symbol: z.ZodString;
|
|
2481
|
+
external_id: z.ZodUUID;
|
|
2482
|
+
external_url: z.ZodURL;
|
|
2483
|
+
uri: z.ZodString;
|
|
2484
|
+
smart_contract: z.ZodObject<{
|
|
2485
|
+
address: z.ZodString;
|
|
2486
|
+
chain_id: z.ZodNumber;
|
|
2487
|
+
network_name: z.ZodString;
|
|
2488
|
+
}, z.core.$strict>;
|
|
2489
|
+
purchase_amount: z.ZodNumber;
|
|
2490
|
+
retirement_amount: z.ZodOptional<z.ZodNumber>;
|
|
2491
|
+
}, z.core.$strict>>;
|
|
2492
|
+
certificates: z.ZodArray<z.ZodObject<{
|
|
2493
|
+
token_id: z.ZodString;
|
|
2494
|
+
type: z.ZodEnum<{
|
|
2495
|
+
RecycledID: "RecycledID";
|
|
2496
|
+
GasID: "GasID";
|
|
2497
|
+
}>;
|
|
2498
|
+
external_id: z.ZodUUID;
|
|
2499
|
+
external_url: z.ZodURL;
|
|
2500
|
+
uri: z.ZodString;
|
|
2501
|
+
smart_contract: z.ZodObject<{
|
|
2502
|
+
address: z.ZodString;
|
|
2503
|
+
chain_id: z.ZodNumber;
|
|
2504
|
+
network_name: z.ZodString;
|
|
2505
|
+
}, z.core.$strict>;
|
|
2506
|
+
collection_slug: z.ZodString;
|
|
2507
|
+
total_amount: z.ZodNumber;
|
|
2508
|
+
purchased_amount: z.ZodNumber;
|
|
2509
|
+
retired_amount: z.ZodNumber;
|
|
2510
|
+
credit_slug: z.ZodString;
|
|
2511
|
+
mass_id: z.ZodObject<{
|
|
2512
|
+
external_url: z.ZodURL;
|
|
2513
|
+
token_id: z.ZodString;
|
|
2514
|
+
uri: z.ZodString;
|
|
2515
|
+
external_id: z.ZodUUID;
|
|
2516
|
+
smart_contract: z.ZodObject<{
|
|
2517
|
+
address: z.ZodString;
|
|
2518
|
+
chain_id: z.ZodNumber;
|
|
2519
|
+
network_name: z.ZodString;
|
|
2520
|
+
}, z.core.$strict>;
|
|
2521
|
+
}, z.core.$strict>;
|
|
2522
|
+
}, z.core.$strict>>;
|
|
2523
|
+
participant_rewards: z.ZodArray<z.ZodObject<{
|
|
2524
|
+
id_hash: z.ZodCustomStringFormat<"sha256_hex">;
|
|
2525
|
+
participant_name: z.ZodString;
|
|
2526
|
+
roles: z.ZodArray<z.ZodString>;
|
|
2527
|
+
usdc_amount: z.ZodNumber;
|
|
2528
|
+
}, z.core.$strict>>;
|
|
2529
|
+
retirement: z.ZodOptional<z.ZodObject<{
|
|
2530
|
+
beneficiary_id: z.ZodUUID;
|
|
2531
|
+
retirement_receipt: z.ZodOptional<z.ZodObject<{
|
|
2532
|
+
token_id: z.ZodString;
|
|
2533
|
+
external_id: z.ZodUUID;
|
|
2534
|
+
external_url: z.ZodURL;
|
|
2535
|
+
uri: z.ZodString;
|
|
2536
|
+
smart_contract: z.ZodObject<{
|
|
2537
|
+
address: z.ZodString;
|
|
2538
|
+
chain_id: z.ZodNumber;
|
|
2539
|
+
network_name: z.ZodString;
|
|
2540
|
+
}, z.core.$strict>;
|
|
2541
|
+
}, z.core.$strict>>;
|
|
2542
|
+
}, z.core.$strict>>;
|
|
2543
|
+
}, z.core.$strict>;
|
|
2544
|
+
}, z.core.$strict>;
|
|
2545
|
+
type CreditPurchaseReceiptIpfs = z.infer<typeof CreditPurchaseReceiptIpfsSchema>;
|
|
2546
|
+
|
|
2547
|
+
declare const CollectionSchemaMeta: {
|
|
2548
|
+
readonly title: "Collection IPFS Record";
|
|
2549
|
+
readonly description: "Collection metadata stored in IPFS, extending the base schema with collection-specific fields required for NFT collection definitions in Carrot's ecosystem";
|
|
2550
|
+
readonly $id: string;
|
|
2551
|
+
readonly version: string;
|
|
2552
|
+
};
|
|
2553
|
+
declare const CollectionSchema: z.ZodObject<{
|
|
2554
|
+
$schema: z.ZodURL;
|
|
2555
|
+
created_at: z.ZodISODateTime;
|
|
2556
|
+
external_id: z.ZodUUID;
|
|
2557
|
+
external_url: z.ZodURL;
|
|
2558
|
+
original_content_hash: z.ZodCustomStringFormat<"sha256_hex">;
|
|
2559
|
+
content_hash: z.ZodCustomStringFormat<"sha256_hex">;
|
|
2560
|
+
creator: z.ZodOptional<z.ZodObject<{
|
|
2561
|
+
name: z.ZodString;
|
|
2562
|
+
id: z.ZodUUID;
|
|
2563
|
+
}, z.core.$strict>>;
|
|
2564
|
+
relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2565
|
+
target_uri: z.ZodString;
|
|
2566
|
+
type: z.ZodEnum<{
|
|
2567
|
+
collection: "collection";
|
|
2568
|
+
credit: "credit";
|
|
2569
|
+
"gas-id": "gas-id";
|
|
2570
|
+
"mass-id": "mass-id";
|
|
2571
|
+
"mass-id-audit": "mass-id-audit";
|
|
2572
|
+
methodology: "methodology";
|
|
2573
|
+
"credit-purchase-receipt": "credit-purchase-receipt";
|
|
2574
|
+
"recycled-id": "recycled-id";
|
|
2575
|
+
}>;
|
|
2576
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2577
|
+
}, z.core.$strict>>>;
|
|
2578
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
2579
|
+
blockchain_network: z.ZodEnum<{
|
|
2580
|
+
mainnet: "mainnet";
|
|
2581
|
+
testnet: "testnet";
|
|
2582
|
+
}>;
|
|
2583
|
+
deployment: z.ZodEnum<{
|
|
2584
|
+
production: "production";
|
|
2585
|
+
development: "development";
|
|
2586
|
+
testing: "testing";
|
|
2587
|
+
}>;
|
|
2588
|
+
data_set_name: z.ZodEnum<{
|
|
2589
|
+
TEST: "TEST";
|
|
2590
|
+
PROD: "PROD";
|
|
2591
|
+
}>;
|
|
2592
|
+
}, z.core.$strict>>;
|
|
2593
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2594
|
+
schema: z.ZodObject<{
|
|
2595
|
+
hash: z.ZodUnion<readonly [z.ZodCustomStringFormat<"sha256_hex">, z.ZodString]>;
|
|
2596
|
+
version: z.ZodString;
|
|
2597
|
+
type: z.ZodLiteral<"Collection">;
|
|
2598
|
+
}, z.core.$strict>;
|
|
2599
|
+
name: z.ZodString;
|
|
2600
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2601
|
+
image: z.ZodString;
|
|
2602
|
+
description: z.ZodString;
|
|
2603
|
+
}, z.core.$strict>;
|
|
2604
|
+
type Collection = z.infer<typeof CollectionSchema>;
|
|
2605
|
+
|
|
2606
|
+
declare const CreditSchemaMeta: {
|
|
2607
|
+
readonly title: "Credit IPFS Record";
|
|
2608
|
+
readonly description: "Credit token metadata stored in IPFS, extending the base schema with ERC20-specific details";
|
|
2609
|
+
readonly $id: string;
|
|
2610
|
+
readonly version: string;
|
|
2611
|
+
};
|
|
2612
|
+
declare const CreditSchema: z.ZodObject<{
|
|
2613
|
+
$schema: z.ZodURL;
|
|
2614
|
+
created_at: z.ZodISODateTime;
|
|
2615
|
+
external_id: z.ZodUUID;
|
|
2616
|
+
external_url: z.ZodURL;
|
|
2617
|
+
original_content_hash: z.ZodCustomStringFormat<"sha256_hex">;
|
|
2618
|
+
content_hash: z.ZodCustomStringFormat<"sha256_hex">;
|
|
2619
|
+
creator: z.ZodOptional<z.ZodObject<{
|
|
2620
|
+
name: z.ZodString;
|
|
2621
|
+
id: z.ZodUUID;
|
|
2622
|
+
}, z.core.$strict>>;
|
|
2623
|
+
relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2624
|
+
target_uri: z.ZodString;
|
|
2625
|
+
type: z.ZodEnum<{
|
|
2626
|
+
collection: "collection";
|
|
2627
|
+
credit: "credit";
|
|
2628
|
+
"gas-id": "gas-id";
|
|
2629
|
+
"mass-id": "mass-id";
|
|
2630
|
+
"mass-id-audit": "mass-id-audit";
|
|
2631
|
+
methodology: "methodology";
|
|
2632
|
+
"credit-purchase-receipt": "credit-purchase-receipt";
|
|
2633
|
+
"recycled-id": "recycled-id";
|
|
2634
|
+
}>;
|
|
2635
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2636
|
+
}, z.core.$strict>>>;
|
|
2637
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
2638
|
+
blockchain_network: z.ZodEnum<{
|
|
2639
|
+
mainnet: "mainnet";
|
|
2640
|
+
testnet: "testnet";
|
|
2641
|
+
}>;
|
|
2642
|
+
deployment: z.ZodEnum<{
|
|
2643
|
+
production: "production";
|
|
2644
|
+
development: "development";
|
|
2645
|
+
testing: "testing";
|
|
2646
|
+
}>;
|
|
2647
|
+
data_set_name: z.ZodEnum<{
|
|
2648
|
+
TEST: "TEST";
|
|
2649
|
+
PROD: "PROD";
|
|
2650
|
+
}>;
|
|
2651
|
+
}, z.core.$strict>>;
|
|
2652
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2653
|
+
schema: z.ZodObject<{
|
|
2654
|
+
hash: z.ZodUnion<readonly [z.ZodCustomStringFormat<"sha256_hex">, z.ZodString]>;
|
|
2655
|
+
version: z.ZodString;
|
|
2656
|
+
type: z.ZodLiteral<"Credit">;
|
|
2657
|
+
}, z.core.$strict>;
|
|
2658
|
+
symbol: z.ZodString;
|
|
2659
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2660
|
+
name: z.ZodString;
|
|
2661
|
+
decimals: z.ZodNumber;
|
|
2662
|
+
image: z.ZodString;
|
|
2663
|
+
description: z.ZodString;
|
|
2664
|
+
}, z.core.$strict>;
|
|
2665
|
+
type Credit = z.infer<typeof CreditSchema>;
|
|
2666
|
+
|
|
2667
|
+
declare const MethodologySchemaMeta: {
|
|
2668
|
+
readonly title: "Methodology IPFS Record";
|
|
2669
|
+
readonly description: "Methodology metadata stored in IPFS, extending the base schema with methodology data and audit rules";
|
|
2670
|
+
readonly $id: string;
|
|
2671
|
+
readonly version: string;
|
|
2672
|
+
};
|
|
2673
|
+
declare const MethodologySchema: z.ZodObject<{
|
|
2674
|
+
$schema: z.ZodURL;
|
|
2675
|
+
created_at: z.ZodISODateTime;
|
|
2676
|
+
external_id: z.ZodUUID;
|
|
2677
|
+
external_url: z.ZodURL;
|
|
2678
|
+
original_content_hash: z.ZodCustomStringFormat<"sha256_hex">;
|
|
2679
|
+
content_hash: z.ZodCustomStringFormat<"sha256_hex">;
|
|
2680
|
+
creator: z.ZodOptional<z.ZodObject<{
|
|
2681
|
+
name: z.ZodString;
|
|
2682
|
+
id: z.ZodUUID;
|
|
2683
|
+
}, z.core.$strict>>;
|
|
2684
|
+
relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2685
|
+
target_uri: z.ZodString;
|
|
2686
|
+
type: z.ZodEnum<{
|
|
2687
|
+
collection: "collection";
|
|
2688
|
+
credit: "credit";
|
|
2689
|
+
"gas-id": "gas-id";
|
|
2690
|
+
"mass-id": "mass-id";
|
|
2691
|
+
"mass-id-audit": "mass-id-audit";
|
|
2692
|
+
methodology: "methodology";
|
|
2693
|
+
"credit-purchase-receipt": "credit-purchase-receipt";
|
|
2694
|
+
"recycled-id": "recycled-id";
|
|
2695
|
+
}>;
|
|
2696
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2697
|
+
}, z.core.$strict>>>;
|
|
2698
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
2699
|
+
blockchain_network: z.ZodEnum<{
|
|
2700
|
+
mainnet: "mainnet";
|
|
2701
|
+
testnet: "testnet";
|
|
2702
|
+
}>;
|
|
2703
|
+
deployment: z.ZodEnum<{
|
|
2704
|
+
production: "production";
|
|
2705
|
+
development: "development";
|
|
2706
|
+
testing: "testing";
|
|
2707
|
+
}>;
|
|
2708
|
+
data_set_name: z.ZodEnum<{
|
|
2709
|
+
TEST: "TEST";
|
|
2710
|
+
PROD: "PROD";
|
|
2711
|
+
}>;
|
|
2712
|
+
}, z.core.$strict>>;
|
|
2713
|
+
schema: z.ZodObject<{
|
|
2714
|
+
hash: z.ZodUnion<readonly [z.ZodCustomStringFormat<"sha256_hex">, z.ZodString]>;
|
|
2715
|
+
version: z.ZodString;
|
|
2716
|
+
type: z.ZodLiteral<"Methodology">;
|
|
2717
|
+
}, z.core.$strict>;
|
|
2718
|
+
data: z.ZodObject<{
|
|
2719
|
+
name: z.ZodString;
|
|
2720
|
+
short_name: z.ZodString;
|
|
2721
|
+
slug: z.ZodString;
|
|
2722
|
+
version: z.ZodString;
|
|
2723
|
+
description: z.ZodString;
|
|
2724
|
+
revision_date: z.ZodISODate;
|
|
2725
|
+
publication_date: z.ZodISODate;
|
|
2726
|
+
methodology_pdf: z.ZodString;
|
|
2727
|
+
mass_id_audit_rules: z.ZodArray<z.ZodObject<{
|
|
2728
|
+
rule_id: z.ZodUUID;
|
|
2729
|
+
rule_slug: z.ZodString;
|
|
2730
|
+
rule_name: z.ZodString;
|
|
2731
|
+
description: z.ZodString;
|
|
2732
|
+
source_code_url: z.ZodURL;
|
|
2733
|
+
mandatory: z.ZodBoolean;
|
|
2734
|
+
execution_order: z.ZodNumber;
|
|
2735
|
+
}, z.core.$strict>>;
|
|
2736
|
+
}, z.core.$strict>;
|
|
2737
|
+
}, z.core.$strict>;
|
|
2738
|
+
type Methodology = z.infer<typeof MethodologySchema>;
|
|
2739
|
+
|
|
2740
|
+
declare const MethodologyDataSchema: z.ZodObject<{
|
|
2741
|
+
name: z.ZodString;
|
|
2742
|
+
short_name: z.ZodString;
|
|
2743
|
+
slug: z.ZodString;
|
|
2744
|
+
version: z.ZodString;
|
|
2745
|
+
description: z.ZodString;
|
|
2746
|
+
revision_date: z.ZodISODate;
|
|
2747
|
+
publication_date: z.ZodISODate;
|
|
2748
|
+
methodology_pdf: z.ZodString;
|
|
2749
|
+
mass_id_audit_rules: z.ZodArray<z.ZodObject<{
|
|
2750
|
+
rule_id: z.ZodUUID;
|
|
2751
|
+
rule_slug: z.ZodString;
|
|
2752
|
+
rule_name: z.ZodString;
|
|
2753
|
+
description: z.ZodString;
|
|
2754
|
+
source_code_url: z.ZodURL;
|
|
2755
|
+
mandatory: z.ZodBoolean;
|
|
2756
|
+
execution_order: z.ZodNumber;
|
|
2757
|
+
}, z.core.$strict>>;
|
|
2758
|
+
}, z.core.$strict>;
|
|
2759
|
+
type MethodologyData = z.infer<typeof MethodologyDataSchema>;
|
|
2760
|
+
|
|
2761
|
+
declare const MassIDAuditSchemaMeta: {
|
|
2762
|
+
readonly title: "MassID Audit IPFS Record";
|
|
2763
|
+
readonly description: "MassID audit metadata stored in IPFS, extending the base schema with audit results and references";
|
|
2764
|
+
readonly $id: string;
|
|
2765
|
+
readonly version: string;
|
|
2766
|
+
};
|
|
2767
|
+
declare const MassIDAuditSchema: z.ZodObject<{
|
|
2768
|
+
$schema: z.ZodURL;
|
|
2769
|
+
created_at: z.ZodISODateTime;
|
|
2770
|
+
external_id: z.ZodUUID;
|
|
2771
|
+
external_url: z.ZodURL;
|
|
2772
|
+
original_content_hash: z.ZodCustomStringFormat<"sha256_hex">;
|
|
2773
|
+
content_hash: z.ZodCustomStringFormat<"sha256_hex">;
|
|
2774
|
+
creator: z.ZodOptional<z.ZodObject<{
|
|
2775
|
+
name: z.ZodString;
|
|
2776
|
+
id: z.ZodUUID;
|
|
2777
|
+
}, z.core.$strict>>;
|
|
2778
|
+
relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2779
|
+
target_uri: z.ZodString;
|
|
2780
|
+
type: z.ZodEnum<{
|
|
2781
|
+
collection: "collection";
|
|
2782
|
+
credit: "credit";
|
|
2783
|
+
"gas-id": "gas-id";
|
|
2784
|
+
"mass-id": "mass-id";
|
|
2785
|
+
"mass-id-audit": "mass-id-audit";
|
|
2786
|
+
methodology: "methodology";
|
|
2787
|
+
"credit-purchase-receipt": "credit-purchase-receipt";
|
|
2788
|
+
"recycled-id": "recycled-id";
|
|
2789
|
+
}>;
|
|
2790
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2791
|
+
}, z.core.$strict>>>;
|
|
2792
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
2793
|
+
blockchain_network: z.ZodEnum<{
|
|
2794
|
+
mainnet: "mainnet";
|
|
2795
|
+
testnet: "testnet";
|
|
2796
|
+
}>;
|
|
2797
|
+
deployment: z.ZodEnum<{
|
|
2798
|
+
production: "production";
|
|
2799
|
+
development: "development";
|
|
2800
|
+
testing: "testing";
|
|
2801
|
+
}>;
|
|
2802
|
+
data_set_name: z.ZodEnum<{
|
|
2803
|
+
TEST: "TEST";
|
|
2804
|
+
PROD: "PROD";
|
|
2805
|
+
}>;
|
|
2806
|
+
}, z.core.$strict>>;
|
|
2807
|
+
schema: z.ZodObject<{
|
|
2808
|
+
hash: z.ZodUnion<readonly [z.ZodCustomStringFormat<"sha256_hex">, z.ZodString]>;
|
|
2809
|
+
version: z.ZodString;
|
|
2810
|
+
type: z.ZodLiteral<"MassID Audit">;
|
|
2811
|
+
}, z.core.$strict>;
|
|
2812
|
+
data: z.ZodObject<{
|
|
2813
|
+
methodology: z.ZodObject<{
|
|
2814
|
+
external_id: z.ZodUUID;
|
|
2815
|
+
name: z.ZodString;
|
|
2816
|
+
version: z.ZodString;
|
|
2817
|
+
external_url: z.ZodURL;
|
|
2818
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
2819
|
+
}, z.core.$strict>;
|
|
2820
|
+
mass_id: z.ZodObject<{
|
|
2821
|
+
external_id: z.ZodUUID;
|
|
2822
|
+
token_id: z.ZodString;
|
|
2823
|
+
external_url: z.ZodURL;
|
|
2824
|
+
uri: z.ZodString;
|
|
2825
|
+
}, z.core.$strict>;
|
|
2826
|
+
gas_id: z.ZodObject<{
|
|
2827
|
+
external_id: z.ZodUUID;
|
|
2828
|
+
token_id: z.ZodString;
|
|
2829
|
+
external_url: z.ZodURL;
|
|
2830
|
+
uri: z.ZodString;
|
|
2831
|
+
}, z.core.$strict>;
|
|
2832
|
+
audit_summary: z.ZodObject<{
|
|
2833
|
+
audit_date: z.ZodISODate;
|
|
2834
|
+
methodology_compliance: z.ZodEnum<{
|
|
2835
|
+
PASSED: "PASSED";
|
|
2836
|
+
FAILED: "FAILED";
|
|
2837
|
+
}>;
|
|
2838
|
+
total_rules_executed: z.ZodNumber;
|
|
2839
|
+
passed_rules: z.ZodNumber;
|
|
2840
|
+
failed_rules: z.ZodNumber;
|
|
2841
|
+
}, z.core.$strict>;
|
|
2842
|
+
rules_execution_results: z.ZodArray<z.ZodObject<{
|
|
2843
|
+
rule_name: z.ZodString;
|
|
2844
|
+
rule_id: z.ZodUUID;
|
|
2845
|
+
rule_slug: z.ZodString;
|
|
2846
|
+
execution_order: z.ZodNumber;
|
|
2847
|
+
result: z.ZodEnum<{
|
|
2848
|
+
PASSED: "PASSED";
|
|
2849
|
+
FAILED: "FAILED";
|
|
2850
|
+
}>;
|
|
2851
|
+
description: z.ZodString;
|
|
2852
|
+
rule_processor_checksum: z.ZodString;
|
|
2853
|
+
rule_source_code_version: z.ZodString;
|
|
2854
|
+
}, z.core.$strict>>;
|
|
2855
|
+
}, z.core.$strict>;
|
|
2856
|
+
}, z.core.$strict>;
|
|
2857
|
+
type MassIDAudit = z.infer<typeof MassIDAuditSchema>;
|
|
2858
|
+
|
|
2859
|
+
declare const MassIDAuditSummarySchema: z.ZodObject<{
|
|
2860
|
+
audit_date: z.ZodISODate;
|
|
2861
|
+
methodology_compliance: z.ZodEnum<{
|
|
2862
|
+
PASSED: "PASSED";
|
|
2863
|
+
FAILED: "FAILED";
|
|
2864
|
+
}>;
|
|
2865
|
+
total_rules_executed: z.ZodNumber;
|
|
2866
|
+
passed_rules: z.ZodNumber;
|
|
2867
|
+
failed_rules: z.ZodNumber;
|
|
2868
|
+
}, z.core.$strict>;
|
|
2869
|
+
type MassIDAuditSummary = z.infer<typeof MassIDAuditSummarySchema>;
|
|
2870
|
+
declare const MassIDAuditDataSchema: z.ZodObject<{
|
|
2871
|
+
methodology: z.ZodObject<{
|
|
2872
|
+
external_id: z.ZodUUID;
|
|
2873
|
+
name: z.ZodString;
|
|
2874
|
+
version: z.ZodString;
|
|
2875
|
+
external_url: z.ZodURL;
|
|
2876
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
2877
|
+
}, z.core.$strict>;
|
|
2878
|
+
mass_id: z.ZodObject<{
|
|
2879
|
+
external_id: z.ZodUUID;
|
|
2880
|
+
token_id: z.ZodString;
|
|
2881
|
+
external_url: z.ZodURL;
|
|
2882
|
+
uri: z.ZodString;
|
|
2883
|
+
}, z.core.$strict>;
|
|
2884
|
+
gas_id: z.ZodObject<{
|
|
2885
|
+
external_id: z.ZodUUID;
|
|
2886
|
+
token_id: z.ZodString;
|
|
2887
|
+
external_url: z.ZodURL;
|
|
2888
|
+
uri: z.ZodString;
|
|
2889
|
+
}, z.core.$strict>;
|
|
2890
|
+
audit_summary: z.ZodObject<{
|
|
2891
|
+
audit_date: z.ZodISODate;
|
|
2892
|
+
methodology_compliance: z.ZodEnum<{
|
|
2893
|
+
PASSED: "PASSED";
|
|
2894
|
+
FAILED: "FAILED";
|
|
2895
|
+
}>;
|
|
2896
|
+
total_rules_executed: z.ZodNumber;
|
|
2897
|
+
passed_rules: z.ZodNumber;
|
|
2898
|
+
failed_rules: z.ZodNumber;
|
|
2899
|
+
}, z.core.$strict>;
|
|
2900
|
+
rules_execution_results: z.ZodArray<z.ZodObject<{
|
|
2901
|
+
rule_name: z.ZodString;
|
|
2902
|
+
rule_id: z.ZodUUID;
|
|
2903
|
+
rule_slug: z.ZodString;
|
|
2904
|
+
execution_order: z.ZodNumber;
|
|
2905
|
+
result: z.ZodEnum<{
|
|
2906
|
+
PASSED: "PASSED";
|
|
2907
|
+
FAILED: "FAILED";
|
|
2908
|
+
}>;
|
|
2909
|
+
description: z.ZodString;
|
|
2910
|
+
rule_processor_checksum: z.ZodString;
|
|
2911
|
+
rule_source_code_version: z.ZodString;
|
|
2912
|
+
}, z.core.$strict>>;
|
|
2913
|
+
}, z.core.$strict>;
|
|
2914
|
+
type MassIDAuditData = z.infer<typeof MassIDAuditDataSchema>;
|
|
2915
|
+
|
|
2033
2916
|
declare const ParticipantSchema: z.ZodObject<{
|
|
2034
2917
|
id_hash: z.ZodCustomStringFormat<"sha256_hex">;
|
|
2035
2918
|
name: z.ZodString;
|
|
@@ -2188,7 +3071,7 @@ declare const SchemaInfoSchema: z.ZodObject<{
|
|
|
2188
3071
|
"MassID Audit": "MassID Audit";
|
|
2189
3072
|
RecycledID: "RecycledID";
|
|
2190
3073
|
GasID: "GasID";
|
|
2191
|
-
|
|
3074
|
+
CreditPurchaseReceipt: "CreditPurchaseReceipt";
|
|
2192
3075
|
Methodology: "Methodology";
|
|
2193
3076
|
Credit: "Credit";
|
|
2194
3077
|
Collection: "Collection";
|
|
@@ -2210,7 +3093,7 @@ declare const RecordRelationshipSchema: z.ZodObject<{
|
|
|
2210
3093
|
"mass-id": "mass-id";
|
|
2211
3094
|
"mass-id-audit": "mass-id-audit";
|
|
2212
3095
|
methodology: "methodology";
|
|
2213
|
-
"purchase-
|
|
3096
|
+
"credit-purchase-receipt": "credit-purchase-receipt";
|
|
2214
3097
|
"recycled-id": "recycled-id";
|
|
2215
3098
|
}>;
|
|
2216
3099
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2241,7 +3124,7 @@ declare const BaseIpfsSchema: z.ZodObject<{
|
|
|
2241
3124
|
"MassID Audit": "MassID Audit";
|
|
2242
3125
|
RecycledID: "RecycledID";
|
|
2243
3126
|
GasID: "GasID";
|
|
2244
|
-
|
|
3127
|
+
CreditPurchaseReceipt: "CreditPurchaseReceipt";
|
|
2245
3128
|
Methodology: "Methodology";
|
|
2246
3129
|
Credit: "Credit";
|
|
2247
3130
|
Collection: "Collection";
|
|
@@ -2266,7 +3149,7 @@ declare const BaseIpfsSchema: z.ZodObject<{
|
|
|
2266
3149
|
"mass-id": "mass-id";
|
|
2267
3150
|
"mass-id-audit": "mass-id-audit";
|
|
2268
3151
|
methodology: "methodology";
|
|
2269
|
-
"purchase-
|
|
3152
|
+
"credit-purchase-receipt": "credit-purchase-receipt";
|
|
2270
3153
|
"recycled-id": "recycled-id";
|
|
2271
3154
|
}>;
|
|
2272
3155
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2294,7 +3177,7 @@ declare const NftSchemaTypeSchema: z.ZodEnum<{
|
|
|
2294
3177
|
MassID: "MassID";
|
|
2295
3178
|
RecycledID: "RecycledID";
|
|
2296
3179
|
GasID: "GasID";
|
|
2297
|
-
|
|
3180
|
+
CreditPurchaseReceipt: "CreditPurchaseReceipt";
|
|
2298
3181
|
}>;
|
|
2299
3182
|
type NftSchemaType = z.infer<typeof NftSchemaTypeSchema>;
|
|
2300
3183
|
declare const BlockchainReferenceSchema: z.ZodObject<{
|
|
@@ -2342,7 +3225,7 @@ declare const NftIpfsSchema: z.ZodObject<{
|
|
|
2342
3225
|
"mass-id": "mass-id";
|
|
2343
3226
|
"mass-id-audit": "mass-id-audit";
|
|
2344
3227
|
methodology: "methodology";
|
|
2345
|
-
"purchase-
|
|
3228
|
+
"credit-purchase-receipt": "credit-purchase-receipt";
|
|
2346
3229
|
"recycled-id": "recycled-id";
|
|
2347
3230
|
}>;
|
|
2348
3231
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2370,7 +3253,7 @@ declare const NftIpfsSchema: z.ZodObject<{
|
|
|
2370
3253
|
MassID: "MassID";
|
|
2371
3254
|
RecycledID: "RecycledID";
|
|
2372
3255
|
GasID: "GasID";
|
|
2373
|
-
|
|
3256
|
+
CreditPurchaseReceipt: "CreditPurchaseReceipt";
|
|
2374
3257
|
}>;
|
|
2375
3258
|
}, z.core.$strict>;
|
|
2376
3259
|
blockchain: z.ZodObject<{
|
|
@@ -2432,12 +3315,16 @@ declare const AdministrativeDivisionSchema: z.ZodString;
|
|
|
2432
3315
|
type AdministrativeDivision = z.infer<typeof AdministrativeDivisionSchema>;
|
|
2433
3316
|
declare const CountryNameSchema: z.ZodString;
|
|
2434
3317
|
type CountryName = z.infer<typeof CountryNameSchema>;
|
|
3318
|
+
declare const CollectionNameSchema: z.ZodString;
|
|
3319
|
+
type CollectionName = z.infer<typeof CollectionNameSchema>;
|
|
2435
3320
|
declare const MethodologyNameSchema: z.ZodString;
|
|
2436
3321
|
type MethodologyName = z.infer<typeof MethodologyNameSchema>;
|
|
2437
3322
|
declare const StringifiedTokenIdSchema: z.ZodString;
|
|
2438
3323
|
type StringifiedTokenId = z.infer<typeof StringifiedTokenIdSchema>;
|
|
2439
3324
|
declare const SlugSchema: z.ZodString;
|
|
2440
3325
|
type Slug = z.infer<typeof SlugSchema>;
|
|
3326
|
+
declare const CollectionSlugSchema: z.ZodString;
|
|
3327
|
+
type CollectionSlug = z.infer<typeof CollectionSlugSchema>;
|
|
2441
3328
|
declare const WasteTypeSchema: z.ZodString;
|
|
2442
3329
|
type WasteType = z.infer<typeof WasteTypeSchema>;
|
|
2443
3330
|
declare const WasteSubtypeSchema: z.ZodString;
|
|
@@ -2455,6 +3342,16 @@ declare const FacilityTypeSchema: z.ZodEnum<{
|
|
|
2455
3342
|
type FacilityType = z.infer<typeof FacilityTypeSchema>;
|
|
2456
3343
|
declare const BlockchainChainIdSchema: z.ZodNumber;
|
|
2457
3344
|
type BlockchainChainId = z.infer<typeof BlockchainChainIdSchema>;
|
|
3345
|
+
declare const BlockchainNetworkNameSchema: z.ZodString;
|
|
3346
|
+
type BlockchainNetworkName = z.infer<typeof BlockchainNetworkNameSchema>;
|
|
3347
|
+
declare const SmartContractAddressSchema: z.ZodString;
|
|
3348
|
+
type SmartContractAddress = z.infer<typeof SmartContractAddressSchema>;
|
|
3349
|
+
declare const SmartContractSchema: z.ZodObject<{
|
|
3350
|
+
address: z.ZodString;
|
|
3351
|
+
chain_id: z.ZodNumber;
|
|
3352
|
+
network_name: z.ZodString;
|
|
3353
|
+
}, z.core.$strict>;
|
|
3354
|
+
type SmartContract = z.infer<typeof SmartContractSchema>;
|
|
2458
3355
|
declare const PercentageSchema: z.ZodNumber;
|
|
2459
3356
|
type Percentage = z.infer<typeof PercentageSchema>;
|
|
2460
3357
|
declare const NonNegativeIntegerSchema: z.ZodNumber;
|
|
@@ -2492,7 +3389,7 @@ declare const RecordSchemaTypeSchema: z.ZodEnum<{
|
|
|
2492
3389
|
"MassID Audit": "MassID Audit";
|
|
2493
3390
|
RecycledID: "RecycledID";
|
|
2494
3391
|
GasID: "GasID";
|
|
2495
|
-
|
|
3392
|
+
CreditPurchaseReceipt: "CreditPurchaseReceipt";
|
|
2496
3393
|
Methodology: "Methodology";
|
|
2497
3394
|
Credit: "Credit";
|
|
2498
3395
|
Collection: "Collection";
|
|
@@ -2507,7 +3404,7 @@ declare const RecordRelationshipTypeSchema: z.ZodEnum<{
|
|
|
2507
3404
|
"mass-id": "mass-id";
|
|
2508
3405
|
"mass-id-audit": "mass-id-audit";
|
|
2509
3406
|
methodology: "methodology";
|
|
2510
|
-
"purchase-
|
|
3407
|
+
"credit-purchase-receipt": "credit-purchase-receipt";
|
|
2511
3408
|
"recycled-id": "recycled-id";
|
|
2512
3409
|
}>;
|
|
2513
3410
|
type RecordRelationshipType = z.infer<typeof RecordRelationshipTypeSchema>;
|
|
@@ -2624,4 +3521,53 @@ declare const MassIDRecyclingDateAttributeSchema: z.ZodObject<{
|
|
|
2624
3521
|
}, z.core.$strict>;
|
|
2625
3522
|
type MassIDRecyclingDateAttribute = z.infer<typeof MassIDRecyclingDateAttributeSchema>;
|
|
2626
3523
|
|
|
2627
|
-
|
|
3524
|
+
declare const AuditRuleDefinitionSchema: z.ZodObject<{
|
|
3525
|
+
rule_id: z.ZodUUID;
|
|
3526
|
+
rule_slug: z.ZodString;
|
|
3527
|
+
rule_name: z.ZodString;
|
|
3528
|
+
description: z.ZodString;
|
|
3529
|
+
source_code_url: z.ZodURL;
|
|
3530
|
+
mandatory: z.ZodBoolean;
|
|
3531
|
+
execution_order: z.ZodNumber;
|
|
3532
|
+
}, z.core.$strict>;
|
|
3533
|
+
type AuditRuleDefinition = z.infer<typeof AuditRuleDefinitionSchema>;
|
|
3534
|
+
declare const AuditRuleDefinitionsSchema: z.ZodArray<z.ZodObject<{
|
|
3535
|
+
rule_id: z.ZodUUID;
|
|
3536
|
+
rule_slug: z.ZodString;
|
|
3537
|
+
rule_name: z.ZodString;
|
|
3538
|
+
description: z.ZodString;
|
|
3539
|
+
source_code_url: z.ZodURL;
|
|
3540
|
+
mandatory: z.ZodBoolean;
|
|
3541
|
+
execution_order: z.ZodNumber;
|
|
3542
|
+
}, z.core.$strict>>;
|
|
3543
|
+
type AuditRuleDefinitions = z.infer<typeof AuditRuleDefinitionsSchema>;
|
|
3544
|
+
declare const AuditRuleExecutionResultSchema: z.ZodObject<{
|
|
3545
|
+
rule_name: z.ZodString;
|
|
3546
|
+
rule_id: z.ZodUUID;
|
|
3547
|
+
rule_slug: z.ZodString;
|
|
3548
|
+
execution_order: z.ZodNumber;
|
|
3549
|
+
result: z.ZodEnum<{
|
|
3550
|
+
PASSED: "PASSED";
|
|
3551
|
+
FAILED: "FAILED";
|
|
3552
|
+
}>;
|
|
3553
|
+
description: z.ZodString;
|
|
3554
|
+
rule_processor_checksum: z.ZodString;
|
|
3555
|
+
rule_source_code_version: z.ZodString;
|
|
3556
|
+
}, z.core.$strict>;
|
|
3557
|
+
type AuditRuleExecutionResult = z.infer<typeof AuditRuleExecutionResultSchema>;
|
|
3558
|
+
declare const AuditRuleExecutionResultsSchema: z.ZodArray<z.ZodObject<{
|
|
3559
|
+
rule_name: z.ZodString;
|
|
3560
|
+
rule_id: z.ZodUUID;
|
|
3561
|
+
rule_slug: z.ZodString;
|
|
3562
|
+
execution_order: z.ZodNumber;
|
|
3563
|
+
result: z.ZodEnum<{
|
|
3564
|
+
PASSED: "PASSED";
|
|
3565
|
+
FAILED: "FAILED";
|
|
3566
|
+
}>;
|
|
3567
|
+
description: z.ZodString;
|
|
3568
|
+
rule_processor_checksum: z.ZodString;
|
|
3569
|
+
rule_source_code_version: z.ZodString;
|
|
3570
|
+
}, z.core.$strict>>;
|
|
3571
|
+
type AuditRuleExecutionResults = z.infer<typeof AuditRuleExecutionResultsSchema>;
|
|
3572
|
+
|
|
3573
|
+
export { type AccreditedParticipant, AccreditedParticipantSchema, type AccreditedParticipants, AccreditedParticipantsSchema, type AdministrativeDivision, AdministrativeDivisionSchema, type AuditReference, AuditReferenceSchema, type AuditRuleDefinition, AuditRuleDefinitionSchema, type AuditRuleDefinitions, AuditRuleDefinitionsSchema, type AuditRuleExecutionResult, AuditRuleExecutionResultSchema, type AuditRuleExecutionResults, AuditRuleExecutionResultsSchema, type BaseIpfs, BaseIpfsSchema, type BlockchainChainId, BlockchainChainIdSchema, type BlockchainNetworkName, BlockchainNetworkNameSchema, type BlockchainReference, type CalculationValue, type Collection, type CollectionName, CollectionNameSchema, CollectionSchema, CollectionSchemaMeta, type CollectionSlug, CollectionSlugSchema, type Coordinates, CoordinatesSchema, type CountryName, CountryNameSchema, type Credit, type CreditAmount, type CreditAmountAttribute, CreditAmountAttributeSchema, CreditAmountSchema, type CreditPurchaseReceiptAttributes, CreditPurchaseReceiptAttributesSchema, type CreditPurchaseReceiptBuyer, type CreditPurchaseReceiptCertificate, type CreditPurchaseReceiptCollection, type CreditPurchaseReceiptCredit, type CreditPurchaseReceiptData, CreditPurchaseReceiptDataSchema, type CreditPurchaseReceiptIdentity, type CreditPurchaseReceiptIpfs, CreditPurchaseReceiptIpfsSchema, CreditPurchaseReceiptIpfsSchemaMeta, type CreditPurchaseReceiptParticipantReward, type CreditPurchaseReceiptParties, type CreditPurchaseReceiptReceiver, type CreditPurchaseReceiptRetirement, type CreditPurchaseReceiptRetirementReceipt, type CreditPurchaseReceiptSummary, CreditSchema, CreditSchemaMeta, type CreditType, type CreditTypeAttribute, CreditTypeAttributeSchema, CreditTypeSchema, type DistributionNotes, DistributionNotesSchema, type EthereumAddress, EthereumAddressSchema, type EventAttachment, type EventAttribute, type EventAttributeFormat, type ExternalId, ExternalIdSchema, type ExternalLink, type ExternalUrl, ExternalUrlSchema, type FacilityType, FacilityTypeSchema, type GasIDAttributeCo2ePrevented, type GasIDAttributeCreditAmount, type GasIDAttributeCreditType, type GasIDAttributeGasType, type GasIDAttributeMassIDRecyclingDate, type GasIDAttributeMassIDTokenId, type GasIDAttributeMethodology, type GasIDAttributeOriginCountry, type GasIDAttributeOriginMunicipality, type GasIDAttributeRecycler, type GasIDAttributeSourceWasteType, type GasIDAttributeSourceWeight, type GasIDAttributes, GasIDAttributesSchema, type GasIDData, GasIDDataSchema, type GasIDIpfs, GasIDIpfsSchema, GasIDIpfsSchemaMeta, type GasIDReference, GasIDReferenceSchema, type GasIDSummary, type HexColor, HexColorSchema, type Hours, HoursSchema, type IpfsUri, IpfsUriSchema, type IsoAdministrativeDivisionCode, IsoAdministrativeDivisionCodeSchema, type IsoCountryCode, IsoCountryCodeSchema, type IsoDate, IsoDateSchema, type IsoTimestamp, IsoTimestampSchema, type Keccak256Hash, Keccak256HashSchema, type Latitude, LatitudeSchema, type Location, LocationSchema, type Longitude, LongitudeSchema, type MassIDAttributeContainerType, type MassIDAttributeLocalWasteClassificationId, type MassIDAttributeOriginCountry, type MassIDAttributeOriginDivision, type MassIDAttributeOriginMunicipality, type MassIDAttributePickUpDate, type MassIDAttributeProcessingTime, type MassIDAttributeRecyclingDate, type MassIDAttributeRecyclingManifestCode, type MassIDAttributeRecyclingMethod, type MassIDAttributeScaleType, type MassIDAttributeTransportManifestCode, type MassIDAttributeVehicleType, type MassIDAttributeWasteSubtype, type MassIDAttributeWasteType, type MassIDAttributeWeighingCaptureMethod, type MassIDAttributeWeight, type MassIDAttributes, MassIDAttributesSchema, type MassIDAudit, type MassIDAuditData, MassIDAuditDataSchema, MassIDAuditSchema, MassIDAuditSchemaMeta, type MassIDAuditSummary, type MassIDChainOfCustody, type MassIDChainOfCustodyEvent, type MassIDData, MassIDDataSchema, type MassIDGeographicData, type MassIDIpfs, MassIDIpfsSchema, MassIDIpfsSchemaMeta, type MassIDLocalClassification, type MassIDMeasurementUnit, type MassIDRecyclingDateAttribute, MassIDRecyclingDateAttributeSchema, type MassIDReference, MassIDReferenceSchema, type MassIDReferenceWithContract, type MassIDTokenIdAttribute, MassIDTokenIdAttributeSchema, type MassIDWasteProperties, type Methodology, type MethodologyAttribute, MethodologyAttributeSchema, type MethodologyCompliance, MethodologyComplianceSchema, type MethodologyData, MethodologyDataSchema, type MethodologyName, MethodologyNameSchema, type MethodologyReference, MethodologyReferenceSchema, MethodologySchema, MethodologySchemaMeta, type Minutes, MinutesSchema, type Municipality, MunicipalitySchema, type NftAttribute, NftAttributeSchema, type NftIpfs, NftIpfsSchema, type NftSchemaType, type NonEmptyString, NonEmptyStringSchema, type NonNegativeFloat, NonNegativeFloatSchema, type NonNegativeInteger, NonNegativeIntegerSchema, type OriginCountryAttribute, OriginCountryAttributeSchema, type OriginMunicipalityAttribute, OriginMunicipalityAttributeSchema, type Participant, type ParticipantName, ParticipantNameSchema, type ParticipantRewards, ParticipantRewardsSchema, type ParticipantRole, ParticipantRoleSchema, ParticipantSchema, type Percentage, PercentageSchema, type PositiveInteger, PositiveIntegerSchema, type PrecisionLevel, type PreventedEmissionsCalculation, type RecordCreator, type RecordEnvironment, RecordEnvironmentSchema, type RecordRelationship, type RecordRelationshipType, RecordRelationshipTypeSchema, type RecordSchemaType, RecordSchemaTypeSchema, type RecycledIDAttributeCreditAmount, type RecycledIDAttributeCreditType, type RecycledIDAttributeMassIDRecyclingDate, type RecycledIDAttributeMassIDTokenId, type RecycledIDAttributeMethodology, type RecycledIDAttributeOriginCountry, type RecycledIDAttributeOriginMunicipality, type RecycledIDAttributeRecycledMassWeight, type RecycledIDAttributeRecycler, type RecycledIDAttributeSourceWasteType, type RecycledIDAttributeSourceWeight, type RecycledIDAttributes, RecycledIDAttributesSchema, type RecycledIDData, RecycledIDDataSchema, type RecycledIDIpfs, RecycledIDIpfsSchema, RecycledIDIpfsSchemaMeta, type RecycledIDSummary, type RecyclerAttribute, RecyclerAttributeSchema, type RewardAllocation, RewardAllocationSchema, type SchemaInfo, type SemanticVersion, SemanticVersionSchema, type Sha256Hash, Sha256HashSchema, type Slug, SlugSchema, type SmartContract, type SmartContractAddress, SmartContractAddressSchema, SmartContractSchema, type SourceWasteTypeAttribute, SourceWasteTypeAttributeSchema, type SourceWeightAttribute, SourceWeightAttributeSchema, type StringifiedTokenId, StringifiedTokenIdSchema, type TokenId, TokenIdSchema, type TokenSymbol, TokenSymbolSchema, type UnixTimestamp, UnixTimestampSchema, type Uuid, UuidSchema, type WasteClassification, WasteClassificationSchema, type WasteSubtype, WasteSubtypeSchema, type WasteType, WasteTypeSchema, type WeightKg, WeightKgSchema, buildSchemaUrl, getSchemaBaseUrl, getSchemaVersionOrDefault, uniqueArrayItems, uniqueBy };
|