Skip to content

Commit

Permalink
chore: update ts definitions - time stamp: 2020-11-02
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcvay committed Dec 2, 2020
1 parent 01a08f5 commit 87feb6f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 127 deletions.
2 changes: 1 addition & 1 deletion packages/foundations-ts-definitions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reapit/foundations-ts-definitions",
"version": "1.1.3",
"version": "1.1.4",
"license": "MIT",
"files": [
"types/*"
Expand Down
48 changes: 0 additions & 48 deletions packages/foundations-ts-definitions/types/marketplace-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,22 +173,6 @@ export interface AppDetailModel {
* Gets the status of whether the app has pending revisions
*/
pendingRevisions?: boolean
/**
* Gets the location url of the terms and conditions associated to the app
*/
termsAndConditionsUrl?: string
/**
* Gets the location url of the privacy policy associated to the app
*/
privacyPolicyUrl?: string
/**
* Gets the location url of the pricing document associated to the app
*/
pricingUrl?: string
/**
* Gets a flag to determine if the app is free to use
*/
isFree?: boolean
category?: CategoryModel
/**
* Gets the collection of scopes against the app
Expand Down Expand Up @@ -275,22 +259,6 @@ export interface AppRevisionModel {
* Gets the desktop integration type ids of this revision
*/
desktopIntegrationTypeIds?: string[]
/**
* Gets the location url of the terms and conditions associated to the app
*/
termsAndConditionsUrl?: string
/**
* Gets the location url of the privacy policy associated to the app
*/
privacyPolicyUrl?: string
/**
* Gets the location url of the pricing document associated to the app
*/
pricingUrl?: string
/**
* Gets a flag to determine if the app is free to use
*/
isFree?: boolean
category?: CategoryModel
/**
* Gets the scopes that have been associated to this revision
Expand Down Expand Up @@ -769,22 +737,6 @@ export interface CreateAppRevisionModel {
* Sets the list of scope keys required for this app revision
*/
scopes?: string[]
/**
* Sets the location url of the terms and conditions associated to the app
*/
termsAndConditionsUrl?: string
/**
* Sets the location url of the privacy policy associated to the app
*/
privacyPolicyUrl?: string
/**
* Sets the location url of the pricing document associated to the app
*/
pricingUrl?: string
/**
* Sets a flag to determine if the app is free to use
*/
isFree?: boolean
}
/**
* The model responsible for creation of a category
Expand Down
78 changes: 0 additions & 78 deletions packages/foundations-ts-definitions/types/platform-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5212,21 +5212,6 @@ export interface CreatePropertyTenureModel {
*/
expiry?: string // date
}
/**
* Payload to create a JSON schema for metadata validation
* example:
* [object Object]
*/
export interface CreateSchemaRequest {
/**
* The name of the entity type that this schema is related to
*/
entityType: string
/**
* The JSON schema used to validate entities of this type
*/
schema: string
}
/**
* Request body used to create a new source of business
* example:
Expand Down Expand Up @@ -7125,11 +7110,6 @@ export interface Metadata {
entityId?: string[]
filter?: string[]
}
export interface MetadataMetadataSchema {
pageSize?: number
pageNumber?: number
entityType?: string
}
/**
* Model representing the state of a metadata record for a given entity
*/
Expand Down Expand Up @@ -9330,53 +9310,6 @@ export interface RecurrenceModel {
*/
until?: string // date-time
}
/**
* Model representing a JSON schema used to validate a specific entity type
*/
export interface SchemaModel {
/**
* The unique identifier of this JSON schema
*/
id?: string
/**
* The date and time of when this JSON schema was last updated
* example:
* 2019-08-14T12:30:02.0000000Z
*/
modified?: string // date-time
/**
* The JSON schema document
*/
schema?: string
}
export interface SchemaModelPagedResult {
_embedded?: {
/**
* The unique identifier of this JSON schema
*/
id?: string
/**
* The date and time of when this JSON schema was last updated
* example:
* 2019-08-14T12:30:02.0000000Z
*/
modified?: string // date-time
/**
* The JSON schema document
*/
schema?: string
}[]
pageNumber?: number // int32
pageSize?: number // int32
pageCount?: number // int32
totalPageCount?: number // int32
totalCount?: number // int32
_links?: {
[name: string]: {
href?: string
}
}
}
/**
* Representation of a source of business
*/
Expand Down Expand Up @@ -12389,17 +12322,6 @@ export interface UpdatePropertyTenureModel {
*/
expiry?: string // date
}
/**
* Payload to update a JSON schema
* example:
* [object Object]
*/
export interface UpdateSchemaRequest {
/**
* The updated JSON schema to store
*/
schema: string
}
/**
* Request body used to update an existing source of business
* example:
Expand Down

0 comments on commit 87feb6f

Please sign in to comment.