@archastro/sdk 0.12.0 → 0.14.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/auth.d.ts +6 -3
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +13 -4
- package/dist/auth.js.map +1 -1
- package/dist/channels/api_chat_channel.d.ts +11 -2
- package/dist/channels/api_chat_channel.d.ts.map +1 -1
- package/dist/channels/api_chat_channel.js +3 -3
- package/dist/channels/api_chat_channel.js.map +1 -1
- package/dist/client.d.ts +4 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +5 -1
- package/dist/client.js.map +1 -1
- package/dist/types/artifacts.d.ts +35 -35
- package/dist/types/automations.d.ts +4 -4
- package/dist/types/automations.d.ts.map +1 -1
- package/dist/types/automations.js +2 -2
- package/dist/types/automations.js.map +1 -1
- package/dist/types/chat.d.ts +21037 -18837
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/chat.js +12 -1
- package/dist/types/chat.js.map +1 -1
- package/dist/types/common.d.ts +10417 -9112
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +246 -143
- package/dist/types/common.js.map +1 -1
- package/dist/types/extractions.d.ts +112 -112
- package/dist/types/image.d.ts +28 -28
- package/dist/types/image.d.ts.map +1 -1
- package/dist/types/image.js +8 -8
- package/dist/types/image.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/invites.d.ts +35 -35
- package/dist/types/oauth.d.ts +80 -50
- package/dist/types/oauth.d.ts.map +1 -1
- package/dist/types/status.d.ts +85 -55
- package/dist/types/status.d.ts.map +1 -1
- package/dist/types/status.js +2 -2
- package/dist/types/status.js.map +1 -1
- package/dist/types/system.d.ts +88 -0
- package/dist/types/system.d.ts.map +1 -0
- package/dist/types/system.js +34 -0
- package/dist/types/system.js.map +1 -0
- package/dist/types/tasks.d.ts +305 -281
- package/dist/types/tasks.d.ts.map +1 -1
- package/dist/types/tasks.js +26 -18
- package/dist/types/tasks.js.map +1 -1
- package/dist/types/teams.d.ts +2300 -2228
- package/dist/types/teams.d.ts.map +1 -1
- package/dist/types/teams.js +13 -13
- package/dist/types/teams.js.map +1 -1
- package/dist/types/threads.d.ts +1981 -1775
- package/dist/types/threads.d.ts.map +1 -1
- package/dist/types/threads.js +26 -26
- package/dist/types/threads.js.map +1 -1
- package/dist/types/users.d.ts +125 -89
- package/dist/types/users.d.ts.map +1 -1
- package/dist/types/users.js +23 -11
- package/dist/types/users.js.map +1 -1
- package/dist/v1/resources/activity_feed.d.ts +107 -101
- package/dist/v1/resources/activity_feed.d.ts.map +1 -1
- package/dist/v1/resources/activity_feed.js +1 -1
- package/dist/v1/resources/agents.d.ts +2 -1
- package/dist/v1/resources/agents.d.ts.map +1 -1
- package/dist/v1/resources/agents.js +1 -1
- package/dist/v1/resources/agents.js.map +1 -1
- package/dist/v1/resources/event_subscription_deliveries.d.ts +17 -0
- package/dist/v1/resources/event_subscription_deliveries.d.ts.map +1 -0
- package/dist/v1/resources/event_subscription_deliveries.js +21 -0
- package/dist/v1/resources/event_subscription_deliveries.js.map +1 -0
- package/dist/v1/resources/event_subscriptions.d.ts +110 -0
- package/dist/v1/resources/event_subscriptions.d.ts.map +1 -0
- package/dist/v1/resources/event_subscriptions.js +119 -0
- package/dist/v1/resources/event_subscriptions.js.map +1 -0
- package/dist/v1/resources/index.d.ts +2 -0
- package/dist/v1/resources/index.d.ts.map +1 -1
- package/dist/v1/resources/index.js +3 -1
- package/dist/v1/resources/index.js.map +1 -1
- package/dist/v1/resources/private_service_definitions.d.ts +4 -1
- package/dist/v1/resources/private_service_definitions.d.ts.map +1 -1
- package/dist/v1/resources/private_service_definitions.js +2 -2
- package/dist/v1/resources/private_service_definitions.js.map +1 -1
- package/dist/v1/resources/solutions.d.ts +11 -1
- package/dist/v1/resources/solutions.d.ts.map +1 -1
- package/dist/v1/resources/solutions.js +13 -1
- package/dist/v1/resources/solutions.js.map +1 -1
- package/dist/v1/resources/tasks.d.ts +146 -126
- package/dist/v1/resources/tasks.d.ts.map +1 -1
- package/dist/v1/resources/tasks.js +5 -1
- package/dist/v1/resources/tasks.js.map +1 -1
- package/dist/v1/resources/teams.d.ts +574 -488
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +53 -2
- package/dist/v1/resources/teams.js.map +1 -1
- package/dist/v1/resources/threads.d.ts +98 -77
- package/dist/v1/resources/threads.d.ts.map +1 -1
- package/dist/v1/resources/threads.js +3 -2
- package/dist/v1/resources/threads.js.map +1 -1
- package/dist/v1/resources/trajectories.d.ts +4 -1
- package/dist/v1/resources/trajectories.d.ts.map +1 -1
- package/dist/v1/resources/trajectories.js +2 -2
- package/dist/v1/resources/trajectories.js.map +1 -1
- package/dist/v1/resources/users.d.ts +506 -369
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +110 -1
- package/dist/v1/resources/users.js.map +1 -1
- package/dist/v1.d.ts +4 -0
- package/dist/v1.d.ts.map +1 -1
- package/dist/v1.js +7 -1
- package/dist/v1.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { HttpClient } from "../../runtime/http-client.js";
|
|
2
|
+
import type { EventSubscription, EventSubscriptionClaim, EventSubscriptionHead, EventSubscriptionPage, EventSubscriptionQueue } from "../../types/common.js";
|
|
3
|
+
export declare class EventSubscriptionResource {
|
|
4
|
+
private http;
|
|
5
|
+
constructor(http: HttpClient);
|
|
6
|
+
/**
|
|
7
|
+
* List domain-event subscriptions
|
|
8
|
+
* Lists the subscriptions visible to the caller, with current queue counters.
|
|
9
|
+
* @param params - Query parameters.
|
|
10
|
+
* @param params.page - Page number, starting at 1.
|
|
11
|
+
* @param params.perPage - Subscriptions per page, from 1 through 100.
|
|
12
|
+
* @returns Subscriptions visible to this caller.
|
|
13
|
+
*/
|
|
14
|
+
list(params?: {
|
|
15
|
+
page?: number;
|
|
16
|
+
perPage?: number;
|
|
17
|
+
}): Promise<EventSubscriptionPage>;
|
|
18
|
+
/**
|
|
19
|
+
* Create a domain-event subscription
|
|
20
|
+
* Creates a durable subscription that receives exportable domain events matching its exact event names. Matching events fan out into a per-subscription queue bounded by max_pending_events and retention_seconds; consume with claim and acknowledge.
|
|
21
|
+
* @param input - Request body.
|
|
22
|
+
* @param input.event_names - Exact event names to receive.
|
|
23
|
+
* @param input.max_pending_events - Queue cap. Defaults to 100; maximum 1000.
|
|
24
|
+
* @param input.name - Customer-defined subscription name.
|
|
25
|
+
* @param input.retention_seconds - Delivery retention in seconds. Defaults to 86400 (24 hours); between 7200 and 2592000. Applies to future deliveries only.
|
|
26
|
+
* @param input.status - Initial status. Defaults to active.
|
|
27
|
+
* @param input.visibility_timeout_seconds - Default claim lease in seconds. Defaults to 300.
|
|
28
|
+
* @returns The new volatile subscription.
|
|
29
|
+
*/
|
|
30
|
+
create(input: {
|
|
31
|
+
event_names: string[];
|
|
32
|
+
max_pending_events?: number | undefined;
|
|
33
|
+
name: string;
|
|
34
|
+
retention_seconds?: number | undefined;
|
|
35
|
+
status?: "active" | "paused" | undefined;
|
|
36
|
+
visibility_timeout_seconds?: number | undefined;
|
|
37
|
+
}): Promise<EventSubscription>;
|
|
38
|
+
/**
|
|
39
|
+
* Delete a domain-event subscription
|
|
40
|
+
* Deletes the subscription and every delivery still in its queue.
|
|
41
|
+
* @param subscription - Subscription ID (`esub_...`).
|
|
42
|
+
* @returns No content
|
|
43
|
+
*/
|
|
44
|
+
delete(subscription: string): Promise<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Get a domain-event subscription
|
|
47
|
+
* Returns one subscription and its current queue counters.
|
|
48
|
+
* @param subscription - Subscription ID (`esub_...`).
|
|
49
|
+
* @returns Successful response
|
|
50
|
+
*/
|
|
51
|
+
get(subscription: string): Promise<EventSubscription>;
|
|
52
|
+
/**
|
|
53
|
+
* Update a domain-event subscription
|
|
54
|
+
* Updates matching, status, or queue limits for future fanout. Already queued deliveries remain unless a lower cap trims the oldest entries; retention changes apply to future deliveries only.
|
|
55
|
+
* @param subscription - Subscription ID (`esub_...`).
|
|
56
|
+
* @param input - Request body.
|
|
57
|
+
* @param input.retention_seconds - Delivery retention in seconds. Defaults to 86400 (24 hours); between 7200 and 2592000. Applies to future deliveries only.
|
|
58
|
+
* @returns Successful response
|
|
59
|
+
*/
|
|
60
|
+
update(subscription: string, input: {
|
|
61
|
+
event_names?: string[] | undefined;
|
|
62
|
+
max_pending_events?: number | undefined;
|
|
63
|
+
name?: string | undefined;
|
|
64
|
+
retention_seconds?: number | undefined;
|
|
65
|
+
status?: "active" | "paused" | undefined;
|
|
66
|
+
visibility_timeout_seconds?: number | undefined;
|
|
67
|
+
}): Promise<EventSubscription>;
|
|
68
|
+
/**
|
|
69
|
+
* Claim events from a subscription
|
|
70
|
+
* Atomically leases the oldest unacknowledged delivery. Returns an empty data array when the queue is empty or its head already has an active lease. Passing max_events opts into batch mode, where leased entries are skipped instead of blocking; wait_seconds bounds a long poll on an empty queue.
|
|
71
|
+
* @param subscription - Subscription ID (`esub_...`).
|
|
72
|
+
* @param input - Request body.
|
|
73
|
+
* @param input.consumer_id - Consumer identity between 1 and 128 bytes, recorded on the lease for attribution.
|
|
74
|
+
* @param input.max_events - Opts into batch mode: leases up to this many lease-available deliveries (between 1 and 20) in sequence order, skipping leased entries instead of blocking on the head. Omit to keep strict head-of-line semantics.
|
|
75
|
+
* @param input.request_id - Idempotency key between 1 and 128 bytes. Use a value unique per claim attempt (e.g. a UUID) — the key is scoped to the subscription, so a reused value takes over whatever leases it last stamped. Retrying a claim with the same request_id while its leases are unexpired returns the same deliveries (regardless of max_events) with fresh receipt handles and refreshed leases.
|
|
76
|
+
* @param input.visibility_timeout_seconds - Lease duration override between 15 and 3600 seconds.
|
|
77
|
+
* @param input.wait_seconds - Long-poll bound between 0 and 20 seconds. When the queue is empty, the request waits up to this long for a delivery before returning an empty data array. 0 (or omitting) returns immediately.
|
|
78
|
+
* @returns Successful response
|
|
79
|
+
*/
|
|
80
|
+
claim(subscription: string, input: {
|
|
81
|
+
consumer_id?: string | undefined;
|
|
82
|
+
max_events?: number | undefined;
|
|
83
|
+
request_id?: string | undefined;
|
|
84
|
+
visibility_timeout_seconds?: number | undefined;
|
|
85
|
+
wait_seconds?: number | undefined;
|
|
86
|
+
}): Promise<EventSubscriptionClaim>;
|
|
87
|
+
/**
|
|
88
|
+
* Peek at the head of a subscription queue
|
|
89
|
+
* Returns the oldest unacknowledged delivery without reserving it. This diagnostic read cannot be used as a safe substitute for claim.
|
|
90
|
+
* @param subscription - Subscription ID (`esub_...`).
|
|
91
|
+
* @returns Successful response
|
|
92
|
+
*/
|
|
93
|
+
head(subscription: string): Promise<EventSubscriptionHead>;
|
|
94
|
+
/**
|
|
95
|
+
* Read a subscription queue
|
|
96
|
+
* Returns a non-reserving, oldest-first view of unacknowledged deliveries, including the queue's loss indicators (queue_epoch, dropped_events_total, dropped_through_position). Use claim to obtain a receipt handle before acknowledging.
|
|
97
|
+
* @param subscription - Subscription ID (`esub_...`).
|
|
98
|
+
* @param params - Query parameters.
|
|
99
|
+
* @param params.limit - Maximum entries to return, from 1 through 100.
|
|
100
|
+
* @param params.beforeCursor - Opaque cursor for the preceding page.
|
|
101
|
+
* @param params.afterCursor - Opaque cursor for the following page.
|
|
102
|
+
* @returns Successful response
|
|
103
|
+
*/
|
|
104
|
+
queue(subscription: string, params?: {
|
|
105
|
+
limit?: number;
|
|
106
|
+
beforeCursor?: string;
|
|
107
|
+
afterCursor?: string;
|
|
108
|
+
}): Promise<EventSubscriptionQueue>;
|
|
109
|
+
}
|
|
110
|
+
//# sourceMappingURL=event_subscriptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event_subscriptions.d.ts","sourceRoot":"","sources":["../../../src/v1/resources/event_subscriptions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,E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,GAAG,QAAQ,GAAG,SAAS,CAAC;QAAC,0BAA0B,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAIpT;;;;;;;;;;;OAWG;IACG,KAAK,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,0BAA0B,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAIrQ;;;;;OAKG;IACG,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAIhE;;;;;;;;;OASG;IACG,KAAK,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,sBAAsB,CAAC;CAc7I"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
// Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
|
|
2
|
+
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
+
// Content hash: 7e759ae14671
|
|
4
|
+
export class EventSubscriptionResource {
|
|
5
|
+
http;
|
|
6
|
+
constructor(http) {
|
|
7
|
+
this.http = http;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List domain-event subscriptions
|
|
11
|
+
* Lists the subscriptions visible to the caller, with current queue counters.
|
|
12
|
+
* @param params - Query parameters.
|
|
13
|
+
* @param params.page - Page number, starting at 1.
|
|
14
|
+
* @param params.perPage - Subscriptions per page, from 1 through 100.
|
|
15
|
+
* @returns Subscriptions visible to this caller.
|
|
16
|
+
*/
|
|
17
|
+
async list(params) {
|
|
18
|
+
const query = {};
|
|
19
|
+
if (params?.page !== undefined) {
|
|
20
|
+
query["page"] = params?.page;
|
|
21
|
+
}
|
|
22
|
+
if (params?.perPage !== undefined) {
|
|
23
|
+
query["per_page"] = params?.perPage;
|
|
24
|
+
}
|
|
25
|
+
return this.http.request(`/api/v1/event_subscriptions`, { query });
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Create a domain-event subscription
|
|
29
|
+
* Creates a durable subscription that receives exportable domain events matching its exact event names. Matching events fan out into a per-subscription queue bounded by max_pending_events and retention_seconds; consume with claim and acknowledge.
|
|
30
|
+
* @param input - Request body.
|
|
31
|
+
* @param input.event_names - Exact event names to receive.
|
|
32
|
+
* @param input.max_pending_events - Queue cap. Defaults to 100; maximum 1000.
|
|
33
|
+
* @param input.name - Customer-defined subscription name.
|
|
34
|
+
* @param input.retention_seconds - Delivery retention in seconds. Defaults to 86400 (24 hours); between 7200 and 2592000. Applies to future deliveries only.
|
|
35
|
+
* @param input.status - Initial status. Defaults to active.
|
|
36
|
+
* @param input.visibility_timeout_seconds - Default claim lease in seconds. Defaults to 300.
|
|
37
|
+
* @returns The new volatile subscription.
|
|
38
|
+
*/
|
|
39
|
+
async create(input) {
|
|
40
|
+
return this.http.request(`/api/v1/event_subscriptions`, { method: "POST", body: input });
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Delete a domain-event subscription
|
|
44
|
+
* Deletes the subscription and every delivery still in its queue.
|
|
45
|
+
* @param subscription - Subscription ID (`esub_...`).
|
|
46
|
+
* @returns No content
|
|
47
|
+
*/
|
|
48
|
+
async delete(subscription) {
|
|
49
|
+
await this.http.request(`/api/v1/event_subscriptions/${subscription}`, { method: "DELETE" });
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Get a domain-event subscription
|
|
53
|
+
* Returns one subscription and its current queue counters.
|
|
54
|
+
* @param subscription - Subscription ID (`esub_...`).
|
|
55
|
+
* @returns Successful response
|
|
56
|
+
*/
|
|
57
|
+
async get(subscription) {
|
|
58
|
+
return this.http.request(`/api/v1/event_subscriptions/${subscription}`);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Update a domain-event subscription
|
|
62
|
+
* Updates matching, status, or queue limits for future fanout. Already queued deliveries remain unless a lower cap trims the oldest entries; retention changes apply to future deliveries only.
|
|
63
|
+
* @param subscription - Subscription ID (`esub_...`).
|
|
64
|
+
* @param input - Request body.
|
|
65
|
+
* @param input.retention_seconds - Delivery retention in seconds. Defaults to 86400 (24 hours); between 7200 and 2592000. Applies to future deliveries only.
|
|
66
|
+
* @returns Successful response
|
|
67
|
+
*/
|
|
68
|
+
async update(subscription, input) {
|
|
69
|
+
return this.http.request(`/api/v1/event_subscriptions/${subscription}`, { method: "PATCH", body: input });
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Claim events from a subscription
|
|
73
|
+
* Atomically leases the oldest unacknowledged delivery. Returns an empty data array when the queue is empty or its head already has an active lease. Passing max_events opts into batch mode, where leased entries are skipped instead of blocking; wait_seconds bounds a long poll on an empty queue.
|
|
74
|
+
* @param subscription - Subscription ID (`esub_...`).
|
|
75
|
+
* @param input - Request body.
|
|
76
|
+
* @param input.consumer_id - Consumer identity between 1 and 128 bytes, recorded on the lease for attribution.
|
|
77
|
+
* @param input.max_events - Opts into batch mode: leases up to this many lease-available deliveries (between 1 and 20) in sequence order, skipping leased entries instead of blocking on the head. Omit to keep strict head-of-line semantics.
|
|
78
|
+
* @param input.request_id - Idempotency key between 1 and 128 bytes. Use a value unique per claim attempt (e.g. a UUID) — the key is scoped to the subscription, so a reused value takes over whatever leases it last stamped. Retrying a claim with the same request_id while its leases are unexpired returns the same deliveries (regardless of max_events) with fresh receipt handles and refreshed leases.
|
|
79
|
+
* @param input.visibility_timeout_seconds - Lease duration override between 15 and 3600 seconds.
|
|
80
|
+
* @param input.wait_seconds - Long-poll bound between 0 and 20 seconds. When the queue is empty, the request waits up to this long for a delivery before returning an empty data array. 0 (or omitting) returns immediately.
|
|
81
|
+
* @returns Successful response
|
|
82
|
+
*/
|
|
83
|
+
async claim(subscription, input) {
|
|
84
|
+
return this.http.request(`/api/v1/event_subscriptions/${subscription}/claim`, { method: "POST", body: input });
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Peek at the head of a subscription queue
|
|
88
|
+
* Returns the oldest unacknowledged delivery without reserving it. This diagnostic read cannot be used as a safe substitute for claim.
|
|
89
|
+
* @param subscription - Subscription ID (`esub_...`).
|
|
90
|
+
* @returns Successful response
|
|
91
|
+
*/
|
|
92
|
+
async head(subscription) {
|
|
93
|
+
return this.http.request(`/api/v1/event_subscriptions/${subscription}/head`);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Read a subscription queue
|
|
97
|
+
* Returns a non-reserving, oldest-first view of unacknowledged deliveries, including the queue's loss indicators (queue_epoch, dropped_events_total, dropped_through_position). Use claim to obtain a receipt handle before acknowledging.
|
|
98
|
+
* @param subscription - Subscription ID (`esub_...`).
|
|
99
|
+
* @param params - Query parameters.
|
|
100
|
+
* @param params.limit - Maximum entries to return, from 1 through 100.
|
|
101
|
+
* @param params.beforeCursor - Opaque cursor for the preceding page.
|
|
102
|
+
* @param params.afterCursor - Opaque cursor for the following page.
|
|
103
|
+
* @returns Successful response
|
|
104
|
+
*/
|
|
105
|
+
async queue(subscription, params) {
|
|
106
|
+
const query = {};
|
|
107
|
+
if (params?.limit !== undefined) {
|
|
108
|
+
query["limit"] = params?.limit;
|
|
109
|
+
}
|
|
110
|
+
if (params?.beforeCursor !== undefined) {
|
|
111
|
+
query["before_cursor"] = params?.beforeCursor;
|
|
112
|
+
}
|
|
113
|
+
if (params?.afterCursor !== undefined) {
|
|
114
|
+
query["after_cursor"] = params?.afterCursor;
|
|
115
|
+
}
|
|
116
|
+
return this.http.request(`/api/v1/event_subscriptions/${subscription}/queue`, { query });
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
//# sourceMappingURL=event_subscriptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event_subscriptions.js","sourceRoot":"","sources":["../../../src/v1/resources/event_subscriptions.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAK7B,MAAM,OAAO,yBAAyB;IAChB;IAApB,YAAoB,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;IAAG,CAAC;IAExC;;;;;;;OAOG;IACH,KAAK,CAAC,IAAI,CAAC,MAA4C;QACrD,MAAM,KAAK,GAA6F,EAAE,CAAC;QAC3G,IAAI,MAAM,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAC/B,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,EAAE,IAAI,CAAC;QAC/B,CAAC;QACD,IAAI,MAAM,EAAE,OAAO,KAAK,SAAS,EAAE,CAAC;YAClC,KAAK,CAAC,UAAU,CAAC,GAAG,MAAM,EAAE,OAAO,CAAC;QACtC,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,MAAM,CAAC,KAA0N;QACrO,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,6BAA6B,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CAAC,YAAoB;QAC/B,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,+BAA+B,YAAY,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC/F,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CA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+BAA+B,YAAY,QAAQ,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF"}
|
|
@@ -15,6 +15,8 @@ export { AutomationResource } from "./automations.js";
|
|
|
15
15
|
export { BugReportResource } from "./bug_reports.js";
|
|
16
16
|
export { ConfigResource } from "./config.js";
|
|
17
17
|
export { CustomObjectResource } from "./custom_objects.js";
|
|
18
|
+
export { EventSubscriptionDeliveryResource } from "./event_subscription_deliveries.js";
|
|
19
|
+
export { EventSubscriptionResource } from "./event_subscriptions.js";
|
|
18
20
|
export { ExtractionResource } from "./extractions.js";
|
|
19
21
|
export { FileResource } from "./files.js";
|
|
20
22
|
export { InstallationSourceResource } from "./installation_sources.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/resources/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CA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,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
|
|
2
2
|
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
-
// Content hash:
|
|
3
|
+
// Content hash: 044e52cde478
|
|
4
4
|
export { ActivityFeedResource } from "./activity_feed.js";
|
|
5
5
|
export { AgentComputerResource } from "./agent_computers.js";
|
|
6
6
|
export { AgentEnvVarResource } from "./agent_env_vars.js";
|
|
@@ -18,6 +18,8 @@ export { AutomationResource } from "./automations.js";
|
|
|
18
18
|
export { BugReportResource } from "./bug_reports.js";
|
|
19
19
|
export { ConfigResource } from "./config.js";
|
|
20
20
|
export { CustomObjectResource } from "./custom_objects.js";
|
|
21
|
+
export { EventSubscriptionDeliveryResource } from "./event_subscription_deliveries.js";
|
|
22
|
+
export { EventSubscriptionResource } from "./event_subscriptions.js";
|
|
21
23
|
export { ExtractionResource } from "./extractions.js";
|
|
22
24
|
export { FileResource } from "./files.js";
|
|
23
25
|
export { InstallationSourceResource } from "./installation_sources.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/resources/index.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,C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,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -7,6 +7,9 @@ export declare class PrivateServiceDefinitionResource {
|
|
|
7
7
|
* Returns the canonical callable definition authorized by an enrollment token.
|
|
8
8
|
* @returns Raw content
|
|
9
9
|
*/
|
|
10
|
-
get(appId: string, privateServiceId: string): Promise<
|
|
10
|
+
get(appId: string, privateServiceId: string): Promise<{
|
|
11
|
+
content: ArrayBuffer;
|
|
12
|
+
mimeType: string;
|
|
13
|
+
}>;
|
|
11
14
|
}
|
|
12
15
|
//# sourceMappingURL=private_service_definitions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private_service_definitions.d.ts","sourceRoot":"","sources":["../../../src/v1/resources/private_service_definitions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,qBAAa,gCAAgC;IAC/B,OAAO,CAAC,IAAI;gBAAJ,IAAI,EAAE,UAAU;IAEpC;;;;OAIG;IACG,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"private_service_definitions.d.ts","sourceRoot":"","sources":["../../../src/v1/resources/private_service_definitions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,qBAAa,gCAAgC;IAC/B,OAAO,CAAC,IAAI;gBAAJ,IAAI,EAAE,UAAU;IAEpC;;;;OAIG;IACG,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,WAAW,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;CAGxG"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
|
|
2
2
|
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
-
// Content hash:
|
|
3
|
+
// Content hash: 12a93f73f519
|
|
4
4
|
export class PrivateServiceDefinitionResource {
|
|
5
5
|
http;
|
|
6
6
|
constructor(http) {
|
|
@@ -12,7 +12,7 @@ export class PrivateServiceDefinitionResource {
|
|
|
12
12
|
* @returns Raw content
|
|
13
13
|
*/
|
|
14
14
|
async get(appId, privateServiceId) {
|
|
15
|
-
return this.http.
|
|
15
|
+
return this.http.requestRaw(`/api/v1/private_service_definitions/${appId}/${privateServiceId}`);
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=private_service_definitions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private_service_definitions.js","sourceRoot":"","sources":["../../../src/v1/resources/private_service_definitions.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAI7B,MAAM,OAAO,gCAAgC;IACvB;IAApB,YAAoB,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;IAAG,CAAC;IAExC;;;;OAIG;IACH,KAAK,CAAC,GAAG,CAAC,KAAa,EAAE,gBAAwB;QAC/C,OAAO,IAAI,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"private_service_definitions.js","sourceRoot":"","sources":["../../../src/v1/resources/private_service_definitions.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAI7B,MAAM,OAAO,gCAAgC;IACvB;IAApB,YAAoB,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;IAAG,CAAC;IAExC;;;;OAIG;IACH,KAAK,CAAC,GAAG,CAAC,KAAa,EAAE,gBAAwB;QAC/C,OAAO,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,uCAAuC,KAAK,IAAI,gBAAgB,EAAE,CAAC,CAAC;IAClG,CAAC;CACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpClient } from "../../runtime/http-client.js";
|
|
2
|
-
import type { SolutionDependentsResponse, SolutionImportResponse, SolutionInstallResponse, SolutionListResponse, SolutionSummary, SolutionUpgradeResponse } from "../../types/common.js";
|
|
2
|
+
import type { ProductKnowledgeReconcileResponse, SolutionDependentsResponse, SolutionImportResponse, SolutionInstallResponse, SolutionListResponse, SolutionSummary, SolutionUpgradeResponse } from "../../types/common.js";
|
|
3
3
|
export declare class SolutionResource {
|
|
4
4
|
private http;
|
|
5
5
|
constructor(http: HttpClient);
|
|
@@ -293,6 +293,16 @@ export declare class SolutionResource {
|
|
|
293
293
|
content: ArrayBuffer;
|
|
294
294
|
mimeType: string;
|
|
295
295
|
}>;
|
|
296
|
+
/**
|
|
297
|
+
* Reconcile Customer Management product knowledge
|
|
298
|
+
* Recomputes every stamped customer's knowledge-search source allowlist
|
|
299
|
+
* from the template-resolved customer refs plus the install's current marked
|
|
300
|
+
* product-knowledge sources. Safe to retry; partial failures are returned by
|
|
301
|
+
* customer key rather than hidden behind an aggregate success.
|
|
302
|
+
* @param solution - Installed Customer Management Solution config (`cfg_...`) to reconcile.
|
|
303
|
+
* @returns Per-customer convergence result for this installed solution.
|
|
304
|
+
*/
|
|
305
|
+
reconcileProductKnowledge(solution: string): Promise<ProductKnowledgeReconcileResponse>;
|
|
296
306
|
/**
|
|
297
307
|
* Upgrade an installed Solution
|
|
298
308
|
* Applies an incoming bundle to an already-installed Solution in a single atomic
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solutions.d.ts","sourceRoot":"","sources":["../../../src/v1/resources/solutions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,KAAK,EAAE,0BAA0B,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"solutions.d.ts","sourceRoot":"","sources":["../../../src/v1/resources/solutions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,KAAK,EAAE,iCAAiC,EAAE,0BAA0B,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAE5N,qBAAa,gBAAgB;IACf,OAAO,CAAC,IAAI;gBAAJ,IAAI,EAAE,UAAU;IAEpC;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACG,IAAI,CAAC,MAAM,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,GAAG,OAA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,SAAS,CAAC;gBAAC,KAAK,CAAC,EAAE;oBAAE,OAAO,EAAE,MAAM,CAAC;oBAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;oBAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;oBAAC,aAAa,EAAE,MAAM,CAAA;iBAAE,EAAE,GAAG,SAAS,CAAC;gBAAC,UAAU,EAAE,MAAM,CAAA;aAAE,CAAC;YAAC,QAAQ,CAAC,EAAE;gBAAE,OAAO,EAAE,MAAM,CAAC;gBAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;gBAAC,aAAa,EAAE,MAAM,CAAA;aAAE,GAAG,SAAS,CAAC;YAAC,SAAS,CAAC,EAAE;gBAAE,OAAO,EAAE,MAAM,CAAC;gBAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;gBAAC,aAAa,EAAE,MAAM,CAAA;aAAE,EAAE,GAAG,SAAS,CAAA;SAAE,GAAG,SAAS,CAAC;QAAC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAI93C;;;;;;;;;;;;;;;;;OAiBG;IACG,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAGvF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
|
|
2
2
|
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
-
// Content hash:
|
|
3
|
+
// Content hash: 3dea17a19fa8
|
|
4
4
|
export class SolutionResource {
|
|
5
5
|
http;
|
|
6
6
|
constructor(http) {
|
|
@@ -231,6 +231,18 @@ export class SolutionResource {
|
|
|
231
231
|
}
|
|
232
232
|
return this.http.requestRaw(`/api/v1/solutions/${solution}/readme`, { query });
|
|
233
233
|
}
|
|
234
|
+
/**
|
|
235
|
+
* Reconcile Customer Management product knowledge
|
|
236
|
+
* Recomputes every stamped customer's knowledge-search source allowlist
|
|
237
|
+
* from the template-resolved customer refs plus the install's current marked
|
|
238
|
+
* product-knowledge sources. Safe to retry; partial failures are returned by
|
|
239
|
+
* customer key rather than hidden behind an aggregate success.
|
|
240
|
+
* @param solution - Installed Customer Management Solution config (`cfg_...`) to reconcile.
|
|
241
|
+
* @returns Per-customer convergence result for this installed solution.
|
|
242
|
+
*/
|
|
243
|
+
async reconcileProductKnowledge(solution) {
|
|
244
|
+
return this.http.request(`/api/v1/solutions/${solution}/reconcile_product_knowledge`, { method: "POST" });
|
|
245
|
+
}
|
|
234
246
|
/**
|
|
235
247
|
* Upgrade an installed Solution
|
|
236
248
|
* Applies an incoming bundle to an already-installed Solution in a single atomic
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solutions.js","sourceRoot":"","sources":["../../../src/v1/resources/solutions.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAK7B,MAAM,OAAO,gBAAgB;IACP;IAApB,YAAoB,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;IAAG,CAAC;IAExC;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,KAAK,CAAC,IAAI,CAAC,MAAyG;QAClH,MAAM,KAAK,GAA6F,EAAE,CAAC;QAC3G,IAAI,MAAM,EAAE,IAAI,KAAK,SAAS,EAAE,CAAC;YAC/B,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,EAAE,IAAI,CAAC;QAC/B,CAAC;QACD,IAAI,MAAM,EAAE,QAAQ,KAAK,SAAS,EAAE,CAAC;YACnC,KAAK,CAAC,WAAW,CAAC,GAAG,MAAM,EAAE,QAAQ,CAAC;QACxC,CAAC;QACD,IAAI,MAAM,EAAE,SAAS,KAAK,SAAS,EAAE,CAAC;YACpC,KAAK,CAAC,YAAY,C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