@faiber/faiber-modules 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ {"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/axios/index.d.ts","../../core/dist/types.d.ts","../../core/dist/env.d.ts","../../core/dist/auth.d.ts","../../core/dist/client.d.ts","../../core/dist/resource.d.ts","../../core/dist/openapi.d.ts","../../core/dist/index.d.ts","../src/types.ts","../src/index.ts"],"fileIdsList":[[61],[60,61],[60,61,62,63,64,65,66],[60,61,64],[60],[67,68],[67]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"2343ec253c90c370449755739733f5f429f58cffdb51a50977bb4a042012fa8f","impliedFormat":99},{"version":"138724776c2b7fdf331300e22dfdfb8890d0400164f4996c02062e4e5d117927","impliedFormat":99},{"version":"b66481e67da6f0555bffad4132fc0648b59ee621fed61c194952c74eb68ab8ce","impliedFormat":99},{"version":"ed17ed1b2bcf384c88bc6cec6b427989b98db99fc7ad35a50605501a463bbc53","impliedFormat":99},{"version":"82bf4efcca8ab8764a91ac126c0af605ab6717ee94b2316461b5fa388b27e165","impliedFormat":99},{"version":"b060635c1b555ff21aa5bab5b038e15d67700d6bec6738323a443715931589f1","impliedFormat":99},{"version":"c087a6e63b4a0552d926053311a3b4289189fa165be4e0adcbf18905805a2125","impliedFormat":99},{"version":"66a0cb4d019dd780c2fb5c2942778929ec55715bb5a0f3b80aac4c0b92e35d16","impliedFormat":99},{"version":"56a486ecc14c3abe4946af947a3542a05689b13e75f7e2cb31ef35ab0977bac3","signature":"3a3a714ddd2605ca4dc6095ffebb0f7fc0928aca4411e78af9290df74decbd0a","impliedFormat":99},{"version":"af6a8613cbcc6aa5a489dadfaf51eee5bcd0399a1a98d2b25e3ee68414a071c5","signature":"25423caf5884c9a685d155df05089b666cddef0a3cdde6b66a9372d5bb25c827","impliedFormat":99}],"root":[68,69],"options":{"composite":true,"declaration":true,"declarationMap":true,"exactOptionalPropertyTypes":true,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[63,1],[64,2],[62,1],[67,3],[66,4],[65,4],[61,5],[69,6],[68,7]],"semanticDiagnosticsPerFile":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
@@ -0,0 +1,36 @@
1
+ import { RestResource, ServiceApi, type Identifier, type QueryParams, type RequestOptions } from "@faiber/sdk-core";
2
+ import type { AttachCategoryInput, AttachTagInput, AuditLogListResponse, Author, BlogPost, CartResponse, Category, CategoryAttachmentListResponse, CategoryAttachmentResponse, Comment, Content, ContentAttachmentListResponse, CreateAuthorInput, CreateBlogPostInput, CreateCategoryInput, CreateCommentInput, CreateContentInput, CreateInventoryInput, CreateModuleRequestInput, CreateOrderInput, CreatePricingInput, CreateProductInput, CreateProductVariantInput, CreateSampleInput, CreateSeoContentInput, CreateTagInput, CreateWarehouseInput, Inventory, ModuleRequest, Order, Pricing, Product, ProductListResponse, ProductResponse, ProductVariant, ProductVariantListResponse, ProductVariantQuery, ProductVariantResponse, ReplaceCartInput, Sample, SeoAttachmentListResponse, SeoContent, SocialPostListResponse, StockMovementListResponse, Tag, TagAttachmentListResponse, TagAttachmentResponse, UpdateAuthorInput, UpdateBlogPostInput, UpdateCategoryInput, UpdateCommentInput, UpdateContentInput, UpdateInventoryInput, UpdateModuleRequestInput, UpdateOrderInput, UpdatePricingInput, UpdateProductInput, UpdateProductVariantInput, UpdateSampleInput, UpdateSeoContentInput, UpdateTagInput, UpdateWarehouseInput, Warehouse } from "./types.js";
3
+ export declare class ModulesApi extends ServiceApi {
4
+ readonly products: RestResource<Product, CreateProductInput, UpdateProductInput, ProductListResponse, ProductResponse>;
5
+ readonly variants: RestResource<ProductVariant, CreateProductVariantInput, UpdateProductVariantInput, ProductVariantListResponse, ProductVariantResponse>;
6
+ readonly orders: RestResource<Order, CreateOrderInput, UpdateOrderInput, import("@faiber/sdk-core").ResourceListResponse<Order>, import("@faiber/sdk-core").ResourceResponse<Order>>;
7
+ readonly posts: RestResource<BlogPost, CreateBlogPostInput, UpdateBlogPostInput, import("@faiber/sdk-core").ResourceListResponse<BlogPost>, import("@faiber/sdk-core").ResourceResponse<BlogPost>>;
8
+ readonly categories: RestResource<Category, CreateCategoryInput, UpdateCategoryInput, import("@faiber/sdk-core").ResourceListResponse<Category>, import("@faiber/sdk-core").ResourceResponse<Category>>;
9
+ readonly tags: RestResource<Tag, CreateTagInput, UpdateTagInput, import("@faiber/sdk-core").ResourceListResponse<Tag>, import("@faiber/sdk-core").ResourceResponse<Tag>>;
10
+ readonly authors: RestResource<Author, CreateAuthorInput, UpdateAuthorInput, import("@faiber/sdk-core").ResourceListResponse<Author>, import("@faiber/sdk-core").ResourceResponse<Author>>;
11
+ readonly contents: RestResource<Content, CreateContentInput, UpdateContentInput, import("@faiber/sdk-core").ResourceListResponse<Content>, import("@faiber/sdk-core").ResourceResponse<Content>>;
12
+ readonly seo: RestResource<SeoContent, CreateSeoContentInput, UpdateSeoContentInput, import("@faiber/sdk-core").ResourceListResponse<SeoContent>, import("@faiber/sdk-core").ResourceResponse<SeoContent>>;
13
+ readonly comments: RestResource<Comment, CreateCommentInput, UpdateCommentInput, import("@faiber/sdk-core").ResourceListResponse<Comment>, import("@faiber/sdk-core").ResourceResponse<Comment>>;
14
+ readonly requests: RestResource<ModuleRequest, CreateModuleRequestInput, UpdateModuleRequestInput, import("@faiber/sdk-core").ResourceListResponse<ModuleRequest>, import("@faiber/sdk-core").ResourceResponse<ModuleRequest>>;
15
+ readonly warehouses: RestResource<Warehouse, CreateWarehouseInput, UpdateWarehouseInput, import("@faiber/sdk-core").ResourceListResponse<Warehouse>, import("@faiber/sdk-core").ResourceResponse<Warehouse>>;
16
+ readonly inventory: RestResource<Inventory, CreateInventoryInput, UpdateInventoryInput, import("@faiber/sdk-core").ResourceListResponse<Inventory>, import("@faiber/sdk-core").ResourceResponse<Inventory>>;
17
+ readonly pricing: RestResource<Pricing, CreatePricingInput, UpdatePricingInput, import("@faiber/sdk-core").ResourceListResponse<Pricing>, import("@faiber/sdk-core").ResourceResponse<Pricing>>;
18
+ readonly samples: RestResource<Sample, CreateSampleInput, UpdateSampleInput, import("@faiber/sdk-core").ResourceListResponse<Sample>, import("@faiber/sdk-core").ResourceResponse<Sample>>;
19
+ productVariants(productId: Identifier, params?: ProductVariantQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<ProductVariantListResponse, any, {}>>;
20
+ createVariant(productId: Identifier, data: CreateProductVariantInput, options?: RequestOptions<CreateProductVariantInput>): Promise<import("axios").AxiosResponse<ProductVariantResponse, CreateProductVariantInput, {}>>;
21
+ cart(options?: RequestOptions): Promise<import("axios").AxiosResponse<CartResponse, any, {}>>;
22
+ replaceCart(data: ReplaceCartInput, options?: RequestOptions<ReplaceCartInput>): Promise<import("axios").AxiosResponse<CartResponse, ReplaceCartInput, {}>>;
23
+ categoriesFor(host: string, id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<CategoryAttachmentListResponse, any, {}>>;
24
+ attachCategory(host: string, id: Identifier, data: AttachCategoryInput, options?: RequestOptions<AttachCategoryInput>): Promise<import("axios").AxiosResponse<CategoryAttachmentResponse, AttachCategoryInput, {}>>;
25
+ tagsFor(host: string, id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<TagAttachmentListResponse, any, {}>>;
26
+ attachTag(host: string, id: Identifier, data: AttachTagInput, options?: RequestOptions<AttachTagInput>): Promise<import("axios").AxiosResponse<TagAttachmentResponse, AttachTagInput, {}>>;
27
+ contentFor(host: string, id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<ContentAttachmentListResponse, any, {}>>;
28
+ seoFor(host: string, id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<SeoAttachmentListResponse, any, {}>>;
29
+ audit(host: string, id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<AuditLogListResponse, any, {}>>;
30
+ stockMovements(params?: QueryParams, options?: RequestOptions): Promise<import("axios").AxiosResponse<StockMovementListResponse, any, {}>>;
31
+ socialPosts(params?: QueryParams, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostListResponse, any, {}>>;
32
+ moderationQueue(params?: QueryParams, options?: RequestOptions): Promise<import("axios").AxiosResponse<SocialPostListResponse, any, {}>>;
33
+ }
34
+ export * from "@faiber/sdk-core";
35
+ export * from "./types.js";
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AAc,CAAC,cAAc,CAAC;IAGtG,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc;IAGjE,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc;IAG7D,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc;IAG5D,cAAc,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,cAAc;IAG7D,WAAW,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,cAAc;IAG1D,eAAe,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,cAAc;CAGjE;AACD,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,66 @@
1
+ import { RestResource, ServiceApi, } from "@faiber/sdk-core";
2
+ function targetPath(base, host, id) {
3
+ return `${base}/${encodeURIComponent(host)}/${encodeURIComponent(id)}`;
4
+ }
5
+ export class ModulesApi extends ServiceApi {
6
+ products = new RestResource(this.client, "/api/v1/shop/products");
7
+ variants = new RestResource(this.client, "/api/v1/shop/variants");
8
+ orders = new RestResource(this.client, "/api/v1/shop/orders");
9
+ posts = new RestResource(this.client, "/api/v1/blog/posts");
10
+ categories = new RestResource(this.client, "/api/v1/categories");
11
+ tags = new RestResource(this.client, "/api/v1/tags");
12
+ authors = new RestResource(this.client, "/api/v1/authors");
13
+ contents = new RestResource(this.client, "/api/v1/contents");
14
+ seo = new RestResource(this.client, "/api/v1/seo-contents");
15
+ comments = new RestResource(this.client, "/api/v1/comments");
16
+ requests = new RestResource(this.client, "/api/v1/requests");
17
+ warehouses = new RestResource(this.client, "/api/v1/inventory/warehouses");
18
+ inventory = new RestResource(this.client, "/api/v1/inventory/inventories");
19
+ pricing = new RestResource(this.client, "/api/v1/pricing");
20
+ samples = new RestResource(this.client, "/api/v1/samples");
21
+ productVariants(productId, params, options) {
22
+ return this.client.get(`/api/v1/shop/products/${encodeURIComponent(productId)}/variants`, params, options);
23
+ }
24
+ createVariant(productId, data, options) {
25
+ return this.client.post(`/api/v1/shop/products/${encodeURIComponent(productId)}/variants`, data, options);
26
+ }
27
+ cart(options) {
28
+ return this.client.get("/api/v1/shop/cart", undefined, options);
29
+ }
30
+ replaceCart(data, options) {
31
+ return this.client.put("/api/v1/shop/cart", data, options);
32
+ }
33
+ categoriesFor(host, id, options) {
34
+ return this.client.get(targetPath("/api/v1/categories", host, id), undefined, options);
35
+ }
36
+ attachCategory(host, id, data, options) {
37
+ return this.client.post(targetPath("/api/v1/categories", host, id), data, options);
38
+ }
39
+ tagsFor(host, id, options) {
40
+ return this.client.get(targetPath("/api/v1/tags", host, id), undefined, options);
41
+ }
42
+ attachTag(host, id, data, options) {
43
+ return this.client.post(targetPath("/api/v1/tags", host, id), data, options);
44
+ }
45
+ contentFor(host, id, options) {
46
+ return this.client.get(targetPath("/api/v1/contents", host, id), undefined, options);
47
+ }
48
+ seoFor(host, id, options) {
49
+ return this.client.get(targetPath("/api/v1/seo-contents", host, id), undefined, options);
50
+ }
51
+ audit(host, id, options) {
52
+ return this.client.get(targetPath("/api/v1/audit-logs", host, id), undefined, options);
53
+ }
54
+ stockMovements(params, options) {
55
+ return this.client.get("/api/v1/inventory/stock-movements", params, options);
56
+ }
57
+ socialPosts(params, options) {
58
+ return this.client.get("/api/v1/social/posts", params, options);
59
+ }
60
+ moderationQueue(params, options) {
61
+ return this.client.get("/api/v1/social/moderation/posts", params, options);
62
+ }
63
+ }
64
+ export * from "@faiber/sdk-core";
65
+ export * from "./types.js";
66
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU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AAE,OAAwB;QACtD,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAyB,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;IACD,eAAe,CAAC,MAAoB,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAyB,iCAAiC,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IACvG,CAAC;CACJ;AACD,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC"}
@@ -0,0 +1,346 @@
1
+ import type { ApiEnvelope, Identifier, JsonValue, PaginatedResult, QueryParams, ResourceListResponse, ResourceResponse } from "@faiber/sdk-core";
2
+ export interface Product {
3
+ id: string;
4
+ name: string;
5
+ description?: string | null;
6
+ sku?: JsonValue;
7
+ status?: number;
8
+ sort_order?: number;
9
+ created_at?: string;
10
+ updated_at?: string;
11
+ }
12
+ export interface CreateProductInput {
13
+ name: string;
14
+ description?: string;
15
+ sku?: JsonValue;
16
+ status?: number;
17
+ sort_order?: number;
18
+ }
19
+ export interface UpdateProductInput extends Partial<CreateProductInput> {
20
+ }
21
+ export interface ProductVariant {
22
+ id: string;
23
+ product_id: string;
24
+ name: string;
25
+ sku?: JsonValue;
26
+ price: string | number;
27
+ cost?: string | number;
28
+ weight?: string | number;
29
+ stock_priority?: number;
30
+ status?: number;
31
+ sort_order?: number;
32
+ }
33
+ export interface CreateProductVariantInput {
34
+ name: string;
35
+ sku?: JsonValue;
36
+ price: string | number;
37
+ cost?: string | number;
38
+ weight?: string | number;
39
+ stock_priority?: number;
40
+ status?: number;
41
+ sort_order?: number;
42
+ }
43
+ export interface UpdateProductVariantInput extends Partial<CreateProductVariantInput> {
44
+ }
45
+ export interface Order {
46
+ id: string;
47
+ user_id?: string;
48
+ status?: string | number;
49
+ total?: string | number;
50
+ items?: OrderItem[];
51
+ created_at?: string;
52
+ updated_at?: string;
53
+ }
54
+ export interface OrderItem {
55
+ id: string;
56
+ order_id: string;
57
+ variant_id: string;
58
+ quantity: number;
59
+ unit_price?: string | number;
60
+ }
61
+ export interface CreateOrderInput {
62
+ user_id?: string;
63
+ status?: string | number;
64
+ items?: Array<Pick<OrderItem, "variant_id" | "quantity">>;
65
+ }
66
+ export interface UpdateOrderInput {
67
+ status?: string | number;
68
+ }
69
+ export interface BlogPost {
70
+ id: string;
71
+ title: string;
72
+ description?: string | null;
73
+ status?: number;
74
+ created_at?: string;
75
+ updated_at?: string;
76
+ }
77
+ export interface CreateBlogPostInput {
78
+ title: string;
79
+ description?: string;
80
+ status?: number;
81
+ }
82
+ export interface UpdateBlogPostInput extends Partial<CreateBlogPostInput> {
83
+ }
84
+ export interface Category {
85
+ id: string;
86
+ parent_id?: string | null;
87
+ name?: string | null;
88
+ description?: string | null;
89
+ status: number;
90
+ requires_confirmation?: boolean;
91
+ }
92
+ export interface CreateCategoryInput {
93
+ parent_id?: string;
94
+ name?: string;
95
+ description?: string;
96
+ status?: number;
97
+ requires_confirmation?: boolean;
98
+ }
99
+ export interface UpdateCategoryInput extends Partial<CreateCategoryInput> {
100
+ }
101
+ export interface Tag {
102
+ id: string;
103
+ name: string;
104
+ status: number;
105
+ }
106
+ export interface CreateTagInput {
107
+ name: string;
108
+ status?: number;
109
+ }
110
+ export interface UpdateTagInput extends Partial<CreateTagInput> {
111
+ }
112
+ export interface Author {
113
+ id: string;
114
+ user_id: string;
115
+ name: string;
116
+ bio?: string | null;
117
+ avatar_url?: string | null;
118
+ social_links?: JsonValue;
119
+ website?: string | null;
120
+ }
121
+ export interface CreateAuthorInput {
122
+ user_id: string;
123
+ name: string;
124
+ bio?: string;
125
+ avatar_url?: string;
126
+ social_links?: JsonValue;
127
+ website?: string;
128
+ }
129
+ export interface UpdateAuthorInput extends Partial<Omit<CreateAuthorInput, "user_id">> {
130
+ }
131
+ export interface Content {
132
+ id: string;
133
+ content?: string | null;
134
+ auto_saved_content?: string | null;
135
+ created_by_user_id?: string;
136
+ created_by_author_id?: string | null;
137
+ }
138
+ export interface CreateContentInput {
139
+ content?: string;
140
+ created_by_author_id?: string;
141
+ }
142
+ export interface UpdateContentInput {
143
+ content?: string;
144
+ auto_saved_content?: string;
145
+ }
146
+ export interface SeoContent {
147
+ id: string;
148
+ meta_url?: string | null;
149
+ meta_title?: string | null;
150
+ meta_description?: string | null;
151
+ meta_keyword?: string | null;
152
+ meta_ld?: JsonValue;
153
+ }
154
+ export interface CreateSeoContentInput {
155
+ meta_url?: string;
156
+ meta_title?: string;
157
+ meta_description?: string;
158
+ meta_keyword?: string;
159
+ meta_ld?: JsonValue;
160
+ }
161
+ export interface UpdateSeoContentInput extends Partial<CreateSeoContentInput> {
162
+ }
163
+ export interface Comment {
164
+ id: string;
165
+ content?: string;
166
+ author_id?: string | null;
167
+ status?: number;
168
+ created_at?: string;
169
+ }
170
+ export interface CreateCommentInput {
171
+ content: string;
172
+ author_id?: string;
173
+ status?: number;
174
+ }
175
+ export interface UpdateCommentInput extends Partial<CreateCommentInput> {
176
+ }
177
+ export interface ModuleRequest {
178
+ id: string;
179
+ category_id?: string;
180
+ status?: string | number;
181
+ payload?: JsonValue;
182
+ }
183
+ export interface CreateModuleRequestInput {
184
+ category_id?: string;
185
+ status?: string | number;
186
+ payload?: JsonValue;
187
+ }
188
+ export interface UpdateModuleRequestInput extends Partial<CreateModuleRequestInput> {
189
+ }
190
+ export interface Warehouse {
191
+ id: string;
192
+ name: string;
193
+ location: string;
194
+ capacity: number;
195
+ }
196
+ export interface CreateWarehouseInput {
197
+ name: string;
198
+ location: string;
199
+ capacity: number;
200
+ }
201
+ export interface UpdateWarehouseInput extends Partial<CreateWarehouseInput> {
202
+ }
203
+ export interface Inventory {
204
+ id: string;
205
+ variant_id: string;
206
+ warehouse_id: string;
207
+ priority: number;
208
+ quantity: number;
209
+ reserved: number;
210
+ available: number;
211
+ }
212
+ export interface CreateInventoryInput {
213
+ variant_id: string;
214
+ warehouse_id: string;
215
+ priority?: number;
216
+ quantity: number;
217
+ }
218
+ export interface UpdateInventoryInput {
219
+ priority?: number;
220
+ quantity?: number;
221
+ reserved?: number;
222
+ }
223
+ export interface Pricing {
224
+ id: string;
225
+ service_name: string;
226
+ display_name?: string;
227
+ hourly_price?: number;
228
+ monthly_price?: number;
229
+ annual_price?: number;
230
+ currency?: string;
231
+ }
232
+ export interface CreatePricingInput extends Omit<Pricing, "id"> {
233
+ }
234
+ export interface UpdatePricingInput extends Partial<CreatePricingInput> {
235
+ }
236
+ export interface Sample {
237
+ id: string;
238
+ name?: string;
239
+ slug?: string;
240
+ content?: string;
241
+ variables?: JsonValue;
242
+ }
243
+ export interface CreateSampleInput {
244
+ name?: string;
245
+ slug?: string;
246
+ content?: string;
247
+ variables?: JsonValue;
248
+ }
249
+ export interface UpdateSampleInput extends Partial<CreateSampleInput> {
250
+ }
251
+ export interface CartItem {
252
+ variant_id: string;
253
+ quantity: number;
254
+ }
255
+ export interface Cart {
256
+ items: CartItem[];
257
+ subtotal?: string | number;
258
+ total?: string | number;
259
+ }
260
+ export interface ReplaceCartInput {
261
+ items: CartItem[];
262
+ }
263
+ export interface AttachCategoryInput {
264
+ category_id: string;
265
+ sort_order?: number;
266
+ }
267
+ export interface CategoryAttachment {
268
+ id: string;
269
+ category_id: string;
270
+ target_id: string;
271
+ sort_order: number;
272
+ }
273
+ export interface AttachTagInput {
274
+ tag_id: string;
275
+ sort_order?: number;
276
+ }
277
+ export interface TagAttachment {
278
+ id: string;
279
+ tag_id: string;
280
+ target_id: string;
281
+ sort_order: number;
282
+ }
283
+ export interface AuditLog {
284
+ id: string;
285
+ host?: string;
286
+ target_id?: string;
287
+ action?: string;
288
+ user_id?: string;
289
+ data?: JsonValue;
290
+ created_at?: string;
291
+ }
292
+ export interface StockMovement {
293
+ id: string;
294
+ inventory_id?: string;
295
+ quantity?: number;
296
+ movement_type?: string;
297
+ created_at?: string;
298
+ }
299
+ export interface SocialPost {
300
+ id: string;
301
+ author_id?: string;
302
+ content?: string;
303
+ status?: string | number;
304
+ created_at?: string;
305
+ }
306
+ export interface ProductVariantQuery extends QueryParams {
307
+ product_id?: string;
308
+ page_number?: number;
309
+ page_size?: number;
310
+ }
311
+ export interface InventoryQuery extends QueryParams {
312
+ variant_id?: string;
313
+ warehouse_id?: string;
314
+ page_number?: number;
315
+ page_size?: number;
316
+ }
317
+ export interface ProductResponse extends ResourceResponse<Product> {
318
+ }
319
+ export interface ProductListResponse extends ResourceListResponse<Product> {
320
+ }
321
+ export interface ProductVariantResponse extends ResourceResponse<ProductVariant> {
322
+ }
323
+ export interface ProductVariantListResponse extends ResourceListResponse<ProductVariant> {
324
+ }
325
+ export interface CartResponse extends ApiEnvelope<Cart> {
326
+ }
327
+ export interface CategoryAttachmentResponse extends ApiEnvelope<CategoryAttachment> {
328
+ }
329
+ export interface CategoryAttachmentListResponse extends ApiEnvelope<CategoryAttachment[]> {
330
+ }
331
+ export interface TagAttachmentResponse extends ApiEnvelope<TagAttachment> {
332
+ }
333
+ export interface TagAttachmentListResponse extends ApiEnvelope<TagAttachment[]> {
334
+ }
335
+ export interface ContentAttachmentListResponse extends ApiEnvelope<Content[]> {
336
+ }
337
+ export interface SeoAttachmentListResponse extends ApiEnvelope<SeoContent[]> {
338
+ }
339
+ export interface AuditLogListResponse extends ApiEnvelope<AuditLog[]> {
340
+ }
341
+ export interface StockMovementListResponse extends ApiEnvelope<PaginatedResult<StockMovement>> {
342
+ }
343
+ export interface SocialPostListResponse extends ApiEnvelope<PaginatedResult<SocialPost>> {
344
+ }
345
+ export type TargetIdentifier = Identifier;
346
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,oBAAoB,EAAE,gBAAgB,EAAG,MAAM,kBAAkB,CAAC;AAClJ,MAAM,WAAW,OAAO;IACpB,EAAE,EAAE,MAAM,CA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ClF;AACD,MAAM,WAAW,8BAA+B,SAAQ,WAAW,CAAC,kBAAkB,EAAE,CAAC;CACxF;AACD,MAAM,WAAW,qBAAsB,SAAQ,WAAW,CAAC,aAAa,CAAC;CACxE;AACD,MAAM,WAAW,yBAA0B,SAAQ,WAAW,CAAC,aAAa,EAAE,CAAC;CAC9E;AACD,MAAM,WAAW,6BAA8B,SAAQ,WAAW,CAAC,OAAO,EAAE,CAAC;CAC5E;AACD,MAAM,WAAW,yBAA0B,SAAQ,WAAW,CAAC,UAAU,EAAE,CAAC;CAC3E;AACD,MAAM,WAAW,oBAAqB,SAAQ,WAAW,CAAC,QAAQ,EAAE,CAAC;CACpE;AACD,MAAM,WAAW,yBAA0B,SAAQ,WAAW,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC;CAC7F;AACD,MAAM,WAAW,sBAAuB,SAAQ,WAAW,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;CACvF;AACD,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC"}
package/dist/types.js ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1 @@
1
+ { "name": "@faiber/faiber-modules", "version": "0.1.0", "type": "module", "sideEffects": false, "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } }, "files": ["dist"], "dependencies": { "@faiber/sdk-core": "0.1.0" } }