@keystrokehq/simplesat 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-or-update-customer2.cjs +1 -0
- package/dist/actions/create-or-update-customer2.cjs.map +1 -1
- package/dist/actions/create-or-update-customer2.d.cts +3 -20
- package/dist/actions/create-or-update-customer2.d.cts.map +1 -1
- package/dist/actions/create-or-update-customer2.d.mts +3 -20
- package/dist/actions/create-or-update-customer2.d.mts.map +1 -1
- package/dist/actions/create-or-update-customer2.mjs +1 -0
- package/dist/actions/create-or-update-customer2.mjs.map +1 -1
- package/dist/actions/create-or-update-team-member.cjs +1 -0
- package/dist/actions/create-or-update-team-member.cjs.map +1 -1
- package/dist/actions/create-or-update-team-member.d.cts +3 -19
- package/dist/actions/create-or-update-team-member.d.cts.map +1 -1
- package/dist/actions/create-or-update-team-member.d.mts +3 -19
- package/dist/actions/create-or-update-team-member.d.mts.map +1 -1
- package/dist/actions/create-or-update-team-member.mjs +1 -0
- package/dist/actions/create-or-update-team-member.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +1 -0
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +3 -15
- package/dist/actions/get-customer.d.cts.map +1 -1
- package/dist/actions/get-customer.d.mts +3 -15
- package/dist/actions/get-customer.d.mts.map +1 -1
- package/dist/actions/get-customer.mjs +1 -0
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/list-questions.cjs +1 -0
- package/dist/actions/list-questions.cjs.map +1 -1
- package/dist/actions/list-questions.d.cts +3 -18
- package/dist/actions/list-questions.d.cts.map +1 -1
- package/dist/actions/list-questions.d.mts +3 -18
- package/dist/actions/list-questions.d.mts.map +1 -1
- package/dist/actions/list-questions.mjs +1 -0
- package/dist/actions/list-questions.mjs.map +1 -1
- package/dist/actions/list-surveys.cjs +1 -0
- package/dist/actions/list-surveys.cjs.map +1 -1
- package/dist/actions/list-surveys.d.cts +3 -16
- package/dist/actions/list-surveys.d.cts.map +1 -1
- package/dist/actions/list-surveys.d.mts +3 -16
- package/dist/actions/list-surveys.d.mts.map +1 -1
- package/dist/actions/list-surveys.mjs +1 -0
- package/dist/actions/list-surveys.mjs.map +1 -1
- package/dist/actions/search-answers.cjs +1 -0
- package/dist/actions/search-answers.cjs.map +1 -1
- package/dist/actions/search-answers.d.cts +3 -25
- package/dist/actions/search-answers.d.cts.map +1 -1
- package/dist/actions/search-answers.d.mts +3 -25
- package/dist/actions/search-answers.d.mts.map +1 -1
- package/dist/actions/search-answers.mjs +1 -0
- package/dist/actions/search-answers.mjs.map +1 -1
- package/dist/actions/search-responses.cjs +1 -0
- package/dist/actions/search-responses.cjs.map +1 -1
- package/dist/actions/search-responses.d.cts +3 -25
- package/dist/actions/search-responses.d.cts.map +1 -1
- package/dist/actions/search-responses.d.mts +3 -25
- package/dist/actions/search-responses.d.mts.map +1 -1
- package/dist/actions/search-responses.mjs +1 -0
- package/dist/actions/search-responses.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +1 -0
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +3 -21
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +3 -21
- package/dist/actions/update-customer.d.mts.map +1 -1
- package/dist/actions/update-customer.mjs +1 -0
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer.mjs","names":[],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplesatUpdateCustomerInput = z.object({\n id: z.string().describe(\"The unique identifier of the customer to update\"),\n name: z.string().describe(\"Full name of the customer\").optional(),\n tags: z.array(z.string()).describe(\"Array of tags associated with the customer\").optional(),\n email: z.string().describe(\"Email address of the customer\").optional(),\n company: z.string().describe(\"Company name of the customer\").optional(),\n external_id: z.number().int().describe(\"External identifier for the customer\").optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom attributes as key-value pairs. Any custom attribute fields that didn't previously exist will be created.\").optional(),\n});\nexport const SimplesatUpdateCustomerOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the customer\").nullable(),\n name: z.string().describe(\"Full name of the customer\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable().optional(),\n company: z.string().describe(\"Company name of the customer\").nullable().optional(),\n external_id: z.number().int().describe(\"External identifier for the customer\").nullable().optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom attributes of the customer\").nullable().optional(),\n}).passthrough();\n\nexport const simplesatUpdateCustomer = action(\"SIMPLESAT_UPDATE_CUSTOMER\", {\n slug: \"simplesat-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer by their Simplesat ID. Use when you need to modify customer information such as name, email, company, external ID, tags, or custom attributes.\",\n input: SimplesatUpdateCustomerInput,\n output: SimplesatUpdateCustomerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-customer.mjs","names":[],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplesat } from \"../app\";\n\nexport const SimplesatUpdateCustomerInput = z.object({\n id: z.string().describe(\"The unique identifier of the customer to update\"),\n name: z.string().describe(\"Full name of the customer\").optional(),\n tags: z.array(z.string()).describe(\"Array of tags associated with the customer\").optional(),\n email: z.string().describe(\"Email address of the customer\").optional(),\n company: z.string().describe(\"Company name of the customer\").optional(),\n external_id: z.number().int().describe(\"External identifier for the customer\").optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom attributes as key-value pairs. Any custom attribute fields that didn't previously exist will be created.\").optional(),\n});\nexport const SimplesatUpdateCustomerOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the customer\").nullable(),\n name: z.string().describe(\"Full name of the customer\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags associated with the customer\").nullable().optional(),\n email: z.string().describe(\"Email address of the customer\").nullable().optional(),\n company: z.string().describe(\"Company name of the customer\").nullable().optional(),\n external_id: z.number().int().describe(\"External identifier for the customer\").nullable().optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom attributes of the customer\").nullable().optional(),\n}).passthrough();\n\nexport const simplesatUpdateCustomer: AppAction<\n typeof SimplesatUpdateCustomerInput,\n typeof SimplesatUpdateCustomerOutput,\n typeof simplesat.credential\n> = action(\"SIMPLESAT_UPDATE_CUSTOMER\", {\n slug: \"simplesat-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer by their Simplesat ID. Use when you need to modify customer information such as name, email, company, external ID, tags, or custom attributes.\",\n input: SimplesatUpdateCustomerInput,\n output: SimplesatUpdateCustomerOutput,\n});\n"],"mappings":";;;AAyBA,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3B0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACxF,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC5L,CAmBS;CACP,QAnB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
-
let zod = require("zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
4
|
const simplesat = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "simplesat",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.simplesat = simplesat;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const simplesat = defineApp({\n slug: \"simplesat\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const simplesat: KeystrokeApp<\"simplesat\", typeof credential> = defineApp({\n slug: \"simplesat\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAoE;CAC/E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const simplesat: KeystrokeApp<"simplesat", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { simplesat };
|
|
13
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const simplesat: KeystrokeApp<"simplesat", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { simplesat };
|
|
13
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,UAAA"}
|
package/dist/app.mjs
CHANGED
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const simplesat = defineApp({\n slug: \"simplesat\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const simplesat: KeystrokeApp<\"simplesat\", typeof credential> = defineApp({\n slug: \"simplesat\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,YAA0D,UAAU;CAC/E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { simplesat } from "./app.cjs";
|
|
1
2
|
import { simplesatCreateOrUpdateCustomer2 } from "./actions/create-or-update-customer2.cjs";
|
|
2
3
|
import { simplesatCreateOrUpdateTeamMember } from "./actions/create-or-update-team-member.cjs";
|
|
3
4
|
import { simplesatGetCustomer } from "./actions/get-customer.cjs";
|
|
@@ -6,6 +7,5 @@ import { simplesatListSurveys } from "./actions/list-surveys.cjs";
|
|
|
6
7
|
import { simplesatSearchAnswers } from "./actions/search-answers.cjs";
|
|
7
8
|
import { simplesatSearchResponses } from "./actions/search-responses.cjs";
|
|
8
9
|
import { simplesatUpdateCustomer } from "./actions/update-customer.cjs";
|
|
9
|
-
import { simplesat } from "./app.cjs";
|
|
10
10
|
import { simplesatCatalog } from "./catalog.cjs";
|
|
11
11
|
export { simplesat, simplesatCatalog, simplesatCreateOrUpdateCustomer2, simplesatCreateOrUpdateTeamMember, simplesatGetCustomer, simplesatListQuestions, simplesatListSurveys, simplesatSearchAnswers, simplesatSearchResponses, simplesatUpdateCustomer };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { simplesat } from "./app.mjs";
|
|
1
2
|
import { simplesatCreateOrUpdateCustomer2 } from "./actions/create-or-update-customer2.mjs";
|
|
2
3
|
import { simplesatCreateOrUpdateTeamMember } from "./actions/create-or-update-team-member.mjs";
|
|
3
4
|
import { simplesatGetCustomer } from "./actions/get-customer.mjs";
|
|
@@ -6,6 +7,5 @@ import { simplesatListSurveys } from "./actions/list-surveys.mjs";
|
|
|
6
7
|
import { simplesatSearchAnswers } from "./actions/search-answers.mjs";
|
|
7
8
|
import { simplesatSearchResponses } from "./actions/search-responses.mjs";
|
|
8
9
|
import { simplesatUpdateCustomer } from "./actions/update-customer.mjs";
|
|
9
|
-
import { simplesat } from "./app.mjs";
|
|
10
10
|
import { simplesatCatalog } from "./catalog.mjs";
|
|
11
11
|
export { simplesat, simplesatCatalog, simplesatCreateOrUpdateCustomer2, simplesatCreateOrUpdateTeamMember, simplesatGetCustomer, simplesatListQuestions, simplesatListSurveys, simplesatSearchAnswers, simplesatSearchResponses, simplesatUpdateCustomer };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/simplesat",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|