@dyne/interfacer-client 0.4.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +734 -387
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +97 -1
- package/dist/index.d.ts +97 -1
- package/dist/index.js +673 -387
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -792,7 +792,15 @@ interface CreateProjectParams$1 {
|
|
|
792
792
|
}
|
|
793
793
|
interface CreateMachineParams {
|
|
794
794
|
name: string;
|
|
795
|
+
/** Machine type, e.g. "3D Printer". Stored as a machine-<slug> tag + metadata. */
|
|
796
|
+
type?: string;
|
|
797
|
+
/** Optional location label (stored in metadata). */
|
|
798
|
+
location?: string;
|
|
799
|
+
/** Short description. */
|
|
795
800
|
note?: string;
|
|
801
|
+
/** Optional image URL (stored in metadata). */
|
|
802
|
+
image?: string;
|
|
803
|
+
tags?: string[];
|
|
796
804
|
metadata?: Record<string, unknown>;
|
|
797
805
|
}
|
|
798
806
|
interface CreateDppParams {
|
|
@@ -806,6 +814,23 @@ interface PaginationParams {
|
|
|
806
814
|
last?: number;
|
|
807
815
|
before?: string;
|
|
808
816
|
}
|
|
817
|
+
type TraceDppNodeType = "EconomicResource" | "EconomicEvent" | "Process" | string;
|
|
818
|
+
/** Recursive node returned by Zenflows' traceDpp resolver. */
|
|
819
|
+
interface TraceDppNode {
|
|
820
|
+
type: TraceDppNodeType;
|
|
821
|
+
node: {
|
|
822
|
+
id?: string;
|
|
823
|
+
name?: string;
|
|
824
|
+
note?: string | null;
|
|
825
|
+
action?: {
|
|
826
|
+
id?: string;
|
|
827
|
+
label?: string;
|
|
828
|
+
} | null;
|
|
829
|
+
metadata?: Record<string, unknown> | null;
|
|
830
|
+
[key: string]: unknown;
|
|
831
|
+
};
|
|
832
|
+
children?: TraceDppNode[];
|
|
833
|
+
}
|
|
809
834
|
type ResourceFilter = Record<string, unknown>;
|
|
810
835
|
type ProposalFilter = Record<string, unknown>;
|
|
811
836
|
declare class ResourceClient {
|
|
@@ -876,6 +901,7 @@ declare class ResourceClient {
|
|
|
876
901
|
proposerId: string;
|
|
877
902
|
newMetadata: Record<string, unknown>;
|
|
878
903
|
}): Promise<void>;
|
|
904
|
+
getTraceDpp(id: string): Promise<TraceDppNode[]>;
|
|
879
905
|
rejectProposal(intentCite: string, intentAccept: string, intentModify: string): Promise<void>;
|
|
880
906
|
}
|
|
881
907
|
|
|
@@ -1003,6 +1029,7 @@ declare class TaggingClient {
|
|
|
1003
1029
|
readonly AVAILABILITY: "availability";
|
|
1004
1030
|
readonly LICENSE: "license";
|
|
1005
1031
|
readonly MANUFACTURABLE: "manufacturable";
|
|
1032
|
+
readonly COMPLEXITY: "complexity";
|
|
1006
1033
|
};
|
|
1007
1034
|
readonly SYSTEM_TAG_PREFIXES: readonly string[];
|
|
1008
1035
|
readonly PRODUCT_CATEGORY_OPTIONS: readonly ["Electronics", "Tools", "Furniture", "Home renovation", "Energy", "Wearables", "Medical", "Sustainability", "Education"];
|
|
@@ -1157,11 +1184,13 @@ declare const TAG_PREFIX: {
|
|
|
1157
1184
|
readonly AVAILABILITY: "availability";
|
|
1158
1185
|
readonly LICENSE: "license";
|
|
1159
1186
|
readonly MANUFACTURABLE: "manufacturable";
|
|
1187
|
+
readonly COMPLEXITY: "complexity";
|
|
1160
1188
|
};
|
|
1161
1189
|
declare const SYSTEM_TAG_PREFIXES: ReadonlyArray<string>;
|
|
1162
1190
|
declare const PRODUCT_CATEGORY_OPTIONS: readonly ["Electronics", "Tools", "Furniture", "Home renovation", "Energy", "Wearables", "Medical", "Sustainability", "Education"];
|
|
1163
1191
|
declare const POWER_COMPATIBILITY_OPTIONS: readonly ["120V AC", "220-240V AC", "12V DC", "24V DC", "Battery Powered", "USB-C"];
|
|
1164
1192
|
declare const REPLICABILITY_OPTIONS: readonly ["High", "Medium", "Low"];
|
|
1193
|
+
declare const COMPLEXITY_OPTIONS: readonly ["Beginner", "Intermediate", "Advanced"];
|
|
1165
1194
|
declare const SERVICE_TYPE_OPTIONS: readonly ["Fabrication", "Learning & Education", "Space Access"];
|
|
1166
1195
|
declare const AVAILABILITY_OPTIONS: readonly ["Available Now", "Booking Required", "Weekdays Only", "Weekends Available"];
|
|
1167
1196
|
declare const RECYCLABILITY_THRESHOLDS_PCT: readonly [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100];
|
|
@@ -1171,6 +1200,73 @@ declare const CO2_THRESHOLDS_KG: readonly [0, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 5, 7.
|
|
|
1171
1200
|
declare const REPAIRABILITY_AVAILABLE_TAG = "repairability-available";
|
|
1172
1201
|
declare const MANUFACTURABLE_TRUE_TAG = "manufacturable-true";
|
|
1173
1202
|
|
|
1203
|
+
/**
|
|
1204
|
+
* Zenflows GraphQL operations — all queries and mutations.
|
|
1205
|
+
*
|
|
1206
|
+
* Ported from interfacer-gui lib/QueryAndMutation.ts.
|
|
1207
|
+
* These are raw GQL documents used by the GraphQLClient.
|
|
1208
|
+
*/
|
|
1209
|
+
declare const QUERY_VARIABLES: string;
|
|
1210
|
+
declare const QUERY_PROJECT_TYPES: string;
|
|
1211
|
+
declare const QUERY_UNIT_AND_CURRENCY: string;
|
|
1212
|
+
declare const REGISTER_USER: string;
|
|
1213
|
+
declare const SIGN_UP: string;
|
|
1214
|
+
declare const FETCH_SELF: string;
|
|
1215
|
+
declare const SEND_EMAIL_VERIFICATION: string;
|
|
1216
|
+
declare const CLAIM_DID: string;
|
|
1217
|
+
declare const PERSON_EXISTS: string;
|
|
1218
|
+
declare const VERIFY_EMAIL: string;
|
|
1219
|
+
declare const QUERY_RESOURCE: string;
|
|
1220
|
+
declare const FETCH_RESOURCES: string;
|
|
1221
|
+
declare const QUERY_PROJECTS: string;
|
|
1222
|
+
declare const QUERY_MACHINES: string;
|
|
1223
|
+
declare const QUERY_CITED_RESOURCES: string;
|
|
1224
|
+
declare const QUERY_PROJECT_FOR_METADATA_UPDATE: string;
|
|
1225
|
+
declare const ASK_RESOURCE_PRIMARY_ACCOUNTABLE: string;
|
|
1226
|
+
declare const GET_PROJECT_LAYOUT: string;
|
|
1227
|
+
declare const SEARCH_PROJECT: string;
|
|
1228
|
+
declare const SEARCH_PROJECTS: string;
|
|
1229
|
+
declare const SELECT_RESOURCES: string;
|
|
1230
|
+
declare const EDIT_IMAGES: string;
|
|
1231
|
+
declare const EDIT_MAIN: string;
|
|
1232
|
+
declare const EDIT_SPECS: string;
|
|
1233
|
+
declare const CREATE_PROPOSAL: string;
|
|
1234
|
+
declare const CREATE_INTENT: string;
|
|
1235
|
+
declare const LINK_PROPOSAL_AND_INTENT: string;
|
|
1236
|
+
declare const PROPOSE_CONTRIBUTION: string;
|
|
1237
|
+
declare const LINK_CONTRIBUTION_PROPOSAL_INTENT: string;
|
|
1238
|
+
declare const QUERY_PROPOSAL: string;
|
|
1239
|
+
declare const QUERY_RESOURCE_PROPOSALS: string;
|
|
1240
|
+
declare const ACCEPT_PROPOSAL: string;
|
|
1241
|
+
declare const SATISFY_INTENTS: string;
|
|
1242
|
+
declare const REJECT_PROPOSAL: string;
|
|
1243
|
+
declare const CREATE_PROJECT: string;
|
|
1244
|
+
declare const CREATE_MACHINE_RESOURCE: string;
|
|
1245
|
+
declare const CREATE_DPP_RESOURCE: string;
|
|
1246
|
+
declare const CREATE_LOCATION: string;
|
|
1247
|
+
declare const CREATE_PROCESS: string;
|
|
1248
|
+
declare const CITE_PROJECT: string;
|
|
1249
|
+
declare const CONSUME_RESOURCE: string;
|
|
1250
|
+
declare const CONTRIBUTE_TO_PROJECT: string;
|
|
1251
|
+
declare const FORK_PROJECT: string;
|
|
1252
|
+
declare const TRANSFER_PROJECT: string;
|
|
1253
|
+
declare const UPDATE_METADATA: string;
|
|
1254
|
+
declare const UPDATE_RESOURCE_CLASSIFIED_AS: string;
|
|
1255
|
+
declare const UPDATE_CONTRIBUTION: string;
|
|
1256
|
+
declare const RELOCATE_PROJECT: string;
|
|
1257
|
+
declare const QUERY_AGENTS: string;
|
|
1258
|
+
declare const FETCH_AGENTS: string;
|
|
1259
|
+
declare const FETCH_USER: string;
|
|
1260
|
+
declare const GET_USER_LAYOUT: string;
|
|
1261
|
+
declare const UPDATE_USER: string;
|
|
1262
|
+
declare const GET_USER_IMAGES: string;
|
|
1263
|
+
declare const SEARCH_PERSON: string;
|
|
1264
|
+
declare const SEARCH_PEOPLE: string;
|
|
1265
|
+
declare const GET_TAGS: string;
|
|
1266
|
+
declare const SEARCH_TAGS: string;
|
|
1267
|
+
declare const GET_RESOURCE_DETAILS: string;
|
|
1268
|
+
declare const QUERY_RESOURCE_TRACE_DPP: string;
|
|
1269
|
+
|
|
1174
1270
|
/**
|
|
1175
1271
|
* Instance variables resolver.
|
|
1176
1272
|
*
|
|
@@ -1240,4 +1336,4 @@ declare function signDidRequest(body: string, store: KeyStorage): Promise<{
|
|
|
1240
1336
|
*/
|
|
1241
1337
|
declare function signFileUpload(checksumHex: string, store: KeyStorage): Promise<string>;
|
|
1242
1338
|
|
|
1243
|
-
export { AVAILABILITY_OPTIONS, AuthClient, CO2_THRESHOLDS_KG, type Comment, type Contributor, type CreateProjectParams, type DerivedEndpoints, type DppAttachment, DppClient, type DppDocument, type DppStatus, ENERGY_THRESHOLDS_KWH, FeedbackClient, FileClient, type GetCommentsParams, type GetReviewsParams, type GqlFile, GraphQLClient, type ImageRef, ImportClient, InboxClient, type InstanceVariables, InterfacerClient, type InterfacerConfig, type KeyStorage, type Keyring, type License, type Location, MANUFACTURABLE_TRUE_TAG, type MachineRef, type MaterialRef, type ModelFile, POWER_COMPATIBILITY_OPTIONS, POWER_REQUIREMENT_THRESHOLDS_W, PRODUCT_CATEGORY_OPTIONS, type ProductFilters, type Project, type ProjectFilter, type ProjectModelMetadata, ProjectType, type Proposal, RECYCLABILITY_THRESHOLDS_PCT, REPAIRABILITY_AVAILABLE_TAG, REPLICABILITY_OPTIONS, ResourceClient, type Review, type ReviewSummary, SERVICE_TYPE_OPTIONS, SYSTEM_TAG_PREFIXES, type ServiceFilters, SocialClient, TAG_PREFIX, TaggingClient, type UserChallenges, WalletClient, type ZenflowsFile, clearInstanceVariablesCache, createConfig, createMemoryStorage, deriveEndpointsFromProxy, derivedProductFilterTags, extractUserTagValues, formatImageSrc, getInstanceVariables, getResourceImage, isSystemTag, isUserTag, mergeTags, monotonicRangeTags, normalizeUserTagsForSave, prefixedTag, prepFileForZenflows, prepFilesForZenflows, rangeFilterTags, removeTagsWithPrefixes, signDidRequest, signFileUpload, signGraphQLRequest, slugifyTagValue, stripUserTagPrefix, userTag };
|
|
1339
|
+
export { ACCEPT_PROPOSAL, ASK_RESOURCE_PRIMARY_ACCOUNTABLE, AVAILABILITY_OPTIONS, AuthClient, CITE_PROJECT, CLAIM_DID, CO2_THRESHOLDS_KG, COMPLEXITY_OPTIONS, CONSUME_RESOURCE, CONTRIBUTE_TO_PROJECT, CREATE_DPP_RESOURCE, CREATE_INTENT, CREATE_LOCATION, CREATE_MACHINE_RESOURCE, CREATE_PROCESS, CREATE_PROJECT, CREATE_PROPOSAL, type Comment, type Contributor, type CreateProjectParams, type DerivedEndpoints, type DppAttachment, DppClient, type DppDocument, type DppStatus, EDIT_IMAGES, EDIT_MAIN, EDIT_SPECS, ENERGY_THRESHOLDS_KWH, FETCH_AGENTS, FETCH_RESOURCES, FETCH_SELF, FETCH_USER, FORK_PROJECT, FeedbackClient, FileClient, GET_PROJECT_LAYOUT, GET_RESOURCE_DETAILS, GET_TAGS, GET_USER_IMAGES, GET_USER_LAYOUT, type GetCommentsParams, type GetReviewsParams, type GqlFile, GraphQLClient, type ImageRef, ImportClient, InboxClient, type InstanceVariables, InterfacerClient, type InterfacerConfig, type KeyStorage, type Keyring, LINK_CONTRIBUTION_PROPOSAL_INTENT, LINK_PROPOSAL_AND_INTENT, type License, type Location, MANUFACTURABLE_TRUE_TAG, type MachineRef, type MaterialRef, type ModelFile, PERSON_EXISTS, POWER_COMPATIBILITY_OPTIONS, POWER_REQUIREMENT_THRESHOLDS_W, PRODUCT_CATEGORY_OPTIONS, PROPOSE_CONTRIBUTION, type ProductFilters, type Project, type ProjectFilter, type ProjectModelMetadata, ProjectType, type Proposal, QUERY_AGENTS, QUERY_CITED_RESOURCES, QUERY_MACHINES, QUERY_PROJECTS, QUERY_PROJECT_FOR_METADATA_UPDATE, QUERY_PROJECT_TYPES, QUERY_PROPOSAL, QUERY_RESOURCE, QUERY_RESOURCE_PROPOSALS, QUERY_RESOURCE_TRACE_DPP, QUERY_UNIT_AND_CURRENCY, QUERY_VARIABLES, RECYCLABILITY_THRESHOLDS_PCT, REGISTER_USER, REJECT_PROPOSAL, RELOCATE_PROJECT, REPAIRABILITY_AVAILABLE_TAG, REPLICABILITY_OPTIONS, ResourceClient, type Review, type ReviewSummary, SATISFY_INTENTS, SEARCH_PEOPLE, SEARCH_PERSON, SEARCH_PROJECT, SEARCH_PROJECTS, SEARCH_TAGS, SELECT_RESOURCES, SEND_EMAIL_VERIFICATION, SERVICE_TYPE_OPTIONS, SIGN_UP, SYSTEM_TAG_PREFIXES, type ServiceFilters, SocialClient, TAG_PREFIX, TRANSFER_PROJECT, TaggingClient, type TraceDppNode, type TraceDppNodeType, UPDATE_CONTRIBUTION, UPDATE_METADATA, UPDATE_RESOURCE_CLASSIFIED_AS, UPDATE_USER, type UserChallenges, VERIFY_EMAIL, WalletClient, type ZenflowsFile, clearInstanceVariablesCache, createConfig, createMemoryStorage, deriveEndpointsFromProxy, derivedProductFilterTags, extractUserTagValues, formatImageSrc, getInstanceVariables, getResourceImage, isSystemTag, isUserTag, mergeTags, monotonicRangeTags, normalizeUserTagsForSave, prefixedTag, prepFileForZenflows, prepFilesForZenflows, rangeFilterTags, removeTagsWithPrefixes, signDidRequest, signFileUpload, signGraphQLRequest, slugifyTagValue, stripUserTagPrefix, userTag };
|
package/dist/index.d.ts
CHANGED
|
@@ -792,7 +792,15 @@ interface CreateProjectParams$1 {
|
|
|
792
792
|
}
|
|
793
793
|
interface CreateMachineParams {
|
|
794
794
|
name: string;
|
|
795
|
+
/** Machine type, e.g. "3D Printer". Stored as a machine-<slug> tag + metadata. */
|
|
796
|
+
type?: string;
|
|
797
|
+
/** Optional location label (stored in metadata). */
|
|
798
|
+
location?: string;
|
|
799
|
+
/** Short description. */
|
|
795
800
|
note?: string;
|
|
801
|
+
/** Optional image URL (stored in metadata). */
|
|
802
|
+
image?: string;
|
|
803
|
+
tags?: string[];
|
|
796
804
|
metadata?: Record<string, unknown>;
|
|
797
805
|
}
|
|
798
806
|
interface CreateDppParams {
|
|
@@ -806,6 +814,23 @@ interface PaginationParams {
|
|
|
806
814
|
last?: number;
|
|
807
815
|
before?: string;
|
|
808
816
|
}
|
|
817
|
+
type TraceDppNodeType = "EconomicResource" | "EconomicEvent" | "Process" | string;
|
|
818
|
+
/** Recursive node returned by Zenflows' traceDpp resolver. */
|
|
819
|
+
interface TraceDppNode {
|
|
820
|
+
type: TraceDppNodeType;
|
|
821
|
+
node: {
|
|
822
|
+
id?: string;
|
|
823
|
+
name?: string;
|
|
824
|
+
note?: string | null;
|
|
825
|
+
action?: {
|
|
826
|
+
id?: string;
|
|
827
|
+
label?: string;
|
|
828
|
+
} | null;
|
|
829
|
+
metadata?: Record<string, unknown> | null;
|
|
830
|
+
[key: string]: unknown;
|
|
831
|
+
};
|
|
832
|
+
children?: TraceDppNode[];
|
|
833
|
+
}
|
|
809
834
|
type ResourceFilter = Record<string, unknown>;
|
|
810
835
|
type ProposalFilter = Record<string, unknown>;
|
|
811
836
|
declare class ResourceClient {
|
|
@@ -876,6 +901,7 @@ declare class ResourceClient {
|
|
|
876
901
|
proposerId: string;
|
|
877
902
|
newMetadata: Record<string, unknown>;
|
|
878
903
|
}): Promise<void>;
|
|
904
|
+
getTraceDpp(id: string): Promise<TraceDppNode[]>;
|
|
879
905
|
rejectProposal(intentCite: string, intentAccept: string, intentModify: string): Promise<void>;
|
|
880
906
|
}
|
|
881
907
|
|
|
@@ -1003,6 +1029,7 @@ declare class TaggingClient {
|
|
|
1003
1029
|
readonly AVAILABILITY: "availability";
|
|
1004
1030
|
readonly LICENSE: "license";
|
|
1005
1031
|
readonly MANUFACTURABLE: "manufacturable";
|
|
1032
|
+
readonly COMPLEXITY: "complexity";
|
|
1006
1033
|
};
|
|
1007
1034
|
readonly SYSTEM_TAG_PREFIXES: readonly string[];
|
|
1008
1035
|
readonly PRODUCT_CATEGORY_OPTIONS: readonly ["Electronics", "Tools", "Furniture", "Home renovation", "Energy", "Wearables", "Medical", "Sustainability", "Education"];
|
|
@@ -1157,11 +1184,13 @@ declare const TAG_PREFIX: {
|
|
|
1157
1184
|
readonly AVAILABILITY: "availability";
|
|
1158
1185
|
readonly LICENSE: "license";
|
|
1159
1186
|
readonly MANUFACTURABLE: "manufacturable";
|
|
1187
|
+
readonly COMPLEXITY: "complexity";
|
|
1160
1188
|
};
|
|
1161
1189
|
declare const SYSTEM_TAG_PREFIXES: ReadonlyArray<string>;
|
|
1162
1190
|
declare const PRODUCT_CATEGORY_OPTIONS: readonly ["Electronics", "Tools", "Furniture", "Home renovation", "Energy", "Wearables", "Medical", "Sustainability", "Education"];
|
|
1163
1191
|
declare const POWER_COMPATIBILITY_OPTIONS: readonly ["120V AC", "220-240V AC", "12V DC", "24V DC", "Battery Powered", "USB-C"];
|
|
1164
1192
|
declare const REPLICABILITY_OPTIONS: readonly ["High", "Medium", "Low"];
|
|
1193
|
+
declare const COMPLEXITY_OPTIONS: readonly ["Beginner", "Intermediate", "Advanced"];
|
|
1165
1194
|
declare const SERVICE_TYPE_OPTIONS: readonly ["Fabrication", "Learning & Education", "Space Access"];
|
|
1166
1195
|
declare const AVAILABILITY_OPTIONS: readonly ["Available Now", "Booking Required", "Weekdays Only", "Weekends Available"];
|
|
1167
1196
|
declare const RECYCLABILITY_THRESHOLDS_PCT: readonly [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100];
|
|
@@ -1171,6 +1200,73 @@ declare const CO2_THRESHOLDS_KG: readonly [0, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 5, 7.
|
|
|
1171
1200
|
declare const REPAIRABILITY_AVAILABLE_TAG = "repairability-available";
|
|
1172
1201
|
declare const MANUFACTURABLE_TRUE_TAG = "manufacturable-true";
|
|
1173
1202
|
|
|
1203
|
+
/**
|
|
1204
|
+
* Zenflows GraphQL operations — all queries and mutations.
|
|
1205
|
+
*
|
|
1206
|
+
* Ported from interfacer-gui lib/QueryAndMutation.ts.
|
|
1207
|
+
* These are raw GQL documents used by the GraphQLClient.
|
|
1208
|
+
*/
|
|
1209
|
+
declare const QUERY_VARIABLES: string;
|
|
1210
|
+
declare const QUERY_PROJECT_TYPES: string;
|
|
1211
|
+
declare const QUERY_UNIT_AND_CURRENCY: string;
|
|
1212
|
+
declare const REGISTER_USER: string;
|
|
1213
|
+
declare const SIGN_UP: string;
|
|
1214
|
+
declare const FETCH_SELF: string;
|
|
1215
|
+
declare const SEND_EMAIL_VERIFICATION: string;
|
|
1216
|
+
declare const CLAIM_DID: string;
|
|
1217
|
+
declare const PERSON_EXISTS: string;
|
|
1218
|
+
declare const VERIFY_EMAIL: string;
|
|
1219
|
+
declare const QUERY_RESOURCE: string;
|
|
1220
|
+
declare const FETCH_RESOURCES: string;
|
|
1221
|
+
declare const QUERY_PROJECTS: string;
|
|
1222
|
+
declare const QUERY_MACHINES: string;
|
|
1223
|
+
declare const QUERY_CITED_RESOURCES: string;
|
|
1224
|
+
declare const QUERY_PROJECT_FOR_METADATA_UPDATE: string;
|
|
1225
|
+
declare const ASK_RESOURCE_PRIMARY_ACCOUNTABLE: string;
|
|
1226
|
+
declare const GET_PROJECT_LAYOUT: string;
|
|
1227
|
+
declare const SEARCH_PROJECT: string;
|
|
1228
|
+
declare const SEARCH_PROJECTS: string;
|
|
1229
|
+
declare const SELECT_RESOURCES: string;
|
|
1230
|
+
declare const EDIT_IMAGES: string;
|
|
1231
|
+
declare const EDIT_MAIN: string;
|
|
1232
|
+
declare const EDIT_SPECS: string;
|
|
1233
|
+
declare const CREATE_PROPOSAL: string;
|
|
1234
|
+
declare const CREATE_INTENT: string;
|
|
1235
|
+
declare const LINK_PROPOSAL_AND_INTENT: string;
|
|
1236
|
+
declare const PROPOSE_CONTRIBUTION: string;
|
|
1237
|
+
declare const LINK_CONTRIBUTION_PROPOSAL_INTENT: string;
|
|
1238
|
+
declare const QUERY_PROPOSAL: string;
|
|
1239
|
+
declare const QUERY_RESOURCE_PROPOSALS: string;
|
|
1240
|
+
declare const ACCEPT_PROPOSAL: string;
|
|
1241
|
+
declare const SATISFY_INTENTS: string;
|
|
1242
|
+
declare const REJECT_PROPOSAL: string;
|
|
1243
|
+
declare const CREATE_PROJECT: string;
|
|
1244
|
+
declare const CREATE_MACHINE_RESOURCE: string;
|
|
1245
|
+
declare const CREATE_DPP_RESOURCE: string;
|
|
1246
|
+
declare const CREATE_LOCATION: string;
|
|
1247
|
+
declare const CREATE_PROCESS: string;
|
|
1248
|
+
declare const CITE_PROJECT: string;
|
|
1249
|
+
declare const CONSUME_RESOURCE: string;
|
|
1250
|
+
declare const CONTRIBUTE_TO_PROJECT: string;
|
|
1251
|
+
declare const FORK_PROJECT: string;
|
|
1252
|
+
declare const TRANSFER_PROJECT: string;
|
|
1253
|
+
declare const UPDATE_METADATA: string;
|
|
1254
|
+
declare const UPDATE_RESOURCE_CLASSIFIED_AS: string;
|
|
1255
|
+
declare const UPDATE_CONTRIBUTION: string;
|
|
1256
|
+
declare const RELOCATE_PROJECT: string;
|
|
1257
|
+
declare const QUERY_AGENTS: string;
|
|
1258
|
+
declare const FETCH_AGENTS: string;
|
|
1259
|
+
declare const FETCH_USER: string;
|
|
1260
|
+
declare const GET_USER_LAYOUT: string;
|
|
1261
|
+
declare const UPDATE_USER: string;
|
|
1262
|
+
declare const GET_USER_IMAGES: string;
|
|
1263
|
+
declare const SEARCH_PERSON: string;
|
|
1264
|
+
declare const SEARCH_PEOPLE: string;
|
|
1265
|
+
declare const GET_TAGS: string;
|
|
1266
|
+
declare const SEARCH_TAGS: string;
|
|
1267
|
+
declare const GET_RESOURCE_DETAILS: string;
|
|
1268
|
+
declare const QUERY_RESOURCE_TRACE_DPP: string;
|
|
1269
|
+
|
|
1174
1270
|
/**
|
|
1175
1271
|
* Instance variables resolver.
|
|
1176
1272
|
*
|
|
@@ -1240,4 +1336,4 @@ declare function signDidRequest(body: string, store: KeyStorage): Promise<{
|
|
|
1240
1336
|
*/
|
|
1241
1337
|
declare function signFileUpload(checksumHex: string, store: KeyStorage): Promise<string>;
|
|
1242
1338
|
|
|
1243
|
-
export { AVAILABILITY_OPTIONS, AuthClient, CO2_THRESHOLDS_KG, type Comment, type Contributor, type CreateProjectParams, type DerivedEndpoints, type DppAttachment, DppClient, type DppDocument, type DppStatus, ENERGY_THRESHOLDS_KWH, FeedbackClient, FileClient, type GetCommentsParams, type GetReviewsParams, type GqlFile, GraphQLClient, type ImageRef, ImportClient, InboxClient, type InstanceVariables, InterfacerClient, type InterfacerConfig, type KeyStorage, type Keyring, type License, type Location, MANUFACTURABLE_TRUE_TAG, type MachineRef, type MaterialRef, type ModelFile, POWER_COMPATIBILITY_OPTIONS, POWER_REQUIREMENT_THRESHOLDS_W, PRODUCT_CATEGORY_OPTIONS, type ProductFilters, type Project, type ProjectFilter, type ProjectModelMetadata, ProjectType, type Proposal, RECYCLABILITY_THRESHOLDS_PCT, REPAIRABILITY_AVAILABLE_TAG, REPLICABILITY_OPTIONS, ResourceClient, type Review, type ReviewSummary, SERVICE_TYPE_OPTIONS, SYSTEM_TAG_PREFIXES, type ServiceFilters, SocialClient, TAG_PREFIX, TaggingClient, type UserChallenges, WalletClient, type ZenflowsFile, clearInstanceVariablesCache, createConfig, createMemoryStorage, deriveEndpointsFromProxy, derivedProductFilterTags, extractUserTagValues, formatImageSrc, getInstanceVariables, getResourceImage, isSystemTag, isUserTag, mergeTags, monotonicRangeTags, normalizeUserTagsForSave, prefixedTag, prepFileForZenflows, prepFilesForZenflows, rangeFilterTags, removeTagsWithPrefixes, signDidRequest, signFileUpload, signGraphQLRequest, slugifyTagValue, stripUserTagPrefix, userTag };
|
|
1339
|
+
export { ACCEPT_PROPOSAL, ASK_RESOURCE_PRIMARY_ACCOUNTABLE, AVAILABILITY_OPTIONS, AuthClient, CITE_PROJECT, CLAIM_DID, CO2_THRESHOLDS_KG, COMPLEXITY_OPTIONS, CONSUME_RESOURCE, CONTRIBUTE_TO_PROJECT, CREATE_DPP_RESOURCE, CREATE_INTENT, CREATE_LOCATION, CREATE_MACHINE_RESOURCE, CREATE_PROCESS, CREATE_PROJECT, CREATE_PROPOSAL, type Comment, type Contributor, type CreateProjectParams, type DerivedEndpoints, type DppAttachment, DppClient, type DppDocument, type DppStatus, EDIT_IMAGES, EDIT_MAIN, EDIT_SPECS, ENERGY_THRESHOLDS_KWH, FETCH_AGENTS, FETCH_RESOURCES, FETCH_SELF, FETCH_USER, FORK_PROJECT, FeedbackClient, FileClient, GET_PROJECT_LAYOUT, GET_RESOURCE_DETAILS, GET_TAGS, GET_USER_IMAGES, GET_USER_LAYOUT, type GetCommentsParams, type GetReviewsParams, type GqlFile, GraphQLClient, type ImageRef, ImportClient, InboxClient, type InstanceVariables, InterfacerClient, type InterfacerConfig, type KeyStorage, type Keyring, LINK_CONTRIBUTION_PROPOSAL_INTENT, LINK_PROPOSAL_AND_INTENT, type License, type Location, MANUFACTURABLE_TRUE_TAG, type MachineRef, type MaterialRef, type ModelFile, PERSON_EXISTS, POWER_COMPATIBILITY_OPTIONS, POWER_REQUIREMENT_THRESHOLDS_W, PRODUCT_CATEGORY_OPTIONS, PROPOSE_CONTRIBUTION, type ProductFilters, type Project, type ProjectFilter, type ProjectModelMetadata, ProjectType, type Proposal, QUERY_AGENTS, QUERY_CITED_RESOURCES, QUERY_MACHINES, QUERY_PROJECTS, QUERY_PROJECT_FOR_METADATA_UPDATE, QUERY_PROJECT_TYPES, QUERY_PROPOSAL, QUERY_RESOURCE, QUERY_RESOURCE_PROPOSALS, QUERY_RESOURCE_TRACE_DPP, QUERY_UNIT_AND_CURRENCY, QUERY_VARIABLES, RECYCLABILITY_THRESHOLDS_PCT, REGISTER_USER, REJECT_PROPOSAL, RELOCATE_PROJECT, REPAIRABILITY_AVAILABLE_TAG, REPLICABILITY_OPTIONS, ResourceClient, type Review, type ReviewSummary, SATISFY_INTENTS, SEARCH_PEOPLE, SEARCH_PERSON, SEARCH_PROJECT, SEARCH_PROJECTS, SEARCH_TAGS, SELECT_RESOURCES, SEND_EMAIL_VERIFICATION, SERVICE_TYPE_OPTIONS, SIGN_UP, SYSTEM_TAG_PREFIXES, type ServiceFilters, SocialClient, TAG_PREFIX, TRANSFER_PROJECT, TaggingClient, type TraceDppNode, type TraceDppNodeType, UPDATE_CONTRIBUTION, UPDATE_METADATA, UPDATE_RESOURCE_CLASSIFIED_AS, UPDATE_USER, type UserChallenges, VERIFY_EMAIL, WalletClient, type ZenflowsFile, clearInstanceVariablesCache, createConfig, createMemoryStorage, deriveEndpointsFromProxy, derivedProductFilterTags, extractUserTagValues, formatImageSrc, getInstanceVariables, getResourceImage, isSystemTag, isUserTag, mergeTags, monotonicRangeTags, normalizeUserTagsForSave, prefixedTag, prepFileForZenflows, prepFilesForZenflows, rangeFilterTags, removeTagsWithPrefixes, signDidRequest, signFileUpload, signGraphQLRequest, slugifyTagValue, stripUserTagPrefix, userTag };
|