enable()
enable(projectId, input): Promise<
| {
api?: {
links?: Record<string, {
href: string;
}>;
redactions?: object[];
};
configuration: {
appStoreConnect: {
credentialSources?: {
privateKey?: {
materializationError: string | null;
materializedAt: string | null;
secretReference: string;
secretReferenceLabel: string;
secretsIntegrationId: string;
source: "onepassword";
};
sharedSecret?: {
materializationError: string | null;
materializedAt: string | null;
secretReference: string;
secretReferenceLabel: string;
secretsIntegrationId: string;
source: "onepassword";
};
};
issuerId: string;
privateKey: "";
privateKeyId: string;
sharedSecret: "";
};
fragile_appStoreConnect: {
bundleId: string;
};
};
conflicts: {
clientData: unknown;
conflictedAt: number;
serverData: unknown;
};
createdAt?: string;
id: string;
object: "external_billing_provider";
project: string;
tombstoned?: false;
tombstonedAt?: string | null;
type: "appleAppStore";
updatedAt: string;
}
| {
api?: {
links?: Record<string, {
href: string;
}>;
redactions?: object[];
};
configuration: {
connect: {
accountId?: string | null;
credentialSources?: {
publishableKey?: {
materializationError: string | null;
materializedAt: string | null;
secretReference: string;
secretReferenceLabel: string;
secretsIntegrationId: string;
source: "onepassword";
};
secretKey?: {
materializationError: string | null;
materializedAt: string | null;
secretReference: string;
secretReferenceLabel: string;
secretsIntegrationId: string;
source: "onepassword";
};
};
publishableKey: string;
redirectUrls: string[] | null;
secretKey: "";
webhookApiVersion?: string | null;
webhookId?: string | null;
webhookSecret?: "" | null;
};
};
conflicts: {
clientData: unknown;
conflictedAt: number;
serverData: unknown;
};
createdAt?: string;
id: string;
object: "external_billing_provider";
project: string;
tombstoned?: false;
tombstonedAt?: string | null;
type: "stripe";
updatedAt: string;
}
| {
api?: {
links?: Record<string, {
href: string;
}>;
redactions?: object[];
};
configuration: null;
conflicts: {
clientData: unknown;
conflictedAt: number;
serverData: unknown;
};
createdAt?: string;
id: string;
object: "external_billing_provider";
project: string;
tombstoned: true;
tombstonedAt?: string | null;
type: "stripe" | "appleAppStore";
updatedAt: string;
}>;Parameters
projectId
string
input
| {
configuration: {
appStoreConnect: {
credentialSelections?: {
privateKey?: | {
secretReference: string;
secretReferenceLabel: string;
secretsIntegrationId: string;
source: "onepassword";
}
| {
source: "unchanged";
}
| {
source: "inline";
value: string;
};
sharedSecret?: | {
secretReference: string;
secretReferenceLabel: string;
secretsIntegrationId: string;
source: "onepassword";
}
| {
source: "unchanged";
}
| {
source: "inline";
value: string;
};
};
credentialSources?: {
privateKey?: {
materializationError: string | null;
materializedAt: string | null;
secretReference: string;
secretReferenceLabel: string;
secretsIntegrationId: string;
source: "onepassword";
};
sharedSecret?: {
materializationError: string | null;
materializedAt: string | null;
secretReference: string;
secretReferenceLabel: string;
secretsIntegrationId: string;
source: "onepassword";
};
};
issuerId: string;
privateKey: string;
privateKeyId: string;
sharedSecret: string;
};
fragile_appStoreConnect: {
bundleId: string;
};
};
type: "appleAppStore";
}
| {
configuration: {
connect: {
accountId?: string | null;
credentialSelections?: {
publishableKey?: | {
secretReference: string;
secretReferenceLabel: string;
secretsIntegrationId: string;
source: "onepassword";
}
| {
source: "unchanged";
}
| {
source: "inline";
value: string;
};
secretKey?: | {
secretReference: string;
secretReferenceLabel: string;
secretsIntegrationId: string;
source: "onepassword";
}
| {
source: "unchanged";
}
| {
source: "inline";
value: string;
};
};
credentialSources?: {
publishableKey?: {
materializationError: string | null;
materializedAt: string | null;
secretReference: string;
secretReferenceLabel: string;
secretsIntegrationId: string;
source: "onepassword";
};
secretKey?: {
materializationError: string | null;
materializedAt: string | null;
secretReference: string;
secretReferenceLabel: string;
secretsIntegrationId: string;
source: "onepassword";
};
};
publishableKey: string;
redirectUrls?: string[] | null;
secretKey: string;
webhookApiVersion?: string | null;
webhookId?: string | null;
webhookSecret?: string | null;
};
};
type: "stripe";
}