@restorecommerce/facade 1.5.1 → 1.6.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.
@@ -3,13 +3,15 @@ import { protoMetadata as metaPackageIoRestorecommerceProduct_prototype } from '
3
3
  import { protoMetadata as metaPackageIoRestorecommerceProduct_category } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/product_category.js';
4
4
  import { protoMetadata as metaPackageIoRestorecommercePrice_group } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/price_group.js';
5
5
  import { protoMetadata as metaPackageIoRestorecommerceManufacturer } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/manufacturer.js';
6
+ import { protoMetadata as metaPackageIoRestorecommerceUnitCode } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/unit_code.js';
6
7
  import { registerPackagesRecursive } from '../../../gql/protos/index.js';
7
8
  export const subServices = [
8
9
  metaPackageIoRestorecommerceProduct,
9
10
  metaPackageIoRestorecommerceProduct_prototype,
10
11
  metaPackageIoRestorecommerceProduct_category,
11
12
  metaPackageIoRestorecommercePrice_group,
12
- metaPackageIoRestorecommerceManufacturer
13
+ metaPackageIoRestorecommerceManufacturer,
14
+ metaPackageIoRestorecommerceUnitCode
13
15
  ];
14
16
  export const registerTypings = () => {
15
17
  registerPackagesRecursive(...subServices);
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/modules/catalog/gql/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,mCAAmC,EAAE,MAAM,+EAA+E,CAAC;AACrJ,OAAO,EAAE,aAAa,IAAI,6CAA6C,EAAE,MAAM,yFAAyF,CAAC;AACzK,OAAO,EAAE,aAAa,IAAI,4CAA4C,EAAE,MAAM,wFAAwF,CAAC;AACvK,OAAO,EAAE,aAAa,IAAI,uCAAuC,EAAE,MAAM,mFAAmF,CAAC;AAC7J,OAAO,EAAE,aAAa,IAAI,wCAAwC,EAAE,MAAM,oFAAoF,CAAC;AAC/J,OAAO,EAAsB,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAE7F,MAAM,CAAC,MAAM,WAAW,GAAoB;IAC1C,mCAAmC;IACnC,6CAA6C;IAC7C,4CAA4C;IAC5C,uCAAuC;IACvC,wCAAwC;CACzC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE;IAClC,yBAAyB,CAAC,GAAG,WAAW,CAAC,CAAC;AAC5C,CAAC,CAAC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/modules/catalog/gql/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,mCAAmC,EAAE,MAAM,+EAA+E,CAAC;AACrJ,OAAO,EAAE,aAAa,IAAI,6CAA6C,EAAE,MAAM,yFAAyF,CAAC;AACzK,OAAO,EAAE,aAAa,IAAI,4CAA4C,EAAE,MAAM,wFAAwF,CAAC;AACvK,OAAO,EAAE,aAAa,IAAI,uCAAuC,EAAE,MAAM,mFAAmF,CAAC;AAC7J,OAAO,EAAE,aAAa,IAAI,wCAAwC,EAAE,MAAM,oFAAoF,CAAC;AAC/J,OAAO,EAAE,aAAa,IAAI,oCAAoC,EAAE,MAAM,iFAAiF,CAAC;AACxJ,OAAO,EAAsB,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAE7F,MAAM,CAAC,MAAM,WAAW,GAAoB;IAC1C,mCAAmC;IACnC,6CAA6C;IAC7C,4CAA4C;IAC5C,uCAAuC;IACvC,wCAAwC;IACxC,oCAAoC;CACrC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE;IAClC,yBAAyB,CAAC,GAAG,WAAW,CAAC,CAAC;AAC5C,CAAC,CAAC"}
@@ -4,6 +4,7 @@ import { type ProductPrototypeServiceClient } from '@restorecommerce/rc-grpc-cli
4
4
  import { type ProductCategoryServiceClient } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/product_category.js';
5
5
  import { type PriceGroupServiceClient } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/price_group.js';
6
6
  import { type ManufacturerServiceClient } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/manufacturer.js';
7
+ import { type CodeServiceClient } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/code.js';
7
8
  import { type GrpcClientConfig } from '@restorecommerce/grpc-client';
8
9
  export declare class CatalogSrvGrpcClient extends RestoreCommerceGrpcClient {
9
10
  readonly product: ProductServiceClient;
@@ -11,6 +12,7 @@ export declare class CatalogSrvGrpcClient extends RestoreCommerceGrpcClient {
11
12
  readonly product_category: ProductCategoryServiceClient;
12
13
  readonly price_group: PriceGroupServiceClient;
13
14
  readonly manufacturer: ManufacturerServiceClient;
15
+ readonly code: CodeServiceClient;
14
16
  constructor(address: string, cfg: GrpcClientConfig);
15
17
  }
16
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/catalog/grpc/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,+EAA+E,CAAC;AACvF,OAAO,EACL,KAAK,6BAA6B,EAEnC,MAAM,yFAAyF,CAAC;AACjG,OAAO,EACL,KAAK,4BAA4B,EAElC,MAAM,wFAAwF,CAAC;AAChG,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,mFAAmF,CAAC;AAC3F,OAAO,EACL,KAAK,yBAAyB,EAE/B,MAAM,oFAAoF,CAAC;AAC5F,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,qBAAa,oBAAqB,SAAQ,yBAAyB;IAEjE,QAAQ,CAAC,OAAO,EAAE,oBAAoB,CAAC;IACvC,QAAQ,CAAC,iBAAiB,EAAE,6BAA6B,CAAC;IAC1D,QAAQ,CAAC,gBAAgB,EAAE,4BAA4B,CAAC;IACxD,QAAQ,CAAC,WAAW,EAAE,uBAAuB,CAAC;IAC9C,QAAQ,CAAC,YAAY,EAAE,yBAAyB,CAAC;gBAErC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,gBAAgB;CAUnD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/catalog/grpc/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,+EAA+E,CAAC;AACvF,OAAO,EACL,KAAK,6BAA6B,EAEnC,MAAM,yFAAyF,CAAC;AACjG,OAAO,EACL,KAAK,4BAA4B,EAElC,MAAM,wFAAwF,CAAC;AAChG,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,mFAAmF,CAAC;AAC3F,OAAO,EACL,KAAK,yBAAyB,EAE/B,MAAM,oFAAoF,CAAC;AAC5F,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,4EAA4E,CAAC;AACpF,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,qBAAa,oBAAqB,SAAQ,yBAAyB;IAEjE,QAAQ,CAAC,OAAO,EAAE,oBAAoB,CAAC;IACvC,QAAQ,CAAC,iBAAiB,EAAE,6BAA6B,CAAC;IAC1D,QAAQ,CAAC,gBAAgB,EAAE,4BAA4B,CAAC;IACxD,QAAQ,CAAC,WAAW,EAAE,uBAAuB,CAAC;IAC9C,QAAQ,CAAC,YAAY,EAAE,yBAAyB,CAAC;IACjD,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;gBAErB,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,gBAAgB;CAWnD"}
@@ -4,12 +4,14 @@ import { ProductPrototypeServiceDefinition } from '@restorecommerce/rc-grpc-clie
4
4
  import { ProductCategoryServiceDefinition } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/product_category.js';
5
5
  import { PriceGroupServiceDefinition } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/price_group.js';
6
6
  import { ManufacturerServiceDefinition } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/manufacturer.js';
7
+ import { CodeServiceDefinition } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/code.js';
7
8
  export class CatalogSrvGrpcClient extends RestoreCommerceGrpcClient {
8
9
  product;
9
10
  product_prototype;
10
11
  product_category;
11
12
  price_group;
12
13
  manufacturer;
14
+ code;
13
15
  constructor(address, cfg) {
14
16
  super(address, cfg);
15
17
  this.product = this.createClient(cfg, ProductServiceDefinition, this.channel);
@@ -17,6 +19,7 @@ export class CatalogSrvGrpcClient extends RestoreCommerceGrpcClient {
17
19
  this.product_category = this.createClient(cfg, ProductCategoryServiceDefinition, this.channel);
18
20
  this.price_group = this.createClient(cfg, PriceGroupServiceDefinition, this.channel);
19
21
  this.manufacturer = this.createClient(cfg, ManufacturerServiceDefinition, this.channel);
22
+ this.code = this.createClient(cfg, CodeServiceDefinition, this.channel);
20
23
  }
21
24
  }
22
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/catalog/grpc/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAEL,wBAAwB,EACzB,MAAM,+EAA+E,CAAC;AACvF,OAAO,EAEL,iCAAiC,EAClC,MAAM,yFAAyF,CAAC;AACjG,OAAO,EAEL,gCAAgC,EACjC,MAAM,wFAAwF,CAAC;AAChG,OAAO,EAEL,2BAA2B,EAC5B,MAAM,mFAAmF,CAAC;AAC3F,OAAO,EAEL,6BAA6B,EAC9B,MAAM,oFAAoF,CAAC;AAG5F,MAAM,OAAO,oBAAqB,SAAQ,y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