Skip to content

Commit 6d27cdc

Browse files
committed
pnpm-lock
1 parent ffe0b70 commit 6d27cdc

File tree

5 files changed

+41
-36
lines changed

5 files changed

+41
-36
lines changed

components/gainsight_px/actions/create-account/create-account.mjs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,38 +11,38 @@ export default {
1111
id: {
1212
propDefinition: [
1313
app,
14-
"id"
15-
]
14+
"id",
15+
],
1616
},
1717
name: {
1818
propDefinition: [
1919
app,
20-
"name"
21-
]
20+
"name",
21+
],
2222
},
2323
propertyKeys: {
2424
propDefinition: [
2525
app,
26-
"propertyKeys"
27-
]
26+
"propertyKeys",
27+
],
2828
},
2929
countryName: {
3030
propDefinition: [
3131
app,
32-
"countryName"
33-
]
32+
"countryName",
33+
],
3434
},
3535
stateName: {
3636
propDefinition: [
3737
app,
38-
"stateName"
39-
]
38+
"stateName",
39+
],
4040
},
4141
city: {
4242
propDefinition: [
4343
app,
44-
"city"
45-
]
44+
"city",
45+
],
4646
},
4747
},
4848

@@ -57,8 +57,8 @@ export default {
5757
countryName: this.countryName,
5858
stateName: this.stateName,
5959
city: this.city,
60-
}
61-
}
60+
},
61+
},
6262
});
6363

6464
$.export("$summary", `Successfully created account with the name '${this.name}'`);

components/gainsight_px/actions/create-user/create-user.mjs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,32 +19,32 @@ export default {
1919
propertyKeys: {
2020
propDefinition: [
2121
app,
22-
"propertyKeys"
23-
]
22+
"propertyKeys",
23+
],
2424
},
2525
type: {
2626
propDefinition: [
2727
app,
28-
"type"
29-
]
28+
"type",
29+
],
3030
},
3131
email: {
3232
propDefinition: [
3333
app,
34-
"email"
35-
]
34+
"email",
35+
],
3636
},
3737
firstName: {
3838
propDefinition: [
3939
app,
40-
"firstName"
41-
]
40+
"firstName",
41+
],
4242
},
4343
lastName: {
4444
propDefinition: [
4545
app,
46-
"lastName"
47-
]
46+
"lastName",
47+
],
4848
},
4949
},
5050

@@ -58,7 +58,7 @@ export default {
5858
email: this.email,
5959
firstName: this.firstName,
6060
lastName: this.lastName,
61-
}
61+
},
6262
});
6363

6464
$.export("$summary", `Successfully created user with ID '${this.id}'`);

components/gainsight_px/actions/delete-user/delete-user.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default {
2121
$,
2222
data: {
2323
identifyId: this.identifyId,
24-
}
24+
},
2525
});
2626

2727
$.export("$summary", `Successfully deleted user with ID ${this.identifyId}`);

components/gainsight_px/gainsight_px.app.mjs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ export default {
4545
async options() {
4646
const response = await this.listUsers();
4747
const userIds = response.users;
48-
return userIds.map(({ identifyId, email }) => ({
48+
return userIds.map(({
49+
identifyId, email,
50+
}) => ({
4951
label: email,
5052
value: identifyId,
5153
}));
52-
}
54+
},
5355
},
5456
type: {
5557
type: "string",
@@ -94,34 +96,34 @@ export default {
9496
headers: {
9597
...headers,
9698
"X-APTRINSIC-API-KEY": `${this.$auth.api_key}`,
97-
"Accept": `application/json`,
99+
"Accept": "application/json",
98100
},
99101
});
100102
},
101103
async createAccount(args = {}) {
102104
return this._makeRequest({
103-
path: `/accounts`,
105+
path: "/accounts",
104106
method: "post",
105107
...args,
106108
});
107109
},
108110
async deleteUser(args = {}) {
109111
return this._makeRequest({
110-
path: `/users/delete`,
112+
path: "/users/delete",
111113
method: "delete",
112114
...args,
113115
});
114116
},
115117
async createUser(args = {}) {
116118
return this._makeRequest({
117-
path: `/users`,
119+
path: "/users",
118120
method: "post",
119121
...args,
120122
});
121123
},
122124
async listUsers(args = {}) {
123125
return this._makeRequest({
124-
path: `/users`,
126+
path: "/users",
125127
...args,
126128
});
127129
},

pnpm-lock.yaml

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)