@missioncontrolio/client 0.0.8 → 0.0.9

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.
package/package.json CHANGED
@@ -14,14 +14,14 @@
14
14
  "test:integration": "vitest run --config vitest.integration.config.ts"
15
15
  },
16
16
  "devDependencies": {
17
- "@types/node": "^25.5.0",
18
- "typescript": "^5.9.3",
19
- "vitest": "^4.1.0"
17
+ "@types/node": "^26.0.1",
18
+ "typescript": "^6.0.3",
19
+ "vitest": "^4.1.9"
20
20
  },
21
21
  "dependencies": {
22
- "@azure/identity": "^4.13.0",
23
- "@microsoft/kiota-authentication-azure": "^1.0.0-preview.100",
24
- "@microsoft/kiota-bundle": "^1.0.0-preview.100"
22
+ "@azure/identity": "^4.13.1",
23
+ "@microsoft/kiota-authentication-azure": "^1.0.0-preview.103",
24
+ "@microsoft/kiota-bundle": "^1.0.0-preview.103"
25
25
  },
26
- "version": "0.0.8"
26
+ "version": "0.0.9"
27
27
  }
@@ -86,7 +86,7 @@ export function createClient(requestAdapter: RequestAdapter) {
86
86
  }
87
87
 
88
88
  if (requestAdapter.baseUrl === undefined || requestAdapter.baseUrl === null || requestAdapter.baseUrl === "") {
89
- requestAdapter.baseUrl = "http://api.missioncontrol.io/partnerApi/v2";
89
+ requestAdapter.baseUrl = "https://api.missioncontrol.io/partnerApi/v2";
90
90
  }
91
91
  const pathParameters: Record<string, unknown> = {
92
92
  "baseurl": requestAdapter.baseUrl,
@@ -1,8 +1,8 @@
1
1
  {
2
- "descriptionHash": "53F5655E53CAD62B89E7516699DCCE34E889B2C60BA1A43554EA7D9E090815CA0347C17931368F48B98FFC10B821B995F4220C1D8C8986AF4A0756CDDE151D4D",
2
+ "descriptionHash": "BAA14736D92DDDCC5514AEDDA4CBB363BD631F11F8F866137B467426B28CA83515C4F363D45106D48863C937E2D12297A0B4BB74245583675637DE9C235216EB",
3
3
  "descriptionLocation": "../../../../swagger.json",
4
4
  "lockFileVersion": "1.0.0",
5
- "kiotaVersion": "1.30.0",
5
+ "kiotaVersion": "1.32.3",
6
6
  "clientClassName": "client",
7
7
  "typeAccessModifier": "Public",
8
8
  "clientNamespaceName": "missioncontrol.client",
@@ -482,7 +482,7 @@ export function deserializeIntoClaimReservationRequest(claimReservationRequest:
482
482
  "invoiceDate": n => { claimReservationRequest.invoiceDate = n.getDateValue(); },
483
483
  "partnerReference": n => { claimReservationRequest.partnerReference = n.getStringValue(); },
484
484
  "requestId": n => { claimReservationRequest.requestId = n.getGuidValue(); },
485
- "salesChannel": n => { claimReservationRequest.salesChannel = n.getCollectionOfPrimitiveValues<Guid>(); },
485
+ "salesChannel": n => { claimReservationRequest.salesChannel = n.getCollectionOfPrimitiveValues<Guid>("string"); },
486
486
  "salesPrice": n => { claimReservationRequest.salesPrice = n.getObjectValue<SalesPriceRequest>(createSalesPriceRequestFromDiscriminatorValue); },
487
487
  }
488
488
  }
@@ -514,7 +514,7 @@ export function deserializeIntoCreateOrderRequest(createOrderRequest: Partial<Cr
514
514
  "productId": n => { createOrderRequest.productId = n.getGuidValue(); },
515
515
  "regionId": n => { createOrderRequest.regionId = n.getGuidValue(); },
516
516
  "requestId": n => { createOrderRequest.requestId = n.getGuidValue(); },
517
- "salesChannel": n => { createOrderRequest.salesChannel = n.getCollectionOfPrimitiveValues<Guid>(); },
517
+ "salesChannel": n => { createOrderRequest.salesChannel = n.getCollectionOfPrimitiveValues<Guid>("string"); },
518
518
  "salesPrice": n => { createOrderRequest.salesPrice = n.getObjectValue<SalesPriceRequest>(createSalesPriceRequestFromDiscriminatorValue); },
519
519
  }
520
520
  }
@@ -714,7 +714,7 @@ export function deserializeIntoProblemDetails(problemDetails: Partial<ProblemDet
714
714
  // @ts-ignore
715
715
  export function deserializeIntoProduct(product: Partial<Product> | undefined = {}) : Record<string, (node: ParseNode) => void> {
716
716
  return {
717
- "allowedRegions": n => { product.allowedRegions = n.getCollectionOfPrimitiveValues<Guid>(); },
717
+ "allowedRegions": n => { product.allowedRegions = n.getCollectionOfPrimitiveValues<Guid>("string"); },
718
718
  "canBeReserved": n => { product.canBeReserved = n.getBooleanValue(); },
719
719
  "id": n => { product.id = n.getGuidValue(); },
720
720
  "msrp": n => { product.msrp = n.getObjectValue<Money>(createMoneyFromDiscriminatorValue); },
@@ -787,7 +787,7 @@ export function deserializeIntoRedemptionInstruction(redemptionInstruction: Part
787
787
  export function deserializeIntoRegion(region: Partial<Region> | undefined = {}) : Record<string, (node: ParseNode) => void> {
788
788
  return {
789
789
  "archiveInfo": n => { region.archiveInfo = n.getObjectValue<ArchivingInfo>(createArchivingInfoFromDiscriminatorValue); },
790
- "countries": n => { region.countries = n.getCollectionOfPrimitiveValues<string>(); },
790
+ "countries": n => { region.countries = n.getCollectionOfPrimitiveValues<string>("string"); },
791
791
  "id": n => { region.id = n.getGuidValue(); },
792
792
  "name": n => { region.name = n.getStringValue(); },
793
793
  }
@@ -819,7 +819,7 @@ export function deserializeIntoReportOrderRequest(reportOrderRequest: Partial<Re
819
819
  "productId": n => { reportOrderRequest.productId = n.getGuidValue(); },
820
820
  "regionId": n => { reportOrderRequest.regionId = n.getGuidValue(); },
821
821
  "requestId": n => { reportOrderRequest.requestId = n.getGuidValue(); },
822
- "salesChannel": n => { reportOrderRequest.salesChannel = n.getCollectionOfPrimitiveValues<Guid>(); },
822
+ "salesChannel": n => { reportOrderRequest.salesChannel = n.getCollectionOfPrimitiveValues<Guid>("string"); },
823
823
  "salesPrice": n => { reportOrderRequest.salesPrice = n.getObjectValue<SalesPriceRequest>(createSalesPriceRequestFromDiscriminatorValue); },
824
824
  }
825
825
  }
package/tsconfig.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "outDir": "./dist",
5
5
  "target": "ES2020",
6
6
  "module": "ES2020",
7
- "moduleResolution": "node",
7
+ "moduleResolution": "bundler",
8
8
  "lib": ["dom", "es2020"],
9
9
  "allowSyntheticDefaultImports": true,
10
10
  "experimentalDecorators": true,