wowok 1.6.59 → 1.6.61
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/agent_call/call.d.ts +30 -0
- package/dist/agent_call/call.d.ts.map +1 -0
- package/dist/agent_call/call.js +80 -0
- package/dist/agent_query/events.d.ts +61 -0
- package/dist/agent_query/events.d.ts.map +1 -0
- package/dist/agent_query/events.js +53 -0
- package/dist/agent_query/objects.d.ts +312 -0
- package/dist/agent_query/objects.d.ts.map +1 -0
- package/dist/agent_query/objects.js +340 -0
- package/dist/agent_query/permission.d.ts +14 -0
- package/dist/agent_query/permission.d.ts.map +1 -0
- package/dist/agent_query/permission.js +51 -0
- package/dist/arbitration.d.ts +61 -0
- package/dist/arbitration.d.ts.map +1 -0
- package/dist/arbitration.js +473 -0
- package/dist/demand.d.ts +8 -9
- package/dist/demand.d.ts.map +1 -1
- package/dist/demand.js +119 -118
- package/dist/entity.d.ts +13 -5
- package/dist/entity.d.ts.map +1 -1
- package/dist/entity.js +69 -34
- package/dist/exception.d.ts +4 -1
- package/dist/exception.d.ts.map +1 -1
- package/dist/exception.js +4 -1
- package/dist/guard.d.ts +50 -20
- package/dist/guard.d.ts.map +1 -1
- package/dist/guard.js +507 -326
- package/dist/index.d.ts +6 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -3
- package/dist/machine.d.ts +33 -11
- package/dist/machine.d.ts.map +1 -1
- package/dist/machine.js +356 -157
- package/dist/passport.d.ts +40 -31
- package/dist/passport.d.ts.map +1 -1
- package/dist/passport.js +400 -393
- package/dist/payment.d.ts +16 -0
- package/dist/payment.d.ts.map +1 -0
- package/dist/payment.js +41 -0
- package/dist/permission.d.ts +80 -68
- package/dist/permission.d.ts.map +1 -1
- package/dist/permission.js +312 -245
- package/dist/progress.d.ts +47 -7
- package/dist/progress.d.ts.map +1 -1
- package/dist/progress.js +176 -141
- package/dist/protocol.d.ts +69 -66
- package/dist/protocol.d.ts.map +1 -1
- package/dist/protocol.js +167 -103
- package/dist/repository.d.ts +26 -8
- package/dist/repository.d.ts.map +1 -1
- package/dist/repository.js +267 -182
- package/dist/resource.d.ts +10 -6
- package/dist/resource.d.ts.map +1 -1
- package/dist/resource.js +74 -48
- package/dist/service.d.ts +58 -31
- package/dist/service.d.ts.map +1 -1
- package/dist/service.js +655 -457
- package/dist/treasury.d.ts +55 -0
- package/dist/treasury.d.ts.map +1 -0
- package/dist/treasury.js +396 -0
- package/dist/utils.d.ts +30 -15
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +159 -81
- package/dist/wowok.d.ts +6 -3
- package/dist/wowok.d.ts.map +1 -1
- package/dist/wowok.js +40 -21
- package/package.json +6 -6
- package/src/agent_call/{agent_call.ts → call.ts} +17 -12
- package/src/agent_query/events.ts +100 -0
- package/src/agent_query/{object.ts → objects.ts} +155 -65
- package/src/agent_query/permission.ts +7 -7
- package/src/index.ts +2 -2
- package/src/protocol.ts +7 -6
- package/src/utils.ts +1 -1
- package/src/agent_query/entity.ts +0 -100
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provide a call interface for AI
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
import { DemandObject } from '../protocol';
|
|
6
|
+
export type FUNC_TYPE = string | number | boolean | 'DemandObject' | 'PermissionObject';
|
|
7
|
+
export interface AgentFuncParameter {
|
|
8
|
+
name: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
required: boolean;
|
|
11
|
+
type: FUNC_TYPE;
|
|
12
|
+
value?: FUNC_TYPE;
|
|
13
|
+
}
|
|
14
|
+
export interface AgentFuncReturn {
|
|
15
|
+
type: DemandObject;
|
|
16
|
+
name: string;
|
|
17
|
+
description: string;
|
|
18
|
+
}
|
|
19
|
+
export interface AgentFunc {
|
|
20
|
+
name: string;
|
|
21
|
+
description?: string;
|
|
22
|
+
module?: string;
|
|
23
|
+
permissionIndex: number;
|
|
24
|
+
parameter: AgentFuncParameter[];
|
|
25
|
+
return?: AgentFuncReturn;
|
|
26
|
+
}
|
|
27
|
+
export declare const AGENT_FUNC: AgentFunc[];
|
|
28
|
+
export declare namespace Call {
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=call.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../src/agent_call/call.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,YAAY,EAA8C,MAAM,aAAa,CAAC;AAWvF,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,cAAc,GAAG,kBAAkB,CAAC;AACxF,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC5B,IAAI,EAAE,YAAY,CAAE;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,SAAS;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,kBAAkB,EAAE,CAAC;IAChC,MAAM,CAAC,EAAE,eAAe,CAAC;CAC5B;AAED,eAAO,MAAM,UAAU,EAAE,SAAS,EAgFjC,CAAA;AACD,yBAAiB,IAAI,CAAC;CAErB"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provide a call interface for AI
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
import { PermissionIndex } from '../permission';
|
|
6
|
+
export const AGENT_FUNC = [
|
|
7
|
+
{ permissionIndex: PermissionIndex.repository, name: 'Repository', description: 'Launch new Repository', module: 'repository', parameter: [
|
|
8
|
+
{ type: 'PermissionObject', name: 'permission', description: 'Permission address or object', required: true },
|
|
9
|
+
{ type: '"Relax mode" or "Strict mode"', name: 'mode', description: 'Relax mode: Allows entry of data other than policy. Used for informal, non-consensus situations.\nStrict mode: Prohibits entry of data beyond policy. Used in formal, fully consensus contexts.', required: false },
|
|
10
|
+
] },
|
|
11
|
+
{ permissionIndex: PermissionIndex.repository_description, name: 'Description', description: 'Set Repository description', module: 'repository', parameter: [
|
|
12
|
+
{ type: 'DemandObject', name: 'demand', description: 'Demand address or object', required: true },
|
|
13
|
+
{ type: 'string', name: 'description', description: 'Demand description', required: true },
|
|
14
|
+
] },
|
|
15
|
+
{ permissionIndex: PermissionIndex.repository_policy_mode, name: 'Policy mode', description: 'Set Repository policy mode', module: 'repository', parameter: [] },
|
|
16
|
+
{ permissionIndex: PermissionIndex.repository_policies, name: 'Policy', description: 'Add/Remove/Edit Repository policy', module: 'repository', parameter: [] },
|
|
17
|
+
{ permissionIndex: PermissionIndex.repository_policy_description, name: 'Policy Description', description: 'Set Repository policy description', module: 'repository', parameter: [] },
|
|
18
|
+
{ permissionIndex: PermissionIndex.repository_policy_permission, name: 'Policy Permission', description: 'Set Repository policy permission', module: 'repository', parameter: [] },
|
|
19
|
+
{ permissionIndex: PermissionIndex.repository_reference, name: 'Reference', description: 'Set Repository reference', module: 'repository', parameter: [] },
|
|
20
|
+
{ permissionIndex: PermissionIndex.service, name: 'Service', description: 'Launch new Service', module: 'service', parameter: [] },
|
|
21
|
+
{ permissionIndex: PermissionIndex.service_description, name: 'Description', description: 'Set Service description', module: 'service', parameter: [] },
|
|
22
|
+
{ permissionIndex: PermissionIndex.service_price, name: 'Price', description: 'Set Service item price', module: 'service', parameter: [] },
|
|
23
|
+
{ permissionIndex: PermissionIndex.service_stock, name: 'Inventory', description: 'Set Service item inventory', module: 'service', parameter: [] },
|
|
24
|
+
{ permissionIndex: PermissionIndex.service_payee, name: 'Payee', description: 'Set Service payee', module: 'service', parameter: [] },
|
|
25
|
+
{ permissionIndex: PermissionIndex.service_repository, name: 'Repository', description: 'Set Service repositories', module: 'service', parameter: [] },
|
|
26
|
+
{ permissionIndex: PermissionIndex.service_withdraw_guards, name: 'Withdraw Guard', description: 'Set Service withdraw guards', module: 'service', parameter: [] },
|
|
27
|
+
{ permissionIndex: PermissionIndex.service_refund_guards, name: 'Refund Guard', description: 'Set Service refund guards', module: 'service', parameter: [] },
|
|
28
|
+
{ permissionIndex: PermissionIndex.service_add_sales, name: 'Add sales', description: 'Add sale items for Service', module: 'service', parameter: [] },
|
|
29
|
+
{ permissionIndex: PermissionIndex.service_remove_sales, name: 'Remove sales', description: 'Remove sale items for Service', module: 'service', parameter: [] },
|
|
30
|
+
{ permissionIndex: PermissionIndex.service_discount_transfer, name: 'Discount', description: 'Launch discounts for Service', module: 'service', parameter: [] },
|
|
31
|
+
{ permissionIndex: PermissionIndex.service_withdraw, name: 'Withdraw', description: 'Widthraw from Service orders', module: 'service', parameter: [] },
|
|
32
|
+
{ permissionIndex: PermissionIndex.service_buyer_guard, name: 'Buyer Guard', description: 'Set Guard of buying for Service', module: 'service', parameter: [] },
|
|
33
|
+
{ permissionIndex: PermissionIndex.service_machine, name: 'Machine', description: 'Set Machine for Service', module: 'service', parameter: [] },
|
|
34
|
+
{ permissionIndex: PermissionIndex.service_endpoint, name: 'Endpoint', description: 'Set Service endpoint', module: 'service', parameter: [] },
|
|
35
|
+
{ permissionIndex: PermissionIndex.service_publish, name: 'Publish', description: 'Allowing the creation of Order', module: 'service', parameter: [] },
|
|
36
|
+
{ permissionIndex: PermissionIndex.service_clone, name: 'Clone', description: 'Clone Service', module: 'service', parameter: [] },
|
|
37
|
+
{ permissionIndex: PermissionIndex.service_customer_required, name: 'Buyer info', description: 'Set Service buyer info required', module: 'service', parameter: [] },
|
|
38
|
+
{ permissionIndex: PermissionIndex.service_pause, name: 'Pause', description: 'Pause/Unpause Service', module: 'service', parameter: [] },
|
|
39
|
+
{ permissionIndex: PermissionIndex.service_treasury, name: 'Treasury', description: 'Externally withdrawable treasury for compensation or rewards', module: 'service', parameter: [] },
|
|
40
|
+
{ permissionIndex: PermissionIndex.service_arbitration, name: 'Arbitration', description: 'Add/Remove arbitration that allows refunds from orders at any time based on arbitration results', module: 'service', parameter: [] },
|
|
41
|
+
{ permissionIndex: PermissionIndex.demand, name: 'Demand', description: 'Launch new Demand', module: 'demand', parameter: [] },
|
|
42
|
+
{ permissionIndex: PermissionIndex.demand_refund, name: 'Refund', description: 'Refund from Demand', module: 'demand', parameter: [] },
|
|
43
|
+
{ permissionIndex: PermissionIndex.demand_expand_time, name: 'Expand deadline', description: 'Expand Demand deadline', module: 'demand', parameter: [] },
|
|
44
|
+
{ permissionIndex: PermissionIndex.demand_guard, name: 'Guard', description: 'Set Demand guard', module: 'demand', parameter: [] },
|
|
45
|
+
{ permissionIndex: PermissionIndex.demand_description, name: 'Description', description: 'Set Demand description', module: 'demand', parameter: [] },
|
|
46
|
+
{ permissionIndex: PermissionIndex.demand_yes, name: 'Yes', description: 'Pick the Deamand serice', module: 'demand', parameter: [] },
|
|
47
|
+
{ permissionIndex: PermissionIndex.machine, name: 'Machine', description: 'Launch new Machine', module: 'machine', parameter: [] },
|
|
48
|
+
{ permissionIndex: PermissionIndex.machine_description, name: 'Description', description: 'Set Machine description', module: 'machine', parameter: [] },
|
|
49
|
+
{ permissionIndex: PermissionIndex.machine_repository, name: 'Repository', description: 'Set Machine repository', module: 'machine', parameter: [] },
|
|
50
|
+
{ permissionIndex: PermissionIndex.machine_clone, name: 'Clone', description: 'Clone Machine', module: 'machine', parameter: [] },
|
|
51
|
+
{ permissionIndex: PermissionIndex.machine_node, name: 'Node', description: 'Set Machine nodes', module: 'machine', parameter: [] },
|
|
52
|
+
{ permissionIndex: PermissionIndex.machine_endpoint, name: 'Endpoint', description: 'Set Machine endpoint', module: 'machine', parameter: [] },
|
|
53
|
+
{ permissionIndex: PermissionIndex.machine_pause, name: 'Pause', description: 'Pause/Unpause Machine', module: 'machine', parameter: [] },
|
|
54
|
+
{ permissionIndex: PermissionIndex.machine_publish, name: 'Publish', description: 'Allowing the creation of Progress', module: 'machine', parameter: [] },
|
|
55
|
+
{ permissionIndex: PermissionIndex.progress, name: 'Progress', description: 'Launch new Progress', module: 'progress', parameter: [] },
|
|
56
|
+
{ permissionIndex: PermissionIndex.progress_namedOperator, name: 'Operator', description: 'Set Progress operators', module: 'progress', parameter: [] },
|
|
57
|
+
{ permissionIndex: PermissionIndex.progress_bind_task, name: 'Bind', description: 'Set Progress task', module: 'progress', parameter: [] },
|
|
58
|
+
{ permissionIndex: PermissionIndex.progress_context_repository, name: 'Repository', description: 'Set Progress repository', module: 'progress', parameter: [] },
|
|
59
|
+
{ permissionIndex: PermissionIndex.progress_unhold, name: 'Unhold', description: 'Release Progress holdings', module: 'progress', parameter: [] },
|
|
60
|
+
{ permissionIndex: PermissionIndex.progress_parent, name: 'Parent', description: 'Set Progress parent', module: 'progress', parameter: [] },
|
|
61
|
+
{ permissionIndex: PermissionIndex.treasury, name: 'Treasury', description: 'Launch new Treasury', module: 'treasury', parameter: [] },
|
|
62
|
+
{ permissionIndex: PermissionIndex.treasury_deposit, name: 'Deposit', description: 'Deposit coins', module: 'treasury', parameter: [] },
|
|
63
|
+
{ permissionIndex: PermissionIndex.treasury_receive, name: 'Receive', description: 'Receive coins from some address sent', module: 'treasury', parameter: [] },
|
|
64
|
+
{ permissionIndex: PermissionIndex.treasury_withdraw, name: 'Withdraw', description: 'Withdraw coins', module: 'treasury', parameter: [] },
|
|
65
|
+
{ permissionIndex: PermissionIndex.treasury_withdraw_guard, name: 'Withdraw Guard', description: 'Add/Remove Treasury withdraw guard', module: 'treasury', parameter: [] },
|
|
66
|
+
{ permissionIndex: PermissionIndex.treasury_withdraw_mode, name: 'Withdraw mode', description: 'Set Treasury withdraw mode', module: 'treasury', parameter: [] },
|
|
67
|
+
{ permissionIndex: PermissionIndex.treasury_deposit_guard, name: 'Deposit Guard', description: 'Set Treasury deposit guard', module: 'treasury', parameter: [] },
|
|
68
|
+
{ permissionIndex: PermissionIndex.treasury_descritption, name: 'Description', description: 'Set Treasury description', module: 'treasury', parameter: [] },
|
|
69
|
+
{ permissionIndex: PermissionIndex.arbitration, name: 'Arbitration', description: 'Launch new Arbitration', module: 'arbitration', parameter: [] },
|
|
70
|
+
{ permissionIndex: PermissionIndex.arbitration_description, name: 'Description', description: 'Set Arbitration description', module: 'arbitration', parameter: [] },
|
|
71
|
+
{ permissionIndex: PermissionIndex.arbitration_endpoint, name: 'Endpoint', description: 'Set Arbitration endpoint', module: 'arbitration', parameter: [] },
|
|
72
|
+
{ permissionIndex: PermissionIndex.arbitration_fee, name: 'Fee', description: 'Set Arbitration fee', module: 'arbitration', parameter: [] },
|
|
73
|
+
{ permissionIndex: PermissionIndex.arbitration_guard, name: 'Guard', description: 'Set Guard to apply for arbitration', module: 'arbitration', parameter: [] },
|
|
74
|
+
{ permissionIndex: PermissionIndex.arbitration_arbitration, name: 'Arbitrate', description: 'Determine the outcome of arbitration', module: 'arbitration', parameter: [] },
|
|
75
|
+
{ permissionIndex: PermissionIndex.arbitration_pause, name: 'Pause', description: 'Allowing/forbidding the creation of Arb', module: 'arbitration', parameter: [] },
|
|
76
|
+
{ permissionIndex: PermissionIndex.arbitration_voting_guard, name: 'Voting Guard', description: 'Add/Remove voting Guard', module: 'arbitration', parameter: [] },
|
|
77
|
+
{ permissionIndex: PermissionIndex.arbitration_vote, name: 'Vote', description: 'Vote on the application for arbitration', module: 'arbitration', parameter: [] },
|
|
78
|
+
{ permissionIndex: PermissionIndex.arbitration_withdraw, name: 'Withdraw', description: 'Withdraw the arbitration fee', module: 'arbitration', parameter: [] },
|
|
79
|
+
{ permissionIndex: PermissionIndex.arbitration_treasury, name: 'Withdraw', description: 'Set Treasury that fees was collected at the time of withdrawal', module: 'arbitration', parameter: [] },
|
|
80
|
+
];
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provide AI with Basic WoWok event queries:
|
|
3
|
+
* for real-time detail tracking.
|
|
4
|
+
*/
|
|
5
|
+
export interface EventQueryOption {
|
|
6
|
+
/** optional paging cursor */
|
|
7
|
+
cursor?: {
|
|
8
|
+
eventSeq: string;
|
|
9
|
+
txDigest: string;
|
|
10
|
+
} | null | undefined;
|
|
11
|
+
/** maximum number of items per page, default to [QUERY_MAX_RESULT_LIMIT] if not specified. */
|
|
12
|
+
limit?: number | null | undefined;
|
|
13
|
+
/** query result ordering, default to false (ascending order), oldest record first. */
|
|
14
|
+
order?: 'ascending' | 'descending' | null | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface EventBase {
|
|
17
|
+
id: {
|
|
18
|
+
eventSeq: string;
|
|
19
|
+
txDigest: string;
|
|
20
|
+
};
|
|
21
|
+
sender: string;
|
|
22
|
+
type: string | 'NewArbEvent' | 'NewOrderEvent' | 'NewProgressEvent' | 'PresentServiceEvent';
|
|
23
|
+
type_raw: string;
|
|
24
|
+
time: string;
|
|
25
|
+
}
|
|
26
|
+
export interface NewArbEvent extends EventBase {
|
|
27
|
+
arb: string;
|
|
28
|
+
arbitration: string;
|
|
29
|
+
order: string;
|
|
30
|
+
}
|
|
31
|
+
export interface NewOrderEvent extends EventBase {
|
|
32
|
+
order: string;
|
|
33
|
+
service: string;
|
|
34
|
+
progress?: string | null;
|
|
35
|
+
amount: string;
|
|
36
|
+
}
|
|
37
|
+
export interface NewProgressEvent extends EventBase {
|
|
38
|
+
progress: string;
|
|
39
|
+
machine: string;
|
|
40
|
+
task?: string | null;
|
|
41
|
+
}
|
|
42
|
+
export interface PresentServiceEvent extends EventBase {
|
|
43
|
+
demand: string;
|
|
44
|
+
service: string;
|
|
45
|
+
recommendation: string;
|
|
46
|
+
}
|
|
47
|
+
export interface EventAnswer {
|
|
48
|
+
data: EventBase[];
|
|
49
|
+
hasNextPage: boolean;
|
|
50
|
+
nextCursor?: {
|
|
51
|
+
eventSeq: string;
|
|
52
|
+
txDigest: string;
|
|
53
|
+
} | null;
|
|
54
|
+
}
|
|
55
|
+
export declare namespace EVENT_QUERY {
|
|
56
|
+
const newArbEvents: (option?: EventQueryOption) => Promise<EventAnswer>;
|
|
57
|
+
const presentServiceEvents: (option?: EventQueryOption) => Promise<EventAnswer>;
|
|
58
|
+
const newProgressEvents: (option?: EventQueryOption) => Promise<EventAnswer>;
|
|
59
|
+
const newOrderEvents: (option?: EventQueryOption) => Promise<EventAnswer>;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/agent_query/events.ts"],"names":[],"mappings":"AACA;;;GAGG;AAIH,MAAM,WAAW,gBAAgB;IAC7B,6BAA6B;IAC7B,MAAM,CAAC,EAAE;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IACjE,8FAA8F;IAC9F,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,sFAAsF;IACtF,KAAK,CAAC,EAAE,WAAW,GAAG,YAAY,GAAG,IAAI,GAAG,SAAS,CAAC;CACzD;AAED,MAAM,WAAW,SAAS;IACtB,EAAE,EAAE;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAC,CAAC;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,aAAa,GAAG,eAAe,GAAG,kBAAkB,GAAG,qBAAqB,CAAC;IAC5F,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,gBAAiB,SAAQ,SAAS;IAC/C,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IAClD,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAC,GAAG,IAAI,CAAC;CAC5D;AAED,yBAAiB,WAAW,CAAC;IAClB,MAAM,YAAY,YAAiB,gBAAgB,KAAI,QAAQ,WAAW,CAEhF,CAAA;IACM,MAAM,oBAAoB,YAAiB,gBAAgB,KAAI,QAAQ,WAAW,CAExF,CAAA;IACM,MAAM,iBAAiB,YAAiB,gBAAgB,KAAI,QAAQ,WAAW,CAErF,CAAA;IACM,MAAM,cAAc,YAAiB,gBAAgB,KAAI,QAAQ,WAAW,CAElF,CAAA;CA+BJ"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provide AI with Basic WoWok event queries:
|
|
3
|
+
* for real-time detail tracking.
|
|
4
|
+
*/
|
|
5
|
+
import { Protocol } from '../protocol';
|
|
6
|
+
export var EVENT_QUERY;
|
|
7
|
+
(function (EVENT_QUERY) {
|
|
8
|
+
EVENT_QUERY.newArbEvents = async (option) => {
|
|
9
|
+
return await queryEvents(Protocol.Instance().Package('wowok') + '::arb::NewArbEvent', option);
|
|
10
|
+
};
|
|
11
|
+
EVENT_QUERY.presentServiceEvents = async (option) => {
|
|
12
|
+
return await queryEvents(Protocol.Instance().Package('wowok') + '::demand::PresentEvent', option);
|
|
13
|
+
};
|
|
14
|
+
EVENT_QUERY.newProgressEvents = async (option) => {
|
|
15
|
+
return await queryEvents(Protocol.Instance().Package('wowok') + '::progress::NewProgressEvent', option);
|
|
16
|
+
};
|
|
17
|
+
EVENT_QUERY.newOrderEvents = async (option) => {
|
|
18
|
+
return await queryEvents(Protocol.Instance().Package('wowok') + '::order::NewOrderEvent', option);
|
|
19
|
+
};
|
|
20
|
+
const queryEvents = async (type, option) => {
|
|
21
|
+
const res = await Protocol.Client().queryEvents({ query: { MoveEventType: type }, cursor: option?.cursor, limit: option?.limit, order: option?.order });
|
|
22
|
+
const data = res?.data?.map((v) => {
|
|
23
|
+
if (v?.packageId === Protocol.Instance().Package('wowok')) {
|
|
24
|
+
if (v?.type?.includes('::order::NewOrderEvent')) {
|
|
25
|
+
return {
|
|
26
|
+
id: v?.id, time: v?.timestampMs, type_raw: v?.type, sender: v?.sender, type: 'NewOrderEvent',
|
|
27
|
+
order: v?.parsedJson?.object, service: v?.parsedJson?.service, progress: v?.parsedJson?.progress, amount: v?.parsedJson?.amount
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
else if (v?.type?.includes('::demand::PresentEvent')) {
|
|
31
|
+
return {
|
|
32
|
+
id: v?.id, time: v?.timestampMs, type_raw: v?.type, sender: v?.sender, type: 'NewOrderEvent',
|
|
33
|
+
demand: v?.parsedJson?.object, service: v?.parsedJson?.service, recommendation: v?.parsedJson?.tips
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
else if (v?.type?.includes('::progress::NewProgressEvent')) {
|
|
37
|
+
return {
|
|
38
|
+
id: v?.id, time: v?.timestampMs, type_raw: v?.type, sender: v?.sender, type: 'NewOrderEvent',
|
|
39
|
+
progress: v?.parsedJson?.object, machine: v?.parsedJson?.machine, task: v?.parsedJson?.task
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
else if (v?.type?.includes('::arb::NewArbEvent')) {
|
|
43
|
+
return {
|
|
44
|
+
id: v?.id, time: v?.timestampMs, type_raw: v?.type, sender: v?.sender, type: 'NewOrderEvent',
|
|
45
|
+
arb: v?.parsedJson?.object, arbitration: v?.parsedJson?.arbitration, order: v?.parsedJson?.order
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return { id: v?.id, time: v?.timestampMs, type_raw: v?.type, sender: v?.sender, type: '', };
|
|
50
|
+
});
|
|
51
|
+
return { data: data, hasNextPage: res?.hasNextPage, nextCursor: res?.nextCursor };
|
|
52
|
+
};
|
|
53
|
+
})(EVENT_QUERY || (EVENT_QUERY = {}));
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provide a query interface for AI
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
import { Treasury_WithdrawMode, Treasury_Operation } from '../treasury';
|
|
6
|
+
import { Repository_Type, Repository_Policy_Mode, Repository_Policy } from '../repository';
|
|
7
|
+
import { Service_Discount_Type, Service_Sale } from '../service';
|
|
8
|
+
import { Machine_Node } from '../machine';
|
|
9
|
+
import { History } from '../progress';
|
|
10
|
+
export interface ObjectBase {
|
|
11
|
+
object: string;
|
|
12
|
+
type?: string | 'Demand' | 'Progress' | 'Service' | 'Machine' | 'Order' | 'Treasury' | 'Arbitration' | 'Arb' | 'Payment' | 'Guard' | 'Entity' | 'Permission' | 'Resource' | 'Repository' | 'TableItem_ProgressHistory' | 'TableItem_PermissionEntity' | 'TableItem_DemandPresenter' | 'TableItem_MachineNode' | 'TableItem_ServiceSale' | 'TableItem_TreasuryHistory' | 'TableItem_ArbVote' | 'TableItem_RepositoryData' | 'TableItem_ResourceMark';
|
|
13
|
+
type_raw?: string;
|
|
14
|
+
owner?: any;
|
|
15
|
+
version?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface ObjectPermission extends ObjectBase {
|
|
18
|
+
builder: string;
|
|
19
|
+
admin: string[];
|
|
20
|
+
description: string;
|
|
21
|
+
entity_count: number;
|
|
22
|
+
biz_permission: {
|
|
23
|
+
id: number;
|
|
24
|
+
name: string;
|
|
25
|
+
}[];
|
|
26
|
+
}
|
|
27
|
+
export interface TableItem_PermissionEntity extends ObjectBase {
|
|
28
|
+
entity: string;
|
|
29
|
+
permission: {
|
|
30
|
+
id: number;
|
|
31
|
+
guard?: string | null;
|
|
32
|
+
}[];
|
|
33
|
+
}
|
|
34
|
+
export interface ObjectDemand extends ObjectBase {
|
|
35
|
+
permission: string;
|
|
36
|
+
guard?: {
|
|
37
|
+
object: string;
|
|
38
|
+
service_id_in_guard?: number | null;
|
|
39
|
+
} | null;
|
|
40
|
+
description: string;
|
|
41
|
+
time_expire: string;
|
|
42
|
+
yes?: string | null;
|
|
43
|
+
presenter_count: number;
|
|
44
|
+
bounty: {
|
|
45
|
+
object: string;
|
|
46
|
+
balance: string;
|
|
47
|
+
type: string;
|
|
48
|
+
}[];
|
|
49
|
+
}
|
|
50
|
+
export interface TableItem_DemandPresenter extends ObjectBase {
|
|
51
|
+
service: string;
|
|
52
|
+
presenter: string;
|
|
53
|
+
recommendation: string;
|
|
54
|
+
}
|
|
55
|
+
export interface ObjectMachine extends ObjectBase {
|
|
56
|
+
permission: string;
|
|
57
|
+
bPaused: boolean;
|
|
58
|
+
bPublished: boolean;
|
|
59
|
+
consensus_repository: string[];
|
|
60
|
+
description: string;
|
|
61
|
+
endpoint?: string | null;
|
|
62
|
+
node_count: number;
|
|
63
|
+
}
|
|
64
|
+
export interface TableItem_MachineNode extends ObjectBase {
|
|
65
|
+
node: Machine_Node;
|
|
66
|
+
}
|
|
67
|
+
export interface ObjectProgressHolder {
|
|
68
|
+
forward_name: string;
|
|
69
|
+
holder?: string | null;
|
|
70
|
+
orders: string[];
|
|
71
|
+
msg: string;
|
|
72
|
+
accomplished: boolean;
|
|
73
|
+
time: string;
|
|
74
|
+
}
|
|
75
|
+
export interface ObjectProgressSession {
|
|
76
|
+
forward: ObjectProgressHolder[];
|
|
77
|
+
weights: number;
|
|
78
|
+
threshold: number;
|
|
79
|
+
next_node: string;
|
|
80
|
+
}
|
|
81
|
+
export interface ObjectProgress extends ObjectBase {
|
|
82
|
+
machine: string;
|
|
83
|
+
current: string;
|
|
84
|
+
context_repository?: string | null;
|
|
85
|
+
parent?: string | null;
|
|
86
|
+
task?: string | null;
|
|
87
|
+
session: ObjectProgressSession[];
|
|
88
|
+
history_count: number;
|
|
89
|
+
namedOperator: {
|
|
90
|
+
name: string;
|
|
91
|
+
operator: string[];
|
|
92
|
+
}[];
|
|
93
|
+
}
|
|
94
|
+
export interface TableItem_ProgressHistory extends ObjectBase {
|
|
95
|
+
history: History;
|
|
96
|
+
}
|
|
97
|
+
export interface ObjectService extends ObjectBase {
|
|
98
|
+
permission: string;
|
|
99
|
+
bPaused: boolean;
|
|
100
|
+
bPublished: boolean;
|
|
101
|
+
description: string;
|
|
102
|
+
arbitration: string[];
|
|
103
|
+
buy_guard?: string | null;
|
|
104
|
+
endpoint?: string | null;
|
|
105
|
+
extern_withdraw_treasuries: string[];
|
|
106
|
+
machine?: string | null;
|
|
107
|
+
payee: string;
|
|
108
|
+
repository: string[];
|
|
109
|
+
sales_count: number;
|
|
110
|
+
withdraw_guard: {
|
|
111
|
+
guard: string;
|
|
112
|
+
percent: number;
|
|
113
|
+
}[];
|
|
114
|
+
refund_guard: {
|
|
115
|
+
guard: string;
|
|
116
|
+
percent: number;
|
|
117
|
+
}[];
|
|
118
|
+
customer_required_info?: {
|
|
119
|
+
pubkey: string;
|
|
120
|
+
required_info: string[];
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
export interface TableItem_ServiceSale extends ObjectBase {
|
|
124
|
+
item: Service_Sale;
|
|
125
|
+
}
|
|
126
|
+
export interface ObjectOrder extends ObjectBase {
|
|
127
|
+
service: string;
|
|
128
|
+
amount: string;
|
|
129
|
+
balance: string;
|
|
130
|
+
payer: string;
|
|
131
|
+
arb: string[];
|
|
132
|
+
agent: string[];
|
|
133
|
+
progress?: string | null;
|
|
134
|
+
discount?: string | null;
|
|
135
|
+
required_info?: {
|
|
136
|
+
pubkey: string;
|
|
137
|
+
msg_encrypted: string;
|
|
138
|
+
};
|
|
139
|
+
item: Service_Sale[];
|
|
140
|
+
}
|
|
141
|
+
export interface ObjectTreasury extends ObjectBase {
|
|
142
|
+
permission: string;
|
|
143
|
+
description: string;
|
|
144
|
+
inflow: string;
|
|
145
|
+
outflow: string;
|
|
146
|
+
withdraw_mode: Treasury_WithdrawMode;
|
|
147
|
+
withdraw_guard: {
|
|
148
|
+
guard: string;
|
|
149
|
+
percent: number;
|
|
150
|
+
}[];
|
|
151
|
+
deposit_guard?: string | null;
|
|
152
|
+
balance: string;
|
|
153
|
+
history_count: number;
|
|
154
|
+
}
|
|
155
|
+
export interface TableItem_TreasuryHistory extends ObjectBase {
|
|
156
|
+
id: number;
|
|
157
|
+
operation: Treasury_Operation;
|
|
158
|
+
signer: string;
|
|
159
|
+
payment: string;
|
|
160
|
+
amount: string;
|
|
161
|
+
time: string;
|
|
162
|
+
}
|
|
163
|
+
export interface ObjectArbitration extends ObjectBase {
|
|
164
|
+
permission: string;
|
|
165
|
+
description: string;
|
|
166
|
+
bPaused: boolean;
|
|
167
|
+
endpoint?: string | null;
|
|
168
|
+
fee: string;
|
|
169
|
+
fee_treasury: string;
|
|
170
|
+
usage_guard?: string | null;
|
|
171
|
+
voting_guard: {
|
|
172
|
+
guard: string;
|
|
173
|
+
weights: number;
|
|
174
|
+
}[];
|
|
175
|
+
}
|
|
176
|
+
export interface ObjectArb extends ObjectBase {
|
|
177
|
+
arbitration: string;
|
|
178
|
+
order: string;
|
|
179
|
+
description: string;
|
|
180
|
+
bWithdrawn: boolean;
|
|
181
|
+
fee: string;
|
|
182
|
+
feedback: string;
|
|
183
|
+
indemnity?: string | null;
|
|
184
|
+
proposition: {
|
|
185
|
+
proposition: string;
|
|
186
|
+
votes: string;
|
|
187
|
+
};
|
|
188
|
+
voted_count: number;
|
|
189
|
+
}
|
|
190
|
+
export interface TableItem_ArbVote extends ObjectBase {
|
|
191
|
+
singer: string;
|
|
192
|
+
vote: number[];
|
|
193
|
+
weight: string;
|
|
194
|
+
time: string;
|
|
195
|
+
}
|
|
196
|
+
export interface ObjectRepository extends ObjectBase {
|
|
197
|
+
permission: string;
|
|
198
|
+
description: string;
|
|
199
|
+
policy_mode: Repository_Policy_Mode;
|
|
200
|
+
rep_type: Repository_Type;
|
|
201
|
+
reference: string[];
|
|
202
|
+
policy: Repository_Policy[];
|
|
203
|
+
data_count: number;
|
|
204
|
+
}
|
|
205
|
+
export interface TableItem_RepositoryData extends ObjectBase {
|
|
206
|
+
address: string;
|
|
207
|
+
key: string;
|
|
208
|
+
data: Uint8Array;
|
|
209
|
+
}
|
|
210
|
+
export interface ObjectPayment extends ObjectBase {
|
|
211
|
+
amount: string;
|
|
212
|
+
for_guard?: string | null;
|
|
213
|
+
for_object?: string | null;
|
|
214
|
+
from?: string | null;
|
|
215
|
+
biz_id: string;
|
|
216
|
+
remark: string;
|
|
217
|
+
signer: string;
|
|
218
|
+
time: string;
|
|
219
|
+
record: {
|
|
220
|
+
recipient: string;
|
|
221
|
+
amount: string;
|
|
222
|
+
}[];
|
|
223
|
+
}
|
|
224
|
+
export interface ObjectDiscount extends ObjectBase {
|
|
225
|
+
service: string;
|
|
226
|
+
name: string;
|
|
227
|
+
off_type: Service_Discount_Type;
|
|
228
|
+
price_greater?: string | null;
|
|
229
|
+
off: string;
|
|
230
|
+
time_start: string;
|
|
231
|
+
time_end: string;
|
|
232
|
+
}
|
|
233
|
+
export interface ObjectGuard extends ObjectBase {
|
|
234
|
+
description: string;
|
|
235
|
+
input: Uint8Array;
|
|
236
|
+
identifier: {
|
|
237
|
+
id: number;
|
|
238
|
+
bWitness: boolean;
|
|
239
|
+
value: Uint8Array;
|
|
240
|
+
}[];
|
|
241
|
+
}
|
|
242
|
+
export interface ObjectEntity extends ObjectBase {
|
|
243
|
+
address: string;
|
|
244
|
+
like: number;
|
|
245
|
+
dislike: number;
|
|
246
|
+
name?: string;
|
|
247
|
+
description?: string;
|
|
248
|
+
avatar?: string;
|
|
249
|
+
x?: string;
|
|
250
|
+
discord?: string;
|
|
251
|
+
homepage?: string;
|
|
252
|
+
resource_object?: string | null;
|
|
253
|
+
lastActive_digest?: string;
|
|
254
|
+
}
|
|
255
|
+
export interface ObjectResouorce_Tag {
|
|
256
|
+
object: string;
|
|
257
|
+
nick_name: string;
|
|
258
|
+
tags: string[];
|
|
259
|
+
}
|
|
260
|
+
export interface ObjectResouorce extends ObjectBase {
|
|
261
|
+
marks_count: number;
|
|
262
|
+
tags: ObjectResouorce_Tag[];
|
|
263
|
+
}
|
|
264
|
+
export interface TableItem_ResourceMark extends ObjectBase {
|
|
265
|
+
mark_name: string;
|
|
266
|
+
objects: string[];
|
|
267
|
+
}
|
|
268
|
+
export interface ObjectsQuery {
|
|
269
|
+
objects: string[];
|
|
270
|
+
showType?: boolean;
|
|
271
|
+
showContent?: boolean;
|
|
272
|
+
showOwner?: boolean;
|
|
273
|
+
}
|
|
274
|
+
export interface ObjectsAnswer {
|
|
275
|
+
objects?: ObjectBase[];
|
|
276
|
+
error?: string;
|
|
277
|
+
}
|
|
278
|
+
export interface TableQuery {
|
|
279
|
+
parent: string;
|
|
280
|
+
cursor?: string | null | undefined;
|
|
281
|
+
limit?: number | null | undefined;
|
|
282
|
+
}
|
|
283
|
+
export interface TableAnswerItem {
|
|
284
|
+
key: {
|
|
285
|
+
type: string;
|
|
286
|
+
value: unknown;
|
|
287
|
+
};
|
|
288
|
+
object: string;
|
|
289
|
+
version: string;
|
|
290
|
+
}
|
|
291
|
+
export interface TableAnswer {
|
|
292
|
+
items: TableAnswerItem[];
|
|
293
|
+
nextCursor: string | null;
|
|
294
|
+
hasNextPage: boolean;
|
|
295
|
+
}
|
|
296
|
+
export declare namespace OBJECT_QUERY {
|
|
297
|
+
const objects_json: (json: string) => Promise<string>;
|
|
298
|
+
const table_json: (json: string) => Promise<string>;
|
|
299
|
+
const objects: (query: ObjectsQuery) => Promise<ObjectsAnswer>;
|
|
300
|
+
const entity: (address: string) => Promise<ObjectEntity>;
|
|
301
|
+
const table: (query: TableQuery) => Promise<TableAnswer>;
|
|
302
|
+
const queryTableItem_DemandPresenter: (demand_object: string | ObjectDemand, address: string) => Promise<ObjectBase>;
|
|
303
|
+
const queryTableItem_PermissionEntity: (permission_object: string | ObjectDemand, address: string) => Promise<ObjectBase>;
|
|
304
|
+
const queryTableItem_ArbVote: (arb_object: string | ObjectDemand, address: string) => Promise<ObjectBase>;
|
|
305
|
+
const tableItemQuery_MachineNode: (machine_object: string | ObjectMachine, name: string) => Promise<ObjectBase>;
|
|
306
|
+
const tableItemQuery_ServiceSale: (service_object: string | ObjectService, name: string) => Promise<ObjectBase>;
|
|
307
|
+
const tableItemQuery_ProgressHistory: (progress_object: string | ObjectProgress, index: BigInt) => Promise<ObjectBase>;
|
|
308
|
+
const tableItemQuery_TreasuryHistory: (treasury_object: string | ObjectTreasury, index: BigInt) => Promise<ObjectBase>;
|
|
309
|
+
const tableItemQuery_RepositoryData: (repository_object: string | ObjectRepository, address: string, name: string) => Promise<ObjectBase>;
|
|
310
|
+
const tableItemQuery_ResourceMark: (resource_object: string | ObjectResouorce, name: string) => Promise<ObjectBase>;
|
|
311
|
+
}
|
|
312
|
+
//# sourceMappingURL=objects.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../src/agent_query/objects.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAA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