@dodi-smart/nuki-graphql-api
Version:
Nuki GraphQL API
58 lines • 1.71 kB
TypeScript
export type AdvancedApiKeyCreate = {
/**
* The name of the company for which you apply for access
*/
name: string;
/**
* The country of the headquarter or the country where you are mainly doing business in
*/
country: string;
/**
* Describe the services and/or products you offer to your customers and how your customers would use Nuki devices in their processes
*/
description: string;
/**
* The application type
*/
type: AdvancedApiKeyCreate.type;
/**
* The status of the webhook posting automation
*/
readonly webhookStatus?: AdvancedApiKeyCreate.webhookStatus;
/**
* A website where we can find more information on the company and its business model
*/
url: string;
/**
* An email address where we can contact you for checks on your application
*/
email: string;
/**
* The URL where our webhooks should point to
*/
webhookUrl: string;
/**
* The features to trigger webhooks, for all types except 'ONLY_SECRET'
*/
webhookFeatures: Array<'DEVICE_STATUS' | 'DEVICE_MASTERDATA' | 'DEVICE_CONFIG' | 'DEVICE_LOGS' | 'DEVICE_AUTHS' | 'ACCOUNT_USER'>;
};
export declare namespace AdvancedApiKeyCreate {
/**
* The application type
*/
enum type {
ONLY_SECRET = "ONLY_SECRET",
SHORT_RENTAL = "SHORT_RENTAL",
HEALTHCARE = "HEALTHCARE",
SMART_HOME = "SMART_HOME",
OTHER = "OTHER"
}
/**
* The status of the webhook posting automation
*/
enum webhookStatus {
ACTIVE = "ACTIVE",
DEACTIVATED = "DEACTIVATED"
}
}
//# sourceMappingURL=AdvancedApiKeyCreate.d.ts.map