ns8-switchboard-interfaces
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -1,5 +0,5 @@ | ||
import { Protect } from 'ns8-api-interfaces'; | ||
import { SwitchContext } from './SwitchContext'; | ||
import { Order } from 'ns8-protect-models'; | ||
export interface CreateOrderSwitch { | ||
create(switchContext: SwitchContext): Promise<Protect.Order>; | ||
create(switchContext: SwitchContext): Promise<Order>; | ||
} |
@@ -6,2 +6,1 @@ export * from './UninstallSwitch'; | ||
export * from './SwitchContext'; | ||
export * from './Authorization'; |
@@ -7,3 +7,2 @@ "use strict"; | ||
__export(require("./SwitchContext")); | ||
__export(require("./Authorization")); | ||
//# sourceMappingURL=index.js.map |
@@ -1,7 +0,7 @@ | ||
import { Authorization } from './Authorization'; | ||
import { Merchant } from 'ns8-protect-models'; | ||
export declare class SwitchContext { | ||
readonly apiBaseUrl: URL; | ||
readonly authorization: Authorization; | ||
readonly merchant: Merchant; | ||
data: any; | ||
constructor(apiBaseUrl: URL, authorization: Authorization, data: any); | ||
constructor(apiBaseUrl: URL, merchant: Merchant, data: any); | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
class SwitchContext { | ||
constructor(apiBaseUrl, authorization, data) { | ||
constructor(apiBaseUrl, merchant, data) { | ||
this.apiBaseUrl = apiBaseUrl; | ||
this.authorization = authorization; | ||
this.merchant = merchant; | ||
this.data = data; | ||
@@ -8,0 +8,0 @@ } |
{ | ||
"name": "ns8-switchboard-interfaces", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Contains switchboard interfaces", | ||
@@ -24,4 +24,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"ns8-api-interfaces": "^2.0.83" | ||
"ns8-protect-models": "^1.0.12" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3662
20
52
+ Addedns8-protect-models@^1.0.12
+ Added@types/validator@10.11.3(transitive)
+ Addedclass-validator@0.11.1(transitive)
+ Addedgoogle-libphonenumber@3.2.38(transitive)
+ Addedns8-billing-core@1.0.2150(transitive)
+ Addedns8-protect-models@1.0.305(transitive)
+ Addedvalidator@12.0.0(transitive)
- Removedns8-api-interfaces@^2.0.83
- Removedns8-api-interfaces@2.0.84(transitive)