@crayond_dev/grpc-toolkit
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -1,2 +0,2 @@ | ||
declare const idmClient: (serverUrl: string, metadataObj?: any) => { | ||
export declare const idmClient: (serverUrl: string, metadataObj?: any) => { | ||
client: import("./rpc_types").idmServiceClient; | ||
@@ -8,2 +8,8 @@ metadata: any; | ||
}; | ||
export { idmClient }; | ||
export declare const pasmClient: (serverUrl: string, metadataObj?: any) => { | ||
client: import("./rpc_types").pasmServiceClient; | ||
metadata: any; | ||
} | { | ||
client: import("./rpc_types").pasmServiceClient; | ||
metadata?: undefined; | ||
}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.idmClient = void 0; | ||
exports.pasmClient = exports.idmClient = void 0; | ||
var grpc_js_1 = require("@grpc/grpc-js"); | ||
@@ -21,1 +21,15 @@ var proto_definition_1 = require("./proto.definition"); | ||
exports.idmClient = idmClient; | ||
var pasmClient = function (serverUrl, metadataObj) { | ||
if (metadataObj) { | ||
var metadata = new grpc.Metadata(); | ||
metadata.add("user_profile_id", metadataObj["user_profile_id"]); | ||
return { | ||
client: new proto_definition_1.proto.toolkit.pasmService(serverUrl, grpc_js_1.credentials.createInsecure()), | ||
metadata: metadata, | ||
}; | ||
} | ||
return { | ||
client: new proto_definition_1.proto.toolkit.pasmService(serverUrl, grpc_js_1.credentials.createInsecure()), | ||
}; | ||
}; | ||
exports.pasmClient = pasmClient; |
@@ -10,5 +10,79 @@ import type * as grpc from "@grpc/grpc-js"; | ||
toolkit: { | ||
AddOnCreateDataType: MessageTypeDefinition; | ||
AddOnFeatureType: MessageTypeDefinition; | ||
AddOnRowType: MessageTypeDefinition; | ||
AddOnType: MessageTypeDefinition; | ||
AddonDeleteRequest: MessageTypeDefinition; | ||
AddonDeleteResponse: MessageTypeDefinition; | ||
AddonsCreateRequest: MessageTypeDefinition; | ||
AddonsCreateResponse: MessageTypeDefinition; | ||
AddonsGetRequest: MessageTypeDefinition; | ||
AddonsGetResponse: MessageTypeDefinition; | ||
AddonsUpdateRequest: MessageTypeDefinition; | ||
AddonsUpdateResponse: MessageTypeDefinition; | ||
AddressType: MessageTypeDefinition; | ||
ChargeRowType: MessageTypeDefinition; | ||
ChargeType: MessageTypeDefinition; | ||
ChargesCreateRequest: MessageTypeDefinition; | ||
ChargesCreateResponse: MessageTypeDefinition; | ||
ChargesDeleteRequest: MessageTypeDefinition; | ||
ChargesDeleteResponse: MessageTypeDefinition; | ||
ChargesGetRequest: MessageTypeDefinition; | ||
ChargesGetResponse: MessageTypeDefinition; | ||
ChargesUpdateRequest: MessageTypeDefinition; | ||
ChargesUpdateResponse: MessageTypeDefinition; | ||
CompanyAddressType: MessageTypeDefinition; | ||
CompanyCreateRequest: MessageTypeDefinition; | ||
CompanyCreateResponse: MessageTypeDefinition; | ||
CompanyCreateResponseDataType: MessageTypeDefinition; | ||
CompanyDeleteRequest: MessageTypeDefinition; | ||
CompanyDeleteResponse: MessageTypeDefinition; | ||
CompanyGetRequest: MessageTypeDefinition; | ||
CompanyGetResponse: MessageTypeDefinition; | ||
CompanyUpdateRequest: MessageTypeDefinition; | ||
CompanyUpdateResponse: MessageTypeDefinition; | ||
CreateChargesDataType: MessageTypeDefinition; | ||
CreateProjectData: MessageTypeDefinition; | ||
CreateServiceData: MessageTypeDefinition; | ||
CustomerCreateRequest: MessageTypeDefinition; | ||
CustomerCreateResponse: MessageTypeDefinition; | ||
CustomerDeleteRequest: MessageTypeDefinition; | ||
CustomerDeleteResponse: MessageTypeDefinition; | ||
CustomerGetRequest: MessageTypeDefinition; | ||
CustomerGetResponse: MessageTypeDefinition; | ||
CustomerRowType: MessageTypeDefinition; | ||
CustomerSubscriptionChargeType: MessageTypeDefinition; | ||
CustomerSubscriptionDataType: MessageTypeDefinition; | ||
CustomerSubscriptionGetRequest: MessageTypeDefinition; | ||
CustomerSubscriptionGetResponse: MessageTypeDefinition; | ||
CustomerSubscriptionPlanType: MessageTypeDefinition; | ||
CustomerSubscriptionRowDataType: MessageTypeDefinition; | ||
CustomerType: MessageTypeDefinition; | ||
CustomerUpdateDataType: MessageTypeDefinition; | ||
CustomerUpdateRequest: MessageTypeDefinition; | ||
CustomerUpdateResponse: MessageTypeDefinition; | ||
Error: MessageTypeDefinition; | ||
FeatureCreateDataType: MessageTypeDefinition; | ||
FeatureCreateRequest: MessageTypeDefinition; | ||
FeatureCreateResponse: MessageTypeDefinition; | ||
FeatureDeleteRequest: MessageTypeDefinition; | ||
FeatureDeleteResponse: MessageTypeDefinition; | ||
FeatureGetRequest: MessageTypeDefinition; | ||
FeatureGetResponse: MessageTypeDefinition; | ||
FeatureGroupCreateRequest: MessageTypeDefinition; | ||
FeatureGroupCreateResponse: MessageTypeDefinition; | ||
FeatureGroupCretaeDataType: MessageTypeDefinition; | ||
FeatureGroupDataType: MessageTypeDefinition; | ||
FeatureGroupDeleteRequest: MessageTypeDefinition; | ||
FeatureGroupDeleteResponse: MessageTypeDefinition; | ||
FeatureGroupFeatureType: MessageTypeDefinition; | ||
FeatureGroupGetRequest: MessageTypeDefinition; | ||
FeatureGroupGetResponse: MessageTypeDefinition; | ||
FeatureGroupMappingType: MessageTypeDefinition; | ||
FeatureGroupRowType: MessageTypeDefinition; | ||
FeatureGroupType: MessageTypeDefinition; | ||
FeatureGroupUpdateRequest: MessageTypeDefinition; | ||
FeatureGroupUpdateResponse: MessageTypeDefinition; | ||
FeatureUpdateRequest: MessageTypeDefinition; | ||
FeatureUpdateResponse: MessageTypeDefinition; | ||
FeatureValidationRequest: MessageTypeDefinition; | ||
@@ -45,2 +119,14 @@ FeatureValidationResponse: MessageTypeDefinition; | ||
PermissionsUpdateResponse: MessageTypeDefinition; | ||
PlanChargeMappingType: MessageTypeDefinition; | ||
PlanDataRowType: MessageTypeDefinition; | ||
PlanDataType: MessageTypeDefinition; | ||
PlansCreateDataType: MessageTypeDefinition; | ||
PlansCreateRequest: MessageTypeDefinition; | ||
PlansCreateResponse: MessageTypeDefinition; | ||
PlansDeleteRequest: MessageTypeDefinition; | ||
PlansDeleteResponse: MessageTypeDefinition; | ||
PlansGetRequest: MessageTypeDefinition; | ||
PlansGetResponse: MessageTypeDefinition; | ||
PlansUpdateRequest: MessageTypeDefinition; | ||
PlansUpdateResponse: MessageTypeDefinition; | ||
Project: MessageTypeDefinition; | ||
@@ -88,2 +174,12 @@ ProjectCreateRequest: MessageTypeDefinition; | ||
ServiceUpdateResponse: MessageTypeDefinition; | ||
SubscriptionCreateDataChargeType: MessageTypeDefinition; | ||
SubscriptionCreateDataType: MessageTypeDefinition; | ||
SubscriptionCreateRequest: MessageTypeDefinition; | ||
SubscriptionCreateResponse: MessageTypeDefinition; | ||
SubscriptionDeleteRequest: MessageTypeDefinition; | ||
SubscriptionDeleteResponse: MessageTypeDefinition; | ||
SubscriptionGetRequest: MessageTypeDefinition; | ||
SubscriptionGetResponse: MessageTypeDefinition; | ||
SubscriptionUpdateRequest: MessageTypeDefinition; | ||
SubscriptionUpdateResponse: MessageTypeDefinition; | ||
SubscriptionValidationRequest: MessageTypeDefinition; | ||
@@ -104,2 +200,10 @@ SubscriptionValidationResponse: MessageTypeDefinition; | ||
UserProfilesUpdateResponse: MessageTypeDefinition; | ||
companyDataType: MessageTypeDefinition; | ||
companyRowType: MessageTypeDefinition; | ||
createPlanAddonType: MessageTypeDefinition; | ||
createPlanChargeType: MessageTypeDefinition; | ||
createSubscriptionAddOnType: MessageTypeDefinition; | ||
featureDataType: MessageTypeDefinition; | ||
featureRowType: MessageTypeDefinition; | ||
featureType: MessageTypeDefinition; | ||
idmService: SubtypeConstructor<typeof grpc.Client, _toolkit_idmServiceClient> & { | ||
@@ -111,5 +215,24 @@ service: _toolkit_idmServiceDefinition; | ||
}; | ||
planAddOnMappingsType: MessageTypeDefinition; | ||
planAddOnType: MessageTypeDefinition; | ||
planChargeMappingsType: MessageTypeDefinition; | ||
planFeatureMapingsType: MessageTypeDefinition; | ||
priceType: MessageTypeDefinition; | ||
subscriptionAddOnMappingType: MessageTypeDefinition; | ||
subscriptionAddonType: MessageTypeDefinition; | ||
subscriptionBillingType: MessageTypeDefinition; | ||
subscriptionCreateBillingType: MessageTypeDefinition; | ||
subscriptionDataType: MessageTypeDefinition; | ||
subscriptionPlanAddOnMappingType: MessageTypeDefinition; | ||
subscriptionPlanType: MessageTypeDefinition; | ||
subscriptionRowChargeType: MessageTypeDefinition; | ||
subscriptionRowCustomerType: MessageTypeDefinition; | ||
subscriptionRowType: MessageTypeDefinition; | ||
updateAddOnType: MessageTypeDefinition; | ||
updateChargeType: MessageTypeDefinition; | ||
updateFeatureType: MessageTypeDefinition; | ||
updateSubscriptionBillingType: MessageTypeDefinition; | ||
}; | ||
} | ||
export * from "./toolkit/pasmService"; | ||
export * from "./toolkit/idmService"; | ||
export * from "./toolkit/pasmService"; |
@@ -17,3 +17,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./toolkit/pasmService"), exports); | ||
__exportStar(require("./toolkit/idmService"), exports); | ||
__exportStar(require("./toolkit/pasmService"), exports); |
export interface FeatureValidationRequest { | ||
'planId'?: (string); | ||
'featureId'?: (string); | ||
'checkCount'?: (number); | ||
'planid'?: (string); | ||
'featureid'?: (string); | ||
'checkcount'?: (number); | ||
} | ||
export interface FeatureValidationRequest__Output { | ||
'planId': (string); | ||
'featureId': (string); | ||
'checkCount': (number); | ||
'planid': (string); | ||
'featureid': (string); | ||
'checkcount': (number); | ||
} |
{ | ||
"name": "@crayond_dev/grpc-toolkit", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "This has definitions and types required for implementing gRPC in toolkit microservices", | ||
@@ -31,5 +31,5 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@grpc/grpc-js": "^1.9.2", | ||
"@grpc/grpc-js": "^1.9.5", | ||
"@grpc/proto-loader": "^0.7.10" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
410144
449
4952
+ Added@grpc/grpc-js@1.12.4(transitive)
- Removed@grpc/grpc-js@1.12.5(transitive)
Updated@grpc/grpc-js@^1.9.5