@keystrokehq/salesmate 0.1.2 → 0.1.4
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/actions/add-product.cjs +4 -4
- package/dist/actions/add-product.cjs.map +1 -1
- package/dist/actions/add-product.d.cts +4 -4
- package/dist/actions/add-product.d.mts +4 -4
- package/dist/actions/add-product.mjs +4 -4
- package/dist/actions/add-product.mjs.map +1 -1
- package/dist/actions/create-company.cjs +2 -2
- package/dist/actions/create-company.cjs.map +1 -1
- package/dist/actions/create-company.d.cts +2 -2
- package/dist/actions/create-company.d.mts +2 -2
- package/dist/actions/create-company.mjs +2 -2
- package/dist/actions/create-company.mjs.map +1 -1
- package/dist/actions/delete-product.cjs +1 -1
- package/dist/actions/delete-product.cjs.map +1 -1
- package/dist/actions/delete-product.d.cts +1 -1
- package/dist/actions/delete-product.d.mts +1 -1
- package/dist/actions/delete-product.mjs +1 -1
- package/dist/actions/delete-product.mjs.map +1 -1
- package/dist/actions/get-active-users.cjs +2 -2
- package/dist/actions/get-active-users.cjs.map +1 -1
- package/dist/actions/get-active-users.d.cts +2 -2
- package/dist/actions/get-active-users.d.mts +2 -2
- package/dist/actions/get-active-users.mjs +2 -2
- package/dist/actions/get-active-users.mjs.map +1 -1
- package/dist/actions/get-company.cjs +1 -1
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +1 -1
- package/dist/actions/get-company.d.mts +1 -1
- package/dist/actions/get-company.mjs +1 -1
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/list-modules.cjs +2 -2
- package/dist/actions/list-modules.cjs.map +1 -1
- package/dist/actions/list-modules.d.cts +2 -2
- package/dist/actions/list-modules.d.mts +2 -2
- package/dist/actions/list-modules.mjs +2 -2
- package/dist/actions/list-modules.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -18,12 +18,12 @@ const SalesmateAddProduct_PriceItemSchema = zod.z.object({
|
|
|
18
18
|
currency: zod.z.string().describe("Currency code for this price.").nullable(),
|
|
19
19
|
isDefault: zod.z.boolean().describe("Whether this price is the default one.").nullable(),
|
|
20
20
|
unitPrice: zod.z.number().describe("Unit price for this product.").nullable()
|
|
21
|
-
});
|
|
21
|
+
}).passthrough();
|
|
22
22
|
const SalesmateAddProduct_CurrencyInfoSchema = zod.z.object({
|
|
23
23
|
code: zod.z.string().describe("Currency code, e.g., USD.").nullable(),
|
|
24
24
|
value: zod.z.string().describe("Value of the currency code.").nullable(),
|
|
25
25
|
displayLabel: zod.z.string().describe("Currency display label, e.g., USD - $.").nullable()
|
|
26
|
-
});
|
|
26
|
+
}).passthrough();
|
|
27
27
|
const SalesmateAddProduct_AddProductDataSchema = zod.z.object({
|
|
28
28
|
id: zod.z.number().int().describe("Unique ID of the product").nullable(),
|
|
29
29
|
sku: zod.z.string().describe("SKU/code of the product").nullable().optional(),
|
|
@@ -34,11 +34,11 @@ const SalesmateAddProduct_AddProductDataSchema = zod.z.object({
|
|
|
34
34
|
currency: SalesmateAddProduct_CurrencyInfoSchema.nullable(),
|
|
35
35
|
isActive: zod.z.boolean().describe("Whether the product is active for sales").nullable(),
|
|
36
36
|
description: zod.z.string().describe("Description of the product").nullable().optional()
|
|
37
|
-
});
|
|
37
|
+
}).passthrough();
|
|
38
38
|
const SalesmateAddProductOutput = zod.z.object({
|
|
39
39
|
Data: SalesmateAddProduct_AddProductDataSchema.nullable(),
|
|
40
40
|
Status: zod.z.enum(["success", "failure"]).describe("API call status.").nullable()
|
|
41
|
-
});
|
|
41
|
+
}).passthrough();
|
|
42
42
|
const salesmateAddProduct = require_action.action("SALESMATE_ADD_PRODUCT", {
|
|
43
43
|
slug: "salesmate-add-product",
|
|
44
44
|
name: "Add Product",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-product.cjs","names":["z","action"],"sources":["../../src/actions/add-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateAddProductInput = z.object({\n sku: z.string().describe(\"Unique SKU/code of the product\").optional(),\n name: z.string().describe(\"Name of the product\"),\n tags: z.string().describe(\"Comma-separated tags (max 5000 chars)\").optional(),\n owner: z.number().int().describe(\"Salesmate user ID that owns the product\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code, uppercase\"),\n isActive: z.boolean().default(true).describe(\"Whether the product is active for sales\").optional(),\n unitPrice: z.number().describe(\"Sale price of the product (non-negative)\"),\n directCost: z.number().describe(\"Optional direct cost of the product (non-negative)\").optional(),\n costPerUnit: z.number().describe(\"Optional cost per unit (non-negative)\").optional(),\n description: z.string().describe(\"Optional description (max 2000 chars)\").optional(),\n});\nconst SalesmateAddProduct_PriceItemSchema = z.object({\n id: z.number().int().describe(\"ID of this price entry.\").nullable(),\n currency: z.string().describe(\"Currency code for this price.\").nullable(),\n isDefault: z.boolean().describe(\"Whether this price is the default one.\").nullable(),\n unitPrice: z.number().describe(\"Unit price for this product.\").nullable(),\n});\nconst SalesmateAddProduct_CurrencyInfoSchema = z.object({\n code: z.string().describe(\"Currency code, e.g., USD.\").nullable(),\n value: z.string().describe(\"Value of the currency code.\").nullable(),\n displayLabel: z.string().describe(\"Currency display label, e.g., USD - $.\").nullable(),\n});\nconst SalesmateAddProduct_AddProductDataSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the product\").nullable(),\n sku: z.string().describe(\"SKU/code of the product\").nullable().optional(),\n name: z.string().describe(\"Name of the product\").nullable(),\n tags: z.string().describe(\"Tags associated with the product\").nullable().optional(),\n owner: z.number().int().describe(\"ID of the user who owns the product\").nullable().optional(),\n prices: z.array(SalesmateAddProduct_PriceItemSchema).describe(\"List of price entries for the product\"),\n currency: SalesmateAddProduct_CurrencyInfoSchema.nullable(),\n isActive: z.boolean().describe(\"Whether the product is active for sales\").nullable(),\n description: z.string().describe(\"Description of the product\").nullable().optional(),\n});\nexport const SalesmateAddProductOutput = z.object({\n Data: SalesmateAddProduct_AddProductDataSchema.nullable(),\n Status: z.enum([\"success\", \"failure\"]).describe(\"API call status.\").nullable(),\n});\n\nexport const salesmateAddProduct = action(\"SALESMATE_ADD_PRODUCT\", {\n slug: \"salesmate-add-product\",\n name: \"Add Product\",\n description: \"Tool to add a new product. Use when you need to create a new product in Salesmate before referencing it (e.g., in deals or orders). Example: \\\"Add a product named 'Widget Pro' (SKU WPRO1) priced at 199.99 USD.\\\"\",\n input: SalesmateAddProductInput,\n output: SalesmateAddProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACzE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrF,CAAC;AACD,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC1E,CAAC;
|
|
1
|
+
{"version":3,"file":"add-product.cjs","names":["z","action"],"sources":["../../src/actions/add-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateAddProductInput = z.object({\n sku: z.string().describe(\"Unique SKU/code of the product\").optional(),\n name: z.string().describe(\"Name of the product\"),\n tags: z.string().describe(\"Comma-separated tags (max 5000 chars)\").optional(),\n owner: z.number().int().describe(\"Salesmate user ID that owns the product\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code, uppercase\"),\n isActive: z.boolean().default(true).describe(\"Whether the product is active for sales\").optional(),\n unitPrice: z.number().describe(\"Sale price of the product (non-negative)\"),\n directCost: z.number().describe(\"Optional direct cost of the product (non-negative)\").optional(),\n costPerUnit: z.number().describe(\"Optional cost per unit (non-negative)\").optional(),\n description: z.string().describe(\"Optional description (max 2000 chars)\").optional(),\n});\nconst SalesmateAddProduct_PriceItemSchema = z.object({\n id: z.number().int().describe(\"ID of this price entry.\").nullable(),\n currency: z.string().describe(\"Currency code for this price.\").nullable(),\n isDefault: z.boolean().describe(\"Whether this price is the default one.\").nullable(),\n unitPrice: z.number().describe(\"Unit price for this product.\").nullable(),\n}).passthrough();\nconst SalesmateAddProduct_CurrencyInfoSchema = z.object({\n code: z.string().describe(\"Currency code, e.g., USD.\").nullable(),\n value: z.string().describe(\"Value of the currency code.\").nullable(),\n displayLabel: z.string().describe(\"Currency display label, e.g., USD - $.\").nullable(),\n}).passthrough();\nconst SalesmateAddProduct_AddProductDataSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the product\").nullable(),\n sku: z.string().describe(\"SKU/code of the product\").nullable().optional(),\n name: z.string().describe(\"Name of the product\").nullable(),\n tags: z.string().describe(\"Tags associated with the product\").nullable().optional(),\n owner: z.number().int().describe(\"ID of the user who owns the product\").nullable().optional(),\n prices: z.array(SalesmateAddProduct_PriceItemSchema).describe(\"List of price entries for the product\"),\n currency: SalesmateAddProduct_CurrencyInfoSchema.nullable(),\n isActive: z.boolean().describe(\"Whether the product is active for sales\").nullable(),\n description: z.string().describe(\"Description of the product\").nullable().optional(),\n}).passthrough();\nexport const SalesmateAddProductOutput = z.object({\n Data: SalesmateAddProduct_AddProductDataSchema.nullable(),\n Status: z.enum([\"success\", \"failure\"]).describe(\"API call status.\").nullable(),\n}).passthrough();\n\nexport const salesmateAddProduct = action(\"SALESMATE_ADD_PRODUCT\", {\n slug: \"salesmate-add-product\",\n name: \"Add Product\",\n description: \"Tool to add a new product. Use when you need to create a new product in Salesmate before referencing it (e.g., in deals or orders). Example: \\\"Add a product named 'Widget Pro' (SKU WPRO1) priced at 199.99 USD.\\\"\",\n input: SalesmateAddProductInput,\n output: SalesmateAddProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACzE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrF,CAAC;AACD,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,uCAAuC;CACrG,UAAU,uCAAuC,SAAS;CAC1D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAM,yCAAyC,SAAS;CACxD,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -25,20 +25,20 @@ declare const SalesmateAddProductOutput: z.ZodObject<{
|
|
|
25
25
|
currency: z.ZodNullable<z.ZodString>;
|
|
26
26
|
isDefault: z.ZodNullable<z.ZodBoolean>;
|
|
27
27
|
unitPrice: z.ZodNullable<z.ZodNumber>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>;
|
|
29
29
|
currency: z.ZodNullable<z.ZodObject<{
|
|
30
30
|
code: z.ZodNullable<z.ZodString>;
|
|
31
31
|
value: z.ZodNullable<z.ZodString>;
|
|
32
32
|
displayLabel: z.ZodNullable<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
isActive: z.ZodNullable<z.ZodBoolean>;
|
|
35
35
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>;
|
|
37
37
|
Status: z.ZodNullable<z.ZodEnum<{
|
|
38
38
|
success: "success";
|
|
39
39
|
failure: "failure";
|
|
40
40
|
}>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>;
|
|
42
42
|
declare const salesmateAddProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
43
|
name: string;
|
|
44
44
|
currency: string;
|
|
@@ -25,20 +25,20 @@ declare const SalesmateAddProductOutput: z.ZodObject<{
|
|
|
25
25
|
currency: z.ZodNullable<z.ZodString>;
|
|
26
26
|
isDefault: z.ZodNullable<z.ZodBoolean>;
|
|
27
27
|
unitPrice: z.ZodNullable<z.ZodNumber>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>;
|
|
29
29
|
currency: z.ZodNullable<z.ZodObject<{
|
|
30
30
|
code: z.ZodNullable<z.ZodString>;
|
|
31
31
|
value: z.ZodNullable<z.ZodString>;
|
|
32
32
|
displayLabel: z.ZodNullable<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
isActive: z.ZodNullable<z.ZodBoolean>;
|
|
35
35
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>;
|
|
37
37
|
Status: z.ZodNullable<z.ZodEnum<{
|
|
38
38
|
success: "success";
|
|
39
39
|
failure: "failure";
|
|
40
40
|
}>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>;
|
|
42
42
|
declare const salesmateAddProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
43
|
name: string;
|
|
44
44
|
currency: string;
|
|
@@ -18,12 +18,12 @@ const SalesmateAddProduct_PriceItemSchema = z.object({
|
|
|
18
18
|
currency: z.string().describe("Currency code for this price.").nullable(),
|
|
19
19
|
isDefault: z.boolean().describe("Whether this price is the default one.").nullable(),
|
|
20
20
|
unitPrice: z.number().describe("Unit price for this product.").nullable()
|
|
21
|
-
});
|
|
21
|
+
}).passthrough();
|
|
22
22
|
const SalesmateAddProduct_CurrencyInfoSchema = z.object({
|
|
23
23
|
code: z.string().describe("Currency code, e.g., USD.").nullable(),
|
|
24
24
|
value: z.string().describe("Value of the currency code.").nullable(),
|
|
25
25
|
displayLabel: z.string().describe("Currency display label, e.g., USD - $.").nullable()
|
|
26
|
-
});
|
|
26
|
+
}).passthrough();
|
|
27
27
|
const SalesmateAddProduct_AddProductDataSchema = z.object({
|
|
28
28
|
id: z.number().int().describe("Unique ID of the product").nullable(),
|
|
29
29
|
sku: z.string().describe("SKU/code of the product").nullable().optional(),
|
|
@@ -34,7 +34,7 @@ const SalesmateAddProduct_AddProductDataSchema = z.object({
|
|
|
34
34
|
currency: SalesmateAddProduct_CurrencyInfoSchema.nullable(),
|
|
35
35
|
isActive: z.boolean().describe("Whether the product is active for sales").nullable(),
|
|
36
36
|
description: z.string().describe("Description of the product").nullable().optional()
|
|
37
|
-
});
|
|
37
|
+
}).passthrough();
|
|
38
38
|
const salesmateAddProduct = action("SALESMATE_ADD_PRODUCT", {
|
|
39
39
|
slug: "salesmate-add-product",
|
|
40
40
|
name: "Add Product",
|
|
@@ -43,7 +43,7 @@ const salesmateAddProduct = action("SALESMATE_ADD_PRODUCT", {
|
|
|
43
43
|
output: z.object({
|
|
44
44
|
Data: SalesmateAddProduct_AddProductDataSchema.nullable(),
|
|
45
45
|
Status: z.enum(["success", "failure"]).describe("API call status.").nullable()
|
|
46
|
-
})
|
|
46
|
+
}).passthrough()
|
|
47
47
|
});
|
|
48
48
|
//#endregion
|
|
49
49
|
export { salesmateAddProduct };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-product.mjs","names":[],"sources":["../../src/actions/add-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateAddProductInput = z.object({\n sku: z.string().describe(\"Unique SKU/code of the product\").optional(),\n name: z.string().describe(\"Name of the product\"),\n tags: z.string().describe(\"Comma-separated tags (max 5000 chars)\").optional(),\n owner: z.number().int().describe(\"Salesmate user ID that owns the product\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code, uppercase\"),\n isActive: z.boolean().default(true).describe(\"Whether the product is active for sales\").optional(),\n unitPrice: z.number().describe(\"Sale price of the product (non-negative)\"),\n directCost: z.number().describe(\"Optional direct cost of the product (non-negative)\").optional(),\n costPerUnit: z.number().describe(\"Optional cost per unit (non-negative)\").optional(),\n description: z.string().describe(\"Optional description (max 2000 chars)\").optional(),\n});\nconst SalesmateAddProduct_PriceItemSchema = z.object({\n id: z.number().int().describe(\"ID of this price entry.\").nullable(),\n currency: z.string().describe(\"Currency code for this price.\").nullable(),\n isDefault: z.boolean().describe(\"Whether this price is the default one.\").nullable(),\n unitPrice: z.number().describe(\"Unit price for this product.\").nullable(),\n});\nconst SalesmateAddProduct_CurrencyInfoSchema = z.object({\n code: z.string().describe(\"Currency code, e.g., USD.\").nullable(),\n value: z.string().describe(\"Value of the currency code.\").nullable(),\n displayLabel: z.string().describe(\"Currency display label, e.g., USD - $.\").nullable(),\n});\nconst SalesmateAddProduct_AddProductDataSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the product\").nullable(),\n sku: z.string().describe(\"SKU/code of the product\").nullable().optional(),\n name: z.string().describe(\"Name of the product\").nullable(),\n tags: z.string().describe(\"Tags associated with the product\").nullable().optional(),\n owner: z.number().int().describe(\"ID of the user who owns the product\").nullable().optional(),\n prices: z.array(SalesmateAddProduct_PriceItemSchema).describe(\"List of price entries for the product\"),\n currency: SalesmateAddProduct_CurrencyInfoSchema.nullable(),\n isActive: z.boolean().describe(\"Whether the product is active for sales\").nullable(),\n description: z.string().describe(\"Description of the product\").nullable().optional(),\n});\nexport const SalesmateAddProductOutput = z.object({\n Data: SalesmateAddProduct_AddProductDataSchema.nullable(),\n Status: z.enum([\"success\", \"failure\"]).describe(\"API call status.\").nullable(),\n});\n\nexport const salesmateAddProduct = action(\"SALESMATE_ADD_PRODUCT\", {\n slug: \"salesmate-add-product\",\n name: \"Add Product\",\n description: \"Tool to add a new product. Use when you need to create a new product in Salesmate before referencing it (e.g., in deals or orders). Example: \\\"Add a product named 'Widget Pro' (SKU WPRO1) priced at 199.99 USD.\\\"\",\n input: SalesmateAddProductInput,\n output: SalesmateAddProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACzE,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrF,CAAC;AACD,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC1E,CAAC;
|
|
1
|
+
{"version":3,"file":"add-product.mjs","names":[],"sources":["../../src/actions/add-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateAddProductInput = z.object({\n sku: z.string().describe(\"Unique SKU/code of the product\").optional(),\n name: z.string().describe(\"Name of the product\"),\n tags: z.string().describe(\"Comma-separated tags (max 5000 chars)\").optional(),\n owner: z.number().int().describe(\"Salesmate user ID that owns the product\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code, uppercase\"),\n isActive: z.boolean().default(true).describe(\"Whether the product is active for sales\").optional(),\n unitPrice: z.number().describe(\"Sale price of the product (non-negative)\"),\n directCost: z.number().describe(\"Optional direct cost of the product (non-negative)\").optional(),\n costPerUnit: z.number().describe(\"Optional cost per unit (non-negative)\").optional(),\n description: z.string().describe(\"Optional description (max 2000 chars)\").optional(),\n});\nconst SalesmateAddProduct_PriceItemSchema = z.object({\n id: z.number().int().describe(\"ID of this price entry.\").nullable(),\n currency: z.string().describe(\"Currency code for this price.\").nullable(),\n isDefault: z.boolean().describe(\"Whether this price is the default one.\").nullable(),\n unitPrice: z.number().describe(\"Unit price for this product.\").nullable(),\n}).passthrough();\nconst SalesmateAddProduct_CurrencyInfoSchema = z.object({\n code: z.string().describe(\"Currency code, e.g., USD.\").nullable(),\n value: z.string().describe(\"Value of the currency code.\").nullable(),\n displayLabel: z.string().describe(\"Currency display label, e.g., USD - $.\").nullable(),\n}).passthrough();\nconst SalesmateAddProduct_AddProductDataSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the product\").nullable(),\n sku: z.string().describe(\"SKU/code of the product\").nullable().optional(),\n name: z.string().describe(\"Name of the product\").nullable(),\n tags: z.string().describe(\"Tags associated with the product\").nullable().optional(),\n owner: z.number().int().describe(\"ID of the user who owns the product\").nullable().optional(),\n prices: z.array(SalesmateAddProduct_PriceItemSchema).describe(\"List of price entries for the product\"),\n currency: SalesmateAddProduct_CurrencyInfoSchema.nullable(),\n isActive: z.boolean().describe(\"Whether the product is active for sales\").nullable(),\n description: z.string().describe(\"Description of the product\").nullable().optional(),\n}).passthrough();\nexport const SalesmateAddProductOutput = z.object({\n Data: SalesmateAddProduct_AddProductDataSchema.nullable(),\n Status: z.enum([\"success\", \"failure\"]).describe(\"API call status.\").nullable(),\n}).passthrough();\n\nexport const salesmateAddProduct = action(\"SALESMATE_ADD_PRODUCT\", {\n slug: \"salesmate-add-product\",\n name: \"Add Product\",\n description: \"Tool to add a new product. Use when you need to create a new product in Salesmate before referencing it (e.g., in deals or orders). Example: \\\"Add a product named 'Widget Pro' (SKU WPRO1) priced at 199.99 USD.\\\"\",\n input: SalesmateAddProductInput,\n output: SalesmateAddProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACzE,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrF,CAAC;AACD,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,uCAAuC;CACrG,UAAU,uCAAuC,SAAS;CAC1D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,yCAAyC,SAAS;EACxD,QAAQ,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -22,11 +22,11 @@ const SalesmateCreateCompanyInput = zod.z.object({
|
|
|
22
22
|
billingAddressLine1: zod.z.string().describe("Billing address line 1").optional(),
|
|
23
23
|
billingAddressLine2: zod.z.string().describe("Billing address line 2").optional()
|
|
24
24
|
}).describe("Parameters to create a new company in Salesmate CRM.");
|
|
25
|
-
const SalesmateCreateCompany_CreateCompanyResponseDataSchema = zod.z.object({ id: zod.z.number().int().describe("Identifier of the created company").nullable() }).describe("Response Data containing the newly created company ID.");
|
|
25
|
+
const SalesmateCreateCompany_CreateCompanyResponseDataSchema = zod.z.object({ id: zod.z.number().int().describe("Identifier of the created company").nullable() }).passthrough().describe("Response Data containing the newly created company ID.");
|
|
26
26
|
const SalesmateCreateCompanyOutput = zod.z.object({
|
|
27
27
|
Data: SalesmateCreateCompany_CreateCompanyResponseDataSchema.nullable(),
|
|
28
28
|
Status: zod.z.string().describe("Status of the API call, e.g., 'success'").nullable()
|
|
29
|
-
}).describe("Response schema for create company API.");
|
|
29
|
+
}).passthrough().describe("Response schema for create company API.");
|
|
30
30
|
const salesmateCreateCompany = require_action.action("SALESMATE_CREATE_COMPANY", {
|
|
31
31
|
slug: "salesmate-create-company",
|
|
32
32
|
name: "Create Company",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-company.cjs","names":["z","action"],"sources":["../../src/actions/create-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateCreateCompanyInput = z.object({\n name: z.string().describe(\"Name of the company (max 255 chars)\"),\n tags: z.string().describe(\"Comma-separated tags for the company\").optional(),\n owner: z.number().int().describe(\"ID of the owner user for this company. If not provided, defaults to the authenticated user.\").optional(),\n phone: z.string().describe(\"Primary phone number of the company\").optional(),\n skypeId: z.string().describe(\"Skype ID of the company\").optional(),\n website: z.string().describe(\"Website URL of the company\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (uppercase)\").optional(),\n otherPhone: z.string().describe(\"Secondary phone number of the company\").optional(),\n billingCity: z.string().describe(\"Billing city\").optional(),\n description: z.string().describe(\"Description for the company\").optional(),\n billingState: z.string().describe(\"Billing state\").optional(),\n twitterHandle: z.string().describe(\"Twitter handle of the company\").optional(),\n billingCountry: z.string().describe(\"Billing country\").optional(),\n billingZipCode: z.string().describe(\"Billing ZIP/postal code\").optional(),\n facebookHandle: z.string().describe(\"Facebook profile or handle of the company\").optional(),\n linkedInHandle: z.string().describe(\"LinkedIn profile link of the company\").optional(),\n googlePlusHandle: z.string().describe(\"Google Plus profile link of the company\").optional(),\n billingAddressLine1: z.string().describe(\"Billing address line 1\").optional(),\n billingAddressLine2: z.string().describe(\"Billing address line 2\").optional(),\n}).describe(\"Parameters to create a new company in Salesmate CRM.\");\nconst SalesmateCreateCompany_CreateCompanyResponseDataSchema = z.object({\n id: z.number().int().describe(\"Identifier of the created company\").nullable(),\n}).describe(\"Response Data containing the newly created company ID.\");\nexport const SalesmateCreateCompanyOutput = z.object({\n Data: SalesmateCreateCompany_CreateCompanyResponseDataSchema.nullable(),\n Status: z.string().describe(\"Status of the API call, e.g., 'success'\").nullable(),\n}).describe(\"Response schema for create company API.\");\n\nexport const salesmateCreateCompany = action(\"SALESMATE_CREATE_COMPANY\", {\n slug: \"salesmate-create-company\",\n name: \"Create Company\",\n description: \"Tool to create a new company in the Salesmate CRM. Use when you need to register a new organization.\",\n input: SalesmateCreateCompanyInput,\n output: SalesmateCreateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACzI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CAC1D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CAC5D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAChE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACxE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACrF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC1F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,yDAAyDA,IAAAA,EAAE,OAAO,EACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"create-company.cjs","names":["z","action"],"sources":["../../src/actions/create-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateCreateCompanyInput = z.object({\n name: z.string().describe(\"Name of the company (max 255 chars)\"),\n tags: z.string().describe(\"Comma-separated tags for the company\").optional(),\n owner: z.number().int().describe(\"ID of the owner user for this company. If not provided, defaults to the authenticated user.\").optional(),\n phone: z.string().describe(\"Primary phone number of the company\").optional(),\n skypeId: z.string().describe(\"Skype ID of the company\").optional(),\n website: z.string().describe(\"Website URL of the company\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (uppercase)\").optional(),\n otherPhone: z.string().describe(\"Secondary phone number of the company\").optional(),\n billingCity: z.string().describe(\"Billing city\").optional(),\n description: z.string().describe(\"Description for the company\").optional(),\n billingState: z.string().describe(\"Billing state\").optional(),\n twitterHandle: z.string().describe(\"Twitter handle of the company\").optional(),\n billingCountry: z.string().describe(\"Billing country\").optional(),\n billingZipCode: z.string().describe(\"Billing ZIP/postal code\").optional(),\n facebookHandle: z.string().describe(\"Facebook profile or handle of the company\").optional(),\n linkedInHandle: z.string().describe(\"LinkedIn profile link of the company\").optional(),\n googlePlusHandle: z.string().describe(\"Google Plus profile link of the company\").optional(),\n billingAddressLine1: z.string().describe(\"Billing address line 1\").optional(),\n billingAddressLine2: z.string().describe(\"Billing address line 2\").optional(),\n}).describe(\"Parameters to create a new company in Salesmate CRM.\");\nconst SalesmateCreateCompany_CreateCompanyResponseDataSchema = z.object({\n id: z.number().int().describe(\"Identifier of the created company\").nullable(),\n}).passthrough().describe(\"Response Data containing the newly created company ID.\");\nexport const SalesmateCreateCompanyOutput = z.object({\n Data: SalesmateCreateCompany_CreateCompanyResponseDataSchema.nullable(),\n Status: z.string().describe(\"Status of the API call, e.g., 'success'\").nullable(),\n}).passthrough().describe(\"Response schema for create company API.\");\n\nexport const salesmateCreateCompany = action(\"SALESMATE_CREATE_COMPANY\", {\n slug: \"salesmate-create-company\",\n name: \"Create Company\",\n description: \"Tool to create a new company in the Salesmate CRM. Use when you need to register a new organization.\",\n input: SalesmateCreateCompanyInput,\n output: SalesmateCreateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACzI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CAC1D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CAC5D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAChE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACxE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACrF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC1F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,yDAAyDA,IAAAA,EAAE,OAAO,EACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,uDAAuD,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -25,9 +25,9 @@ declare const SalesmateCreateCompanyInput: z.ZodObject<{
|
|
|
25
25
|
declare const SalesmateCreateCompanyOutput: z.ZodObject<{
|
|
26
26
|
Data: z.ZodNullable<z.ZodObject<{
|
|
27
27
|
id: z.ZodNullable<z.ZodNumber>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>;
|
|
29
29
|
Status: z.ZodNullable<z.ZodString>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const salesmateCreateCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
name: string;
|
|
33
33
|
tags?: string | undefined;
|
|
@@ -25,9 +25,9 @@ declare const SalesmateCreateCompanyInput: z.ZodObject<{
|
|
|
25
25
|
declare const SalesmateCreateCompanyOutput: z.ZodObject<{
|
|
26
26
|
Data: z.ZodNullable<z.ZodObject<{
|
|
27
27
|
id: z.ZodNullable<z.ZodNumber>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>;
|
|
29
29
|
Status: z.ZodNullable<z.ZodString>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const salesmateCreateCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
name: string;
|
|
33
33
|
tags?: string | undefined;
|
|
@@ -22,7 +22,7 @@ const SalesmateCreateCompanyInput = z.object({
|
|
|
22
22
|
billingAddressLine1: z.string().describe("Billing address line 1").optional(),
|
|
23
23
|
billingAddressLine2: z.string().describe("Billing address line 2").optional()
|
|
24
24
|
}).describe("Parameters to create a new company in Salesmate CRM.");
|
|
25
|
-
const SalesmateCreateCompany_CreateCompanyResponseDataSchema = z.object({ id: z.number().int().describe("Identifier of the created company").nullable() }).describe("Response Data containing the newly created company ID.");
|
|
25
|
+
const SalesmateCreateCompany_CreateCompanyResponseDataSchema = z.object({ id: z.number().int().describe("Identifier of the created company").nullable() }).passthrough().describe("Response Data containing the newly created company ID.");
|
|
26
26
|
const salesmateCreateCompany = action("SALESMATE_CREATE_COMPANY", {
|
|
27
27
|
slug: "salesmate-create-company",
|
|
28
28
|
name: "Create Company",
|
|
@@ -31,7 +31,7 @@ const salesmateCreateCompany = action("SALESMATE_CREATE_COMPANY", {
|
|
|
31
31
|
output: z.object({
|
|
32
32
|
Data: SalesmateCreateCompany_CreateCompanyResponseDataSchema.nullable(),
|
|
33
33
|
Status: z.string().describe("Status of the API call, e.g., 'success'").nullable()
|
|
34
|
-
}).describe("Response schema for create company API.")
|
|
34
|
+
}).passthrough().describe("Response schema for create company API.")
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
export { salesmateCreateCompany };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-company.mjs","names":[],"sources":["../../src/actions/create-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateCreateCompanyInput = z.object({\n name: z.string().describe(\"Name of the company (max 255 chars)\"),\n tags: z.string().describe(\"Comma-separated tags for the company\").optional(),\n owner: z.number().int().describe(\"ID of the owner user for this company. If not provided, defaults to the authenticated user.\").optional(),\n phone: z.string().describe(\"Primary phone number of the company\").optional(),\n skypeId: z.string().describe(\"Skype ID of the company\").optional(),\n website: z.string().describe(\"Website URL of the company\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (uppercase)\").optional(),\n otherPhone: z.string().describe(\"Secondary phone number of the company\").optional(),\n billingCity: z.string().describe(\"Billing city\").optional(),\n description: z.string().describe(\"Description for the company\").optional(),\n billingState: z.string().describe(\"Billing state\").optional(),\n twitterHandle: z.string().describe(\"Twitter handle of the company\").optional(),\n billingCountry: z.string().describe(\"Billing country\").optional(),\n billingZipCode: z.string().describe(\"Billing ZIP/postal code\").optional(),\n facebookHandle: z.string().describe(\"Facebook profile or handle of the company\").optional(),\n linkedInHandle: z.string().describe(\"LinkedIn profile link of the company\").optional(),\n googlePlusHandle: z.string().describe(\"Google Plus profile link of the company\").optional(),\n billingAddressLine1: z.string().describe(\"Billing address line 1\").optional(),\n billingAddressLine2: z.string().describe(\"Billing address line 2\").optional(),\n}).describe(\"Parameters to create a new company in Salesmate CRM.\");\nconst SalesmateCreateCompany_CreateCompanyResponseDataSchema = z.object({\n id: z.number().int().describe(\"Identifier of the created company\").nullable(),\n}).describe(\"Response Data containing the newly created company ID.\");\nexport const SalesmateCreateCompanyOutput = z.object({\n Data: SalesmateCreateCompany_CreateCompanyResponseDataSchema.nullable(),\n Status: z.string().describe(\"Status of the API call, e.g., 'success'\").nullable(),\n}).describe(\"Response schema for create company API.\");\n\nexport const salesmateCreateCompany = action(\"SALESMATE_CREATE_COMPANY\", {\n slug: \"salesmate-create-company\",\n name: \"Create Company\",\n description: \"Tool to create a new company in the Salesmate CRM. Use when you need to register a new organization.\",\n input: SalesmateCreateCompanyInput,\n output: SalesmateCreateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACzI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CAC1D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CAC5D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAChE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACxE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACrF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC1F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5E,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,yDAAyD,EAAE,OAAO,EACtE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"create-company.mjs","names":[],"sources":["../../src/actions/create-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateCreateCompanyInput = z.object({\n name: z.string().describe(\"Name of the company (max 255 chars)\"),\n tags: z.string().describe(\"Comma-separated tags for the company\").optional(),\n owner: z.number().int().describe(\"ID of the owner user for this company. If not provided, defaults to the authenticated user.\").optional(),\n phone: z.string().describe(\"Primary phone number of the company\").optional(),\n skypeId: z.string().describe(\"Skype ID of the company\").optional(),\n website: z.string().describe(\"Website URL of the company\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (uppercase)\").optional(),\n otherPhone: z.string().describe(\"Secondary phone number of the company\").optional(),\n billingCity: z.string().describe(\"Billing city\").optional(),\n description: z.string().describe(\"Description for the company\").optional(),\n billingState: z.string().describe(\"Billing state\").optional(),\n twitterHandle: z.string().describe(\"Twitter handle of the company\").optional(),\n billingCountry: z.string().describe(\"Billing country\").optional(),\n billingZipCode: z.string().describe(\"Billing ZIP/postal code\").optional(),\n facebookHandle: z.string().describe(\"Facebook profile or handle of the company\").optional(),\n linkedInHandle: z.string().describe(\"LinkedIn profile link of the company\").optional(),\n googlePlusHandle: z.string().describe(\"Google Plus profile link of the company\").optional(),\n billingAddressLine1: z.string().describe(\"Billing address line 1\").optional(),\n billingAddressLine2: z.string().describe(\"Billing address line 2\").optional(),\n}).describe(\"Parameters to create a new company in Salesmate CRM.\");\nconst SalesmateCreateCompany_CreateCompanyResponseDataSchema = z.object({\n id: z.number().int().describe(\"Identifier of the created company\").nullable(),\n}).passthrough().describe(\"Response Data containing the newly created company ID.\");\nexport const SalesmateCreateCompanyOutput = z.object({\n Data: SalesmateCreateCompany_CreateCompanyResponseDataSchema.nullable(),\n Status: z.string().describe(\"Status of the API call, e.g., 'success'\").nullable(),\n}).passthrough().describe(\"Response schema for create company API.\");\n\nexport const salesmateCreateCompany = action(\"SALESMATE_CREATE_COMPANY\", {\n slug: \"salesmate-create-company\",\n name: \"Create Company\",\n description: \"Tool to create a new company in the Salesmate CRM. Use when you need to register a new organization.\",\n input: SalesmateCreateCompanyInput,\n output: SalesmateCreateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACzI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CAC1D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CAC5D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAChE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACxE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACrF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC1F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5E,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,yDAAyD,EAAE,OAAO,EACtE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAMlF,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,uDAAuD,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SalesmateDeleteProductInput = zod.z.object({ product_id: zod.z.number().in
|
|
|
5
5
|
const SalesmateDeleteProductOutput = zod.z.object({
|
|
6
6
|
Data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty object on successful deletion"),
|
|
7
7
|
Status: zod.z.string().describe("Status of the API call, 'success' or 'failure'").nullable()
|
|
8
|
-
}).describe("Response schema for delete product API.");
|
|
8
|
+
}).passthrough().describe("Response schema for delete product API.");
|
|
9
9
|
const salesmateDeleteProduct = require_action.action("SALESMATE_DELETE_PRODUCT", {
|
|
10
10
|
slug: "salesmate-delete-product",
|
|
11
11
|
name: "Delete Product",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-product.cjs","names":["z","action"],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateDeleteProductInput = z.object({\n product_id: z.number().int().describe(\"Unique identifier of the product to delete\"),\n}).describe(\"Request model to delete a product by its ID.\");\nexport const SalesmateDeleteProductOutput = z.object({\n Data: z.record(z.string(), z.unknown()).describe(\"Empty object on successful deletion\"),\n Status: z.string().describe(\"Status of the API call, 'success' or 'failure'\").nullable(),\n}).describe(\"Response schema for delete product API.\");\n\nexport const salesmateDeleteProduct = action(\"SALESMATE_DELETE_PRODUCT\", {\n slug: \"salesmate-delete-product\",\n name: \"Delete Product\",\n description: \"Tool to delete a product by ProductId. Use when you need to remove a product from the catalog after confirming the correct ProductId.\",\n input: SalesmateDeleteProductInput,\n output: SalesmateDeleteProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,EACpF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"delete-product.cjs","names":["z","action"],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateDeleteProductInput = z.object({\n product_id: z.number().int().describe(\"Unique identifier of the product to delete\"),\n}).describe(\"Request model to delete a product by its ID.\");\nexport const SalesmateDeleteProductOutput = z.object({\n Data: z.record(z.string(), z.unknown()).describe(\"Empty object on successful deletion\"),\n Status: z.string().describe(\"Status of the API call, 'success' or 'failure'\").nullable(),\n}).passthrough().describe(\"Response schema for delete product API.\");\n\nexport const salesmateDeleteProduct = action(\"SALESMATE_DELETE_PRODUCT\", {\n slug: \"salesmate-delete-product\",\n name: \"Delete Product\",\n description: \"Tool to delete a product by ProductId. Use when you need to remove a product from the catalog after confirming the correct ProductId.\",\n input: SalesmateDeleteProductInput,\n output: SalesmateDeleteProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,EACpF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const SalesmateDeleteProductInput: z.ZodObject<{
|
|
|
7
7
|
declare const SalesmateDeleteProductOutput: z.ZodObject<{
|
|
8
8
|
Data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
9
|
Status: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const salesmateDeleteProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
product_id: number;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const SalesmateDeleteProductInput: z.ZodObject<{
|
|
|
7
7
|
declare const SalesmateDeleteProductOutput: z.ZodObject<{
|
|
8
8
|
Data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
9
|
Status: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const salesmateDeleteProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
product_id: number;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const salesmateDeleteProduct = action("SALESMATE_DELETE_PRODUCT", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
Data: z.record(z.string(), z.unknown()).describe("Empty object on successful deletion"),
|
|
10
10
|
Status: z.string().describe("Status of the API call, 'success' or 'failure'").nullable()
|
|
11
|
-
}).describe("Response schema for delete product API.")
|
|
11
|
+
}).passthrough().describe("Response schema for delete product API.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { salesmateDeleteProduct };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-product.mjs","names":[],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateDeleteProductInput = z.object({\n product_id: z.number().int().describe(\"Unique identifier of the product to delete\"),\n}).describe(\"Request model to delete a product by its ID.\");\nexport const SalesmateDeleteProductOutput = z.object({\n Data: z.record(z.string(), z.unknown()).describe(\"Empty object on successful deletion\"),\n Status: z.string().describe(\"Status of the API call, 'success' or 'failure'\").nullable(),\n}).describe(\"Response schema for delete product API.\");\n\nexport const salesmateDeleteProduct = action(\"SALESMATE_DELETE_PRODUCT\", {\n slug: \"salesmate-delete-product\",\n name: \"Delete Product\",\n description: \"Tool to delete a product by ProductId. Use when you need to remove a product from the catalog after confirming the correct ProductId.\",\n input: SalesmateDeleteProductInput,\n output: SalesmateDeleteProductOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO,EAClD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,EACpF,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-product.mjs","names":[],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateDeleteProductInput = z.object({\n product_id: z.number().int().describe(\"Unique identifier of the product to delete\"),\n}).describe(\"Request model to delete a product by its ID.\");\nexport const SalesmateDeleteProductOutput = z.object({\n Data: z.record(z.string(), z.unknown()).describe(\"Empty object on successful deletion\"),\n Status: z.string().describe(\"Status of the API call, 'success' or 'failure'\").nullable(),\n}).passthrough().describe(\"Response schema for delete product API.\");\n\nexport const salesmateDeleteProduct = action(\"SALESMATE_DELETE_PRODUCT\", {\n slug: \"salesmate-delete-product\",\n name: \"Delete Product\",\n description: \"Tool to delete a product by ProductId. Use when you need to remove a product from the catalog after confirming the correct ProductId.\",\n input: SalesmateDeleteProductInput,\n output: SalesmateDeleteProductOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO,EAClD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,EACpF,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ const SalesmateGetActiveUsers_UserSchema = zod.z.object({
|
|
|
9
9
|
status: zod.z.string().describe("Current status of the user").nullable(),
|
|
10
10
|
lastName: zod.z.string().describe("Last name of the user").nullable(),
|
|
11
11
|
firstName: zod.z.string().describe("First name of the user").nullable()
|
|
12
|
-
});
|
|
13
|
-
const SalesmateGetActiveUsersOutput = zod.z.object({ users: zod.z.array(SalesmateGetActiveUsers_UserSchema).describe("List of active users returned by the Salesmate API") });
|
|
12
|
+
}).passthrough();
|
|
13
|
+
const SalesmateGetActiveUsersOutput = zod.z.object({ users: zod.z.array(SalesmateGetActiveUsers_UserSchema).describe("List of active users returned by the Salesmate API") }).passthrough();
|
|
14
14
|
const salesmateGetActiveUsers = require_action.action("SALESMATE_GET_ACTIVE_USERS", {
|
|
15
15
|
slug: "salesmate-get-active-users",
|
|
16
16
|
name: "Get Active Users",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-active-users.cjs","names":["z","action"],"sources":["../../src/actions/get-active-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateGetActiveUsersInput = z.object({}).describe(\"Request model for retrieving active users.\\nNo parameters required; the status filter is always 'active'.\");\nconst SalesmateGetActiveUsers_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n role: z.string().describe(\"Role of the user within the organization\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n status: z.string().describe(\"Current status of the user\").nullable(),\n lastName: z.string().describe(\"Last name of the user\").nullable(),\n firstName: z.string().describe(\"First name of the user\").nullable(),\n});\nexport const SalesmateGetActiveUsersOutput = z.object({\n users: z.array(SalesmateGetActiveUsers_UserSchema).describe(\"List of active users returned by the Salesmate API\"),\n});\n\nexport const salesmateGetActiveUsers = action(\"SALESMATE_GET_ACTIVE_USERS\", {\n slug: \"salesmate-get-active-users\",\n name: \"Get Active Users\",\n description: \"Tool to retrieve all active users. Use when you need to fetch only users currently marked active for tasks, assignments, or user management audits.\",\n input: SalesmateGetActiveUsersInput,\n output: SalesmateGetActiveUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2GAA2G;AAC7K,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACpE,CAAC;
|
|
1
|
+
{"version":3,"file":"get-active-users.cjs","names":["z","action"],"sources":["../../src/actions/get-active-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateGetActiveUsersInput = z.object({}).describe(\"Request model for retrieving active users.\\nNo parameters required; the status filter is always 'active'.\");\nconst SalesmateGetActiveUsers_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n role: z.string().describe(\"Role of the user within the organization\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n status: z.string().describe(\"Current status of the user\").nullable(),\n lastName: z.string().describe(\"Last name of the user\").nullable(),\n firstName: z.string().describe(\"First name of the user\").nullable(),\n}).passthrough();\nexport const SalesmateGetActiveUsersOutput = z.object({\n users: z.array(SalesmateGetActiveUsers_UserSchema).describe(\"List of active users returned by the Salesmate API\"),\n}).passthrough();\n\nexport const salesmateGetActiveUsers = action(\"SALESMATE_GET_ACTIVE_USERS\", {\n slug: \"salesmate-get-active-users\",\n name: \"Get Active Users\",\n description: \"Tool to retrieve all active users. Use when you need to fetch only users currently marked active for tasks, assignments, or user management audits.\",\n input: SalesmateGetActiveUsersInput,\n output: SalesmateGetActiveUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2GAA2G;AAC7K,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,OAAOA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,oDAAoD,EAClH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ declare const SalesmateGetActiveUsersOutput: z.ZodObject<{
|
|
|
10
10
|
status: z.ZodNullable<z.ZodString>;
|
|
11
11
|
lastName: z.ZodNullable<z.ZodString>;
|
|
12
12
|
firstName: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const salesmateGetActiveUsers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { salesmateGetActiveUsers };
|
|
@@ -10,8 +10,8 @@ declare const SalesmateGetActiveUsersOutput: z.ZodObject<{
|
|
|
10
10
|
status: z.ZodNullable<z.ZodString>;
|
|
11
11
|
lastName: z.ZodNullable<z.ZodString>;
|
|
12
12
|
firstName: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const salesmateGetActiveUsers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { salesmateGetActiveUsers };
|
|
@@ -9,13 +9,13 @@ const SalesmateGetActiveUsers_UserSchema = z.object({
|
|
|
9
9
|
status: z.string().describe("Current status of the user").nullable(),
|
|
10
10
|
lastName: z.string().describe("Last name of the user").nullable(),
|
|
11
11
|
firstName: z.string().describe("First name of the user").nullable()
|
|
12
|
-
});
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const salesmateGetActiveUsers = action("SALESMATE_GET_ACTIVE_USERS", {
|
|
14
14
|
slug: "salesmate-get-active-users",
|
|
15
15
|
name: "Get Active Users",
|
|
16
16
|
description: "Tool to retrieve all active users. Use when you need to fetch only users currently marked active for tasks, assignments, or user management audits.",
|
|
17
17
|
input: SalesmateGetActiveUsersInput,
|
|
18
|
-
output: z.object({ users: z.array(SalesmateGetActiveUsers_UserSchema).describe("List of active users returned by the Salesmate API") })
|
|
18
|
+
output: z.object({ users: z.array(SalesmateGetActiveUsers_UserSchema).describe("List of active users returned by the Salesmate API") }).passthrough()
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { salesmateGetActiveUsers };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-active-users.mjs","names":[],"sources":["../../src/actions/get-active-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateGetActiveUsersInput = z.object({}).describe(\"Request model for retrieving active users.\\nNo parameters required; the status filter is always 'active'.\");\nconst SalesmateGetActiveUsers_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n role: z.string().describe(\"Role of the user within the organization\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n status: z.string().describe(\"Current status of the user\").nullable(),\n lastName: z.string().describe(\"Last name of the user\").nullable(),\n firstName: z.string().describe(\"First name of the user\").nullable(),\n});\nexport const SalesmateGetActiveUsersOutput = z.object({\n users: z.array(SalesmateGetActiveUsers_UserSchema).describe(\"List of active users returned by the Salesmate API\"),\n});\n\nexport const salesmateGetActiveUsers = action(\"SALESMATE_GET_ACTIVE_USERS\", {\n slug: \"salesmate-get-active-users\",\n name: \"Get Active Users\",\n description: \"Tool to retrieve all active users. Use when you need to fetch only users currently marked active for tasks, assignments, or user management audits.\",\n input: SalesmateGetActiveUsersInput,\n output: SalesmateGetActiveUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2GAA2G;AAC7K,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACpE,CAAC;
|
|
1
|
+
{"version":3,"file":"get-active-users.mjs","names":[],"sources":["../../src/actions/get-active-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateGetActiveUsersInput = z.object({}).describe(\"Request model for retrieving active users.\\nNo parameters required; the status filter is always 'active'.\");\nconst SalesmateGetActiveUsers_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n role: z.string().describe(\"Role of the user within the organization\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n status: z.string().describe(\"Current status of the user\").nullable(),\n lastName: z.string().describe(\"Last name of the user\").nullable(),\n firstName: z.string().describe(\"First name of the user\").nullable(),\n}).passthrough();\nexport const SalesmateGetActiveUsersOutput = z.object({\n users: z.array(SalesmateGetActiveUsers_UserSchema).describe(\"List of active users returned by the Salesmate API\"),\n}).passthrough();\n\nexport const salesmateGetActiveUsers = action(\"SALESMATE_GET_ACTIVE_USERS\", {\n slug: \"salesmate-get-active-users\",\n name: \"Get Active Users\",\n description: \"Tool to retrieve all active users. Use when you need to fetch only users currently marked active for tasks, assignments, or user management audits.\",\n input: SalesmateGetActiveUsersInput,\n output: SalesmateGetActiveUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2GAA2G;AAC7K,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,OAAO,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,oDAAoD,EAClH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SalesmateGetCompanyInput = zod.z.object({ company_id: zod.z.number().int()
|
|
|
5
5
|
const SalesmateGetCompanyOutput = zod.z.object({
|
|
6
6
|
Data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Detailed information of the requested company"),
|
|
7
7
|
Status: zod.z.string().describe("API response status, e.g., 'success'").nullable()
|
|
8
|
-
}).describe("Response schema for retrieving a company. Contains status and data with company details.");
|
|
8
|
+
}).passthrough().describe("Response schema for retrieving a company. Contains status and data with company details.");
|
|
9
9
|
const salesmateGetCompany = require_action.action("SALESMATE_GET_COMPANY", {
|
|
10
10
|
slug: "salesmate-get-company",
|
|
11
11
|
name: "Get Company",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-company.cjs","names":["z","action"],"sources":["../../src/actions/get-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateGetCompanyInput = z.object({\n company_id: z.number().int().describe(\"Unique identifier of the company to retrieve\"),\n}).describe(\"Parameters to retrieve a specific company by its ID.\");\nexport const SalesmateGetCompanyOutput = z.object({\n Data: z.record(z.string(), z.unknown()).describe(\"Detailed information of the requested company\"),\n Status: z.string().describe(\"API response status, e.g., 'success'\").nullable(),\n}).describe(\"Response schema for retrieving a company. Contains status and data with company details.\");\n\nexport const salesmateGetCompany = action(\"SALESMATE_GET_COMPANY\", {\n slug: \"salesmate-get-company\",\n name: \"Get Company\",\n description: \"Tool to retrieve details of a specific company by ID. Use when you have a company ID and need its full record. Example: \\\"Get company 42\\\".\",\n input: SalesmateGetCompanyInput,\n output: SalesmateGetCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EACtF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,0FAA0F;
|
|
1
|
+
{"version":3,"file":"get-company.cjs","names":["z","action"],"sources":["../../src/actions/get-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateGetCompanyInput = z.object({\n company_id: z.number().int().describe(\"Unique identifier of the company to retrieve\"),\n}).describe(\"Parameters to retrieve a specific company by its ID.\");\nexport const SalesmateGetCompanyOutput = z.object({\n Data: z.record(z.string(), z.unknown()).describe(\"Detailed information of the requested company\"),\n Status: z.string().describe(\"API response status, e.g., 'success'\").nullable(),\n}).passthrough().describe(\"Response schema for retrieving a company. Contains status and data with company details.\");\n\nexport const salesmateGetCompany = action(\"SALESMATE_GET_COMPANY\", {\n slug: \"salesmate-get-company\",\n name: \"Get Company\",\n description: \"Tool to retrieve details of a specific company by ID. Use when you have a company ID and need its full record. Example: \\\"Get company 42\\\".\",\n input: SalesmateGetCompanyInput,\n output: SalesmateGetCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EACtF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0FAA0F;AAEpH,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const SalesmateGetCompanyInput: z.ZodObject<{
|
|
|
7
7
|
declare const SalesmateGetCompanyOutput: z.ZodObject<{
|
|
8
8
|
Data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
9
|
Status: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const salesmateGetCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
company_id: number;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const SalesmateGetCompanyInput: z.ZodObject<{
|
|
|
7
7
|
declare const SalesmateGetCompanyOutput: z.ZodObject<{
|
|
8
8
|
Data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
9
|
Status: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const salesmateGetCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
company_id: number;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const salesmateGetCompany = action("SALESMATE_GET_COMPANY", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
Data: z.record(z.string(), z.unknown()).describe("Detailed information of the requested company"),
|
|
10
10
|
Status: z.string().describe("API response status, e.g., 'success'").nullable()
|
|
11
|
-
}).describe("Response schema for retrieving a company. Contains status and data with company details.")
|
|
11
|
+
}).passthrough().describe("Response schema for retrieving a company. Contains status and data with company details.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { salesmateGetCompany };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-company.mjs","names":[],"sources":["../../src/actions/get-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateGetCompanyInput = z.object({\n company_id: z.number().int().describe(\"Unique identifier of the company to retrieve\"),\n}).describe(\"Parameters to retrieve a specific company by its ID.\");\nexport const SalesmateGetCompanyOutput = z.object({\n Data: z.record(z.string(), z.unknown()).describe(\"Detailed information of the requested company\"),\n Status: z.string().describe(\"API response status, e.g., 'success'\").nullable(),\n}).describe(\"Response schema for retrieving a company. Contains status and data with company details.\");\n\nexport const salesmateGetCompany = action(\"SALESMATE_GET_COMPANY\", {\n slug: \"salesmate-get-company\",\n name: \"Get Company\",\n description: \"Tool to retrieve details of a specific company by ID. Use when you have a company ID and need its full record. Example: \\\"Get company 42\\\".\",\n input: SalesmateGetCompanyInput,\n output: SalesmateGetCompanyOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EACtF,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-company.mjs","names":[],"sources":["../../src/actions/get-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateGetCompanyInput = z.object({\n company_id: z.number().int().describe(\"Unique identifier of the company to retrieve\"),\n}).describe(\"Parameters to retrieve a specific company by its ID.\");\nexport const SalesmateGetCompanyOutput = z.object({\n Data: z.record(z.string(), z.unknown()).describe(\"Detailed information of the requested company\"),\n Status: z.string().describe(\"API response status, e.g., 'success'\").nullable(),\n}).passthrough().describe(\"Response schema for retrieving a company. Contains status and data with company details.\");\n\nexport const salesmateGetCompany = action(\"SALESMATE_GET_COMPANY\", {\n slug: \"salesmate-get-company\",\n name: \"Get Company\",\n description: \"Tool to retrieve details of a specific company by ID. Use when you have a company ID and need its full record. Example: \\\"Get company 42\\\".\",\n input: SalesmateGetCompanyInput,\n output: SalesmateGetCompanyOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsC,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EACtF,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0FAOhB;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ const SalesmateListModules_ModuleMetadataSchema = zod.z.object({
|
|
|
7
7
|
name: zod.z.string().describe("Name of the module").nullable(),
|
|
8
8
|
api_name: zod.z.string().describe("API endpoint name for the module").nullable(),
|
|
9
9
|
description: zod.z.string().describe("Description of the module").nullable()
|
|
10
|
-
});
|
|
11
|
-
const SalesmateListModulesOutput = zod.z.object({ modules: zod.z.array(SalesmateListModules_ModuleMetadataSchema).describe("List of module metadata objects") });
|
|
10
|
+
}).passthrough();
|
|
11
|
+
const SalesmateListModulesOutput = zod.z.object({ modules: zod.z.array(SalesmateListModules_ModuleMetadataSchema).describe("List of module metadata objects") }).passthrough();
|
|
12
12
|
const salesmateListModules = require_action.action("SALESMATE_LIST_MODULES", {
|
|
13
13
|
slug: "salesmate-list-modules",
|
|
14
14
|
name: "List Modules",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-modules.cjs","names":["z","action"],"sources":["../../src/actions/list-modules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateListModulesInput = z.object({}).describe(\"Request model for listing modules. No parameters required; lists all modules available.\");\nconst SalesmateListModules_ModuleMetadataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the module\").nullable(),\n name: z.string().describe(\"Name of the module\").nullable(),\n api_name: z.string().describe(\"API endpoint name for the module\").nullable(),\n description: z.string().describe(\"Description of the module\").nullable(),\n});\nexport const SalesmateListModulesOutput = z.object({\n modules: z.array(SalesmateListModules_ModuleMetadataSchema).describe(\"List of module metadata objects\"),\n});\n\nexport const salesmateListModules = action(\"SALESMATE_LIST_MODULES\", {\n slug: \"salesmate-list-modules\",\n name: \"List Modules\",\n description: \"Tool to list all available Salesmate modules. Returns the core CRM modules including Contacts, Companies, Deals, Activities, Products, and Tickets. Use this to discover which modules are available for API operations.\",\n input: SalesmateListModulesInput,\n output: SalesmateListModulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACxJ,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACzE,CAAC;
|
|
1
|
+
{"version":3,"file":"list-modules.cjs","names":["z","action"],"sources":["../../src/actions/list-modules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateListModulesInput = z.object({}).describe(\"Request model for listing modules. No parameters required; lists all modules available.\");\nconst SalesmateListModules_ModuleMetadataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the module\").nullable(),\n name: z.string().describe(\"Name of the module\").nullable(),\n api_name: z.string().describe(\"API endpoint name for the module\").nullable(),\n description: z.string().describe(\"Description of the module\").nullable(),\n}).passthrough();\nexport const SalesmateListModulesOutput = z.object({\n modules: z.array(SalesmateListModules_ModuleMetadataSchema).describe(\"List of module metadata objects\"),\n}).passthrough();\n\nexport const salesmateListModules = action(\"SALESMATE_LIST_MODULES\", {\n slug: \"salesmate-list-modules\",\n name: \"List Modules\",\n description: \"Tool to list all available Salesmate modules. Returns the core CRM modules including Contacts, Companies, Deals, Activities, Products, and Tickets. Use this to discover which modules are available for API operations.\",\n input: SalesmateListModulesInput,\n output: SalesmateListModulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACxJ,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,iCAAiC,EACxG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ declare const SalesmateListModulesOutput: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
9
|
api_name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
description: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const salesmateListModules: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { salesmateListModules };
|
|
@@ -8,8 +8,8 @@ declare const SalesmateListModulesOutput: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
9
|
api_name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
description: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const salesmateListModules: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { salesmateListModules };
|
|
@@ -7,13 +7,13 @@ const SalesmateListModules_ModuleMetadataSchema = z.object({
|
|
|
7
7
|
name: z.string().describe("Name of the module").nullable(),
|
|
8
8
|
api_name: z.string().describe("API endpoint name for the module").nullable(),
|
|
9
9
|
description: z.string().describe("Description of the module").nullable()
|
|
10
|
-
});
|
|
10
|
+
}).passthrough();
|
|
11
11
|
const salesmateListModules = action("SALESMATE_LIST_MODULES", {
|
|
12
12
|
slug: "salesmate-list-modules",
|
|
13
13
|
name: "List Modules",
|
|
14
14
|
description: "Tool to list all available Salesmate modules. Returns the core CRM modules including Contacts, Companies, Deals, Activities, Products, and Tickets. Use this to discover which modules are available for API operations.",
|
|
15
15
|
input: SalesmateListModulesInput,
|
|
16
|
-
output: z.object({ modules: z.array(SalesmateListModules_ModuleMetadataSchema).describe("List of module metadata objects") })
|
|
16
|
+
output: z.object({ modules: z.array(SalesmateListModules_ModuleMetadataSchema).describe("List of module metadata objects") }).passthrough()
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { salesmateListModules };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-modules.mjs","names":[],"sources":["../../src/actions/list-modules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateListModulesInput = z.object({}).describe(\"Request model for listing modules. No parameters required; lists all modules available.\");\nconst SalesmateListModules_ModuleMetadataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the module\").nullable(),\n name: z.string().describe(\"Name of the module\").nullable(),\n api_name: z.string().describe(\"API endpoint name for the module\").nullable(),\n description: z.string().describe(\"Description of the module\").nullable(),\n});\nexport const SalesmateListModulesOutput = z.object({\n modules: z.array(SalesmateListModules_ModuleMetadataSchema).describe(\"List of module metadata objects\"),\n});\n\nexport const salesmateListModules = action(\"SALESMATE_LIST_MODULES\", {\n slug: \"salesmate-list-modules\",\n name: \"List Modules\",\n description: \"Tool to list all available Salesmate modules. Returns the core CRM modules including Contacts, Companies, Deals, Activities, Products, and Tickets. Use this to discover which modules are available for API operations.\",\n input: SalesmateListModulesInput,\n output: SalesmateListModulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACxJ,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACzE,CAAC;
|
|
1
|
+
{"version":3,"file":"list-modules.mjs","names":[],"sources":["../../src/actions/list-modules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesmateListModulesInput = z.object({}).describe(\"Request model for listing modules. No parameters required; lists all modules available.\");\nconst SalesmateListModules_ModuleMetadataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the module\").nullable(),\n name: z.string().describe(\"Name of the module\").nullable(),\n api_name: z.string().describe(\"API endpoint name for the module\").nullable(),\n description: z.string().describe(\"Description of the module\").nullable(),\n}).passthrough();\nexport const SalesmateListModulesOutput = z.object({\n modules: z.array(SalesmateListModules_ModuleMetadataSchema).describe(\"List of module metadata objects\"),\n}).passthrough();\n\nexport const salesmateListModules = action(\"SALESMATE_LIST_MODULES\", {\n slug: \"salesmate-list-modules\",\n name: \"List Modules\",\n description: \"Tool to list all available Salesmate modules. Returns the core CRM modules including Contacts, Companies, Deals, Activities, Products, and Tickets. Use this to discover which modules are available for API operations.\",\n input: SalesmateListModulesInput,\n output: SalesmateListModulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACxJ,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,iCAAiC,EACxG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -13,7 +13,7 @@ const salesmateCatalog = {
|
|
|
13
13
|
"label": "Salesmate Subdomain",
|
|
14
14
|
"description": "The subdomain of your Salesmate account (e.g., 'demo' from 'demo.salesmate.io')."
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"bearer_token": {
|
|
17
17
|
"label": "Session Token",
|
|
18
18
|
"secret": true,
|
|
19
19
|
"description": "Your Salesmate Session Token. Generate it from your Salesmate account: Profile Icon → Setup → API & Integrations → Session Tokens → Create."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const salesmateCatalog = {\n \"slug\": \"salesmate\",\n \"name\": \"Salesmate\",\n \"description\": \"Salesmate is an AI-powered CRM platform designed to help businesses engage leads, close deals faster, nurture relationships, and provide seamless support through a unified, intuitive interface.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/salesmate\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Salesmate Subdomain\",\n \"description\": \"The subdomain of your Salesmate account (e.g., 'demo' from 'demo.salesmate.io').\"\n },\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const salesmateCatalog = {\n \"slug\": \"salesmate\",\n \"name\": \"Salesmate\",\n \"description\": \"Salesmate is an AI-powered CRM platform designed to help businesses engage leads, close deals faster, nurture relationships, and provide seamless support through a unified, intuitive interface.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/salesmate\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Salesmate Subdomain\",\n \"description\": \"The subdomain of your Salesmate account (e.g., 'demo' from 'demo.salesmate.io').\"\n },\n \"bearer_token\": {\n \"label\": \"Session Token\",\n \"secret\": true,\n \"description\": \"Your Salesmate Session Token. Generate it from your Salesmate account: Profile Icon → Setup → API & Integrations → Session Tokens → Create.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;EACjB;EACA,gBAAgB;GACd,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -13,7 +13,7 @@ declare const salesmateCatalog: {
|
|
|
13
13
|
readonly label: "Salesmate Subdomain";
|
|
14
14
|
readonly description: "The subdomain of your Salesmate account (e.g., 'demo' from 'demo.salesmate.io').";
|
|
15
15
|
};
|
|
16
|
-
readonly
|
|
16
|
+
readonly bearer_token: {
|
|
17
17
|
readonly label: "Session Token";
|
|
18
18
|
readonly secret: true;
|
|
19
19
|
readonly description: "Your Salesmate Session Token. Generate it from your Salesmate account: Profile Icon → Setup → API & Integrations → Session Tokens → Create.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -13,7 +13,7 @@ declare const salesmateCatalog: {
|
|
|
13
13
|
readonly label: "Salesmate Subdomain";
|
|
14
14
|
readonly description: "The subdomain of your Salesmate account (e.g., 'demo' from 'demo.salesmate.io').";
|
|
15
15
|
};
|
|
16
|
-
readonly
|
|
16
|
+
readonly bearer_token: {
|
|
17
17
|
readonly label: "Session Token";
|
|
18
18
|
readonly secret: true;
|
|
19
19
|
readonly description: "Your Salesmate Session Token. Generate it from your Salesmate account: Profile Icon → Setup → API & Integrations → Session Tokens → Create.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -13,7 +13,7 @@ const salesmateCatalog = {
|
|
|
13
13
|
"label": "Salesmate Subdomain",
|
|
14
14
|
"description": "The subdomain of your Salesmate account (e.g., 'demo' from 'demo.salesmate.io')."
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"bearer_token": {
|
|
17
17
|
"label": "Session Token",
|
|
18
18
|
"secret": true,
|
|
19
19
|
"description": "Your Salesmate Session Token. Generate it from your Salesmate account: Profile Icon → Setup → API & Integrations → Session Tokens → Create."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const salesmateCatalog = {\n \"slug\": \"salesmate\",\n \"name\": \"Salesmate\",\n \"description\": \"Salesmate is an AI-powered CRM platform designed to help businesses engage leads, close deals faster, nurture relationships, and provide seamless support through a unified, intuitive interface.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/salesmate\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Salesmate Subdomain\",\n \"description\": \"The subdomain of your Salesmate account (e.g., 'demo' from 'demo.salesmate.io').\"\n },\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const salesmateCatalog = {\n \"slug\": \"salesmate\",\n \"name\": \"Salesmate\",\n \"description\": \"Salesmate is an AI-powered CRM platform designed to help businesses engage leads, close deals faster, nurture relationships, and provide seamless support through a unified, intuitive interface.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/salesmate\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Salesmate Subdomain\",\n \"description\": \"The subdomain of your Salesmate account (e.g., 'demo' from 'demo.salesmate.io').\"\n },\n \"bearer_token\": {\n \"label\": \"Session Token\",\n \"secret\": true,\n \"description\": \"Your Salesmate Session Token. Generate it from your Salesmate account: Profile Icon → Setup → API & Integrations → Session Tokens → Create.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;EACjB;EACA,gBAAgB;GACd,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
|