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

@droz-js/sdk

Package Overview
Dependencies
Maintainers
0
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.9.27 to 0.9.28

2

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

@@ -6,0 +6,0 @@ "exports": {

@@ -153,2 +153,7 @@ export type Maybe<T> = T;

};
export type CustomerData = {
id: Scalars['ID']['output'];
name: Scalars['String']['output'];
phoneNumber: Scalars['String']['output'];
};
export type EditWhatsAppTemplateInput = {

@@ -219,2 +224,3 @@ category?: InputMaybe<TemplateCategory>;

listWhatsAppInstances?: Maybe<Array<Maybe<WhatsAppInstance>>>;
listWhatsAppMessageStatus?: Maybe<Array<Maybe<WhatsAppMessageStatus>>>;
listWhatsAppPhoneNumbers?: Maybe<Array<Maybe<WhatsAppPhoneNumber>>>;

@@ -231,2 +237,5 @@ listWhatsAppTemplates?: Maybe<Array<Maybe<WhatsAppTemplate>>>;

};
export type QueryListWhatsAppMessageStatusArgs = {
externalId?: InputMaybe<Scalars['String']['input']>;
};
export type QueryListWhatsAppPhoneNumbersArgs = {

@@ -380,2 +389,12 @@ credentialsId: Scalars['ID']['input'];

};
export type WhatsAppMessageStatus = {
createdAt: Scalars['DateTime']['output'];
errorCode?: Maybe<Scalars['String']['output']>;
errorMessage?: Maybe<Scalars['String']['output']>;
externalId: Scalars['String']['output'];
id: Scalars['ID']['output'];
recipient: CustomerData;
status: Scalars['String']['output'];
updatedAt: Scalars['DateTime']['output'];
};
export type WhatsAppPhoneNumber = {

@@ -408,2 +427,5 @@ displayPhoneNumber: Scalars['String']['output'];

export type WhatsAppPhoneNumberFragment = Pick<WhatsAppPhoneNumber, 'id' | 'displayPhoneNumber'>;
export type WhatsAppMessageStatusFragment = (Pick<WhatsAppMessageStatus, 'id' | 'status' | 'errorCode' | 'errorMessage' | 'externalId' | 'createdAt' | 'updatedAt'> & {
recipient: Pick<CustomerData, 'id' | 'name' | 'phoneNumber'>;
});
export type GetWhatsAppInstanceQueryVariables = Exact<{

@@ -421,2 +443,8 @@ id: Scalars['ID']['input'];

};
export type ListWhatsAppMessageStatusQueryVariables = Exact<{
externalId: Scalars['String']['input'];
}>;
export type ListWhatsAppMessageStatusQuery = {
listWhatsAppMessageStatus?: Maybe<Array<Maybe<WhatsAppMessageStatusFragment>>>;
};
export type ListWhatsAppPhoneNumbersQueryVariables = Exact<{

@@ -473,4 +501,6 @@ credentialsId: Scalars['ID']['input'];

export declare const WhatsAppPhoneNumberFragmentDoc = "\n fragment whatsAppPhoneNumber on WhatsAppPhoneNumber {\n id\n displayPhoneNumber\n}\n ";
export declare const WhatsAppMessageStatusFragmentDoc = "\n fragment whatsAppMessageStatus on WhatsAppMessageStatus {\n id\n status\n recipient {\n id\n name\n phoneNumber\n }\n errorCode\n errorMessage\n externalId\n createdAt\n updatedAt\n}\n ";
export declare const GetWhatsAppInstanceDocument = "\n query getWhatsAppInstance($id: ID!) {\n getWhatsAppInstance(id: $id) {\n ...whatsappInstance\n }\n}\n \n fragment whatsappInstance on WhatsAppInstance {\n id\n name\n drn\n phoneNumberId\n wabaId\n credentialsId\n createdAt\n updatedAt\n}\n ";
export declare const ListWhatsAppInstancesDocument = "\n query listWhatsAppInstances {\n listWhatsAppInstances {\n ...whatsappInstance\n }\n}\n \n fragment whatsappInstance on WhatsAppInstance {\n id\n name\n drn\n phoneNumberId\n wabaId\n credentialsId\n createdAt\n updatedAt\n}\n ";
export declare const ListWhatsAppMessageStatusDocument = "\n query listWhatsAppMessageStatus($externalId: String!) {\n listWhatsAppMessageStatus(externalId: $externalId) {\n ...whatsAppMessageStatus\n }\n}\n \n fragment whatsAppMessageStatus on WhatsAppMessageStatus {\n id\n status\n recipient {\n id\n name\n phoneNumber\n }\n errorCode\n errorMessage\n externalId\n createdAt\n updatedAt\n}\n ";
export declare const ListWhatsAppPhoneNumbersDocument = "\n query listWhatsAppPhoneNumbers($credentialsId: ID!) {\n listWhatsAppPhoneNumbers(credentialsId: $credentialsId) {\n ...whatsAppPhoneNumber\n }\n}\n \n fragment whatsAppPhoneNumber on WhatsAppPhoneNumber {\n id\n displayPhoneNumber\n}\n ";

@@ -488,2 +518,3 @@ export declare const ListWhatsAppTemplatesDocument = "\n query listWhatsAppTemplates($credentialsId: ID!, $status: TemplateStatus) {\n listWhatsAppTemplates(credentialsId: $credentialsId, status: $status) {\n ...whatsAppTemplate\n }\n}\n \n fragment whatsAppTemplate on WhatsAppTemplate {\n id\n name\n category\n status\n components {\n body {\n example\n text\n }\n header {\n text\n example\n format\n }\n footer {\n text\n example\n }\n buttons {\n example\n text\n type\n url\n }\n }\n}\n ";

listWhatsAppInstances(variables?: ListWhatsAppInstancesQueryVariables, options?: C): Promise<ListWhatsAppInstancesQuery>;
listWhatsAppMessageStatus(variables: ListWhatsAppMessageStatusQueryVariables, options?: C): Promise<ListWhatsAppMessageStatusQuery>;
listWhatsAppPhoneNumbers(variables: ListWhatsAppPhoneNumbersQueryVariables, options?: C): Promise<ListWhatsAppPhoneNumbersQuery>;

@@ -490,0 +521,0 @@ listWhatsAppTemplates(variables: ListWhatsAppTemplatesQueryVariables, options?: C): Promise<ListWhatsAppTemplatesQuery>;

"use strict";
/* istanbul ignore file */
Object.defineProperty(exports, "__esModule", { value: true });
exports.serviceName = exports.EditWhatsAppTemplateDocument = exports.CreateWhatsAppTemplateDocument = exports.RemoveWhatsAppInstanceDocument = exports.UpdateWhatsAppInstanceDocument = exports.CreateWhatsAppInstanceDocument = exports.GetWhatsAppTemplateDocument = exports.ListWhatsAppTemplatesDocument = exports.ListWhatsAppPhoneNumbersDocument = exports.ListWhatsAppInstancesDocument = exports.GetWhatsAppInstanceDocument = exports.WhatsAppPhoneNumberFragmentDoc = exports.WhatsAppTemplateFragmentDoc = exports.WhatsappInstanceFragmentDoc = exports.Typenames = exports.TemplateStatus = exports.TemplateHeaderFormat = exports.TemplateComponentType = exports.TemplateCategory = exports.TemplateButtonsType = exports.Can = exports.AppInstanceStatus = void 0;
exports.serviceName = exports.EditWhatsAppTemplateDocument = exports.CreateWhatsAppTemplateDocument = exports.RemoveWhatsAppInstanceDocument = exports.UpdateWhatsAppInstanceDocument = exports.CreateWhatsAppInstanceDocument = exports.GetWhatsAppTemplateDocument = exports.ListWhatsAppTemplatesDocument = exports.ListWhatsAppPhoneNumbersDocument = exports.ListWhatsAppMessageStatusDocument = exports.ListWhatsAppInstancesDocument = exports.GetWhatsAppInstanceDocument = exports.WhatsAppMessageStatusFragmentDoc = exports.WhatsAppPhoneNumberFragmentDoc = exports.WhatsAppTemplateFragmentDoc = exports.WhatsappInstanceFragmentDoc = exports.Typenames = exports.TemplateStatus = exports.TemplateHeaderFormat = exports.TemplateComponentType = exports.TemplateCategory = exports.TemplateButtonsType = exports.Can = exports.AppInstanceStatus = void 0;
exports.getSdk = getSdk;

@@ -110,2 +110,18 @@ var AppInstanceStatus;

`;
exports.WhatsAppMessageStatusFragmentDoc = `
fragment whatsAppMessageStatus on WhatsAppMessageStatus {
id
status
recipient {
id
name
phoneNumber
}
errorCode
errorMessage
externalId
createdAt
updatedAt
}
`;
exports.GetWhatsAppInstanceDocument = `

@@ -125,2 +141,9 @@ query getWhatsAppInstance($id: ID!) {

${exports.WhatsappInstanceFragmentDoc}`;
exports.ListWhatsAppMessageStatusDocument = `
query listWhatsAppMessageStatus($externalId: String!) {
listWhatsAppMessageStatus(externalId: $externalId) {
...whatsAppMessageStatus
}
}
${exports.WhatsAppMessageStatusFragmentDoc}`;
exports.ListWhatsAppPhoneNumbersDocument = `

@@ -191,2 +214,5 @@ query listWhatsAppPhoneNumbers($credentialsId: ID!) {

},
listWhatsAppMessageStatus(variables, options) {
return requester(exports.ListWhatsAppMessageStatusDocument, variables, options);
},
listWhatsAppPhoneNumbers(variables, options) {

@@ -193,0 +219,0 @@ return requester(exports.ListWhatsAppPhoneNumbersDocument, variables, options);

@@ -15,2 +15,5 @@ export * from './sdks/whatsapp';

}>, options?: unknown): Promise<import("./sdks/whatsapp").ListWhatsAppInstancesQuery>;
listWhatsAppMessageStatus(variables: import("./sdks/whatsapp").Exact<{
externalId: import("./sdks/whatsapp").Scalars["String"]["input"];
}>, options?: unknown): Promise<import("./sdks/whatsapp").ListWhatsAppMessageStatusQuery>;
listWhatsAppPhoneNumbers(variables: import("./sdks/whatsapp").Exact<{

@@ -17,0 +20,0 @@ credentialsId: import("./sdks/whatsapp").Scalars["ID"]["input"];

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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