1 | export interface LegacyNotarizePasswordCredentials {
|
2 | appleId: string;
|
3 | appleIdPassword: string;
|
4 | }
|
5 | export interface NotaryToolPasswordCredentials {
|
6 | appleId: string;
|
7 | appleIdPassword: string;
|
8 | teamId: string;
|
9 | }
|
10 | export interface LegacyNotarizeApiKeyCredentials {
|
11 | appleApiKey: string;
|
12 | appleApiIssuer: string;
|
13 | }
|
14 | export interface NotaryToolApiKeyCredentials {
|
15 | appleApiKey: string;
|
16 | appleApiKeyId: string;
|
17 | appleApiIssuer: string;
|
18 | }
|
19 | export interface NotaryToolKeychainCredentials {
|
20 | keychainProfile: string;
|
21 | keychain?: string;
|
22 | }
|
23 | export declare type LegacyNotarizeCredentials = LegacyNotarizePasswordCredentials | LegacyNotarizeApiKeyCredentials;
|
24 | export declare type NotaryToolCredentials = NotaryToolPasswordCredentials | NotaryToolApiKeyCredentials | NotaryToolKeychainCredentials;
|
25 | export declare type NotarizeCredentials = LegacyNotarizeCredentials | NotaryToolCredentials;
|
26 | export interface LegacyNotarizeAppOptions {
|
27 | appPath: string;
|
28 | appBundleId: string;
|
29 | }
|
30 | export interface NotaryToolNotarizeAppOptions {
|
31 | appPath: string;
|
32 | }
|
33 | export interface TransporterOptions {
|
34 | ascProvider?: string;
|
35 | }
|
36 | export interface NotarizeResult {
|
37 | uuid: string;
|
38 | }
|
39 | export declare type LegacyNotarizeStartOptions = LegacyNotarizeAppOptions & LegacyNotarizeCredentials & TransporterOptions;
|
40 | export declare type NotaryToolStartOptions = NotaryToolNotarizeAppOptions & NotaryToolCredentials;
|
41 | export declare type LegacyNotarizeWaitOptions = NotarizeResult & LegacyNotarizeCredentials;
|
42 | export declare type NotarizeStapleOptions = Pick<LegacyNotarizeAppOptions, 'appPath'>;
|
43 | export declare type NotarizeOptions = ({
|
44 | tool?: 'legacy';
|
45 | } & LegacyNotarizeStartOptions) | ({
|
46 | tool: 'notarytool';
|
47 | } & NotaryToolStartOptions);
|