Skip to content
This repository has been archived by the owner on Mar 13, 2021. It is now read-only.

Commit

Permalink
Update Templates
Browse files Browse the repository at this point in the history
change dependency to be connect-sdk
  • Loading branch information
Justin Robertson committed Jan 12, 2021
1 parent a586713 commit 6a72c24
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
DeliveryConfirmationDefinition,
DeliveryConfirmationType
} from "@shipengine/connect";
} from "@shipengine/connect-sdk";

const exampleDeliveryConfirmation: DeliveryConfirmationDefinition = {
id: "<%- _uuidv4 %>",
Expand Down
2 changes: 1 addition & 1 deletion templates/carrier/definitions/example-delivery-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
DocumentSize,
ManifestType,
ServiceArea
} from "@shipengine/connect";
} from "@shipengine/connect-sdk";

const exampleDeliveryService: DeliveryServiceDefinition = {
id: "<%- _uuidv4 %>",
Expand Down
2 changes: 1 addition & 1 deletion templates/carrier/definitions/example-packaging.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PackagingDefinition } from "@shipengine/connect";
import { PackagingDefinition } from "@shipengine/connect-sdk";

const examplePackaging: PackagingDefinition = {
id: "<%- _uuidv4 %>",
Expand Down
2 changes: 1 addition & 1 deletion templates/carrier/forms/connect.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FormDefinition } from "@shipengine/connect";
import { FormDefinition } from "@shipengine/connect-sdk";

const connectionForm: FormDefinition = {
dataSchema: {
Expand Down
2 changes: 1 addition & 1 deletion templates/carrier/forms/settings.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FormDefinition } from "@shipengine/connect";
import { FormDefinition } from "@shipengine/connect-sdk";

const settingsForm: FormDefinition = {
dataSchema: {},
Expand Down
2 changes: 1 addition & 1 deletion templates/carrier/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
ManifestLocation,
ManifestShipment,
ManifestType
} from "@shipengine/connect";
} from "@shipengine/connect-sdk";

const carrier: CarrierAppDefinition = {
id: "<%- _uuidv4 %>",
Expand Down
2 changes: 1 addition & 1 deletion templates/carrier/methods/cancel-pickups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
PickupCancellation,
PickupCancellationOutcome,
Transaction
} from "@shipengine/connect";
} from "@shipengine/connect-sdk";
import { Session } from "./session";

/**
Expand Down
2 changes: 1 addition & 1 deletion templates/carrier/methods/cancel-shipments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
ShipmentCancellation,
ShipmentCancellationOutcome,
Transaction
} from "@shipengine/connect";
} from "@shipengine/connect-sdk";
import { Session } from "./session";

/**
Expand Down
2 changes: 1 addition & 1 deletion templates/carrier/methods/connect.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Transaction } from "@shipengine/connect";
import { Transaction } from "@shipengine/connect-sdk";
import { Session } from "./session";

interface ConnectionFormData {}
Expand Down
2 changes: 1 addition & 1 deletion templates/carrier/methods/create-manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
ManifestConfirmation,
NewManifest,
Transaction
} from "@shipengine/connect";
} from "@shipengine/connect-sdk";
import { Session } from "./session";

/**
Expand Down
2 changes: 1 addition & 1 deletion templates/carrier/methods/create-shipment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
NewShipment,
ShipmentConfirmation,
Transaction
} from "@shipengine/connect";
} from "@shipengine/connect-sdk";
import { Session } from "./session";

/**
Expand Down
2 changes: 1 addition & 1 deletion templates/carrier/methods/rate-shipment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
Rate, RateCriteria,

Transaction
} from "@shipengine/connect";
} from "@shipengine/connect-sdk";
import { Session } from "./session";

/**
Expand Down
2 changes: 1 addition & 1 deletion templates/carrier/methods/schedule-pickup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
PickupConfirmation,
PickupRequest,
Transaction
} from "@shipengine/connect";
} from "@shipengine/connect-sdk";
import { Session } from "./session";

/**
Expand Down
2 changes: 1 addition & 1 deletion templates/carrier/methods/track-shipment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
TrackingCriteria,
TrackingInfo,
Transaction
} from "@shipengine/connect";
} from "@shipengine/connect-sdk";
import { Session } from "./session";

/**
Expand Down
2 changes: 1 addition & 1 deletion templates/order-source/forms/connect.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FormDefinition } from "@shipengine/connect";
import { FormDefinition } from "@shipengine/connect-sdk";

const connectionForm: FormDefinition = {
dataSchema: {
Expand Down
2 changes: 1 addition & 1 deletion templates/order-source/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
OrderAppDefinition
} from "@shipengine/connect";
} from "@shipengine/connect-sdk";

const orderSource: OrderAppDefinition = {
id: "<%- _uuidv4 %>",
Expand Down
2 changes: 1 addition & 1 deletion templates/order-source/methods/acknowledge-orders.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AcknowledgedSalesOrder, SalesOrderNotification, Transaction } from "@shipengine/connect";
import { AcknowledgedSalesOrder, SalesOrderNotification, Transaction } from "@shipengine/connect-sdk";
import { Session } from "./session";

/**
Expand Down
2 changes: 1 addition & 1 deletion templates/order-source/methods/get-sales-order-by-date.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SalesOrders, SalesOrderTimeRange, Transaction } from "@shipengine/connect";
import { SalesOrders, SalesOrderTimeRange, Transaction } from "@shipengine/connect-sdk";
import { Session } from "./session";


Expand Down
2 changes: 1 addition & 1 deletion templates/order-source/methods/shipment-created.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SalesOrderShipment, Transaction } from "@shipengine/connect";
import { SalesOrderShipment, Transaction } from "@shipengine/connect-sdk";
import { Session } from "./session";

/**
Expand Down

0 comments on commit 6a72c24

Please sign in to comment.