Skip to main content
Skip to main content

IStockLocationService

Methods

__joinerConfig

Returns

ModuleJoinerConfigOmit<JoinerServiceConfig, "serviceName" | "primaryKeys" | "relationships" | "extends"> & &#123; databaseConfig?: &#123; extraFields?: Record&#60;string, &#123; defaultValue?: string ; nullable?: boolean ; options?: Record&#60;string, unknown&#62; ; type: "date"\|"time"\|"datetime"\|"bigint"\|"blob"\|"uint8array"\|"array"\|"enumArray"\|"enum"\|"json"\|"integer"\|"smallint"\|"tinyint"\|"mediumint"\|"float"\|"double"\|"boolean"\|"decimal"\|"string"\|"uuid"\|"text" &#125;&#62; ; idPrefix?: string ; tableName?: string &#125; ; extends?: &#123; fieldAlias?: Record&#60;string, string \| &#123; forwardArgumentsOnPath: string[] ; path: string &#125;&#62; ; relationship: [ModuleJoinerRelationship](/references/js-client/ModulesSdkTypes/types/internal.internal-1.ModulesSdkTypes.ModuleJoinerRelationship) ; serviceName: string &#125;[] ; isLink?: boolean ; isReadOnlyLink?: boolean ; linkableKeys?: Record&#60;string, string&#62; ; primaryKeys?: string[] ; relationships?: [ModuleJoinerRelationship](/references/js-client/ModulesSdkTypes/types/internal.internal-1.ModulesSdkTypes.ModuleJoinerRelationship)[] ; schema?: string ; serviceName?: string &#125;Required

create

Parameters

Returns

PromisePromise<StockLocationDTO>Required

delete

Parameters

idstringRequired

Returns

PromisePromise<void>Required

list

Parameters

Returns

PromisePromise<StockLocationDTO[]>Required

listAndCount

Parameters

Returns

PromisePromise<[StockLocationDTO[], number]>Required

retrieve

Parameters

idstringRequired

Returns

PromisePromise<StockLocationDTO>Required

update

Parameters

idstringRequired

Returns

PromisePromise<StockLocationDTO>Required
Was this section helpful?