Skip to content

Commit

Permalink
Client SDK update
Browse files Browse the repository at this point in the history
  • Loading branch information
rawnsley committed Nov 27, 2023
1 parent 8b70221 commit b4ac2b7
Show file tree
Hide file tree
Showing 64 changed files with 4,456 additions and 4,456 deletions.
84 changes: 42 additions & 42 deletions src/connect/avn/connect/AVNConnect.d.ts
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
import { PromiseClient } from "@bufbuild/connect-web";
import { ActivityService } from "../../gen/avn/connect/v1/activities_connectweb.js";
import { CategoryService } from "../../gen/avn/connect/v1/categories_connectweb.js";
import { ChannelService } from "../../gen/avn/connect/v1/channels_connectweb.js";
import { ClientService } from "../../gen/avn/connect/v1/clients_connectweb.js";
import { DimensionService } from "../../gen/avn/connect/v1/dimensions_connectweb.js";
import { Health } from "../../gen/grpc/health/v1/healthcheck_connectweb.js";
import { LicenseService } from "../../gen/avn/connect/v1/licenses_connectweb.js";
import { OrganizationService } from "../../gen/avn/connect/v1/organizations_connectweb.js";
import { PassService } from "../../gen/avn/connect/v1/passes_connectweb.js";
import { ProfileService } from "../../gen/avn/connect/v1/profiles_connectweb.js";
import { RoleService } from "../../gen/avn/connect/v1/roles_connectweb.js";
import { RoomService } from "../../gen/avn/connect/v1/rooms_connectweb.js";
import { UserService } from "../../gen/avn/connect/v1/users_connectweb.js";
import { AvnfsService } from "../../gen/avn/connect/v1/avnfs_connectweb.js";
import { KtxService } from "../../gen/avn/connect/v1/ktx_connectweb.js";
import { NeighborService } from "../../gen/avn/connect/v1/neighbors_connectweb.js";
import { CertificateService } from "../../gen/avn/connect/v1/certificates_connectweb.js";
export declare const GwebUrl = "https://gweb.avncloud.com";
export declare const GwebAlphaUrl = "https://gweb-alpha.avncloud.com";
export declare class AVNConnect {
readonly gwebUrl: string;
constructor(gwebUrl?: string);
private transport;
Activities: PromiseClient<typeof ActivityService>;
Avnfs: PromiseClient<typeof AvnfsService>;
Categories: PromiseClient<typeof CategoryService>;
Channels: PromiseClient<typeof ChannelService>;
Clients: PromiseClient<typeof ClientService>;
Dimensions: PromiseClient<typeof DimensionService>;
Health: PromiseClient<typeof Health>;
Ktx: PromiseClient<typeof KtxService>;
Licenses: PromiseClient<typeof LicenseService>;
Organizations: PromiseClient<typeof OrganizationService>;
Passes: PromiseClient<typeof PassService>;
Profiles: PromiseClient<typeof ProfileService>;
Roles: PromiseClient<typeof RoleService>;
Rooms: PromiseClient<typeof RoomService>;
Users: PromiseClient<typeof UserService>;
Neighbors: PromiseClient<typeof NeighborService>;
Certificates: PromiseClient<typeof CertificateService>;
}
import { PromiseClient } from "@connectrpc/connect";
import { ActivityService } from "../../gen/avn/connect/v1/activities_connect.js";
import { CategoryService } from "../../gen/avn/connect/v1/categories_connect.js";
import { ChannelService } from "../../gen/avn/connect/v1/channels_connect.js";
import { ClientService } from "../../gen/avn/connect/v1/clients_connect.js";
import { DimensionService } from "../../gen/avn/connect/v1/dimensions_connect.js";
import { Health } from "../../gen/grpc/health/v1/healthcheck_connect.js";
import { LicenseService } from "../../gen/avn/connect/v1/licenses_connect.js";
import { OrganizationService } from "../../gen/avn/connect/v1/organizations_connect.js";
import { PassService } from "../../gen/avn/connect/v1/passes_connect.js";
import { ProfileService } from "../../gen/avn/connect/v1/profiles_connect.js";
import { RoleService } from "../../gen/avn/connect/v1/roles_connect.js";
import { RoomService } from "../../gen/avn/connect/v1/rooms_connect.js";
import { UserService } from "../../gen/avn/connect/v1/users_connect.js";
import { AvnfsService } from "../../gen/avn/connect/v1/avnfs_connect.js";
import { KtxService } from "../../gen/avn/connect/v1/ktx_connect.js";
import { NeighborService } from "../../gen/avn/connect/v1/neighbors_connect.js";
import { CertificateService } from "../../gen/avn/connect/v1/certificates_connect.js";
export declare const GwebUrl = "https://gweb.avncloud.com";
export declare const GwebAlphaUrl = "https://gweb-alpha.avncloud.com";
export declare class AVNConnect {
readonly gwebUrl: string;
constructor(gwebUrl?: string);
private transport;
Activities: PromiseClient<typeof ActivityService>;
Avnfs: PromiseClient<typeof AvnfsService>;
Categories: PromiseClient<typeof CategoryService>;
Channels: PromiseClient<typeof ChannelService>;
Clients: PromiseClient<typeof ClientService>;
Dimensions: PromiseClient<typeof DimensionService>;
Health: PromiseClient<typeof Health>;
Ktx: PromiseClient<typeof KtxService>;
Licenses: PromiseClient<typeof LicenseService>;
Organizations: PromiseClient<typeof OrganizationService>;
Passes: PromiseClient<typeof PassService>;
Profiles: PromiseClient<typeof ProfileService>;
Roles: PromiseClient<typeof RoleService>;
Rooms: PromiseClient<typeof RoomService>;
Users: PromiseClient<typeof UserService>;
Neighbors: PromiseClient<typeof NeighborService>;
Certificates: PromiseClient<typeof CertificateService>;
}
40 changes: 20 additions & 20 deletions src/connect/avn/connect/avnfs-utils-client.d.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import { AVNConnect } from "./AVNConnect.js";
import { Authorization } from "../../gen/avn/connect/v1/authorization_pb.js";
export declare const Hostname = "avnfs.com";
export declare const UrlPrefix: string;
export declare const TypeQueryParam = "type";
export declare const SizeQueryParam = "size";
export declare const NameQueryParam = "name";
export declare type FileSpec = {
base64url: string;
sizeBytes: number;
mediaType: string;
fileName?: string;
};
export declare function isValidUrl(url: URL): boolean;
export declare function decodeUrl(url: URL): FileSpec;
export declare function encodeUrl(spec: FileSpec): URL;
export declare function updateFilename(url: URL, name: string | undefined): URL;
export declare function uploadArrayBuffer(buffer: ArrayBuffer, Connect: AVNConnect, auth: Authorization, mediaType: string, fileName: string | undefined, progressCallback: ((event: ProgressEvent) => any) | undefined): Promise<URL>;
export declare function uploadFilePath(path: string, Connect: AVNConnect, auth: Authorization, mediaType: string, fileName: string | undefined, progressCallback: ((event: ProgressEvent) => any) | undefined): Promise<URL>;
export declare function uploadFile(file: File, Connect: AVNConnect, auth: Authorization, mediaTypeOverride: string | undefined, fileNameOverride: string | undefined, progressCallback: ((event: ProgressEvent) => any) | undefined): Promise<URL>;
import { AVNConnect } from "./AVNConnect.js";
import { Authorization } from "../../gen/avn/connect/v1/authorization_pb.js";
export declare const Hostname = "avnfs.com";
export declare const UrlPrefix = "https://avnfs.com";
export declare const TypeQueryParam = "type";
export declare const SizeQueryParam = "size";
export declare const NameQueryParam = "name";
export type FileSpec = {
base64url: string;
sizeBytes: number;
mediaType: string;
fileName?: string;
};
export declare function isValidUrl(url: URL): boolean;
export declare function decodeUrl(url: URL): FileSpec;
export declare function encodeUrl(spec: FileSpec): URL;
export declare function updateFilename(url: URL, name: string | undefined): URL;
export declare function uploadArrayBuffer(buffer: ArrayBuffer, Connect: AVNConnect, auth: Authorization, mediaType: string, fileName: string | undefined, progressCallback: ((event: ProgressEvent) => any) | undefined): Promise<URL>;
export declare function uploadFilePath(path: string, Connect: AVNConnect, auth: Authorization, mediaType: string, fileName: string | undefined, progressCallback: ((event: ProgressEvent) => any) | undefined): Promise<URL>;
export declare function uploadFile(file: File, Connect: AVNConnect, auth: Authorization, mediaTypeOverride: string | undefined, fileNameOverride: string | undefined, progressCallback: ((event: ProgressEvent) => any) | undefined): Promise<URL>;
8 changes: 4 additions & 4 deletions src/connect/avn/connect/crypto-utils-client.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export declare function base64ArrayBufferToBase64UrlString(ab: ArrayBuffer): string;
export declare function base64UrlForArrayBuffer(buffer: ArrayBuffer): Promise<string>;
export declare function base64UrlForFile(file: File): Promise<string>;
export declare function base64UrlForFilePath(path: string): Promise<string>;
export declare function base64ArrayBufferToBase64UrlString(ab: ArrayBuffer): string;
export declare function base64UrlForArrayBuffer(buffer: ArrayBuffer): Promise<string>;
export declare function base64UrlForFile(file: File): Promise<string>;
export declare function base64UrlForFilePath(path: string): Promise<string>;
4 changes: 2 additions & 2 deletions src/connect/avn/connect/environment-utils-client.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export declare const isBrowser: boolean;
export declare const isNode: boolean;
export declare const isBrowser: boolean;
export declare const isNode: boolean;
6 changes: 3 additions & 3 deletions src/connect/avn/connect/media-utils-client.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export declare const GenericMediaType = "application/octet-stream";
export declare function guessMimeTypeForFile(file: File): string | undefined;
export declare function guessMimeTypeForExtension(extension: string): string | undefined;
export declare const GenericMediaType = "application/octet-stream";
export declare function guessMimeTypeForFile(file: File): string | undefined;
export declare function guessMimeTypeForExtension(extension: string): string | undefined;
114 changes: 57 additions & 57 deletions src/connect/connect-client.d.ts
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
export * from "./avn/connect/AVNConnect.js";
export * as AvnfsUtils from "./avn/connect/avnfs-utils-client.js";
export * as MediaUtils from "./avn/connect/media-utils-client.js";
export * as CryptoUtils from "./avn/connect/crypto-utils-client.js";
export * from "@bufbuild/protobuf";
export * from "./gen/grpc/health/v1/healthcheck_pb.js";
export * from "./gen/avn/connect/v1/activities_connectweb.js";
export * from "./gen/avn/connect/v1/activities_pb.js";
export * from "./gen/avn/connect/v1/authorization_pb.js";
export * from "./gen/avn/connect/v1/avnfs_connectweb.js";
export * from "./gen/avn/connect/v1/avnfs_pb.js";
export * from "./gen/avn/connect/v1/categories_connectweb.js";
export * from "./gen/avn/connect/v1/categories_pb.js";
export * from "./gen/avn/connect/v1/channels_connectweb.js";
export * from "./gen/avn/connect/v1/channels_pb.js";
export * from "./gen/avn/connect/v1/clients_connectweb.js";
export * from "./gen/avn/connect/v1/clients_pb.js";
export * from "./gen/avn/connect/v1/connections_pb.js";
export * from "./gen/avn/connect/v1/content_pb.js";
export * from "./gen/avn/connect/v1/country_pb.js";
export * from "./gen/avn/connect/v1/dimensions_connectweb.js";
export * from "./gen/avn/connect/v1/dimensions_pb.js";
export * from "./gen/avn/connect/v1/features_pb.js";
export * from "./gen/avn/connect/v1/geometry_pb.js";
export * from "./gen/avn/connect/v1/http_pb.js";
export * from "./gen/avn/connect/v1/interaction_permissions_pb.js";
export * from "./gen/avn/connect/v1/ktx_pb.js";
export * from "./gen/avn/connect/v1/learning_modules_connectweb.js";
export * from "./gen/avn/connect/v1/lesson_context_pb.js";
export * from "./gen/avn/connect/v1/lesson_plans_connectweb.js";
export * from "./gen/avn/connect/v1/licenses_connectweb.js";
export * from "./gen/avn/connect/v1/licenses_pb.js";
export * from "./gen/avn/connect/v1/operations_pb.js";
export * from "./gen/avn/connect/v1/organization_membership_pb.js";
export * from "./gen/avn/connect/v1/organization_pb.js";
export * from "./gen/avn/connect/v1/organizations_connectweb.js";
export * from "./gen/avn/connect/v1/organizations_pb.js";
export * from "./gen/avn/connect/v1/partners_pb.js";
export * from "./gen/avn/connect/v1/passes_connectweb.js";
export * from "./gen/avn/connect/v1/passes_pb.js";
export * from "./gen/avn/connect/v1/permissions_pb.js";
export * from "./gen/avn/connect/v1/presence_pb.js";
export * from "./gen/avn/connect/v1/profiles_connectweb.js";
export * from "./gen/avn/connect/v1/profiles_pb.js";
export * from "./gen/avn/connect/v1/roles_connectweb.js";
export * from "./gen/avn/connect/v1/roles_pb.js";
export * from "./gen/avn/connect/v1/rooms_connectweb.js";
export * from "./gen/avn/connect/v1/rooms_pb.js";
export * from "./gen/avn/connect/v1/thinglink_connectweb.js";
export * from "./gen/avn/connect/v1/thinglink_pb.js";
export * from "./gen/avn/connect/v1/user_pb.js";
export * from "./gen/avn/connect/v1/users_connectweb.js";
export * from "./gen/avn/connect/v1/users_pb.js";
export * from "./gen/avn/connect/v1/neighbors_connectweb.js";
export * from "./gen/avn/connect/v1/neighbors_pb.js";
export * from "./gen/avn/connect/v1/certificates_connectweb.js";
export * from "./gen/avn/connect/v1/certificates_pb.js";
export * from "./avn/connect/AVNConnect.js";
export * as AvnfsUtils from "./avn/connect/avnfs-utils-client.js";
export * as MediaUtils from "./avn/connect/media-utils-client.js";
export * as CryptoUtils from "./avn/connect/crypto-utils-client.js";
export * from "@bufbuild/protobuf";
export * from "./gen/grpc/health/v1/healthcheck_pb.js";
export * from "./gen/avn/connect/v1/activities_connect.js";
export * from "./gen/avn/connect/v1/activities_pb.js";
export * from "./gen/avn/connect/v1/authorization_pb.js";
export * from "./gen/avn/connect/v1/avnfs_connect.js";
export * from "./gen/avn/connect/v1/avnfs_pb.js";
export * from "./gen/avn/connect/v1/categories_connect.js";
export * from "./gen/avn/connect/v1/categories_pb.js";
export * from "./gen/avn/connect/v1/channels_connect.js";
export * from "./gen/avn/connect/v1/channels_pb.js";
export * from "./gen/avn/connect/v1/clients_connect.js";
export * from "./gen/avn/connect/v1/clients_pb.js";
export * from "./gen/avn/connect/v1/connections_pb.js";
export * from "./gen/avn/connect/v1/content_pb.js";
export * from "./gen/avn/connect/v1/country_pb.js";
export * from "./gen/avn/connect/v1/dimensions_connect.js";
export * from "./gen/avn/connect/v1/dimensions_pb.js";
export * from "./gen/avn/connect/v1/features_pb.js";
export * from "./gen/avn/connect/v1/geometry_pb.js";
export * from "./gen/avn/connect/v1/http_pb.js";
export * from "./gen/avn/connect/v1/interaction_permissions_pb.js";
export * from "./gen/avn/connect/v1/ktx_pb.js";
export * from "./gen/avn/connect/v1/learning_modules_connect.js";
export * from "./gen/avn/connect/v1/lesson_context_pb.js";
export * from "./gen/avn/connect/v1/lesson_plans_connect.js";
export * from "./gen/avn/connect/v1/licenses_connect.js";
export * from "./gen/avn/connect/v1/licenses_pb.js";
export * from "./gen/avn/connect/v1/operations_pb.js";
export * from "./gen/avn/connect/v1/organization_membership_pb.js";
export * from "./gen/avn/connect/v1/organization_pb.js";
export * from "./gen/avn/connect/v1/organizations_connect.js";
export * from "./gen/avn/connect/v1/organizations_pb.js";
export * from "./gen/avn/connect/v1/partners_pb.js";
export * from "./gen/avn/connect/v1/passes_connect.js";
export * from "./gen/avn/connect/v1/passes_pb.js";
export * from "./gen/avn/connect/v1/permissions_pb.js";
export * from "./gen/avn/connect/v1/presence_pb.js";
export * from "./gen/avn/connect/v1/profiles_connect.js";
export * from "./gen/avn/connect/v1/profiles_pb.js";
export * from "./gen/avn/connect/v1/roles_connect.js";
export * from "./gen/avn/connect/v1/roles_pb.js";
export * from "./gen/avn/connect/v1/rooms_connect.js";
export * from "./gen/avn/connect/v1/rooms_pb.js";
export * from "./gen/avn/connect/v1/thinglink_connect.js";
export * from "./gen/avn/connect/v1/thinglink_pb.js";
export * from "./gen/avn/connect/v1/user_pb.js";
export * from "./gen/avn/connect/v1/users_connect.js";
export * from "./gen/avn/connect/v1/users_pb.js";
export * from "./gen/avn/connect/v1/neighbors_connect.js";
export * from "./gen/avn/connect/v1/neighbors_pb.js";
export * from "./gen/avn/connect/v1/certificates_connect.js";
export * from "./gen/avn/connect/v1/certificates_pb.js";
2 changes: 1 addition & 1 deletion src/connect/connect-client.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/connect/connect-client.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit b4ac2b7

Please sign in to comment.