@scalemule/sdk 0.0.63 → 0.0.67
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.d.mts +353 -2
- package/dist/index.d.ts +353 -2
- package/dist/index.js +173 -1
- package/dist/index.mjs +168 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -36,6 +36,28 @@ type ApiError = {
|
|
|
36
36
|
status: number;
|
|
37
37
|
/** Additional context (field errors, retryAfter, etc.) */
|
|
38
38
|
details?: Record<string, unknown>;
|
|
39
|
+
/**
|
|
40
|
+
* Name of the input field this error is about, when the backend
|
|
41
|
+
* attributes it to one (e.g., 'email'). Used by ScaleMule Signals to
|
|
42
|
+
* route the message to the owning form control instead of a toast.
|
|
43
|
+
*/
|
|
44
|
+
field?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Correlation id for this request. Taken from the response envelope
|
|
47
|
+
* (`meta.request_id`) and falling back to the `x-request-id` response
|
|
48
|
+
* header echoed by the gateway.
|
|
49
|
+
*/
|
|
50
|
+
requestId?: string;
|
|
51
|
+
/** Distributed-trace id, when the backend supplies `meta.trace_id`. */
|
|
52
|
+
traceId?: string;
|
|
53
|
+
/** Backend hint that retrying the same request may succeed. */
|
|
54
|
+
retryable?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* The raw `error` object from the response body, unmodified. Escape hatch
|
|
57
|
+
* for consumers (such as `@scalemule/signals` `fromError`) that need
|
|
58
|
+
* fields the SDK does not model yet.
|
|
59
|
+
*/
|
|
60
|
+
problem?: unknown;
|
|
39
61
|
};
|
|
40
62
|
/**
|
|
41
63
|
* Paginated response envelope.
|
|
@@ -777,7 +799,6 @@ interface DirectoryUserDetail {
|
|
|
777
799
|
created_at: string;
|
|
778
800
|
locale?: string;
|
|
779
801
|
time_zone?: string;
|
|
780
|
-
external_role?: string;
|
|
781
802
|
auth_methods: string[];
|
|
782
803
|
}
|
|
783
804
|
interface DirectoryUsersListResponse {
|
|
@@ -4277,6 +4298,226 @@ declare class SchedulerService extends ServiceModule {
|
|
|
4277
4298
|
getStats(jobId: string, options?: RequestOptions): Promise<ApiResponse<JobStats>>;
|
|
4278
4299
|
}
|
|
4279
4300
|
|
|
4301
|
+
/**
|
|
4302
|
+
* Decisions Service Module — ScaleMule Business Logic Plane
|
|
4303
|
+
*
|
|
4304
|
+
* Deterministic, explainable business decisions evaluated on the tenant's
|
|
4305
|
+
* active sealed release. Evaluation returns proposed actions and a signed
|
|
4306
|
+
* receipt; it never dispatches side effects.
|
|
4307
|
+
*
|
|
4308
|
+
* Routes (gateway prefix /v1/decisions, evaluate role):
|
|
4309
|
+
* POST /evaluate/{key} → evaluate one decision
|
|
4310
|
+
* POST /evaluate/batch → up to 100 evaluations
|
|
4311
|
+
* GET /receipts/{id} → signed receipt (audience-gated)
|
|
4312
|
+
* POST /receipts/{id}/verify → verify with the receipt-ring public keys
|
|
4313
|
+
*
|
|
4314
|
+
* Workspace scope: pass `headers: { 'x-requested-account-id': accountId }`
|
|
4315
|
+
* (the gateway validates membership and forwards the effective account),
|
|
4316
|
+
* the same convention as other account-scoped services.
|
|
4317
|
+
*/
|
|
4318
|
+
|
|
4319
|
+
type DecisionOutcome = 'value' | 'denied' | 'unavailable';
|
|
4320
|
+
type DecisionTraceLevel = 'none' | 'summary' | 'full';
|
|
4321
|
+
interface DecisionEvaluateOptions {
|
|
4322
|
+
/** Trace verbosity (audience `max_trace` still applies). */
|
|
4323
|
+
trace?: DecisionTraceLevel;
|
|
4324
|
+
/**
|
|
4325
|
+
* Idempotency key: the same key + same inputs replays the stored receipt
|
|
4326
|
+
* (`replayed: true`); the same key with different inputs is a 409
|
|
4327
|
+
* `IDEMPOTENCY_KEY_REUSED`.
|
|
4328
|
+
*/
|
|
4329
|
+
idempotency_key?: string;
|
|
4330
|
+
}
|
|
4331
|
+
interface DecisionReceipt {
|
|
4332
|
+
id: string;
|
|
4333
|
+
content_hash: string;
|
|
4334
|
+
/** Ed25519 signature, hex, over `SM-DECISION-RECEIPT-v1\0` + content_hash. */
|
|
4335
|
+
signature: string;
|
|
4336
|
+
signature_kid: string;
|
|
4337
|
+
issued_at: string;
|
|
4338
|
+
expires_at: string;
|
|
4339
|
+
has_snapshot: boolean;
|
|
4340
|
+
/** The exact signed document — pass it whole to domain services (bookings). */
|
|
4341
|
+
signed_document: Record<string, unknown>;
|
|
4342
|
+
}
|
|
4343
|
+
interface DecisionVersions {
|
|
4344
|
+
release_id: string;
|
|
4345
|
+
release_number?: number;
|
|
4346
|
+
activation_version?: number;
|
|
4347
|
+
registry_revision: number;
|
|
4348
|
+
schema_revision: number;
|
|
4349
|
+
artifact_hash: string;
|
|
4350
|
+
compiler_version: string;
|
|
4351
|
+
evaluator_semantics_version: string;
|
|
4352
|
+
ir_version?: string;
|
|
4353
|
+
}
|
|
4354
|
+
interface DecisionProposedAction {
|
|
4355
|
+
action_key: string;
|
|
4356
|
+
params: Record<string, unknown>;
|
|
4357
|
+
}
|
|
4358
|
+
interface DecisionResult<TValue = unknown> {
|
|
4359
|
+
decision_key: string;
|
|
4360
|
+
outcome: DecisionOutcome;
|
|
4361
|
+
value: TValue | null;
|
|
4362
|
+
reason_codes: string[];
|
|
4363
|
+
violations: {
|
|
4364
|
+
rule_key: string;
|
|
4365
|
+
reason_codes: string[];
|
|
4366
|
+
}[];
|
|
4367
|
+
recommendations: {
|
|
4368
|
+
rule_key: string;
|
|
4369
|
+
reason_codes: string[];
|
|
4370
|
+
}[];
|
|
4371
|
+
proposed_actions: DecisionProposedAction[];
|
|
4372
|
+
versions: DecisionVersions;
|
|
4373
|
+
facts_hash: string;
|
|
4374
|
+
fact_sources: Record<string, string>;
|
|
4375
|
+
trace: Record<string, unknown> | null;
|
|
4376
|
+
receipt: DecisionReceipt | null;
|
|
4377
|
+
record_class: string;
|
|
4378
|
+
replayed: boolean;
|
|
4379
|
+
diverged: boolean;
|
|
4380
|
+
latency_us: number;
|
|
4381
|
+
resolve_us: number;
|
|
4382
|
+
}
|
|
4383
|
+
interface DecisionBatchItem {
|
|
4384
|
+
decision_key: string;
|
|
4385
|
+
inputs: Record<string, unknown>;
|
|
4386
|
+
options?: DecisionEvaluateOptions;
|
|
4387
|
+
}
|
|
4388
|
+
interface DecisionBatchResult {
|
|
4389
|
+
decision_key: string;
|
|
4390
|
+
success: boolean;
|
|
4391
|
+
data?: DecisionResult;
|
|
4392
|
+
error?: string;
|
|
4393
|
+
}
|
|
4394
|
+
/** `appointment.deposit` (home_services pack) result value. */
|
|
4395
|
+
interface AppointmentDepositValue {
|
|
4396
|
+
required: boolean;
|
|
4397
|
+
percent_bps: number;
|
|
4398
|
+
amount_minor: number;
|
|
4399
|
+
}
|
|
4400
|
+
interface ReceiptVerification {
|
|
4401
|
+
receipt_id: string;
|
|
4402
|
+
verified: boolean;
|
|
4403
|
+
error: string | null;
|
|
4404
|
+
content_hash: string;
|
|
4405
|
+
signature_kid: string;
|
|
4406
|
+
expired: boolean;
|
|
4407
|
+
}
|
|
4408
|
+
declare class DecisionsService extends ServiceModule {
|
|
4409
|
+
protected basePath: string;
|
|
4410
|
+
/**
|
|
4411
|
+
* Evaluate a decision on the tenant's active release.
|
|
4412
|
+
*
|
|
4413
|
+
* @example
|
|
4414
|
+
* const { data } = await sm.decisions.evaluate<AppointmentDepositValue>(
|
|
4415
|
+
* 'appointment.deposit',
|
|
4416
|
+
* { appointment: { quote_id }, customer: { ref: customerRef } },
|
|
4417
|
+
* { idempotency_key: `event:${eventId}` },
|
|
4418
|
+
* { headers: { 'x-requested-account-id': accountId } },
|
|
4419
|
+
* );
|
|
4420
|
+
*/
|
|
4421
|
+
evaluate<TValue = unknown>(decisionKey: string, inputs: Record<string, unknown>, options?: DecisionEvaluateOptions, requestOptions?: RequestOptions): Promise<ApiResponse<DecisionResult<TValue>>>;
|
|
4422
|
+
/** Evaluate up to 100 decisions in one call (per-item success/error). */
|
|
4423
|
+
evaluateBatch(items: DecisionBatchItem[], requestOptions?: RequestOptions): Promise<ApiResponse<DecisionBatchResult[]>>;
|
|
4424
|
+
/** Fetch a stored receipt (end users only see their own). */
|
|
4425
|
+
getReceipt(receiptId: string, requestOptions?: RequestOptions): Promise<ApiResponse<Record<string, unknown>>>;
|
|
4426
|
+
/** Server-side verification of a stored receipt against the receipt ring. */
|
|
4427
|
+
verifyReceipt(receiptId: string, requestOptions?: RequestOptions): Promise<ApiResponse<ReceiptVerification>>;
|
|
4428
|
+
}
|
|
4429
|
+
|
|
4430
|
+
/**
|
|
4431
|
+
* Bookings Service Module — quotes, customer stats and booking completion
|
|
4432
|
+
* (the appointment system of record for Business Logic Plane decisions).
|
|
4433
|
+
*
|
|
4434
|
+
* Routes (gateway prefix /v1/bookings):
|
|
4435
|
+
* POST /quotes → create an offered quote (workspace-scoped)
|
|
4436
|
+
* GET /quotes/{id} → get a quote
|
|
4437
|
+
* POST /quotes/{id}/accept → accept with a verified `appointment.deposit` receipt
|
|
4438
|
+
* GET /customers/{ref}/stats → customer stats projection
|
|
4439
|
+
* POST /dashboard/bookings/{id}/complete → mark completed (host/admin; updates stats)
|
|
4440
|
+
* POST /dashboard/bookings/{id}/no-show → mark no-show (host/admin; updates stats)
|
|
4441
|
+
*
|
|
4442
|
+
* Workspace scope: pass `headers: { 'x-requested-account-id': accountId }`.
|
|
4443
|
+
*/
|
|
4444
|
+
|
|
4445
|
+
type QuoteState = 'draft' | 'offered' | 'accepted' | 'expired' | 'cancelled';
|
|
4446
|
+
interface CreateQuoteInput {
|
|
4447
|
+
/** Customer-space / user reference (opaque; also `customer.ref` for decisions). */
|
|
4448
|
+
customer_ref: string;
|
|
4449
|
+
total_minor: number;
|
|
4450
|
+
/** ISO-4217. */
|
|
4451
|
+
currency: string;
|
|
4452
|
+
event_type_id?: string;
|
|
4453
|
+
location_ref?: string;
|
|
4454
|
+
expires_at?: string;
|
|
4455
|
+
metadata?: Record<string, unknown>;
|
|
4456
|
+
}
|
|
4457
|
+
interface QuoteDeposit {
|
|
4458
|
+
required: boolean;
|
|
4459
|
+
amount_minor: number;
|
|
4460
|
+
percent_bps: number;
|
|
4461
|
+
currency: string;
|
|
4462
|
+
receipt_id: string;
|
|
4463
|
+
receipt_hash: string;
|
|
4464
|
+
decided_at: string;
|
|
4465
|
+
}
|
|
4466
|
+
interface Quote {
|
|
4467
|
+
id: string;
|
|
4468
|
+
account_id: string;
|
|
4469
|
+
event_type_id: string | null;
|
|
4470
|
+
customer_ref: string;
|
|
4471
|
+
location_ref: string | null;
|
|
4472
|
+
total_minor: number;
|
|
4473
|
+
currency: string;
|
|
4474
|
+
state: QuoteState;
|
|
4475
|
+
expires_at: string | null;
|
|
4476
|
+
version: number;
|
|
4477
|
+
decision_receipt_id: string | null;
|
|
4478
|
+
decision_receipt_hash: string | null;
|
|
4479
|
+
metadata: (Record<string, unknown> & {
|
|
4480
|
+
deposit?: QuoteDeposit;
|
|
4481
|
+
}) | null;
|
|
4482
|
+
created_at: string;
|
|
4483
|
+
updated_at: string;
|
|
4484
|
+
}
|
|
4485
|
+
interface AcceptQuoteInput {
|
|
4486
|
+
/** The quote version last seen (optimistic concurrency). */
|
|
4487
|
+
expected_version: number;
|
|
4488
|
+
/** The `receipt` object returned by `sm.decisions.evaluate('appointment.deposit', …)`. */
|
|
4489
|
+
decision_receipt: Pick<DecisionReceipt, 'id' | 'content_hash' | 'signature' | 'signature_kid' | 'signed_document'>;
|
|
4490
|
+
}
|
|
4491
|
+
interface CustomerStats {
|
|
4492
|
+
customer_ref: string;
|
|
4493
|
+
completed_count: number;
|
|
4494
|
+
no_show_count: number;
|
|
4495
|
+
cancelled_count: number;
|
|
4496
|
+
last_completed_at: string | null;
|
|
4497
|
+
}
|
|
4498
|
+
interface BookingCompletionResult {
|
|
4499
|
+
ok: boolean;
|
|
4500
|
+
status: 'completed' | 'no_show';
|
|
4501
|
+
customer_stats: CustomerStats | null;
|
|
4502
|
+
}
|
|
4503
|
+
declare class BookingsService extends ServiceModule {
|
|
4504
|
+
protected basePath: string;
|
|
4505
|
+
/** Create an offered quote for a customer in the active workspace. */
|
|
4506
|
+
createQuote(input: CreateQuoteInput, requestOptions?: RequestOptions): Promise<ApiResponse<Quote>>;
|
|
4507
|
+
getQuote(quoteId: string, requestOptions?: RequestOptions): Promise<ApiResponse<Quote>>;
|
|
4508
|
+
/**
|
|
4509
|
+
* Accept a quote with a verified deposit receipt. Bookings re-verifies the
|
|
4510
|
+
* receipt signature and binding server-side and commits the receipt id/hash
|
|
4511
|
+
* and deposit on the quote.
|
|
4512
|
+
*/
|
|
4513
|
+
acceptQuote(quoteId: string, input: AcceptQuoteInput, requestOptions?: RequestOptions): Promise<ApiResponse<Quote>>;
|
|
4514
|
+
getCustomerStats(customerRef: string, requestOptions?: RequestOptions): Promise<ApiResponse<CustomerStats>>;
|
|
4515
|
+
/** Host/admin: mark a booking completed (maintains the customer stats projection). */
|
|
4516
|
+
completeBooking(bookingId: string, reason?: string, requestOptions?: RequestOptions): Promise<ApiResponse<BookingCompletionResult>>;
|
|
4517
|
+
/** Host/admin: mark a booking as a no-show (maintains the customer stats projection). */
|
|
4518
|
+
markNoShow(bookingId: string, reason?: string, requestOptions?: RequestOptions): Promise<ApiResponse<BookingCompletionResult>>;
|
|
4519
|
+
}
|
|
4520
|
+
|
|
4280
4521
|
/**
|
|
4281
4522
|
* Permissions Service Module
|
|
4282
4523
|
*
|
|
@@ -4842,6 +5083,113 @@ declare class ListingsService extends ServiceModule {
|
|
|
4842
5083
|
getListing(id: string): Promise<ApiResponse<Listing>>;
|
|
4843
5084
|
}
|
|
4844
5085
|
|
|
5086
|
+
/**
|
|
5087
|
+
* Polls Service Module
|
|
5088
|
+
*
|
|
5089
|
+
* Reader polls for any ScaleMule application. A poll can carry text, an image,
|
|
5090
|
+
* a video, or audio on the question and on each choice. Totals are public.
|
|
5091
|
+
* One account, or one device voter key, holds one ballot and may change it.
|
|
5092
|
+
*
|
|
5093
|
+
* Routes:
|
|
5094
|
+
* POST /manage → create
|
|
5095
|
+
* GET /manage → list, including drafts
|
|
5096
|
+
* GET /manage/{id} → staff read
|
|
5097
|
+
* PATCH /manage/{id} → update
|
|
5098
|
+
* POST /manage/{id}/publish → open
|
|
5099
|
+
* POST /manage/{id}/close → close
|
|
5100
|
+
* GET /public → published polls
|
|
5101
|
+
* GET /public/{slug} → one published poll
|
|
5102
|
+
* POST /public/{slug}/votes → cast or change a ballot
|
|
5103
|
+
*/
|
|
5104
|
+
|
|
5105
|
+
type PollMediaKind = 'text' | 'image' | 'video' | 'audio';
|
|
5106
|
+
type PollBallot = 'account' | 'key';
|
|
5107
|
+
type PollStatus = 'draft' | 'open' | 'closed' | 'archived';
|
|
5108
|
+
interface PollMedia {
|
|
5109
|
+
kind: PollMediaKind;
|
|
5110
|
+
url?: string;
|
|
5111
|
+
text?: string;
|
|
5112
|
+
alt?: string;
|
|
5113
|
+
storage_id?: string;
|
|
5114
|
+
duration_ms?: number;
|
|
5115
|
+
}
|
|
5116
|
+
interface PollChoiceInput {
|
|
5117
|
+
id: string;
|
|
5118
|
+
label: string;
|
|
5119
|
+
media?: PollMedia[];
|
|
5120
|
+
}
|
|
5121
|
+
interface PollChoice extends PollChoiceInput {
|
|
5122
|
+
media: PollMedia[];
|
|
5123
|
+
votes: number;
|
|
5124
|
+
}
|
|
5125
|
+
interface Poll {
|
|
5126
|
+
id: string;
|
|
5127
|
+
slug: string;
|
|
5128
|
+
question: string;
|
|
5129
|
+
description?: string;
|
|
5130
|
+
media: PollMedia[];
|
|
5131
|
+
choices: PollChoice[];
|
|
5132
|
+
ballot: PollBallot;
|
|
5133
|
+
status: PollStatus;
|
|
5134
|
+
opens_at?: string;
|
|
5135
|
+
closes_at?: string;
|
|
5136
|
+
subject_type?: string;
|
|
5137
|
+
subject_id?: string;
|
|
5138
|
+
total_votes: number;
|
|
5139
|
+
votable: boolean;
|
|
5140
|
+
my_choice_id?: string;
|
|
5141
|
+
}
|
|
5142
|
+
interface CreatePollInput {
|
|
5143
|
+
slug: string;
|
|
5144
|
+
question: string;
|
|
5145
|
+
description?: string;
|
|
5146
|
+
media?: PollMedia[];
|
|
5147
|
+
choices: PollChoiceInput[];
|
|
5148
|
+
ballot?: PollBallot;
|
|
5149
|
+
opens_at?: string;
|
|
5150
|
+
closes_at?: string;
|
|
5151
|
+
subject_type?: string;
|
|
5152
|
+
subject_id?: string;
|
|
5153
|
+
}
|
|
5154
|
+
interface UpdatePollInput {
|
|
5155
|
+
question?: string;
|
|
5156
|
+
description?: string;
|
|
5157
|
+
media?: PollMedia[];
|
|
5158
|
+
choices?: PollChoiceInput[];
|
|
5159
|
+
opens_at?: string;
|
|
5160
|
+
closes_at?: string;
|
|
5161
|
+
subject_type?: string;
|
|
5162
|
+
subject_id?: string;
|
|
5163
|
+
clear_description?: boolean;
|
|
5164
|
+
clear_schedule?: boolean;
|
|
5165
|
+
clear_subject?: boolean;
|
|
5166
|
+
}
|
|
5167
|
+
interface PollListOptions {
|
|
5168
|
+
status?: PollStatus;
|
|
5169
|
+
subject_type?: string;
|
|
5170
|
+
subject_id?: string;
|
|
5171
|
+
limit?: number;
|
|
5172
|
+
voter_key?: string;
|
|
5173
|
+
}
|
|
5174
|
+
declare class PollsService extends ServiceModule {
|
|
5175
|
+
protected basePath: string;
|
|
5176
|
+
create(data: CreatePollInput, options?: RequestOptions): Promise<ApiResponse<Poll>>;
|
|
5177
|
+
list(params?: PollListOptions, options?: RequestOptions): Promise<ApiResponse<Poll[]>>;
|
|
5178
|
+
get(id: string, options?: RequestOptions): Promise<ApiResponse<Poll>>;
|
|
5179
|
+
update(id: string, data: UpdatePollInput, options?: RequestOptions): Promise<ApiResponse<Poll>>;
|
|
5180
|
+
publish(id: string, options?: RequestOptions): Promise<ApiResponse<Poll>>;
|
|
5181
|
+
close(id: string, options?: RequestOptions): Promise<ApiResponse<Poll>>;
|
|
5182
|
+
listPublic(params?: PollListOptions, options?: RequestOptions): Promise<ApiResponse<Poll[]>>;
|
|
5183
|
+
getPublic(slug: string, params?: {
|
|
5184
|
+
voter_key?: string;
|
|
5185
|
+
}, options?: RequestOptions): Promise<ApiResponse<Poll>>;
|
|
5186
|
+
vote(slug: string, choiceId: string, voterKey?: string, options?: RequestOptions): Promise<ApiResponse<Poll>>;
|
|
5187
|
+
}
|
|
5188
|
+
/** Stable ASCII voter key for `ballot: "key"` polls. Pass it to getPublic and vote. */
|
|
5189
|
+
declare function pollVoterKey(storage?: Pick<Storage, 'getItem' | 'setItem'>): string;
|
|
5190
|
+
/** Whole-number percent from a choice count. The last displayed point can be short of 100. */
|
|
5191
|
+
declare function pollSharePercent(votes: number, total: number): number;
|
|
5192
|
+
|
|
4845
5193
|
/**
|
|
4846
5194
|
* Events Service Module
|
|
4847
5195
|
*
|
|
@@ -7321,6 +7669,8 @@ declare class ScaleMule {
|
|
|
7321
7669
|
readonly communication: CommunicationService;
|
|
7322
7670
|
readonly notifications: NotificationsService;
|
|
7323
7671
|
readonly scheduler: SchedulerService;
|
|
7672
|
+
readonly decisions: DecisionsService;
|
|
7673
|
+
readonly bookings: BookingsService;
|
|
7324
7674
|
readonly permissions: PermissionsService;
|
|
7325
7675
|
readonly workspaces: WorkspacesService;
|
|
7326
7676
|
/** @deprecated Use `workspaces` instead */
|
|
@@ -7335,6 +7685,7 @@ declare class ScaleMule {
|
|
|
7335
7685
|
readonly webhooks: WebhooksService;
|
|
7336
7686
|
readonly leaderboard: LeaderboardService;
|
|
7337
7687
|
readonly listings: ListingsService;
|
|
7688
|
+
readonly polls: PollsService;
|
|
7338
7689
|
readonly events: EventsService;
|
|
7339
7690
|
readonly graph: GraphService;
|
|
7340
7691
|
readonly functions: FunctionsService;
|
|
@@ -7416,4 +7767,4 @@ declare class ScaleMule {
|
|
|
7416
7767
|
getClient(): ScaleMuleClient;
|
|
7417
7768
|
}
|
|
7418
7769
|
|
|
7419
|
-
export { type AccountBalance, type AccountSwitcherPrivacy, AccountsService, type ActiveUsers, type ActivityItem, AgentAuthService, AgentModelsService, type AgentProfile, AgentProjectsService, type AgentResponse, type AgentSecurityPolicy, AgentSessionsService, type AgentSigningKey, type AgentToken, type AgentToolEntitlement, AgentToolsService, type Workspace as AgentWorkspace, AgentsService, type AggregateOptions, type AggregateResult, type AnalyticsEvent, AnalyticsService, type ApiError, type ApiKey, type ApiResponse, type Appeal, type Application, type Attachment, type Attendee, type AudioRegisterResult, AudioService, type AudioUploadViaStorageResult, type AuditLog, type AuthRegisterAgentRequest, type AuthRegisterAgentResponse, AuthService, type AuthSession, type AuthUser, type BackupCodes, BillingService, type CacheEntry, CacheService, type CalendarEvent, type CallParticipant, type CallSession, type CatalogEntry, CatalogService, type ChatMessage, type ChatReaction, ChatService, type ClaimResult, type Client, type ClientContext, type Collection, type Comment, CommunicationService, type CompletedPart, ComplianceService, type CompressionConfig, ConferenceService, type ConferenceSettings, type ConnectedAccount, type ConnectedAccountSubscription, type ConnectedSetupIntentResponse, type ConnectedSubscriptionListParams, type ConnectionStatus, type ContentFlag, type ContentPolicy, type Conversation, type CostReportDay, type CreateProjectInput as CreateCreatorProjectInput, type CreateFlagRequest, type CreateLeadInput, type CreateRuleRequest, type CreateSegmentRequest, type CreateSessionResponse, type CreateVariantRequest, type GenerationJob as CreatorJob, CreatorMakerService, type GenerationOutput as CreatorOutput, type CreatorProject, type CreatorUsage, type Credential, type CredentialScope, type Customer, type DataAccessPolicy, type DataExport, DataService, type DataSource, type DeadLetterJob, type DeviceInfo, type DirectoryUser, type DirectoryUserDetail, type DirectoryUsersListResponse, type Document, type ErrorCode, ErrorCodes, type EventAggregation, EventsService, type FileInfo, type FileStatus, type FlagAuditEntry, type FlagCheck, type FlagCondition, FlagContentService, type FlagDefinition, type FlagDetail, type FlagEnvironment, type FlagEvaluation, type FlagSegment, type FlagVariant, FlagsService, type FollowStatus, type FunctionExecution, type FunctionMetrics, FunctionsService, type Funnel, type FunnelConversion, type GdprRequest, type GenerateInput, type GrantInfo, type GraphEdge, type GraphNode, GraphService, IdentityService, type IdentityType, type IncomingRequestLike, type Invoice, type JobExecution, type JobStats, type JoinCallResponse, type KnownAccount, type KnownAccountDisplay, LEGACY_ANONYMOUS_ID_KEYS, type Lead, type Leaderboard, type LeaderboardEntry, LeaderboardService, LeadsService, type Like, type ListNotificationsParams, type Listing, ListingsService, type LogEntry, type LogInput, type LogQueryParams, type LogQueryResponse, type LogRecord, LoggerService, type LoginActivitySummary, type LoginDeviceInfo, type LoginHistoryEntry, type LoginRiskInfo, MEDIA_PRESETS, type MediaAsset, type MediaKind, type MediaManifest, type MediaManifestOptions, type MediaPolicy, type MediaPreset, type MediaPresetSpec, MediaService, type MediaUploadEvent, type MediaUploadOptions, type MediaUploadPhase, type MediaUploadResult, type MessageCallback, type MessagePin, type MessageStatus, type MetricDataPoint, type MfaStatus, type Model, type ModelEntitlement, type ModelPricing, type ModelProvider, type UsageSummary as ModelUsageSummary, type MultipartCompleteResponse, type MultipartConfig, type MultipartPartUrl, type MultipartPartUrlsResponse, type MultipartStartResponse, type NetworkClass, type Notification, type NotificationListResponse, NotificationsService, type OAuthProvider, type OAuthUrl, OrchestratorService, PHOTO_BREAKPOINTS, type PaginatedResponse, type PaginationMetadata, type PaginationParams, type PartResult, type PartUrl, type Participant, type Payment, type PaymentListParams, type PaymentMethod, type PaymentStatusResponse, type Payout, type PayoutSchedule, type PermissionCheck, type PermissionMatrix, PermissionsService, type PhotoInfo, PhotoService, type PinnedMessagesResponse, type Pipeline, type PipelineVersion, type Policy, type PresenceCallback, type PresenceEvent, type PresignedUploadResponse, type Price, type Product, type Project, type ProjectDocument, type ProjectGrant, type ProjectMember, type PushApiFetcher, type PushPreferences, type PushSettings, type PushSubscriptionInfo, type PushToken, type PushTokenAssociationResult, type PushTopic, type QueryFilter, type QueryOptions, type QuerySort, type QueueJob, QueueService, type ReadStatus, RealtimeService, type RedeemResult, type ReferralAnalytics, type ReferralCampaign, type ReferralProfile, type ReferralStats, ReferralsService, type Refund, type RegisterAgentRequest, type RegisterAgentResponse, type RegisterPushTokenData, type RequestOptions, type ResolvedReferral, type ResumeSession, type Role, type RuntimeTemplate, type RuntimeTemplateVersion, type S3MultipartOptions, type S3MultipartResult, type S3SingleUploadOptions, type S3SingleUploadResult, type S3UploadProgress, STORAGE_KEYS, ScaleMule, ScaleMuleClient, type ScaleMuleConfig, type SchedulerJob, SchedulerService, type SearchResult, SearchService, type SearchUsersParams, type SecurityLayers, type ServerlessFunction, type ServiceHealth, ServiceModule, type Session, type SessionArtifact, type SessionInfo, type SessionLog, type SessionPoolEntry, type Severity, type ShareLink, type ShortestPathResult, type SignedUrlResponse, type SocialPolicyAction, type SocialPolicyBatchDecisionItem, type SocialPolicyBatchDecisionRequest, type SocialPolicyBatchDecisionResponse, type SocialPolicyBatchDecisionTarget, type SocialPolicyBlockRequest, type SocialPolicyContactRequest, type SocialPolicyContactRequestListItem, type SocialPolicyContactRequestQuery, type SocialPolicyContactRequestRequest, type SocialPolicyContext, type SocialPolicyDecision, type SocialPolicyDecisionLimits, type SocialPolicyDecisionRequest, type SocialPolicyDecisionResponse, type SocialPolicyIdentity, type SocialPolicyIdentityType, type SocialPolicyMuteRequest, type SocialPolicyPolicyPack, type SocialPolicyRelationship, type SocialPolicyRelationshipQuery, type SocialPolicyRelationshipRequest, type SocialPolicyReportRequest, SocialPolicyService, type SocialPolicySettings, type SocialPolicyUnblockRequest, type SocialPolicyUpdateSettingsRequest, type SocialPost, SocialService, type SocialUser, type SsoConfig, type StatusCallback, type StorageAdapter, StorageService, type StorageSettings, type StrategyResult, type StylePreset, type SubmitResult, type Subscription, type TargetingRule, type Task, type TaskAttempt, type TaskTransition, type Team, type TeamInvitation, type TeamMember, TeamsService, type TelemetryPayload, type Tool, type ToolCapability, type ToolIntegration, type TopEvent, type TotpSetup, type Transaction, type TransactionListParams, type TransactionSummary, type TransactionSummaryParams, type Transfer, type TransformOptions, type TransformResult, type TraversalResult, type TtsAccessMode, type TtsAudioInfo, type TtsJobStatus, type TtsListVoicesParams, TtsService, type TtsSpeechMetadata, type TtsSpeechProfile, type TtsSynthesizeParams, type TtsSynthesizeQueuedResult, type TtsSynthesizeReadyResult, type TtsSynthesizeResult, type TtsVoice, type TtsVoicesResponse, type UnreadCountResponse, type UpdateFlagRequest, type UpdateRuleRequest, type UpdateSegmentRequest, type UpdateVariantRequest, type UploadCompleteResponse, type UploadEngineConfig, type UploadFailureReport, type UploadFailureReportResponse, type UploadOptions, type UploadPlan, UploadResumeStore, type UploadStrategy, UploadTelemetry, type UploadTelemetryConfig, type UploadTelemetryEvent, type UpsertEnvironmentRequest, type UsageRecord, type UsageSummary$1 as UsageSummary, type UserRank, type VideoInfo, VideoService, type VideoUploadOptions, type VoteState, WEB_PUSH_SERVICE_WORKER, WebPushManager, type WebPushManagerOptions, type WebPushSubscriptionData, type Webhook, WebhooksService, type WebrtcStats, type Workflow, type WorkflowExecution, type Workspace$1 as Workspace, type WorkspaceInvitation, type WorkspaceMember, WorkspacesService, buildClientContextHeaders, calculateTotalParts, canPerform, createUploadPlan, ScaleMule as default, detectNetworkClass, ensureAnonymousId, extractClientContext, generateAnonymousId, generateUploadSessionId, getMeasuredBandwidthMbps, getPartRange, hasMinRoleLevel, readAnonymousId, resolveStrategy, uploadMultipartToS3, uploadSingleToS3, validateIP };
|
|
7770
|
+
export { type AcceptQuoteInput, type AccountBalance, type AccountSwitcherPrivacy, AccountsService, type ActiveUsers, type ActivityItem, AgentAuthService, AgentModelsService, type AgentProfile, AgentProjectsService, type AgentResponse, type AgentSecurityPolicy, AgentSessionsService, type AgentSigningKey, type AgentToken, type AgentToolEntitlement, AgentToolsService, type Workspace as AgentWorkspace, AgentsService, type AggregateOptions, type AggregateResult, type AnalyticsEvent, AnalyticsService, type ApiError, type ApiKey, type ApiResponse, type Appeal, type Application, type AppointmentDepositValue, type Attachment, type Attendee, type AudioRegisterResult, AudioService, type AudioUploadViaStorageResult, type AuditLog, type AuthRegisterAgentRequest, type AuthRegisterAgentResponse, AuthService, type AuthSession, type AuthUser, type BackupCodes, BillingService, type BookingCompletionResult, BookingsService, type CacheEntry, CacheService, type CalendarEvent, type CallParticipant, type CallSession, type CatalogEntry, CatalogService, type ChatMessage, type ChatReaction, ChatService, type ClaimResult, type Client, type ClientContext, type Collection, type Comment, CommunicationService, type CompletedPart, ComplianceService, type CompressionConfig, ConferenceService, type ConferenceSettings, type ConnectedAccount, type ConnectedAccountSubscription, type ConnectedSetupIntentResponse, type ConnectedSubscriptionListParams, type ConnectionStatus, type ContentFlag, type ContentPolicy, type Conversation, type CostReportDay, type CreateProjectInput as CreateCreatorProjectInput, type CreateFlagRequest, type CreateLeadInput, type CreatePollInput, type CreateQuoteInput, type CreateRuleRequest, type CreateSegmentRequest, type CreateSessionResponse, type CreateVariantRequest, type GenerationJob as CreatorJob, CreatorMakerService, type GenerationOutput as CreatorOutput, type CreatorProject, type CreatorUsage, type Credential, type CredentialScope, type Customer, type CustomerStats, type DataAccessPolicy, type DataExport, DataService, type DataSource, type DeadLetterJob, type DecisionBatchItem, type DecisionBatchResult, type DecisionEvaluateOptions, type DecisionOutcome, type DecisionProposedAction, type DecisionReceipt, type DecisionResult, type DecisionTraceLevel, type DecisionVersions, DecisionsService, type DeviceInfo, type DirectoryUser, type DirectoryUserDetail, type DirectoryUsersListResponse, type Document, type ErrorCode, ErrorCodes, type EventAggregation, EventsService, type FileInfo, type FileStatus, type FlagAuditEntry, type FlagCheck, type FlagCondition, FlagContentService, type FlagDefinition, type FlagDetail, type FlagEnvironment, type FlagEvaluation, type FlagSegment, type FlagVariant, FlagsService, type FollowStatus, type FunctionExecution, type FunctionMetrics, FunctionsService, type Funnel, type FunnelConversion, type GdprRequest, type GenerateInput, type GrantInfo, type GraphEdge, type GraphNode, GraphService, IdentityService, type IdentityType, type IncomingRequestLike, type Invoice, type JobExecution, type JobStats, type JoinCallResponse, type KnownAccount, type KnownAccountDisplay, LEGACY_ANONYMOUS_ID_KEYS, type Lead, type Leaderboard, type LeaderboardEntry, LeaderboardService, LeadsService, type Like, type ListNotificationsParams, type Listing, ListingsService, type LogEntry, type LogInput, type LogQueryParams, type LogQueryResponse, type LogRecord, LoggerService, type LoginActivitySummary, type LoginDeviceInfo, type LoginHistoryEntry, type LoginRiskInfo, MEDIA_PRESETS, type MediaAsset, type MediaKind, type MediaManifest, type MediaManifestOptions, type MediaPolicy, type MediaPreset, type MediaPresetSpec, MediaService, type MediaUploadEvent, type MediaUploadOptions, type MediaUploadPhase, type MediaUploadResult, type MessageCallback, type MessagePin, type MessageStatus, type MetricDataPoint, type MfaStatus, type Model, type ModelEntitlement, type ModelPricing, type ModelProvider, type UsageSummary as ModelUsageSummary, type MultipartCompleteResponse, type MultipartConfig, type MultipartPartUrl, type MultipartPartUrlsResponse, type MultipartStartResponse, type NetworkClass, type Notification, type NotificationListResponse, NotificationsService, type OAuthProvider, type OAuthUrl, OrchestratorService, PHOTO_BREAKPOINTS, type PaginatedResponse, type PaginationMetadata, type PaginationParams, type PartResult, type PartUrl, type Participant, type Payment, type PaymentListParams, type PaymentMethod, type PaymentStatusResponse, type Payout, type PayoutSchedule, type PermissionCheck, type PermissionMatrix, PermissionsService, type PhotoInfo, PhotoService, type PinnedMessagesResponse, type Pipeline, type PipelineVersion, type Policy, type Poll, type PollBallot, type PollChoice, type PollChoiceInput, type PollListOptions, type PollMedia, type PollMediaKind, type PollStatus, PollsService, type PresenceCallback, type PresenceEvent, type PresignedUploadResponse, type Price, type Product, type Project, type ProjectDocument, type ProjectGrant, type ProjectMember, type PushApiFetcher, type PushPreferences, type PushSettings, type PushSubscriptionInfo, type PushToken, type PushTokenAssociationResult, type PushTopic, type QueryFilter, type QueryOptions, type QuerySort, type QueueJob, QueueService, type Quote, type QuoteDeposit, type QuoteState, type ReadStatus, RealtimeService, type ReceiptVerification, type RedeemResult, type ReferralAnalytics, type ReferralCampaign, type ReferralProfile, type ReferralStats, ReferralsService, type Refund, type RegisterAgentRequest, type RegisterAgentResponse, type RegisterPushTokenData, type RequestOptions, type ResolvedReferral, type ResumeSession, type Role, type RuntimeTemplate, type RuntimeTemplateVersion, type S3MultipartOptions, type S3MultipartResult, type S3SingleUploadOptions, type S3SingleUploadResult, type S3UploadProgress, STORAGE_KEYS, ScaleMule, ScaleMuleClient, type ScaleMuleConfig, type SchedulerJob, SchedulerService, type SearchResult, SearchService, type SearchUsersParams, type SecurityLayers, type ServerlessFunction, type ServiceHealth, ServiceModule, type Session, type SessionArtifact, type SessionInfo, type SessionLog, type SessionPoolEntry, type Severity, type ShareLink, type ShortestPathResult, type SignedUrlResponse, type SocialPolicyAction, type SocialPolicyBatchDecisionItem, type SocialPolicyBatchDecisionRequest, type SocialPolicyBatchDecisionResponse, type SocialPolicyBatchDecisionTarget, type SocialPolicyBlockRequest, type SocialPolicyContactRequest, type SocialPolicyContactRequestListItem, type SocialPolicyContactRequestQuery, type SocialPolicyContactRequestRequest, type SocialPolicyContext, type SocialPolicyDecision, type SocialPolicyDecisionLimits, type SocialPolicyDecisionRequest, type SocialPolicyDecisionResponse, type SocialPolicyIdentity, type SocialPolicyIdentityType, type SocialPolicyMuteRequest, type SocialPolicyPolicyPack, type SocialPolicyRelationship, type SocialPolicyRelationshipQuery, type SocialPolicyRelationshipRequest, type SocialPolicyReportRequest, SocialPolicyService, type SocialPolicySettings, type SocialPolicyUnblockRequest, type SocialPolicyUpdateSettingsRequest, type SocialPost, SocialService, type SocialUser, type SsoConfig, type StatusCallback, type StorageAdapter, StorageService, type StorageSettings, type StrategyResult, type StylePreset, type SubmitResult, type Subscription, type TargetingRule, type Task, type TaskAttempt, type TaskTransition, type Team, type TeamInvitation, type TeamMember, TeamsService, type TelemetryPayload, type Tool, type ToolCapability, type ToolIntegration, type TopEvent, type TotpSetup, type Transaction, type TransactionListParams, type TransactionSummary, type TransactionSummaryParams, type Transfer, type TransformOptions, type TransformResult, type TraversalResult, type TtsAccessMode, type TtsAudioInfo, type TtsJobStatus, type TtsListVoicesParams, TtsService, type TtsSpeechMetadata, type TtsSpeechProfile, type TtsSynthesizeParams, type TtsSynthesizeQueuedResult, type TtsSynthesizeReadyResult, type TtsSynthesizeResult, type TtsVoice, type TtsVoicesResponse, type UnreadCountResponse, type UpdateFlagRequest, type UpdatePollInput, type UpdateRuleRequest, type UpdateSegmentRequest, type UpdateVariantRequest, type UploadCompleteResponse, type UploadEngineConfig, type UploadFailureReport, type UploadFailureReportResponse, type UploadOptions, type UploadPlan, UploadResumeStore, type UploadStrategy, UploadTelemetry, type UploadTelemetryConfig, type UploadTelemetryEvent, type UpsertEnvironmentRequest, type UsageRecord, type UsageSummary$1 as UsageSummary, type UserRank, type VideoInfo, VideoService, type VideoUploadOptions, type VoteState, WEB_PUSH_SERVICE_WORKER, WebPushManager, type WebPushManagerOptions, type WebPushSubscriptionData, type Webhook, WebhooksService, type WebrtcStats, type Workflow, type WorkflowExecution, type Workspace$1 as Workspace, type WorkspaceInvitation, type WorkspaceMember, WorkspacesService, buildClientContextHeaders, calculateTotalParts, canPerform, createUploadPlan, ScaleMule as default, detectNetworkClass, ensureAnonymousId, extractClientContext, generateAnonymousId, generateUploadSessionId, getMeasuredBandwidthMbps, getPartRange, hasMinRoleLevel, pollSharePercent, pollVoterKey, readAnonymousId, resolveStrategy, uploadMultipartToS3, uploadSingleToS3, validateIP };
|