UNPKG

@recursyve/deeplinks-client

Version:

Node.js client for Recursyve's Deeplinks API

41 lines (40 loc) 919 B
export type Platform = "android" | "ios" | "web"; export type AndroidMetadataDto = { bundleId: string; certSHA256?: string[]; }; export type IOSMetadataDto = { bundleId: string; appId?: string; teamId?: string; }; export type CreateApplicationDto = { name: string; platform: Platform; android?: AndroidMetadataDto; ios?: IOSMetadataDto; }; export type PatchAndroidMetadataDto = { certSHA256?: { add?: string[]; remove?: string[]; }; }; export type PatchIOSMetadataDto = { appId?: string; teamId?: string; }; export type PatchApplicationDto = { name?: string; android?: PatchAndroidMetadataDto; ios?: PatchIOSMetadataDto; }; export type Application = { id: string; name: string; platform: Platform; metadata: AndroidMetadataDto | IOSMetadataDto | null; tenantId: string; createdAt: string; updatedAt: string; };