mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
n8n-3867-progressively-apply-prettier-to-all (#3873)
* 🔨 formatting nodes with prettier
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
import {
|
||||
IExecuteFunctions,
|
||||
} from 'n8n-core';
|
||||
import { IExecuteFunctions } from 'n8n-core';
|
||||
|
||||
import {
|
||||
IDataObject,
|
||||
@@ -13,36 +11,17 @@ import {
|
||||
NodeOperationError,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import {
|
||||
validateJSON,
|
||||
zendeskApiRequest,
|
||||
zendeskApiRequestAllItems,
|
||||
} from './GenericFunctions';
|
||||
import { validateJSON, zendeskApiRequest, zendeskApiRequestAllItems } from './GenericFunctions';
|
||||
|
||||
import {
|
||||
ticketFields,
|
||||
ticketOperations
|
||||
} from './TicketDescription';
|
||||
import { ticketFields, ticketOperations } from './TicketDescription';
|
||||
|
||||
import {
|
||||
ticketFieldFields,
|
||||
ticketFieldOperations
|
||||
} from './TicketFieldDescription';
|
||||
import { ticketFieldFields, ticketFieldOperations } from './TicketFieldDescription';
|
||||
|
||||
import {
|
||||
userFields,
|
||||
userOperations
|
||||
} from './UserDescription';
|
||||
import { userFields, userOperations } from './UserDescription';
|
||||
|
||||
import {
|
||||
organizationFields,
|
||||
organizationOperations
|
||||
} from './OrganizationDescription';
|
||||
import { organizationFields, organizationOperations } from './OrganizationDescription';
|
||||
|
||||
import {
|
||||
IComment,
|
||||
ITicket,
|
||||
} from './TicketInterface';
|
||||
import { IComment, ITicket } from './TicketInterface';
|
||||
|
||||
export class Zendesk implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
@@ -64,9 +43,7 @@ export class Zendesk implements INodeType {
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
authentication: [
|
||||
'apiToken',
|
||||
],
|
||||
authentication: ['apiToken'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -75,9 +52,7 @@ export class Zendesk implements INodeType {
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
authentication: [
|
||||
'oAuth2',
|
||||
],
|
||||
authentication: ['oAuth2'],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -108,7 +83,8 @@ export class Zendesk implements INodeType {
|
||||
{
|
||||
name: 'Ticket',
|
||||
value: 'ticket',
|
||||
description: 'Tickets are the means through which your end users (customers) communicate with agents in Zendesk Support',
|
||||
description:
|
||||
'Tickets are the means through which your end users (customers) communicate with agents in Zendesk Support',
|
||||
},
|
||||
{
|
||||
name: 'Ticket Field',
|
||||
@@ -159,7 +135,12 @@ export class Zendesk implements INodeType {
|
||||
'multiselect',
|
||||
'tagger',
|
||||
];
|
||||
const fields = await zendeskApiRequestAllItems.call(this, 'ticket_fields', 'GET', '/ticket_fields');
|
||||
const fields = await zendeskApiRequestAllItems.call(
|
||||
this,
|
||||
'ticket_fields',
|
||||
'GET',
|
||||
'/ticket_fields',
|
||||
);
|
||||
for (const field of fields) {
|
||||
if (customFields.includes(field.type)) {
|
||||
const fieldName = field.title;
|
||||
@@ -223,7 +204,12 @@ export class Zendesk implements INodeType {
|
||||
// select them easily
|
||||
async getUserFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
const returnData: INodePropertyOptions[] = [];
|
||||
const fields = await zendeskApiRequestAllItems.call(this, 'user_fields', 'GET', '/user_fields');
|
||||
const fields = await zendeskApiRequestAllItems.call(
|
||||
this,
|
||||
'user_fields',
|
||||
'GET',
|
||||
'/user_fields',
|
||||
);
|
||||
for (const field of fields) {
|
||||
const fieldName = field.title;
|
||||
const fieldId = field.key;
|
||||
@@ -238,7 +224,12 @@ export class Zendesk implements INodeType {
|
||||
// Get all the organization fields to display them to the user for easy selection
|
||||
async getOrganizationFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
const returnData: INodePropertyOptions[] = [];
|
||||
const fields = await zendeskApiRequestAllItems.call(this, 'organization_fields', 'GET', '/organization_fields');
|
||||
const fields = await zendeskApiRequestAllItems.call(
|
||||
this,
|
||||
'organization_fields',
|
||||
'GET',
|
||||
'/organization_fields',
|
||||
);
|
||||
for (const field of fields) {
|
||||
const fieldName = field.title;
|
||||
const fieldId = field.key;
|
||||
@@ -252,7 +243,14 @@ export class Zendesk implements INodeType {
|
||||
|
||||
async getOrganizations(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
const returnData: INodePropertyOptions[] = [];
|
||||
const fields = await zendeskApiRequestAllItems.call(this, 'organizations', 'GET', `/organizations`, {}, {});
|
||||
const fields = await zendeskApiRequestAllItems.call(
|
||||
this,
|
||||
'organizations',
|
||||
'GET',
|
||||
`/organizations`,
|
||||
{},
|
||||
{},
|
||||
);
|
||||
for (const field of fields) {
|
||||
returnData.push({
|
||||
name: field.name,
|
||||
@@ -287,21 +285,23 @@ export class Zendesk implements INodeType {
|
||||
comment,
|
||||
};
|
||||
if (jsonParameters) {
|
||||
const additionalFieldsJson = this.getNodeParameter('additionalFieldsJson', i) as string;
|
||||
const additionalFieldsJson = this.getNodeParameter(
|
||||
'additionalFieldsJson',
|
||||
i,
|
||||
) as string;
|
||||
|
||||
if (additionalFieldsJson !== '') {
|
||||
|
||||
if (validateJSON(additionalFieldsJson) !== undefined) {
|
||||
|
||||
Object.assign(body, JSON.parse(additionalFieldsJson));
|
||||
|
||||
} else {
|
||||
throw new NodeOperationError(this.getNode(), 'Additional fields must be a valid JSON', { itemIndex: i });
|
||||
throw new NodeOperationError(
|
||||
this.getNode(),
|
||||
'Additional fields must be a valid JSON',
|
||||
{ itemIndex: i },
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
const additionalFields = this.getNodeParameter('additionalFields', i) as IDataObject;
|
||||
|
||||
if (additionalFields.type) {
|
||||
@@ -326,7 +326,8 @@ export class Zendesk implements INodeType {
|
||||
body.tags = additionalFields.tags as string[];
|
||||
}
|
||||
if (additionalFields.customFieldsUi) {
|
||||
body.custom_fields = (additionalFields.customFieldsUi as IDataObject).customFieldsValues as IDataObject[];
|
||||
body.custom_fields = (additionalFields.customFieldsUi as IDataObject)
|
||||
.customFieldsValues as IDataObject[];
|
||||
}
|
||||
}
|
||||
responseData = await zendeskApiRequest.call(this, 'POST', '/tickets', { ticket: body });
|
||||
@@ -342,18 +343,17 @@ export class Zendesk implements INodeType {
|
||||
const updateFieldsJson = this.getNodeParameter('updateFieldsJson', i) as string;
|
||||
|
||||
if (updateFieldsJson !== '') {
|
||||
|
||||
if (validateJSON(updateFieldsJson) !== undefined) {
|
||||
|
||||
Object.assign(body, JSON.parse(updateFieldsJson));
|
||||
|
||||
} else {
|
||||
throw new NodeOperationError(this.getNode(), 'Additional fields must be a valid JSON', { itemIndex: i });
|
||||
throw new NodeOperationError(
|
||||
this.getNode(),
|
||||
'Additional fields must be a valid JSON',
|
||||
{ itemIndex: i },
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
const updateFields = this.getNodeParameter('updateFields', i) as IDataObject;
|
||||
|
||||
if (updateFields.type) {
|
||||
@@ -378,7 +378,8 @@ export class Zendesk implements INodeType {
|
||||
body.tags = updateFields.tags as string[];
|
||||
}
|
||||
if (updateFields.customFieldsUi) {
|
||||
body.custom_fields = (updateFields.customFieldsUi as IDataObject).customFieldsValues as IDataObject[];
|
||||
body.custom_fields = (updateFields.customFieldsUi as IDataObject)
|
||||
.customFieldsValues as IDataObject[];
|
||||
}
|
||||
if (updateFields.assigneeEmail) {
|
||||
body.assignee_email = updateFields.assigneeEmail as string;
|
||||
@@ -398,9 +399,10 @@ export class Zendesk implements INodeType {
|
||||
};
|
||||
body.comment = comment;
|
||||
}
|
||||
|
||||
}
|
||||
responseData = await zendeskApiRequest.call(this, 'PUT', `/tickets/${ticketId}`, { ticket: body });
|
||||
responseData = await zendeskApiRequest.call(this, 'PUT', `/tickets/${ticketId}`, {
|
||||
ticket: body,
|
||||
});
|
||||
responseData = responseData.ticket;
|
||||
}
|
||||
//https://developer.zendesk.com/rest_api/docs/support/tickets#show-ticket
|
||||
@@ -408,7 +410,8 @@ export class Zendesk implements INodeType {
|
||||
if (operation === 'get') {
|
||||
const ticketType = this.getNodeParameter('ticketType', i) as string;
|
||||
const ticketId = this.getNodeParameter('id', i) as string;
|
||||
const endpoint = (ticketType === 'regular') ? `/tickets/${ticketId}` : `/suspended_tickets/${ticketId}`;
|
||||
const endpoint =
|
||||
ticketType === 'regular' ? `/tickets/${ticketId}` : `/suspended_tickets/${ticketId}`;
|
||||
responseData = await zendeskApiRequest.call(this, 'GET', endpoint, {});
|
||||
responseData = responseData.ticket || responseData.suspended_ticket;
|
||||
}
|
||||
@@ -435,10 +438,17 @@ export class Zendesk implements INodeType {
|
||||
if (options.sortOrder) {
|
||||
qs.sort_order = options.sortOrder;
|
||||
}
|
||||
const endpoint = (ticketType === 'regular') ? `/search` : `/suspended_tickets`;
|
||||
const property = (ticketType === 'regular') ? 'results' : 'suspended_tickets';
|
||||
const endpoint = ticketType === 'regular' ? `/search` : `/suspended_tickets`;
|
||||
const property = ticketType === 'regular' ? 'results' : 'suspended_tickets';
|
||||
if (returnAll) {
|
||||
responseData = await zendeskApiRequestAllItems.call(this, property, 'GET', endpoint, {}, qs);
|
||||
responseData = await zendeskApiRequestAllItems.call(
|
||||
this,
|
||||
property,
|
||||
'GET',
|
||||
endpoint,
|
||||
{},
|
||||
qs,
|
||||
);
|
||||
} else {
|
||||
const limit = this.getNodeParameter('limit', i) as number;
|
||||
qs.per_page = limit;
|
||||
@@ -451,7 +461,8 @@ export class Zendesk implements INodeType {
|
||||
if (operation === 'delete') {
|
||||
const ticketType = this.getNodeParameter('ticketType', i) as string;
|
||||
const ticketId = this.getNodeParameter('id', i) as string;
|
||||
const endpoint = (ticketType === 'regular') ? `/tickets/${ticketId}` : `/suspended_tickets/${ticketId}`;
|
||||
const endpoint =
|
||||
ticketType === 'regular' ? `/tickets/${ticketId}` : `/suspended_tickets/${ticketId}`;
|
||||
responseData = await zendeskApiRequest.call(this, 'DELETE', endpoint, {});
|
||||
responseData = { success: true };
|
||||
}
|
||||
@@ -459,7 +470,12 @@ export class Zendesk implements INodeType {
|
||||
if (operation === 'recover') {
|
||||
const ticketId = this.getNodeParameter('id', i) as string;
|
||||
try {
|
||||
responseData = await zendeskApiRequest.call(this, 'PUT', `/suspended_tickets/${ticketId}/recover`, {});
|
||||
responseData = await zendeskApiRequest.call(
|
||||
this,
|
||||
'PUT',
|
||||
`/suspended_tickets/${ticketId}/recover`,
|
||||
{},
|
||||
);
|
||||
responseData = responseData.ticket;
|
||||
} catch (error) {
|
||||
throw new NodeApiError(this.getNode(), error);
|
||||
@@ -471,18 +487,37 @@ export class Zendesk implements INodeType {
|
||||
//https://developer.zendesk.com/rest_api/docs/support/tickets#show-ticket
|
||||
if (operation === 'get') {
|
||||
const ticketFieldId = this.getNodeParameter('ticketFieldId', i) as string;
|
||||
responseData = await zendeskApiRequest.call(this, 'GET', `/ticket_fields/${ticketFieldId}`, {});
|
||||
responseData = await zendeskApiRequest.call(
|
||||
this,
|
||||
'GET',
|
||||
`/ticket_fields/${ticketFieldId}`,
|
||||
{},
|
||||
);
|
||||
responseData = responseData.ticket_field;
|
||||
}
|
||||
//https://developer.zendesk.com/rest_api/docs/support/ticket_fields#list-ticket-fields
|
||||
if (operation === 'getAll') {
|
||||
const returnAll = this.getNodeParameter('returnAll', i) as boolean;
|
||||
if (returnAll) {
|
||||
responseData = await zendeskApiRequestAllItems.call(this, 'ticket_fields', 'GET', '/ticket_fields', {}, qs);
|
||||
responseData = await zendeskApiRequestAllItems.call(
|
||||
this,
|
||||
'ticket_fields',
|
||||
'GET',
|
||||
'/ticket_fields',
|
||||
{},
|
||||
qs,
|
||||
);
|
||||
} else {
|
||||
const limit = this.getNodeParameter('limit', i) as number;
|
||||
qs.limit = limit;
|
||||
responseData = await zendeskApiRequestAllItems.call(this, 'ticket_fields', 'GET', '/ticket_fields', {}, qs);
|
||||
responseData = await zendeskApiRequestAllItems.call(
|
||||
this,
|
||||
'ticket_fields',
|
||||
'GET',
|
||||
'/ticket_fields',
|
||||
{},
|
||||
qs,
|
||||
);
|
||||
responseData = responseData.slice(0, limit);
|
||||
}
|
||||
}
|
||||
@@ -501,7 +536,8 @@ export class Zendesk implements INodeType {
|
||||
Object.assign(body, additionalFields);
|
||||
|
||||
if (body.userFieldsUi) {
|
||||
const userFields = (body.userFieldsUi as IDataObject).userFieldValues as IDataObject[];
|
||||
const userFields = (body.userFieldsUi as IDataObject)
|
||||
.userFieldValues as IDataObject[];
|
||||
if (userFields) {
|
||||
body.user_fields = {};
|
||||
for (const userField of userFields) {
|
||||
@@ -524,7 +560,8 @@ export class Zendesk implements INodeType {
|
||||
Object.assign(body, updateFields);
|
||||
|
||||
if (body.userFieldsUi) {
|
||||
const userFields = (body.userFieldsUi as IDataObject).userFieldValues as IDataObject[];
|
||||
const userFields = (body.userFieldsUi as IDataObject)
|
||||
.userFieldValues as IDataObject[];
|
||||
if (userFields) {
|
||||
body.user_fields = {};
|
||||
for (const userField of userFields) {
|
||||
@@ -535,7 +572,9 @@ export class Zendesk implements INodeType {
|
||||
}
|
||||
}
|
||||
|
||||
responseData = await zendeskApiRequest.call(this, 'PUT', `/users/${userId}`, { user: body });
|
||||
responseData = await zendeskApiRequest.call(this, 'PUT', `/users/${userId}`, {
|
||||
user: body,
|
||||
});
|
||||
responseData = responseData.user;
|
||||
}
|
||||
//https://developer.zendesk.com/api-reference/ticketing/users/users/#show-user
|
||||
@@ -552,7 +591,14 @@ export class Zendesk implements INodeType {
|
||||
Object.assign(qs, options);
|
||||
|
||||
if (returnAll) {
|
||||
responseData = await zendeskApiRequestAllItems.call(this, 'users', 'GET', `/users`, {}, qs);
|
||||
responseData = await zendeskApiRequestAllItems.call(
|
||||
this,
|
||||
'users',
|
||||
'GET',
|
||||
`/users`,
|
||||
{},
|
||||
qs,
|
||||
);
|
||||
} else {
|
||||
const limit = this.getNodeParameter('limit', i) as number;
|
||||
qs.per_page = limit;
|
||||
@@ -563,7 +609,12 @@ export class Zendesk implements INodeType {
|
||||
//https://developer.zendesk.com/api-reference/ticketing/organizations/organizations/#list-organizations
|
||||
if (operation === 'getOrganizations') {
|
||||
const userId = this.getNodeParameter('id', i) as string;
|
||||
responseData = await zendeskApiRequest.call(this, 'GET', `/users/${userId}/organizations`, {});
|
||||
responseData = await zendeskApiRequest.call(
|
||||
this,
|
||||
'GET',
|
||||
`/users/${userId}/organizations`,
|
||||
{},
|
||||
);
|
||||
responseData = responseData.organizations;
|
||||
}
|
||||
//https://developer.zendesk.com/api-reference/ticketing/users/users/#search-users
|
||||
@@ -574,7 +625,14 @@ export class Zendesk implements INodeType {
|
||||
Object.assign(qs, options);
|
||||
|
||||
if (returnAll) {
|
||||
responseData = await zendeskApiRequestAllItems.call(this, 'users', 'GET', `/users/search`, {}, qs);
|
||||
responseData = await zendeskApiRequestAllItems.call(
|
||||
this,
|
||||
'users',
|
||||
'GET',
|
||||
`/users/search`,
|
||||
{},
|
||||
qs,
|
||||
);
|
||||
} else {
|
||||
const limit = this.getNodeParameter('limit', i) as number;
|
||||
qs.per_page = limit;
|
||||
@@ -591,7 +649,12 @@ export class Zendesk implements INodeType {
|
||||
//https://developer.zendesk.com/api-reference/ticketing/users/users/#show-user-related-information
|
||||
if (operation === 'getRelatedData') {
|
||||
const userId = this.getNodeParameter('id', i) as string;
|
||||
responseData = await zendeskApiRequest.call(this, 'GET', `/users/${userId}/related`, {});
|
||||
responseData = await zendeskApiRequest.call(
|
||||
this,
|
||||
'GET',
|
||||
`/users/${userId}/related`,
|
||||
{},
|
||||
);
|
||||
responseData = responseData.user_related;
|
||||
}
|
||||
}
|
||||
@@ -601,11 +664,21 @@ export class Zendesk implements INodeType {
|
||||
if (operation === 'create') {
|
||||
const name = this.getNodeParameter('name', i) as string;
|
||||
|
||||
const body: IDataObject & { name: string; organization_fields?: { [key: string]: object | string } } = {
|
||||
const body: IDataObject & {
|
||||
name: string;
|
||||
organization_fields?: { [key: string]: object | string };
|
||||
} = {
|
||||
name,
|
||||
};
|
||||
|
||||
const { organizationFieldsUi, ...rest } = this.getNodeParameter('additionalFields', i) as IDataObject & { organizationFieldsUi?: { organizationFieldValues: Array<{ field: string; value: string; }> } };
|
||||
const { organizationFieldsUi, ...rest } = this.getNodeParameter(
|
||||
'additionalFields',
|
||||
i,
|
||||
) as IDataObject & {
|
||||
organizationFieldsUi?: {
|
||||
organizationFieldValues: Array<{ field: string; value: string }>;
|
||||
};
|
||||
};
|
||||
|
||||
Object.assign(body, rest);
|
||||
|
||||
@@ -619,7 +692,9 @@ export class Zendesk implements INodeType {
|
||||
}
|
||||
}
|
||||
|
||||
responseData = await zendeskApiRequest.call(this, 'POST', '/organizations', { organization: body });
|
||||
responseData = await zendeskApiRequest.call(this, 'POST', '/organizations', {
|
||||
organization: body,
|
||||
});
|
||||
responseData = responseData.organization;
|
||||
}
|
||||
//https://developer.zendesk.com/api-reference/ticketing/organizations/organizations/#delete-organization
|
||||
@@ -636,7 +711,12 @@ export class Zendesk implements INodeType {
|
||||
//https://developer.zendesk.com/api-reference/ticketing/organizations/organizations/#show-organization
|
||||
if (operation === 'get') {
|
||||
const organizationId = this.getNodeParameter('id', i) as string;
|
||||
responseData = await zendeskApiRequest.call(this, 'GET', `/organizations/${organizationId}`, {});
|
||||
responseData = await zendeskApiRequest.call(
|
||||
this,
|
||||
'GET',
|
||||
`/organizations/${organizationId}`,
|
||||
{},
|
||||
);
|
||||
responseData = responseData.organization;
|
||||
}
|
||||
//https://developer.zendesk.com/api-reference/ticketing/organizations/organizations/#list-organizations
|
||||
@@ -644,7 +724,14 @@ export class Zendesk implements INodeType {
|
||||
const returnAll = this.getNodeParameter('returnAll', i) as boolean;
|
||||
|
||||
if (returnAll) {
|
||||
responseData = await zendeskApiRequestAllItems.call(this, 'organizations', 'GET', `/organizations`, {}, qs);
|
||||
responseData = await zendeskApiRequestAllItems.call(
|
||||
this,
|
||||
'organizations',
|
||||
'GET',
|
||||
`/organizations`,
|
||||
{},
|
||||
qs,
|
||||
);
|
||||
} else {
|
||||
const limit = this.getNodeParameter('limit', i) as number;
|
||||
qs.per_page = limit;
|
||||
@@ -655,16 +742,29 @@ export class Zendesk implements INodeType {
|
||||
//https://developer.zendesk.com/api-reference/ticketing/organizations/organizations/#show-organizations-related-information
|
||||
if (operation === 'getRelatedData') {
|
||||
const organizationId = this.getNodeParameter('id', i) as string;
|
||||
responseData = await zendeskApiRequest.call(this, 'GET', `/organizations/${organizationId}/related`, {});
|
||||
responseData = await zendeskApiRequest.call(
|
||||
this,
|
||||
'GET',
|
||||
`/organizations/${organizationId}/related`,
|
||||
{},
|
||||
);
|
||||
responseData = responseData.organization_related;
|
||||
}
|
||||
//https://developer.zendesk.com/api-reference/ticketing/organizations/organizations/#update-organization
|
||||
if (operation === 'update') {
|
||||
const organizationId = this.getNodeParameter('id', i) as string;
|
||||
|
||||
const body: IDataObject & { organization_fields?: { [key: string]: object | string } } = {};
|
||||
const body: IDataObject & { organization_fields?: { [key: string]: object | string } } =
|
||||
{};
|
||||
|
||||
const { organizationFieldsUi, ...rest } = this.getNodeParameter('updateFields', i) as IDataObject & { organizationFieldsUi?: { organizationFieldValues: Array<{ field: string; value: string; }> } };
|
||||
const { organizationFieldsUi, ...rest } = this.getNodeParameter(
|
||||
'updateFields',
|
||||
i,
|
||||
) as IDataObject & {
|
||||
organizationFieldsUi?: {
|
||||
organizationFieldValues: Array<{ field: string; value: string }>;
|
||||
};
|
||||
};
|
||||
|
||||
Object.assign(body, rest);
|
||||
|
||||
@@ -678,10 +778,14 @@ export class Zendesk implements INodeType {
|
||||
}
|
||||
}
|
||||
|
||||
responseData = await zendeskApiRequest.call(this, 'PUT', `/organizations/${organizationId}`, { organization: body });
|
||||
responseData = await zendeskApiRequest.call(
|
||||
this,
|
||||
'PUT',
|
||||
`/organizations/${organizationId}`,
|
||||
{ organization: body },
|
||||
);
|
||||
responseData = responseData.organization;
|
||||
}
|
||||
|
||||
}
|
||||
if (Array.isArray(responseData)) {
|
||||
returnData.push.apply(returnData, responseData as IDataObject[]);
|
||||
|
||||
Reference in New Issue
Block a user