Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@droz-js/sdk

Package Overview
Dependencies
Maintainers
3
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@droz-js/sdk - npm Package Compare versions

Comparing version 0.5.11 to 0.5.12

5

package.json
{
"name": "@droz-js/sdk",
"description": "Droz SDK",
"version": "0.5.11",
"version": "0.5.12",
"private": false,

@@ -23,3 +23,4 @@ "exports": {

"graphql": "^16.8.1",
"graphql-ws": "^5.15.0",
"graphql-ws": "^5.16.0",
"isomorphic-ws": "^5.0.0",
"inbatches": "^0.0.10"

@@ -26,0 +27,0 @@ },

1

src/client/config.d.ts

@@ -20,3 +20,2 @@ import { AuthorizationProvider } from './helpers';

private static defaultAuthorizationProvider?;
private static readonly tenantConfigs;
private static readonly listeners;

@@ -23,0 +22,0 @@ static forTenant(tenant: string): typeof DrozSdk;

@@ -27,7 +27,5 @@ "use strict";

static defaultAuthorizationProvider;
static tenantConfigs = new Map();
static listeners = new Map();
static forTenant(tenant) {
this.defaultTenant = tenant;
this.tenantConfigs.delete(tenant);
return this;

@@ -34,0 +32,0 @@ }

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.WsClientBuilder = void 0;
const graphql_ws_1 = require("graphql-ws");
const isomorphic_ws_1 = __importDefault(require("isomorphic-ws"));
const config_1 = require("./config");

@@ -25,2 +29,3 @@ const helpers_1 = require("./helpers");

keepAlive: 10_000,
webSocketImpl: isomorphic_ws_1.default,
connectionParams

@@ -27,0 +32,0 @@ });

@@ -208,6 +208,6 @@ import { CreatePresignedUploadUrlInput } from './sdks/nucleus';

export declare class Nucleus extends Nucleus_base {
uploadBlob(fileName: string, blob: Blob, onProgress: OnProgress): Promise<string>;
uploadFile(blob: File, onProgress: OnProgress): Promise<string>;
uploadBlob(fileName: string, blob: Blob, onProgress?: OnProgress): Promise<string>;
uploadFile(blob: File, onProgress?: OnProgress): Promise<string>;
private upload;
private post;
}

@@ -21,2 +21,5 @@ export * from './sdks/reclameaqui';

}>, options?: unknown): Promise<import("./sdks/reclameaqui").ListReclameAquiModerationReasonsQuery>;
getReclameAquiBillingConfiguration(variables?: import("./sdks/reclameaqui").Exact<{
[key: string]: never;
}>, options?: unknown): Promise<import("./sdks/reclameaqui").GetReclameAquiBillingConfigurationQuery>;
createReclameAquiInstance(variables: import("./sdks/reclameaqui").Exact<{

@@ -23,0 +26,0 @@ input: import("./sdks/reclameaqui").CreateReclameAquiInstanceInput;

@@ -110,2 +110,3 @@ export type Maybe<T> = T;

export type CasasBahiaInstance = {
createdAt: Scalars['DateTime']['output'];
credentialId?: Maybe<Scalars['ID']['output']>;

@@ -117,2 +118,3 @@ cronJobId?: Maybe<Scalars['ID']['output']>;

type: CasasBahiaInstanceType;
updatedAt: Scalars['DateTime']['output'];
};

@@ -199,3 +201,3 @@ export declare enum CasasBahiaInstanceType {

};
export type CasasbahiaInstanceFragment = Pick<CasasBahiaInstance, 'id' | 'name' | 'credentialId' | 'cronJobId'>;
export type CasasbahiaInstanceFragment = Pick<CasasBahiaInstance, 'id' | 'name' | 'credentialId' | 'cronJobId' | 'type' | 'createdAt' | 'updatedAt'>;
export type SolutionsFragment = (Pick<Solutions, 'id' | 'name' | 'description'> & {

@@ -244,10 +246,10 @@ fields: Array<Pick<SolutionField, 'name' | 'type' | 'required' | 'minLength' | 'format'>>;

export type ApplySolutionMutation = Pick<Mutation, 'applySolution'>;
export declare const CasasbahiaInstanceFragmentDoc = "\n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n}\n ";
export declare const CasasbahiaInstanceFragmentDoc = "\n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n type\n createdAt\n updatedAt\n}\n ";
export declare const SolutionsFragmentDoc = "\n fragment solutions on Solutions {\n id\n name\n description\n fields {\n name\n type\n required\n minLength\n format\n }\n}\n ";
export declare const GetCasasBahiaInstanceDocument = "\n query getCasasBahiaInstance($id: ID!) {\n getCasasBahiaInstance(id: $id) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n}\n ";
export declare const ListCasasBahiaInstancesDocument = "\n query listCasasBahiaInstances {\n listCasasBahiaInstances {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n}\n ";
export declare const GetCasasBahiaInstanceDocument = "\n query getCasasBahiaInstance($id: ID!) {\n getCasasBahiaInstance(id: $id) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n type\n createdAt\n updatedAt\n}\n ";
export declare const ListCasasBahiaInstancesDocument = "\n query listCasasBahiaInstances {\n listCasasBahiaInstances {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n type\n createdAt\n updatedAt\n}\n ";
export declare const ListAvailableSolutionsDocument = "\n query listAvailableSolutions($sessionId: ID!) {\n listAvailableSolutions(sessionId: $sessionId) {\n ...solutions\n }\n}\n \n fragment solutions on Solutions {\n id\n name\n description\n fields {\n name\n type\n required\n minLength\n format\n }\n}\n ";
export declare const CreateCasasBahiaInstanceDocument = "\n mutation createCasasBahiaInstance($input: CreateCasasBahiaInstanceInput!) {\n createCasasBahiaInstance(input: $input) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n}\n ";
export declare const UpdateCasasBahiaInstanceDocument = "\n mutation updateCasasBahiaInstance($input: UpdateCasasBahiaInstanceInput!) {\n updateCasasBahiaInstance(input: $input) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n}\n ";
export declare const RemoveCasasBahiaInstanceDocument = "\n mutation removeCasasBahiaInstance($input: RemoveCasasBahiaInstanceInput!) {\n removeCasasBahiaInstance(input: $input) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n}\n ";
export declare const CreateCasasBahiaInstanceDocument = "\n mutation createCasasBahiaInstance($input: CreateCasasBahiaInstanceInput!) {\n createCasasBahiaInstance(input: $input) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n type\n createdAt\n updatedAt\n}\n ";
export declare const UpdateCasasBahiaInstanceDocument = "\n mutation updateCasasBahiaInstance($input: UpdateCasasBahiaInstanceInput!) {\n updateCasasBahiaInstance(input: $input) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n type\n createdAt\n updatedAt\n}\n ";
export declare const RemoveCasasBahiaInstanceDocument = "\n mutation removeCasasBahiaInstance($input: RemoveCasasBahiaInstanceInput!) {\n removeCasasBahiaInstance(input: $input) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n type\n createdAt\n updatedAt\n}\n ";
export declare const ApplySolutionDocument = "\n mutation applySolution($input: ApplySolutionInput!) {\n applySolution(input: $input)\n}\n ";

@@ -254,0 +256,0 @@ export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;

@@ -35,2 +35,5 @@ "use strict";

cronJobId
type
createdAt
updatedAt
}

@@ -37,0 +40,0 @@ `;

@@ -97,2 +97,3 @@ export type Maybe<T> = T;

credentialId?: InputMaybe<Scalars['ID']['input']>;
cutoffSyncDate: Scalars['Date']['input'];
name: Scalars['String']['input'];

@@ -140,2 +141,3 @@ tags?: InputMaybe<Array<Scalars['String']['input']>>;

getHttpEndpoint?: Maybe<Scalars['String']['output']>;
getReclameAquiBillingConfiguration: ReclameAquiBillingConfiguration;
getReclameAquiInstance?: Maybe<ReclameAquiInstance>;

@@ -153,2 +155,6 @@ listReclameAquiCompanies: Array<ReclameAquiCompany>;

};
export type ReclameAquiBillingConfiguration = {
billingCutoffSyncDays: Scalars['Int']['output'];
maxCutoffDate: Scalars['Date']['output'];
};
export type ReclameAquiCompany = {

@@ -163,2 +169,3 @@ companyId: Scalars['ID']['output'];

cronJobId?: Maybe<Scalars['ID']['output']>;
cutoffSyncDate?: Maybe<Scalars['Date']['output']>;
failingReason?: Maybe<Scalars['String']['output']>;

@@ -235,2 +242,8 @@ id: Scalars['ID']['output'];

};
export type GetReclameAquiBillingConfigurationQueryVariables = Exact<{
[key: string]: never;
}>;
export type GetReclameAquiBillingConfigurationQuery = {
getReclameAquiBillingConfiguration: Pick<ReclameAquiBillingConfiguration, 'billingCutoffSyncDays' | 'maxCutoffDate'>;
};
export type CreateReclameAquiInstanceMutationVariables = Exact<{

@@ -275,2 +288,3 @@ input: CreateReclameAquiInstanceInput;

export declare const ListReclameAquiModerationReasonsDocument = "\n query listReclameAquiModerationReasons {\n listReclameAquiModerationReasons {\n code\n description\n }\n}\n ";
export declare const GetReclameAquiBillingConfigurationDocument = "\n query getReclameAquiBillingConfiguration {\n getReclameAquiBillingConfiguration {\n billingCutoffSyncDays\n maxCutoffDate\n }\n}\n ";
export declare const CreateReclameAquiInstanceDocument = "\n mutation createReclameAquiInstance($input: CreateReclameAquiInstanceInput!) {\n createReclameAquiInstance(input: $input) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n tags\n createdAt\n updatedAt\n}\n ";

@@ -288,2 +302,3 @@ export declare const UpdateReclameAquiInstanceDocument = "\n mutation updateReclameAquiInstance($input: UpdateReclameAquiInstanceInput!) {\n updateReclameAquiInstance(input: $input) {\n ...reclameAquiInstance\n }\n}\n \n fragment reclameAquiInstance on ReclameAquiInstance {\n id\n name\n credentialId\n companyId\n cronJobId\n status\n failingReason\n tags\n createdAt\n updatedAt\n}\n ";

listReclameAquiModerationReasons(variables?: ListReclameAquiModerationReasonsQueryVariables, options?: C): Promise<ListReclameAquiModerationReasonsQuery>;
getReclameAquiBillingConfiguration(variables?: GetReclameAquiBillingConfigurationQueryVariables, options?: C): Promise<GetReclameAquiBillingConfigurationQuery>;
createReclameAquiInstance(variables: CreateReclameAquiInstanceMutationVariables, options?: C): Promise<CreateReclameAquiInstanceMutation>;

@@ -290,0 +305,0 @@ updateReclameAquiInstance(variables: UpdateReclameAquiInstanceMutationVariables, options?: C): Promise<UpdateReclameAquiInstanceMutation>;

"use strict";
/* istanbul ignore file */
Object.defineProperty(exports, "__esModule", { value: true });
exports.serviceName = exports.getSdk = exports.ForceReSyncReclameAquiTicketDocument = exports.RequestReclameAquiTicketEvaluationDocument = exports.SendReclameAquiModerationRequestDocument = exports.RemoveReclameAquiInstanceDocument = exports.UpdateReclameAquiInstanceDocument = exports.CreateReclameAquiInstanceDocument = exports.ListReclameAquiModerationReasonsDocument = exports.ListReclameAquiCompaniesDocument = exports.ListReclameAquiInstancesDocument = exports.GetReclameAquiInstanceDocument = exports.ReclameAquiInstanceFragmentDoc = exports.Typenames = exports.ReclameAquiTicketIdType = exports.AppInstanceStatus = void 0;
exports.serviceName = exports.getSdk = exports.ForceReSyncReclameAquiTicketDocument = exports.RequestReclameAquiTicketEvaluationDocument = exports.SendReclameAquiModerationRequestDocument = exports.RemoveReclameAquiInstanceDocument = exports.UpdateReclameAquiInstanceDocument = exports.CreateReclameAquiInstanceDocument = exports.GetReclameAquiBillingConfigurationDocument = exports.ListReclameAquiModerationReasonsDocument = exports.ListReclameAquiCompaniesDocument = exports.ListReclameAquiInstancesDocument = exports.GetReclameAquiInstanceDocument = exports.ReclameAquiInstanceFragmentDoc = exports.Typenames = exports.ReclameAquiTicketIdType = exports.AppInstanceStatus = void 0;
var AppInstanceStatus;

@@ -67,2 +67,10 @@ (function (AppInstanceStatus) {

`;
exports.GetReclameAquiBillingConfigurationDocument = `
query getReclameAquiBillingConfiguration {
getReclameAquiBillingConfiguration {
billingCutoffSyncDays
maxCutoffDate
}
}
`;
exports.CreateReclameAquiInstanceDocument = `

@@ -122,2 +130,5 @@ mutation createReclameAquiInstance($input: CreateReclameAquiInstanceInput!) {

},
getReclameAquiBillingConfiguration(variables, options) {
return requester(exports.GetReclameAquiBillingConfigurationDocument, variables, options);
},
createReclameAquiInstance(variables, options) {

@@ -124,0 +135,0 @@ return requester(exports.CreateReclameAquiInstanceDocument, variables, options);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc