@aptly-as/types
Advanced tools
Comparing version 1.6.3 to 1.6.4
@@ -51,3 +51,3 @@ /** | ||
*/ | ||
export declare type AptlyPermissionModels = 'admin' | 'adminBilling' | 'adminProducers' | 'adminProducts' | 'adminReport' | 'adminStats' | 'adminSuppliers' | 'adminTags' | 'adminTesting' | 'adminUsers' | 'adminOrganizations' | 'beta' | 'organization' | 'organizationBooking' | 'organizationClients' | 'organizationDepartments' | 'organizationMembers' | 'organizationOptionLabels' | 'organizationOrders' | 'organizationProducts' | 'organizationProductsExtended' | 'organizationReport' | 'organizationStats' | 'organizationLogo' | 'organizationWebhooks' | 'project' | 'projectAlgorithms' | 'projectBooking' | 'projectDocuments' | 'projectInquiry' | 'projectOrders' | 'projectPages' | 'projectPeriods' | 'projectProducts' | 'projectRecommendations' | 'projectReport' | 'projectReportPrice' | 'projectTheme' | 'projectSigning' | 'projectSubcontractor' | 'projectUnits' | 'projectUnitInvites' | 'projectUnitExtraFields' | 'projectUnitExtraOptions' | 'projectUnitTemplates' | 'projectUnitTemplatesAlgorithms' | 'projectUnitTemplatesPrices' | 'projectUpsellTemplates' | 'unit' | 'unitBooking' | 'unitInquiry' | 'unitOrders' | 'unitPages' | 'unitProducts' | 'unitReport'; | ||
export declare type AptlyPermissionModels = 'admin' | 'adminBilling' | 'adminProducers' | 'adminProducts' | 'adminReport' | 'adminStats' | 'adminSuppliers' | 'adminTags' | 'adminTesting' | 'adminUsers' | 'adminOrganizations' | 'beta' | 'organization' | 'organizationAlgorithms' | 'organizationBooking' | 'organizationClients' | 'organizationDepartments' | 'organizationLogo' | 'organizationMembers' | 'organizationOptionLabels' | 'organizationOrders' | 'organizationPages' | 'organizationProducts' | 'organizationProductsExtended' | 'organizationRecommendations' | 'organizationReport' | 'organizationStats' | 'organizationUnitTemplates' | 'organizationUpsellTemplates' | 'organizationWebhooks' | 'project' | 'projectAlgorithms' | 'projectBooking' | 'projectDocuments' | 'projectInquiry' | 'projectOrders' | 'projectPages' | 'projectPeriods' | 'projectProducts' | 'projectRecommendations' | 'projectReport' | 'projectReportPrice' | 'projectTheme' | 'projectSigning' | 'projectSubcontractor' | 'projectUnits' | 'projectUnitInvites' | 'projectUnitExtraFields' | 'projectUnitExtraOptions' | 'projectUnitTemplates' | 'projectUnitTemplatesAlgorithms' | 'projectUnitTemplatesPrices' | 'projectUpsellTemplates' | 'unit' | 'unitBooking' | 'unitInquiry' | 'unitOrders' | 'unitPages' | 'unitProducts' | 'unitReport'; | ||
export declare enum AptlyPermissionModel { | ||
@@ -67,13 +67,18 @@ Admin = "admin", | ||
Organization = "organization", | ||
OrganizationAlgorithms = "organizationAlgorithms", | ||
OrganizationBooking = "organizationBooking", | ||
OrganizationClients = "organizationClients", | ||
OrganizationDepartments = "organizationDepartments", | ||
OrganizationLogo = "organizationLogo", | ||
OrganizationMembers = "organizationMembers", | ||
OrganizationOptionLabels = "organizationOptionLabels", | ||
OrganizationOrders = "organizationOrders", | ||
OrganizationPages = "organizationPages", | ||
OrganizationProducts = "organizationProducts", | ||
OrganizationProductsExtended = "organizationProductsExtended", | ||
OrganizationRecommendations = "organizationRecommendations", | ||
OrganizationReport = "organizationReport", | ||
OrganizationStats = "organizationStats", | ||
OrganizationLogo = "organizationLogo", | ||
OrganizationUnitTemplates = "organizationUnitTemplates", | ||
OrganizationUpsellTemplates = "organizationUpsellTemplates", | ||
OrganizationWebhooks = "organizationWebhooks", | ||
@@ -80,0 +85,0 @@ Project = "project", |
@@ -53,13 +53,18 @@ "use strict"; | ||
AptlyPermissionModel["Organization"] = "organization"; | ||
AptlyPermissionModel["OrganizationAlgorithms"] = "organizationAlgorithms"; | ||
AptlyPermissionModel["OrganizationBooking"] = "organizationBooking"; | ||
AptlyPermissionModel["OrganizationClients"] = "organizationClients"; | ||
AptlyPermissionModel["OrganizationDepartments"] = "organizationDepartments"; | ||
AptlyPermissionModel["OrganizationLogo"] = "organizationLogo"; | ||
AptlyPermissionModel["OrganizationMembers"] = "organizationMembers"; | ||
AptlyPermissionModel["OrganizationOptionLabels"] = "organizationOptionLabels"; | ||
AptlyPermissionModel["OrganizationOrders"] = "organizationOrders"; | ||
AptlyPermissionModel["OrganizationPages"] = "organizationPages"; | ||
AptlyPermissionModel["OrganizationProducts"] = "organizationProducts"; | ||
AptlyPermissionModel["OrganizationProductsExtended"] = "organizationProductsExtended"; | ||
AptlyPermissionModel["OrganizationRecommendations"] = "organizationRecommendations"; | ||
AptlyPermissionModel["OrganizationReport"] = "organizationReport"; | ||
AptlyPermissionModel["OrganizationStats"] = "organizationStats"; | ||
AptlyPermissionModel["OrganizationLogo"] = "organizationLogo"; | ||
AptlyPermissionModel["OrganizationUnitTemplates"] = "organizationUnitTemplates"; | ||
AptlyPermissionModel["OrganizationUpsellTemplates"] = "organizationUpsellTemplates"; | ||
AptlyPermissionModel["OrganizationWebhooks"] = "organizationWebhooks"; | ||
@@ -66,0 +71,0 @@ AptlyPermissionModel["Project"] = "project"; |
@@ -94,13 +94,18 @@ | ||
| 'organization' | ||
| 'organizationAlgorithms' | ||
| 'organizationBooking' | ||
| 'organizationClients' | ||
| 'organizationDepartments' | ||
| 'organizationLogo' | ||
| 'organizationMembers' | ||
| 'organizationOptionLabels' | ||
| 'organizationOrders' | ||
| 'organizationPages' | ||
| 'organizationProducts' | ||
| 'organizationProductsExtended' | ||
| 'organizationRecommendations' | ||
| 'organizationReport' | ||
| 'organizationStats' | ||
| 'organizationLogo' | ||
| 'organizationUnitTemplates' | ||
| 'organizationUpsellTemplates' | ||
| 'organizationWebhooks' | ||
@@ -152,13 +157,18 @@ | 'project' | ||
Organization = 'organization', | ||
OrganizationAlgorithms = 'organizationAlgorithms', | ||
OrganizationBooking = 'organizationBooking', | ||
OrganizationClients = 'organizationClients', | ||
OrganizationDepartments = 'organizationDepartments', | ||
OrganizationLogo = 'organizationLogo', | ||
OrganizationMembers = 'organizationMembers', | ||
OrganizationOptionLabels = 'organizationOptionLabels', | ||
OrganizationOrders = 'organizationOrders', | ||
OrganizationPages = 'organizationPages', | ||
OrganizationProducts = 'organizationProducts', | ||
OrganizationProductsExtended = 'organizationProductsExtended', | ||
OrganizationRecommendations = 'organizationRecommendations', | ||
OrganizationReport = 'organizationReport', | ||
OrganizationStats = 'organizationStats', | ||
OrganizationLogo = 'organizationLogo', | ||
OrganizationUnitTemplates = 'organizationUnitTemplates', | ||
OrganizationUpsellTemplates = 'organizationUpsellTemplates', | ||
OrganizationWebhooks = 'organizationWebhooks', | ||
@@ -165,0 +175,0 @@ Project = 'project', |
@@ -0,1 +1,2 @@ | ||
export * from './algorithm'; | ||
export * from './app'; | ||
@@ -2,0 +3,0 @@ export * from './booking'; |
@@ -13,2 +13,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./algorithm"), exports); | ||
__exportStar(require("./app"), exports); | ||
@@ -15,0 +16,0 @@ __exportStar(require("./booking"), exports); |
export * from './algorithm'; | ||
export * from './app'; | ||
@@ -3,0 +4,0 @@ export * from './booking'; |
@@ -8,2 +8,3 @@ import { AptlyPermissionModulesModels, AptlyPermissionOrganizationModels, AptlyScope, AptlySignageSchema } from '../core'; | ||
import { AptlyAppSchema } from './app'; | ||
import { AptlyAlgorithmSchema } from './algorithm'; | ||
export declare type AptlyOrganization = AptlyOrganizationSchema<string, string>; | ||
@@ -28,2 +29,3 @@ export interface AptlyOrganizationSchema<ID, DATE> extends AptlyBaseSchema<ID, DATE> { | ||
email: string; | ||
algorithms: AptlyAlgorithmSchema<ID>[]; | ||
members: AptlyOrganizationMemberSchema<ID, DATE>[]; | ||
@@ -30,0 +32,0 @@ modules: AptlyPermissionModulesModels[]; |
@@ -13,2 +13,3 @@ import { | ||
import { AptlyAppSchema } from './app'; | ||
import { AptlyAlgorithmSchema } from './algorithm'; | ||
@@ -35,2 +36,3 @@ export type AptlyOrganization = AptlyOrganizationSchema<string, string>; | ||
email: string; | ||
algorithms: AptlyAlgorithmSchema<ID>[]; | ||
members: AptlyOrganizationMemberSchema<ID, DATE>[]; | ||
@@ -37,0 +39,0 @@ modules: AptlyPermissionModulesModels[]; |
@@ -39,3 +39,9 @@ import { AptlyOrganizationSchema } from './organization'; | ||
} | ||
/** | ||
* @deprecated use AptlyAlgorithm instead | ||
*/ | ||
export declare type AptlyProjectAlgorithm = AptlyProjectAlgorithmSchema<string>; | ||
/** | ||
* @deprecated use AptlyAlgorithm instead | ||
*/ | ||
export interface AptlyProjectAlgorithmSchema<ID> { | ||
@@ -45,4 +51,12 @@ _id: ID; | ||
pipeline: AptlyProjectAlgorithmPipelineSchema<ID>[]; | ||
organization?: ID; | ||
project?: ID; | ||
} | ||
/** | ||
* @deprecated use AptlyAlgorithmPipeline instead | ||
*/ | ||
export declare type AptlyProjectAlgorithmPipeline = AptlyProjectAlgorithmPipelineSchema<string>; | ||
/** | ||
* @deprecated use AptlyAlgorithmPipeline instead | ||
*/ | ||
export interface AptlyProjectAlgorithmPipelineSchema<ID> { | ||
@@ -49,0 +63,0 @@ _id: ID; |
@@ -43,3 +43,10 @@ import { AptlyOrganizationSchema } from './organization'; | ||
/** | ||
* @deprecated use AptlyAlgorithm instead | ||
*/ | ||
export type AptlyProjectAlgorithm = AptlyProjectAlgorithmSchema<string>; | ||
/** | ||
* @deprecated use AptlyAlgorithm instead | ||
*/ | ||
export interface AptlyProjectAlgorithmSchema<ID> { | ||
@@ -49,5 +56,13 @@ _id: ID; | ||
pipeline: AptlyProjectAlgorithmPipelineSchema<ID>[]; | ||
organization?: ID; | ||
project?: ID; | ||
} | ||
/** | ||
* @deprecated use AptlyAlgorithmPipeline instead | ||
*/ | ||
export type AptlyProjectAlgorithmPipeline = AptlyProjectAlgorithmPipelineSchema<string>; | ||
/** | ||
* @deprecated use AptlyAlgorithmPipeline instead | ||
*/ | ||
export interface AptlyProjectAlgorithmPipelineSchema<ID> { | ||
@@ -54,0 +69,0 @@ _id: ID; |
@@ -17,3 +17,4 @@ import { AptlyBaseSchema, AptlyHistorySchema } from './extends'; | ||
description?: string; | ||
project: ID; | ||
organization?: ID; | ||
project?: ID; | ||
archived: boolean; | ||
@@ -20,0 +21,0 @@ /** |
@@ -22,3 +22,4 @@ import { AptlyBaseSchema, AptlyHistorySchema } from './extends'; | ||
description?: string; | ||
project: ID; | ||
organization?: ID; | ||
project?: ID; | ||
archived: boolean; | ||
@@ -25,0 +26,0 @@ |
{ | ||
"name": "@aptly-as/types", | ||
"version": "1.6.3", | ||
"version": "1.6.4", | ||
"description": "Aptly types and enums", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
165057
186
4232