Skip to content

Commit c189ed5

Browse files
authored
fix: Add environment info to each activity (#9)
1 parent 691021c commit c189ed5

16 files changed

Lines changed: 32 additions & 0 deletions

src/activities/AuthenticateApp.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ export interface AuthenticateAppOutputs {
3838
* @category Elements XS
3939
* @defaultName xsService
4040
* @description Authenticates an application with the Elements XS REST API.
41+
* @clientOnly
42+
* @unsupportedApps GMV
4143
*/
4244
export class AuthenticateApp implements IActivityHandler {
4345
async execute(

src/activities/AuthenticateUser.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ export interface AuthenticateUserOutputs {
3333
* @category Elements XS
3434
* @defaultName xsService
3535
* @description Authenticates a user with the Elements XS REST API using a username and password.
36+
* @clientOnly
37+
* @unsupportedApps GMV
3638
*/
3739
export class AuthenticateUser implements IActivityHandler {
3840
async execute(

src/activities/CreateServiceOrder.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ export interface CreateServiceOrderOutputs {
4141
/**
4242
* @category Elements XS
4343
* @description Create an Elements XS service order from a template.
44+
* @clientOnly
45+
* @unsupportedApps GMV
4446
*/
4547
export class CreateServiceOrder implements IActivityHandler {
4648
async execute(

src/activities/FindUsers.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ export interface FindUsersOutputs {
122122
/**
123123
* @category Elements XS
124124
* @description Searches for Elements XS users.
125+
* @clientOnly
126+
* @unsupportedApps GMV
125127
*/
126128
export class FindUsers implements IActivityHandler {
127129
async execute(inputs: FindUsersInputs): Promise<FindUsersOutputs> {

src/activities/GetCompany.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ export interface GetCompanyOutputs {
4949
/**
5050
* @category Elements XS
5151
* @description Gets an Elements XS company by ID.
52+
* @clientOnly
53+
* @unsupportedApps GMV
5254
*/
5355
export class GetCompany implements IActivityHandler {
5456
async execute(inputs: GetCompanyInputs): Promise<GetCompanyOutputs> {

src/activities/GetDepartments.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ export interface GetDepartmentsOutputs {
5454
/**
5555
* @category Elements XS
5656
* @description Get an Elements XS department by company ID.
57+
* @clientOnly
58+
* @unsupportedApps GMV
5759
*/
5860
export class GetDepartments implements IActivityHandler {
5961
async execute(

src/activities/GetMapLayer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ export interface GetMapLayerOutputs {
5151
/**
5252
* @category Elements XS
5353
* @description Gets an Elements XS map layer by ID.
54+
* @clientOnly
55+
* @unsupportedApps GMV
5456
*/
5557
export class GetMapLayer implements IActivityHandler {
5658
async execute(inputs: GetMapLayerInputs): Promise<GetMapLayerOutputs> {

src/activities/GetMapLayersByCompany.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ export interface GetMapLayersByCompanyOutputs {
5151
/**
5252
* @category Elements XS
5353
* @description Gets Elements XS map layers by company ID.
54+
* @clientOnly
55+
* @unsupportedApps GMV
5456
*/
5557
export class GetMapLayersByCompany implements IActivityHandler {
5658
async execute(

src/activities/GetMyCompanies.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ export interface GetMyCompaniesOutputs {
4949
/**
5050
* @category Elements XS
5151
* @description Gets the Elements XS companies of a user.
52+
* @clientOnly
53+
* @unsupportedApps GMV
5254
*/
5355
export class GetMyCompanies implements IActivityHandler {
5456
async execute(

src/activities/GetServiceOrder.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ export interface GetServiceOrderOutputs {
7676
/**
7777
* @category Elements XS
7878
* @description Gets an Elements XS service order by ID.
79+
* @clientOnly
80+
* @unsupportedApps GMV
7981
*/
8082
export class GetServiceOrder implements IActivityHandler {
8183
async execute(

0 commit comments

Comments
 (0)