@collective-intelligence/external-apps-client-sdk 0.1.9 → 0.1.10
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.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as ResourceUpdateRequest, A as ResourceError, At as FederatedAuthOptions, B as ResourceListRequest, C as PortableResourceSchema, Ct as QueryFilter, D as ResourceCreateRequest, Dt as FederatedAuth, E as ResourceCreateInput, Et as ClientFetch, F as ResourceIdentityField, G as ResourceRecord, H as ResourceMutationInput, I as ResourceJsonValue, J as ResourceResult, K as ResourceRecordId, L as ResourceLifecycleInput, M as ResourceFilter, Mt as FederatedSessionIdentity, N as ResourceGetRequest, Nt as createFederatedAuth, O as ResourceCursor, Ot as FederatedAuthError, P as ResourceId, Q as ResourceTransportRequest, R as ResourceLifecycleRequest, S as IdempotencyKey, St as KnowledgeQuery, T as ResourceClient, Tt as WorkflowInvokeTarget, U as ResourcePagination, V as ResourceListResult, W as ResourcePaginationMode, X as ResourceSort, Y as ResourceRevision, Z as ResourceTransport, _ as EntityRequest, _t as isClientOperationId, a as createResourceClient, at as CiResult, b as EntityUploadInput, bt as ConversationHistory, c as EntityDeleteInput, ct as OperationSuccess, d as EntityFileWrite, dt as ClientOperationInput, et as ProxyAuthentication, f as EntityListQuery, ft as ClientOperationMap, g as EntityProtocol, gt as clientOperationIds, h as EntityPage, ht as TypedOperationExecutor, i as createEntityProtocol, it as CiErrorCode, j as ResourceErrorCode, jt as FederatedAuthState, k as ResourceDefinition, kt as FederatedAuthErrorCode, l as EntityFileFieldWrite, lt as ClientOperationDefinition, m as EntityOperationResult, mt as OperationExecutionOptions, n as EntityHttpTransportOptions, nt as createProxyTransport, o as EntityClient, ot as JsonValue, p as EntityOperation, pt as ClientOperationOutput, q as ResourceRequestOptions, r as createEntityHttpTransport, rt as CiError, s as EntityCreateInput, st as OperationRequest, t as EntityHttpDestination, tt as ProxyTransportOptions, u as EntityFileValue, ut as ClientOperationId, v as EntityTransport, vt as AgentInvokeTarget, w as ResourceCapabilities, wt as SearchQuery, x as EntityUploadSlot, xt as JsonObject, y as EntityUpdateInput, yt as ConversationContinueTarget, z as ResourceListQuery } from "./resources-
|
|
1
|
+
import { $ as ResourceUpdateRequest, A as ResourceError, At as FederatedAuthOptions, B as ResourceListRequest, C as PortableResourceSchema, Ct as QueryFilter, D as ResourceCreateRequest, Dt as FederatedAuth, E as ResourceCreateInput, Et as ClientFetch, F as ResourceIdentityField, G as ResourceRecord, H as ResourceMutationInput, I as ResourceJsonValue, J as ResourceResult, K as ResourceRecordId, L as ResourceLifecycleInput, M as ResourceFilter, Mt as FederatedSessionIdentity, N as ResourceGetRequest, Nt as createFederatedAuth, O as ResourceCursor, Ot as FederatedAuthError, P as ResourceId, Q as ResourceTransportRequest, R as ResourceLifecycleRequest, S as IdempotencyKey, St as KnowledgeQuery, T as ResourceClient, Tt as WorkflowInvokeTarget, U as ResourcePagination, V as ResourceListResult, W as ResourcePaginationMode, X as ResourceSort, Y as ResourceRevision, Z as ResourceTransport, _ as EntityRequest, _t as isClientOperationId, a as createResourceClient, at as CiResult, b as EntityUploadInput, bt as ConversationHistory, c as EntityDeleteInput, ct as OperationSuccess, d as EntityFileWrite, dt as ClientOperationInput, et as ProxyAuthentication, f as EntityListQuery, ft as ClientOperationMap, g as EntityProtocol, gt as clientOperationIds, h as EntityPage, ht as TypedOperationExecutor, i as createEntityProtocol, it as CiErrorCode, j as ResourceErrorCode, jt as FederatedAuthState, k as ResourceDefinition, kt as FederatedAuthErrorCode, l as EntityFileFieldWrite, lt as ClientOperationDefinition, m as EntityOperationResult, mt as OperationExecutionOptions, n as EntityHttpTransportOptions, nt as createProxyTransport, o as EntityClient, ot as JsonValue, p as EntityOperation, pt as ClientOperationOutput, q as ResourceRequestOptions, r as createEntityHttpTransport, rt as CiError, s as EntityCreateInput, st as OperationRequest, t as EntityHttpDestination, tt as ProxyTransportOptions, u as EntityFileValue, ut as ClientOperationId, v as EntityTransport, vt as AgentInvokeTarget, w as ResourceCapabilities, wt as SearchQuery, x as EntityUploadSlot, xt as JsonObject, y as EntityUpdateInput, yt as ConversationContinueTarget, z as ResourceListQuery } from "./resources-D0bzEPx3.js";
|
|
2
2
|
type ServerSessionAuthOptions = Readonly<{
|
|
3
3
|
basePath: string;
|
|
4
4
|
fetch?: ClientFetch;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as parseMountPath, c as isClientOperationId, i as createHttpOperationTransport, n as createResourceClient, o as parseOriginUrl, r as createEntityProtocol, s as clientOperationIds, t as createEntityHttpTransport } from "./resources-
|
|
1
|
+
import { a as parseMountPath, c as isClientOperationId, i as createHttpOperationTransport, n as createResourceClient, o as parseOriginUrl, r as createEntityProtocol, s as clientOperationIds, t as createEntityHttpTransport } from "./resources-C0wYfzcV.js";
|
|
2
2
|
const base64Url = (bytes) => {
|
|
3
3
|
let binary = "";
|
|
4
4
|
for (const byte of bytes) binary += String.fromCodePoint(byte);
|
|
@@ -7575,6 +7575,36 @@ const objectSchema = (properties, required = Object.keys(properties)) => ({
|
|
|
7575
7575
|
required,
|
|
7576
7576
|
type: "object"
|
|
7577
7577
|
});
|
|
7578
|
+
/**
|
|
7579
|
+
* Include Paths: relation fields whose records a read returns in
|
|
7580
|
+
* `included`, such as `["company", "contacts.company"]`, at most three
|
|
7581
|
+
* levels deep. CI refuses a segment that names no relation field.
|
|
7582
|
+
*/
|
|
7583
|
+
const includeSchema = {
|
|
7584
|
+
items: {
|
|
7585
|
+
minLength: 1,
|
|
7586
|
+
pattern: "^[^.]+(\\.[^.]+){0,2}$",
|
|
7587
|
+
type: "string"
|
|
7588
|
+
},
|
|
7589
|
+
type: "array"
|
|
7590
|
+
};
|
|
7591
|
+
const escapePattern = (value) => value.replaceAll(/[$()*+.?[\\\]^{|}]/gu, "\\$&");
|
|
7592
|
+
/**
|
|
7593
|
+
* The Entity References a declared property holds: `one` uuid string, or
|
|
7594
|
+
* `many` as an array of uuid strings.
|
|
7595
|
+
*/
|
|
7596
|
+
const references = (property) => {
|
|
7597
|
+
if (property === null || typeof property !== "object" || Array.isArray(property)) return;
|
|
7598
|
+
if ("format" in property && property.format === "uuid") return "one";
|
|
7599
|
+
const items = "items" in property ? property.items : void 0;
|
|
7600
|
+
return items !== null && typeof items === "object" && !Array.isArray(items) && "format" in items && items.format === "uuid" ? "many" : void 0;
|
|
7601
|
+
};
|
|
7602
|
+
/**
|
|
7603
|
+
* A path through a field that holds Entity References, such as
|
|
7604
|
+
* `company.industry`: at most three relation fields and a field of the
|
|
7605
|
+
* last target, as CI resolves it.
|
|
7606
|
+
*/
|
|
7607
|
+
const relationPath = (field) => ({ pattern: `^${escapePattern(field)}(\\.[^.]+){1,3}$` });
|
|
7578
7608
|
const pointerKey = (key) => key.replaceAll("~", "~0").replaceAll("/", "~1");
|
|
7579
7609
|
const schemaMaps = /* @__PURE__ */ new Set([
|
|
7580
7610
|
"$defs",
|
|
@@ -7651,42 +7681,95 @@ const entityQuerySchema = (definition) => {
|
|
|
7651
7681
|
...definition.query.sortableFields,
|
|
7652
7682
|
...definition.query.textSearchFields ?? []
|
|
7653
7683
|
]) if (!Object.hasOwn(properties, field)) throw new TypeError(`Query field '${field}' has no declared entity property`);
|
|
7654
|
-
const
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
...predicateProperties,
|
|
7666
|
-
value: valueSchema
|
|
7667
|
-
});
|
|
7684
|
+
const leaves = definition.query.filterableFields.flatMap((field) => {
|
|
7685
|
+
const cardinality = references(properties[field]);
|
|
7686
|
+
const value = { $ref: `#/$defs/filterEntity/properties/${pointerKey(field)}` };
|
|
7687
|
+
const nullable = { anyOf: [cardinality === "many" ? {
|
|
7688
|
+
format: "uuid",
|
|
7689
|
+
type: "string"
|
|
7690
|
+
} : value, { type: "null" }] };
|
|
7691
|
+
const predicate = (operators, valueSchema) => {
|
|
7692
|
+
const predicateProperties = {
|
|
7693
|
+
field: { const: field },
|
|
7694
|
+
operator: { enum: operators }
|
|
7668
7695
|
};
|
|
7669
|
-
return
|
|
7670
|
-
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
|
|
7677
|
-
|
|
7678
|
-
|
|
7679
|
-
|
|
7680
|
-
|
|
7681
|
-
|
|
7682
|
-
|
|
7683
|
-
|
|
7684
|
-
|
|
7685
|
-
|
|
7686
|
-
|
|
7687
|
-
|
|
7688
|
-
|
|
7696
|
+
if (valueSchema === void 0) return objectSchema(predicateProperties);
|
|
7697
|
+
return objectSchema({
|
|
7698
|
+
...predicateProperties,
|
|
7699
|
+
value: valueSchema
|
|
7700
|
+
});
|
|
7701
|
+
};
|
|
7702
|
+
return [
|
|
7703
|
+
predicate(cardinality === void 0 ? ["is_null", "is_not_null"] : [
|
|
7704
|
+
"is_null",
|
|
7705
|
+
"is_not_null",
|
|
7706
|
+
"is_empty"
|
|
7707
|
+
]),
|
|
7708
|
+
...cardinality === "many" ? [predicate(["contains_any", "contains_all"], {
|
|
7709
|
+
items: { $ref: `${value.$ref}/items` },
|
|
7710
|
+
minItems: 1,
|
|
7711
|
+
type: "array"
|
|
7712
|
+
})] : [],
|
|
7713
|
+
predicate(["eq", "ne"], nullable),
|
|
7714
|
+
predicate([
|
|
7715
|
+
"gt",
|
|
7716
|
+
"gte",
|
|
7717
|
+
"lt",
|
|
7718
|
+
"lte"
|
|
7719
|
+
], { allOf: [value, { type: ["number", "string"] }] }),
|
|
7720
|
+
predicate([
|
|
7721
|
+
"contains",
|
|
7722
|
+
"starts_with",
|
|
7723
|
+
"ends_with"
|
|
7724
|
+
], { allOf: [value, { type: "string" }] }),
|
|
7725
|
+
predicate(["in", "not_in"], {
|
|
7726
|
+
items: nullable,
|
|
7727
|
+
minItems: 1,
|
|
7728
|
+
type: "array"
|
|
7729
|
+
})
|
|
7730
|
+
];
|
|
7731
|
+
});
|
|
7732
|
+
const relationPaths = definition.query.filterableFields.flatMap((field) => references(properties[field]) === void 0 ? [] : [
|
|
7733
|
+
objectSchema({
|
|
7734
|
+
field: relationPath(field),
|
|
7735
|
+
operator: { enum: [
|
|
7736
|
+
"contains",
|
|
7737
|
+
"ends_with",
|
|
7738
|
+
"eq",
|
|
7739
|
+
"gt",
|
|
7740
|
+
"gte",
|
|
7741
|
+
"ne",
|
|
7742
|
+
"lt",
|
|
7743
|
+
"lte",
|
|
7744
|
+
"starts_with"
|
|
7745
|
+
] },
|
|
7746
|
+
value: true
|
|
7689
7747
|
}),
|
|
7748
|
+
objectSchema({
|
|
7749
|
+
field: relationPath(field),
|
|
7750
|
+
operator: { enum: [
|
|
7751
|
+
"in",
|
|
7752
|
+
"not_in",
|
|
7753
|
+
"contains_any",
|
|
7754
|
+
"contains_all"
|
|
7755
|
+
] },
|
|
7756
|
+
value: {
|
|
7757
|
+
minItems: 1,
|
|
7758
|
+
type: "array"
|
|
7759
|
+
}
|
|
7760
|
+
}),
|
|
7761
|
+
objectSchema({
|
|
7762
|
+
field: relationPath(field),
|
|
7763
|
+
operator: { enum: [
|
|
7764
|
+
"is_null",
|
|
7765
|
+
"is_not_null",
|
|
7766
|
+
"is_empty"
|
|
7767
|
+
] }
|
|
7768
|
+
})
|
|
7769
|
+
]);
|
|
7770
|
+
const filter = { oneOf: [
|
|
7771
|
+
...leaves,
|
|
7772
|
+
...relationPaths,
|
|
7690
7773
|
objectSchema({
|
|
7691
7774
|
filters: {
|
|
7692
7775
|
items: { $ref: "#/$defs/filter" },
|
|
@@ -7714,6 +7797,7 @@ const entityQuerySchema = (definition) => {
|
|
|
7714
7797
|
});
|
|
7715
7798
|
const query = objectSchema({
|
|
7716
7799
|
filter: { $ref: "#/$defs/filter" },
|
|
7800
|
+
include: includeSchema,
|
|
7717
7801
|
pagination: page,
|
|
7718
7802
|
sort: {
|
|
7719
7803
|
items: objectSchema({
|
|
@@ -7739,10 +7823,11 @@ const uploadText = {
|
|
|
7739
7823
|
minLength: 1,
|
|
7740
7824
|
type: "string"
|
|
7741
7825
|
};
|
|
7742
|
-
const requestSchema = (definition, operation, properties) => ({
|
|
7826
|
+
const requestSchema = (definition, operation, properties, optional = {}) => ({
|
|
7743
7827
|
additionalProperties: false,
|
|
7744
7828
|
properties: {
|
|
7745
7829
|
...properties,
|
|
7830
|
+
...optional,
|
|
7746
7831
|
operation: { const: operation },
|
|
7747
7832
|
requestId: identifier,
|
|
7748
7833
|
resourceId: { const: definition.id }
|
|
@@ -7779,7 +7864,7 @@ const createEntityProtocol = (definition) => {
|
|
|
7779
7864
|
},
|
|
7780
7865
|
oneOf: [
|
|
7781
7866
|
requestSchema(definition, "list", { query }),
|
|
7782
|
-
requestSchema(definition, "get", { id: identifier }),
|
|
7867
|
+
requestSchema(definition, "get", { id: identifier }, { include: includeSchema }),
|
|
7783
7868
|
requestSchema(definition, "create", {
|
|
7784
7869
|
idempotencyKey: operationKey,
|
|
7785
7870
|
value: { $ref: "#/$defs/create" }
|
|
@@ -7811,7 +7896,12 @@ const createEntityProtocol = (definition) => {
|
|
|
7811
7896
|
type: "string"
|
|
7812
7897
|
},
|
|
7813
7898
|
id: identifier,
|
|
7899
|
+
included: { type: "object" },
|
|
7814
7900
|
revision: identifier,
|
|
7901
|
+
truncated: {
|
|
7902
|
+
items: { type: "string" },
|
|
7903
|
+
type: "array"
|
|
7904
|
+
},
|
|
7815
7905
|
value: { $ref: "#/$defs/entity" }
|
|
7816
7906
|
}, [
|
|
7817
7907
|
"id",
|
|
@@ -8144,10 +8234,13 @@ const encode = (request) => {
|
|
|
8144
8234
|
method: "POST",
|
|
8145
8235
|
path: "/search"
|
|
8146
8236
|
};
|
|
8147
|
-
case "get":
|
|
8148
|
-
|
|
8149
|
-
|
|
8150
|
-
|
|
8237
|
+
case "get": {
|
|
8238
|
+
const query = request.include?.length ? `?include=${encodeURIComponent(request.include.join(","))}` : "";
|
|
8239
|
+
return {
|
|
8240
|
+
method: "GET",
|
|
8241
|
+
path: `/records/${encodeURIComponent(request.id)}${query}`
|
|
8242
|
+
};
|
|
8243
|
+
}
|
|
8151
8244
|
case "create": return {
|
|
8152
8245
|
body: JSON.stringify({
|
|
8153
8246
|
idempotencyKey: request.idempotencyKey,
|
|
@@ -422,6 +422,11 @@ type ExternalApplicationServiceOperationRequest = {
|
|
|
422
422
|
userId: string;
|
|
423
423
|
};
|
|
424
424
|
operationId: "members_remove";
|
|
425
|
+
} | {
|
|
426
|
+
input: {
|
|
427
|
+
origin: string;
|
|
428
|
+
};
|
|
429
|
+
operationId: "origins_set_runtime";
|
|
425
430
|
} | {
|
|
426
431
|
input: {
|
|
427
432
|
userId: string;
|
|
@@ -444,6 +449,8 @@ type ExternalApplicationServiceOperationSuccess = EnvelopeSuccess<"files_upload"
|
|
|
444
449
|
outcome: MemberUserResolution;
|
|
445
450
|
}> | EnvelopeSuccess<"members_get", MemberUser> | EnvelopeSuccess<"members_list", MemberUserPage> | EnvelopeSuccess<"members_update", MemberUser> | EnvelopeSuccess<"members_remove", {
|
|
446
451
|
userId: string;
|
|
452
|
+
}> | EnvelopeSuccess<"origins_set_runtime", {
|
|
453
|
+
origin: string;
|
|
447
454
|
}> | EnvelopeSuccess<"users_list_company_links", UserCompanyLinks> | EnvelopeSuccess<"users_link_companies", UserCompanyLinks>;
|
|
448
455
|
/** Every operation a confidential server client may invoke. */
|
|
449
456
|
type ExternalApplicationServerOperationRequest = ExternalApplicationOperationRequest | ExternalApplicationServiceOperationRequest;
|
|
@@ -572,13 +579,21 @@ type ResourceDefinition<Entity, Create = Entity, Update = Partial<Entity>> = Rea
|
|
|
572
579
|
}>;
|
|
573
580
|
}>;
|
|
574
581
|
type FilterValue = ResourceJsonValue | readonly ResourceJsonValue[];
|
|
582
|
+
/**
|
|
583
|
+
* A filter predicate. `field` names a declared filterable field, or a path
|
|
584
|
+
* through at most three fields that hold Entity References to a field of
|
|
585
|
+
* the last target, such as `company.industry` or
|
|
586
|
+
* `contacts.company.parent.industry`. On a field that holds Entity
|
|
587
|
+
* References, `is_empty` means no reference, and `contains_any` and
|
|
588
|
+
* `contains_all` compare the ids of a field that holds many.
|
|
589
|
+
*/
|
|
575
590
|
type ResourceFilter = Readonly<{
|
|
576
591
|
field: string;
|
|
577
|
-
operator: "contains" | "ends_with" | "eq" | "gt" | "gte" | "in" | "lt" | "lte" | "ne" | "not_in" | "starts_with";
|
|
592
|
+
operator: "contains" | "contains_all" | "contains_any" | "ends_with" | "eq" | "gt" | "gte" | "in" | "lt" | "lte" | "ne" | "not_in" | "starts_with";
|
|
578
593
|
value: FilterValue;
|
|
579
594
|
}> | Readonly<{
|
|
580
595
|
field: string;
|
|
581
|
-
operator: "is_not_null" | "is_null";
|
|
596
|
+
operator: "is_empty" | "is_not_null" | "is_null";
|
|
582
597
|
}> | Readonly<{
|
|
583
598
|
filters: readonly ResourceFilter[];
|
|
584
599
|
operator: "and" | "or";
|
|
@@ -601,6 +616,11 @@ type ResourcePagination = Readonly<{
|
|
|
601
616
|
}>;
|
|
602
617
|
type ResourceListQuery = Readonly<{
|
|
603
618
|
filter?: ResourceFilter;
|
|
619
|
+
/**
|
|
620
|
+
* Include Paths, such as `["company", "contacts.company"]`: relation
|
|
621
|
+
* fields whose records each item carries in `included`.
|
|
622
|
+
*/
|
|
623
|
+
include?: readonly string[];
|
|
604
624
|
includeDeleted?: boolean;
|
|
605
625
|
pagination: ResourcePagination;
|
|
606
626
|
sort?: readonly ResourceSort[];
|
|
@@ -609,7 +629,15 @@ type ResourceListQuery = Readonly<{
|
|
|
609
629
|
type ResourceRecord<Entity> = Readonly<{
|
|
610
630
|
deletedAt?: string;
|
|
611
631
|
id: ResourceRecordId;
|
|
632
|
+
/**
|
|
633
|
+
* The records of the read's Include Paths by relation field key: one
|
|
634
|
+
* record, or the records of a `many` field in reference order. Untyped:
|
|
635
|
+
* the target schemas are CI's.
|
|
636
|
+
*/
|
|
637
|
+
included?: Readonly<Record<string, ResourceJsonValue>>;
|
|
612
638
|
revision: ResourceRevision;
|
|
639
|
+
/** The keys whose included records were cut to the first 100. */
|
|
640
|
+
truncated?: readonly string[];
|
|
613
641
|
value: Entity;
|
|
614
642
|
}>;
|
|
615
643
|
type ResourceListResult<Entity> = Readonly<{
|
|
@@ -780,6 +808,7 @@ type EntityRequest<Create = unknown, Patch = unknown> = EntityRequestIdentity &
|
|
|
780
808
|
}> | Readonly<{
|
|
781
809
|
operation: "get";
|
|
782
810
|
id: ResourceRecordId;
|
|
811
|
+
include?: readonly string[];
|
|
783
812
|
}> | (Readonly<{
|
|
784
813
|
operation: "create";
|
|
785
814
|
}> & EntityCreateInput<Create>) | (Readonly<{
|
|
@@ -804,6 +833,7 @@ interface EntityClient<Value, Create = Value, Patch = Partial<Value>> {
|
|
|
804
833
|
readonly list: (query: EntityListQuery, options?: ResourceRequestOptions) => Promise<ResourceResult<EntityPage<Value>>>;
|
|
805
834
|
readonly get: (input: Readonly<{
|
|
806
835
|
id: ResourceRecordId;
|
|
836
|
+
include?: readonly string[];
|
|
807
837
|
}>, options?: ResourceRequestOptions) => Promise<ResourceResult<ResourceRecord<Value>>>;
|
|
808
838
|
readonly create: (input: EntityCreateInput<Create>) => Promise<ResourceResult<ResourceRecord<Value>>>;
|
|
809
839
|
readonly update: (input: EntityUpdateInput<Patch>) => Promise<ResourceResult<ResourceRecord<Value>>>;
|
package/dist/resources.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ResourceUpdateRequest, A as ResourceError, B as ResourceListRequest, C as PortableResourceSchema, D as ResourceCreateRequest, E as ResourceCreateInput, F as ResourceIdentityField, G as ResourceRecord, H as ResourceMutationInput, I as ResourceJsonValue, J as ResourceResult, K as ResourceRecordId, L as ResourceLifecycleInput, M as ResourceFilter, N as ResourceGetRequest, O as ResourceCursor, P as ResourceId, Q as ResourceTransportRequest, R as ResourceLifecycleRequest, S as IdempotencyKey, T as ResourceClient, U as ResourcePagination, V as ResourceListResult, W as ResourcePaginationMode, X as ResourceSort, Y as ResourceRevision, Z as ResourceTransport, _ as EntityRequest, a as createResourceClient, b as EntityUploadInput, c as EntityDeleteInput, d as EntityFileWrite, f as EntityListQuery, g as EntityProtocol, h as EntityPage, i as createEntityProtocol, j as ResourceErrorCode, k as ResourceDefinition, l as EntityFileFieldWrite, m as EntityOperationResult, n as EntityHttpTransportOptions, o as EntityClient, p as EntityOperation, q as ResourceRequestOptions, r as createEntityHttpTransport, s as EntityCreateInput, t as EntityHttpDestination, u as EntityFileValue, v as EntityTransport, w as ResourceCapabilities, x as EntityUploadSlot, y as EntityUpdateInput, z as ResourceListQuery } from "./resources-
|
|
1
|
+
import { $ as ResourceUpdateRequest, A as ResourceError, B as ResourceListRequest, C as PortableResourceSchema, D as ResourceCreateRequest, E as ResourceCreateInput, F as ResourceIdentityField, G as ResourceRecord, H as ResourceMutationInput, I as ResourceJsonValue, J as ResourceResult, K as ResourceRecordId, L as ResourceLifecycleInput, M as ResourceFilter, N as ResourceGetRequest, O as ResourceCursor, P as ResourceId, Q as ResourceTransportRequest, R as ResourceLifecycleRequest, S as IdempotencyKey, T as ResourceClient, U as ResourcePagination, V as ResourceListResult, W as ResourcePaginationMode, X as ResourceSort, Y as ResourceRevision, Z as ResourceTransport, _ as EntityRequest, a as createResourceClient, b as EntityUploadInput, c as EntityDeleteInput, d as EntityFileWrite, f as EntityListQuery, g as EntityProtocol, h as EntityPage, i as createEntityProtocol, j as ResourceErrorCode, k as ResourceDefinition, l as EntityFileFieldWrite, m as EntityOperationResult, n as EntityHttpTransportOptions, o as EntityClient, p as EntityOperation, q as ResourceRequestOptions, r as createEntityHttpTransport, s as EntityCreateInput, t as EntityHttpDestination, u as EntityFileValue, v as EntityTransport, w as ResourceCapabilities, x as EntityUploadSlot, y as EntityUpdateInput, z as ResourceListQuery } from "./resources-D0bzEPx3.js";
|
|
2
2
|
export { type EntityClient, type EntityCreateInput, type EntityDeleteInput, type EntityFileFieldWrite, type EntityFileValue, type EntityFileWrite, type EntityHttpDestination, type EntityHttpTransportOptions, type EntityListQuery, type EntityOperation, type EntityOperationResult, type EntityPage, type EntityProtocol, type EntityRequest, type EntityTransport, type EntityUpdateInput, type EntityUploadInput, type EntityUploadSlot, type IdempotencyKey, type PortableResourceSchema, type ResourceCapabilities, type ResourceClient, type ResourceCreateInput, type ResourceCreateRequest, type ResourceCursor, type ResourceDefinition, type ResourceError, type ResourceErrorCode, type ResourceFilter, type ResourceGetRequest, type ResourceId, type ResourceIdentityField, type ResourceJsonValue, type ResourceLifecycleInput, type ResourceLifecycleRequest, type ResourceListQuery, type ResourceListRequest, type ResourceListResult, type ResourceMutationInput, type ResourcePagination, type ResourcePaginationMode, type ResourceRecord, type ResourceRecordId, type ResourceRequestOptions, type ResourceResult, type ResourceRevision, type ResourceSort, type ResourceTransport, type ResourceTransportRequest, type ResourceUpdateRequest, createEntityHttpTransport, createEntityProtocol, createResourceClient };
|
package/dist/resources.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createResourceClient, r as createEntityProtocol, t as createEntityHttpTransport } from "./resources-
|
|
1
|
+
import { n as createResourceClient, r as createEntityProtocol, t as createEntityHttpTransport } from "./resources-C0wYfzcV.js";
|
|
2
2
|
export { createEntityHttpTransport, createEntityProtocol, createResourceClient };
|
package/package.json
CHANGED