@missioncontrolio/client 0.0.12 → 0.0.14

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.
@@ -75,6 +75,7 @@ export declare function createProductAttributeDtoFromDiscriminatorValue(parseNod
75
75
  export declare function createProductAttributeOptionDto_labelsFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
76
76
  export declare function createProductAttributeOptionDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
77
77
  export declare function createProductAttributeValueDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
78
+ export declare function createProductFamilyReferenceFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
78
79
  export declare function createProductFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
79
80
  export declare function createProductListResultFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
80
81
  export declare function createPublisherFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
@@ -128,6 +129,7 @@ export declare function deserializeIntoProductAttributeDto(productAttributeDto?:
128
129
  export declare function deserializeIntoProductAttributeOptionDto(productAttributeOptionDto?: Partial<ProductAttributeOptionDto> | undefined): Record<string, (node: ParseNode) => void>;
129
130
  export declare function deserializeIntoProductAttributeOptionDto_labels(productAttributeOptionDto_labels?: Partial<ProductAttributeOptionDto_labels> | undefined): Record<string, (node: ParseNode) => void>;
130
131
  export declare function deserializeIntoProductAttributeValueDto(productAttributeValueDto?: Partial<ProductAttributeValueDto> | undefined): Record<string, (node: ParseNode) => void>;
132
+ export declare function deserializeIntoProductFamilyReference(productFamilyReference?: Partial<ProductFamilyReference> | undefined): Record<string, (node: ParseNode) => void>;
131
133
  export declare function deserializeIntoProductListResult(productListResult?: Partial<ProductListResult> | undefined): Record<string, (node: ParseNode) => void>;
132
134
  export declare function deserializeIntoPublisher(publisher?: Partial<Publisher> | undefined): Record<string, (node: ParseNode) => void>;
133
135
  export declare function deserializeIntoPublisherListResult(publisherListResult?: Partial<PublisherListResult> | undefined): Record<string, (node: ParseNode) => void>;
@@ -215,6 +217,7 @@ export interface Product extends Parsable {
215
217
  allowedCountries?: string[] | null;
216
218
  allowedRegions?: Guid[] | null;
217
219
  canBeReserved?: boolean | null;
220
+ family?: ProductFamilyReference | null;
218
221
  id?: Guid | null;
219
222
  msrp?: Money | null;
220
223
  name?: string | null;
@@ -251,6 +254,10 @@ export interface ProductAttributeValueDto extends Parsable {
251
254
  definitionId?: Guid | null;
252
255
  fact?: AttributeFactDto | null;
253
256
  }
257
+ export interface ProductFamilyReference extends Parsable {
258
+ id?: Guid | null;
259
+ name?: string | null;
260
+ }
254
261
  export interface ProductListResult extends Parsable {
255
262
  pageCount?: number | null;
256
263
  result?: Product[] | null;
@@ -351,6 +358,7 @@ export declare function serializeProductAttributeDto(writer: SerializationWriter
351
358
  export declare function serializeProductAttributeOptionDto(writer: SerializationWriter, productAttributeOptionDto?: Partial<ProductAttributeOptionDto> | undefined | null, isSerializingDerivedType?: boolean): void;
352
359
  export declare function serializeProductAttributeOptionDto_labels(writer: SerializationWriter, productAttributeOptionDto_labels?: Partial<ProductAttributeOptionDto_labels> | undefined | null, isSerializingDerivedType?: boolean): void;
353
360
  export declare function serializeProductAttributeValueDto(writer: SerializationWriter, productAttributeValueDto?: Partial<ProductAttributeValueDto> | undefined | null, isSerializingDerivedType?: boolean): void;
361
+ export declare function serializeProductFamilyReference(writer: SerializationWriter, productFamilyReference?: Partial<ProductFamilyReference> | undefined | null, isSerializingDerivedType?: boolean): void;
354
362
  export declare function serializeProductListResult(writer: SerializationWriter, productListResult?: Partial<ProductListResult> | undefined | null, isSerializingDerivedType?: boolean): void;
355
363
  export declare function serializePublisher(writer: SerializationWriter, publisher?: Partial<Publisher> | undefined | null, isSerializingDerivedType?: boolean): void;
356
364
  export declare function serializePublisherListResult(writer: SerializationWriter, publisherListResult?: Partial<PublisherListResult> | undefined | null, isSerializingDerivedType?: boolean): void;
@@ -82,6 +82,9 @@ export function createProductAttributeOptionDtoFromDiscriminatorValue(parseNode)
82
82
  export function createProductAttributeValueDtoFromDiscriminatorValue(parseNode) {
83
83
  return deserializeIntoProductAttributeValueDto;
84
84
  }
85
+ export function createProductFamilyReferenceFromDiscriminatorValue(parseNode) {
86
+ return deserializeIntoProductFamilyReference;
87
+ }
85
88
  export function createProductFromDiscriminatorValue(parseNode) {
86
89
  return deserializeIntoProduct;
87
90
  }
@@ -300,6 +303,7 @@ export function deserializeIntoProduct(product = {}) {
300
303
  "allowedCountries": n => { product.allowedCountries = n.getCollectionOfPrimitiveValues("string"); },
301
304
  "allowedRegions": n => { product.allowedRegions = n.getCollectionOfPrimitiveValues("string"); },
302
305
  "canBeReserved": n => { product.canBeReserved = n.getBooleanValue(); },
306
+ "family": n => { product.family = n.getObjectValue(createProductFamilyReferenceFromDiscriminatorValue); },
303
307
  "id": n => { product.id = n.getGuidValue(); },
304
308
  "msrp": n => { product.msrp = n.getObjectValue(createMoneyFromDiscriminatorValue); },
305
309
  "name": n => { product.name = n.getStringValue(); },
@@ -347,6 +351,12 @@ export function deserializeIntoProductAttributeValueDto(productAttributeValueDto
347
351
  "fact": n => { productAttributeValueDto.fact = n.getObjectValue(createAttributeFactDtoFromDiscriminatorValue); },
348
352
  };
349
353
  }
354
+ export function deserializeIntoProductFamilyReference(productFamilyReference = {}) {
355
+ return {
356
+ "id": n => { productFamilyReference.id = n.getGuidValue(); },
357
+ "name": n => { productFamilyReference.name = n.getStringValue(); },
358
+ };
359
+ }
350
360
  export function deserializeIntoProductListResult(productListResult = {}) {
351
361
  return {
352
362
  "pageCount": n => { productListResult.pageCount = n.getNumberValue(); },
@@ -652,6 +662,7 @@ export function serializeProduct(writer, product = {}, isSerializingDerivedType
652
662
  writer.writeCollectionOfPrimitiveValues("allowedCountries", product.allowedCountries);
653
663
  writer.writeCollectionOfPrimitiveValues("allowedRegions", product.allowedRegions);
654
664
  writer.writeBooleanValue("canBeReserved", product.canBeReserved);
665
+ writer.writeObjectValue("family", product.family, serializeProductFamilyReference);
655
666
  writer.writeGuidValue("id", product.id);
656
667
  writer.writeObjectValue("msrp", product.msrp, serializeMoney);
657
668
  writer.writeStringValue("name", product.name);
@@ -708,6 +719,13 @@ export function serializeProductAttributeValueDto(writer, productAttributeValueD
708
719
  writer.writeGuidValue("definitionId", productAttributeValueDto.definitionId);
709
720
  writer.writeObjectValue("fact", productAttributeValueDto.fact, serializeAttributeFactDto);
710
721
  }
722
+ export function serializeProductFamilyReference(writer, productFamilyReference = {}, isSerializingDerivedType = false) {
723
+ if (!productFamilyReference || isSerializingDerivedType) {
724
+ return;
725
+ }
726
+ writer.writeGuidValue("id", productFamilyReference.id);
727
+ writer.writeStringValue("name", productFamilyReference.name);
728
+ }
711
729
  export function serializeProductListResult(writer, productListResult = {}, isSerializingDerivedType = false) {
712
730
  if (!productListResult || isSerializingDerivedType) {
713
731
  return;
package/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "@microsoft/kiota-authentication-azure": "^1.0.0-preview.103",
36
36
  "@microsoft/kiota-bundle": "^1.0.0-preview.103"
37
37
  },
38
- "version": "0.0.12"
38
+ "version": "0.0.14"
39
39
  }