@keystrokehq/pandadoc 0.1.0 → 0.1.2

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.
Files changed (117) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-document-attachment.cjs +5 -5
  4. package/dist/actions/create-document-attachment.cjs.map +1 -1
  5. package/dist/actions/create-document-attachment.d.cts +23 -3
  6. package/dist/actions/create-document-attachment.d.cts.map +1 -1
  7. package/dist/actions/create-document-attachment.d.mts +23 -3
  8. package/dist/actions/create-document-attachment.d.mts.map +1 -1
  9. package/dist/actions/create-document-attachment.mjs +5 -5
  10. package/dist/actions/create-document-attachment.mjs.map +1 -1
  11. package/dist/actions/create-document-from-file.cjs +4 -4
  12. package/dist/actions/create-document-from-file.cjs.map +1 -1
  13. package/dist/actions/create-document-from-file.d.cts +54 -3
  14. package/dist/actions/create-document-from-file.d.cts.map +1 -1
  15. package/dist/actions/create-document-from-file.d.mts +54 -3
  16. package/dist/actions/create-document-from-file.d.mts.map +1 -1
  17. package/dist/actions/create-document-from-file.mjs +4 -4
  18. package/dist/actions/create-document-from-file.mjs.map +1 -1
  19. package/dist/actions/create-folder.cjs +3 -3
  20. package/dist/actions/create-folder.cjs.map +1 -1
  21. package/dist/actions/create-folder.d.cts +13 -3
  22. package/dist/actions/create-folder.d.cts.map +1 -1
  23. package/dist/actions/create-folder.d.mts +13 -3
  24. package/dist/actions/create-folder.d.mts.map +1 -1
  25. package/dist/actions/create-folder.mjs +3 -3
  26. package/dist/actions/create-folder.mjs.map +1 -1
  27. package/dist/actions/create-or-update-contact.cjs +2 -2
  28. package/dist/actions/create-or-update-contact.cjs.map +1 -1
  29. package/dist/actions/create-or-update-contact.d.cts +40 -3
  30. package/dist/actions/create-or-update-contact.d.cts.map +1 -1
  31. package/dist/actions/create-or-update-contact.d.mts +40 -3
  32. package/dist/actions/create-or-update-contact.d.mts.map +1 -1
  33. package/dist/actions/create-or-update-contact.mjs +2 -2
  34. package/dist/actions/create-or-update-contact.mjs.map +1 -1
  35. package/dist/actions/create-template.cjs +6 -6
  36. package/dist/actions/create-template.cjs.map +1 -1
  37. package/dist/actions/create-template.d.cts +36 -3
  38. package/dist/actions/create-template.d.cts.map +1 -1
  39. package/dist/actions/create-template.d.mts +36 -3
  40. package/dist/actions/create-template.d.mts.map +1 -1
  41. package/dist/actions/create-template.mjs +6 -6
  42. package/dist/actions/create-template.mjs.map +1 -1
  43. package/dist/actions/create-webhook.cjs +5 -5
  44. package/dist/actions/create-webhook.cjs.map +1 -1
  45. package/dist/actions/create-webhook.d.cts +21 -3
  46. package/dist/actions/create-webhook.d.cts.map +1 -1
  47. package/dist/actions/create-webhook.d.mts +21 -3
  48. package/dist/actions/create-webhook.d.mts.map +1 -1
  49. package/dist/actions/create-webhook.mjs +5 -5
  50. package/dist/actions/create-webhook.mjs.map +1 -1
  51. package/dist/actions/delete-contact.cjs.map +1 -1
  52. package/dist/actions/delete-contact.d.cts +9 -3
  53. package/dist/actions/delete-contact.d.cts.map +1 -1
  54. package/dist/actions/delete-contact.d.mts +9 -3
  55. package/dist/actions/delete-contact.d.mts.map +1 -1
  56. package/dist/actions/delete-contact.mjs.map +1 -1
  57. package/dist/actions/delete-template.cjs +2 -2
  58. package/dist/actions/delete-template.cjs.map +1 -1
  59. package/dist/actions/delete-template.d.cts +10 -3
  60. package/dist/actions/delete-template.d.cts.map +1 -1
  61. package/dist/actions/delete-template.d.mts +10 -3
  62. package/dist/actions/delete-template.d.mts.map +1 -1
  63. package/dist/actions/delete-template.mjs +2 -2
  64. package/dist/actions/delete-template.mjs.map +1 -1
  65. package/dist/actions/get-document-details.cjs.map +1 -1
  66. package/dist/actions/get-document-details.d.cts +90 -3
  67. package/dist/actions/get-document-details.d.cts.map +1 -1
  68. package/dist/actions/get-document-details.d.mts +90 -3
  69. package/dist/actions/get-document-details.d.mts.map +1 -1
  70. package/dist/actions/get-document-details.mjs.map +1 -1
  71. package/dist/actions/get-template-details.cjs +20 -20
  72. package/dist/actions/get-template-details.cjs.map +1 -1
  73. package/dist/actions/get-template-details.d.cts +126 -3
  74. package/dist/actions/get-template-details.d.cts.map +1 -1
  75. package/dist/actions/get-template-details.d.mts +126 -3
  76. package/dist/actions/get-template-details.d.mts.map +1 -1
  77. package/dist/actions/get-template-details.mjs +20 -20
  78. package/dist/actions/get-template-details.mjs.map +1 -1
  79. package/dist/actions/list-contacts.cjs +2 -2
  80. package/dist/actions/list-contacts.cjs.map +1 -1
  81. package/dist/actions/list-contacts.d.cts +17 -3
  82. package/dist/actions/list-contacts.d.cts.map +1 -1
  83. package/dist/actions/list-contacts.d.mts +17 -3
  84. package/dist/actions/list-contacts.d.mts.map +1 -1
  85. package/dist/actions/list-contacts.mjs +2 -2
  86. package/dist/actions/list-contacts.mjs.map +1 -1
  87. package/dist/actions/list-document-folders.cjs +5 -5
  88. package/dist/actions/list-document-folders.cjs.map +1 -1
  89. package/dist/actions/list-document-folders.d.cts +22 -3
  90. package/dist/actions/list-document-folders.d.cts.map +1 -1
  91. package/dist/actions/list-document-folders.d.mts +22 -3
  92. package/dist/actions/list-document-folders.d.mts.map +1 -1
  93. package/dist/actions/list-document-folders.mjs +5 -5
  94. package/dist/actions/list-document-folders.mjs.map +1 -1
  95. package/dist/actions/list-templates.cjs +5 -5
  96. package/dist/actions/list-templates.cjs.map +1 -1
  97. package/dist/actions/list-templates.d.cts +32 -3
  98. package/dist/actions/list-templates.d.cts.map +1 -1
  99. package/dist/actions/list-templates.d.mts +32 -3
  100. package/dist/actions/list-templates.d.mts.map +1 -1
  101. package/dist/actions/list-templates.mjs +5 -5
  102. package/dist/actions/list-templates.mjs.map +1 -1
  103. package/dist/actions/move-document-to-folder.cjs +2 -2
  104. package/dist/actions/move-document-to-folder.cjs.map +1 -1
  105. package/dist/actions/move-document-to-folder.d.cts +12 -3
  106. package/dist/actions/move-document-to-folder.d.cts.map +1 -1
  107. package/dist/actions/move-document-to-folder.d.mts +12 -3
  108. package/dist/actions/move-document-to-folder.d.mts.map +1 -1
  109. package/dist/actions/move-document-to-folder.mjs +2 -2
  110. package/dist/actions/move-document-to-folder.mjs.map +1 -1
  111. package/dist/catalog.cjs +7 -1
  112. package/dist/catalog.cjs.map +1 -1
  113. package/dist/catalog.d.cts +8 -0
  114. package/dist/catalog.d.mts +8 -0
  115. package/dist/catalog.mjs +7 -1
  116. package/dist/catalog.mjs.map +1 -1
  117. package/package.json +2 -2
@@ -1,9 +1,132 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-template-details.d.ts
4
- declare const PandadocGetTemplateDetailsInput: z.ZodTypeAny;
5
- declare const PandadocGetTemplateDetailsOutput: z.ZodTypeAny;
6
- declare const pandadocGetTemplateDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PandadocGetTemplateDetailsInput: z.ZodObject<{
5
+ template_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PandadocGetTemplateDetailsOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11
+ roles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ signing_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ preassigned_person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
+ type: z.ZodNullable<z.ZodString>;
17
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ members: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
19
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$strip>>>>;
23
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ placeholder_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ placeholder_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$strip>>>;
28
+ }, z.core.$strip>>>>;
29
+ fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
30
+ name: z.ZodNullable<z.ZodString>;
31
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ uuid: z.ZodNullable<z.ZodString>;
33
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
35
+ field_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ assigned_to: z.ZodOptional<z.ZodNullable<z.ZodObject<{
37
+ id: z.ZodNullable<z.ZodString>;
38
+ name: z.ZodNullable<z.ZodString>;
39
+ type: z.ZodNullable<z.ZodString>;
40
+ preassigned_person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
41
+ type: z.ZodNullable<z.ZodString>;
42
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ members: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
44
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ }, z.core.$strip>>>>;
48
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ placeholder_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ placeholder_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ }, z.core.$strip>>>;
53
+ }, z.core.$strip>>>;
54
+ merge_field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ }, z.core.$strip>>>>;
57
+ tokens: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
58
+ name: z.ZodNullable<z.ZodString>;
59
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ }, z.core.$strip>>>>;
61
+ pricing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
62
+ total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ quotes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
64
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ sections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
68
+ rows: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
69
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ qty: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ cost: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
+ custom_fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
77
+ custom_columns: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
78
+ }, z.core.$strip>>>>;
79
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
+ default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
81
+ multichoice_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
82
+ }, z.core.$strip>>>>;
83
+ }, z.core.$strip>>>>;
84
+ tables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
85
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
87
+ items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
88
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
+ qty: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
+ sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
+ cost: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
+ price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
+ custom_fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
96
+ custom_columns: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
97
+ }, z.core.$strip>>>>;
98
+ total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
+ summary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
100
+ fee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
101
+ tax: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
+ total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
+ discount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104
+ subtotal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105
+ }, z.core.$strip>>>;
106
+ is_included_in_total: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
107
+ }, z.core.$strip>>>>;
108
+ }, z.core.$strip>>>;
109
+ version: z.ZodNullable<z.ZodString>;
110
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
111
+ created_by: z.ZodNullable<z.ZodObject<{
112
+ id: z.ZodNullable<z.ZodString>;
113
+ email: z.ZodNullable<z.ZodString>;
114
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
115
+ last_name: z.ZodNullable<z.ZodString>;
116
+ first_name: z.ZodNullable<z.ZodString>;
117
+ }, z.core.$strip>>;
118
+ date_created: z.ZodNullable<z.ZodString>;
119
+ date_modified: z.ZodNullable<z.ZodString>;
120
+ content_placeholders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
121
+ uuid: z.ZodNullable<z.ZodString>;
122
+ block_id: z.ZodNullable<z.ZodString>;
123
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
+ }, z.core.$strip>>>>;
125
+ content_date_modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
+ }, z.core.$strip>;
127
+ declare const pandadocGetTemplateDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
128
+ template_id: string;
129
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
130
  //#endregion
8
131
  export { pandadocGetTemplateDetails };
9
132
  //# sourceMappingURL=get-template-details.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-template-details.d.cts","names":[],"sources":["../../src/actions/get-template-details.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cAiGW,gCAAA,EAAkC,CAAA,CAAE,UAe/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-template-details.d.cts","names":[],"sources":["../../src/actions/get-template-details.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAmG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiBhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,132 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-template-details.d.ts
4
- declare const PandadocGetTemplateDetailsInput: z.ZodTypeAny;
5
- declare const PandadocGetTemplateDetailsOutput: z.ZodTypeAny;
6
- declare const pandadocGetTemplateDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PandadocGetTemplateDetailsInput: z.ZodObject<{
5
+ template_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PandadocGetTemplateDetailsOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11
+ roles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ signing_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ preassigned_person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
+ type: z.ZodNullable<z.ZodString>;
17
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ members: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
19
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$strip>>>>;
23
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ placeholder_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ placeholder_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$strip>>>;
28
+ }, z.core.$strip>>>>;
29
+ fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
30
+ name: z.ZodNullable<z.ZodString>;
31
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ uuid: z.ZodNullable<z.ZodString>;
33
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
35
+ field_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ assigned_to: z.ZodOptional<z.ZodNullable<z.ZodObject<{
37
+ id: z.ZodNullable<z.ZodString>;
38
+ name: z.ZodNullable<z.ZodString>;
39
+ type: z.ZodNullable<z.ZodString>;
40
+ preassigned_person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
41
+ type: z.ZodNullable<z.ZodString>;
42
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ members: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
44
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ }, z.core.$strip>>>>;
48
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ placeholder_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ placeholder_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ }, z.core.$strip>>>;
53
+ }, z.core.$strip>>>;
54
+ merge_field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ }, z.core.$strip>>>>;
57
+ tokens: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
58
+ name: z.ZodNullable<z.ZodString>;
59
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ }, z.core.$strip>>>>;
61
+ pricing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
62
+ total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ quotes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
64
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ sections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
68
+ rows: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
69
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ qty: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ cost: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
+ custom_fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
77
+ custom_columns: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
78
+ }, z.core.$strip>>>>;
79
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
+ default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
81
+ multichoice_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
82
+ }, z.core.$strip>>>>;
83
+ }, z.core.$strip>>>>;
84
+ tables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
85
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
87
+ items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
88
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
+ qty: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
+ sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
+ cost: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
+ price: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
+ custom_fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
96
+ custom_columns: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
97
+ }, z.core.$strip>>>>;
98
+ total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
+ summary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
100
+ fee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
101
+ tax: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
+ total: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
+ discount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104
+ subtotal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105
+ }, z.core.$strip>>>;
106
+ is_included_in_total: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
107
+ }, z.core.$strip>>>>;
108
+ }, z.core.$strip>>>;
109
+ version: z.ZodNullable<z.ZodString>;
110
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
111
+ created_by: z.ZodNullable<z.ZodObject<{
112
+ id: z.ZodNullable<z.ZodString>;
113
+ email: z.ZodNullable<z.ZodString>;
114
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
115
+ last_name: z.ZodNullable<z.ZodString>;
116
+ first_name: z.ZodNullable<z.ZodString>;
117
+ }, z.core.$strip>>;
118
+ date_created: z.ZodNullable<z.ZodString>;
119
+ date_modified: z.ZodNullable<z.ZodString>;
120
+ content_placeholders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
121
+ uuid: z.ZodNullable<z.ZodString>;
122
+ block_id: z.ZodNullable<z.ZodString>;
123
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
+ }, z.core.$strip>>>>;
125
+ content_date_modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
+ }, z.core.$strip>;
127
+ declare const pandadocGetTemplateDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
128
+ template_id: string;
129
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
130
  //#endregion
8
131
  export { pandadocGetTemplateDetails };
9
132
  //# sourceMappingURL=get-template-details.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-template-details.d.mts","names":[],"sources":["../../src/actions/get-template-details.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cAiGW,gCAAA,EAAkC,CAAA,CAAE,UAe/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-template-details.d.mts","names":[],"sources":["../../src/actions/get-template-details.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAmG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiBhC,0BAAA,gCAA0B,wBAAA"}
@@ -8,7 +8,7 @@ const PandadocGetTemplateDetails_PreassignedContactGroupMemberSchema = z.object(
8
8
  first_name: z.string().describe("First name of the group member").nullable().optional()
9
9
  }).describe("Member of a preassigned contact group");
10
10
  const PandadocGetTemplateDetails_PreassignedPersonSchema = z.object({
11
- type: z.string().describe("Type of preassignment: 'preassigned contact' or 'preassigned contact group'"),
11
+ type: z.string().describe("Type of preassignment: 'preassigned contact' or 'preassigned contact group'").nullable(),
12
12
  email: z.string().describe("Email of the preassigned person").nullable().optional(),
13
13
  members: z.array(PandadocGetTemplateDetails_PreassignedContactGroupMemberSchema).describe("List of contacts in the group. Only present for type 'preassigned contact group'").nullable().optional(),
14
14
  last_name: z.string().describe("Last name of the preassigned person").nullable().optional(),
@@ -17,21 +17,21 @@ const PandadocGetTemplateDetails_PreassignedPersonSchema = z.object({
17
17
  placeholder_source: z.string().describe("Source of the placeholder (e.g., 'bamboohr')").nullable().optional()
18
18
  }).describe("Pre-assigned person or contact group for a role");
19
19
  const PandadocGetTemplateDetails_TemplateRoleSchema = z.object({
20
- id: z.string().describe("The ID of the role"),
21
- name: z.string().describe("The name of the role"),
20
+ id: z.string().describe("The ID of the role").nullable(),
21
+ name: z.string().describe("The name of the role").nullable(),
22
22
  signing_order: z.number().int().describe("The signing order for this role").nullable().optional(),
23
23
  preassigned_person: PandadocGetTemplateDetails_PreassignedPersonSchema.nullable().optional()
24
24
  });
25
25
  const PandadocGetTemplateDetails_FieldAssignedToRoleSchema = z.object({
26
- id: z.string().describe("Role ID"),
27
- name: z.string().describe("Role name"),
28
- type: z.string().describe("Assignment type, always 'role' for template fields"),
26
+ id: z.string().describe("Role ID").nullable(),
27
+ name: z.string().describe("Role name").nullable(),
28
+ type: z.string().describe("Assignment type, always 'role' for template fields").nullable(),
29
29
  preassigned_person: PandadocGetTemplateDetails_PreassignedPersonSchema.nullable().optional()
30
30
  }).describe("Role assignment for a field in a template");
31
31
  const PandadocGetTemplateDetails_TemplateFieldSchema = z.object({
32
- name: z.string().describe("Field name"),
32
+ name: z.string().describe("Field name").nullable(),
33
33
  type: z.string().describe("Field type (text, checkbox, date, dropdown, signature, etc.)").nullable().optional(),
34
- uuid: z.string().describe("Unique identifier for the field"),
34
+ uuid: z.string().describe("Unique identifier for the field").nullable(),
35
35
  title: z.string().describe("Field title").nullable().optional(),
36
36
  value: z.unknown().describe("Field value (type varies by field type)").nullable().optional(),
37
37
  field_id: z.string().describe("Field ID, unique across the template").nullable().optional(),
@@ -40,7 +40,7 @@ const PandadocGetTemplateDetails_TemplateFieldSchema = z.object({
40
40
  placeholder: z.string().describe("Field placeholder text").nullable().optional()
41
41
  }).describe("Field in a template");
42
42
  const PandadocGetTemplateDetails_TemplateTokenSchema = z.object({
43
- name: z.string().describe("Token name"),
43
+ name: z.string().describe("Token name").nullable(),
44
44
  value: z.string().describe("Token value").nullable().optional()
45
45
  }).describe("Token (variable) in a template");
46
46
  const PandadocGetTemplateDetails_PricingTableItemSchema = z.object({
@@ -87,15 +87,15 @@ const PandadocGetTemplateDetails_TemplatePricingSchema = z.object({
87
87
  tables: z.array(PandadocGetTemplateDetails_PricingTableSchema).describe("Pricing tables").nullable().optional()
88
88
  }).describe("Pricing information for a template");
89
89
  const PandadocGetTemplateDetails_TemplateCreatorSchema = z.object({
90
- id: z.string().describe("The ID of the template creator"),
91
- email: z.string().describe("The email of the template creator"),
90
+ id: z.string().describe("The ID of the template creator").nullable(),
91
+ email: z.string().describe("The email of the template creator").nullable(),
92
92
  avatar: z.string().describe("The avatar URL of the template creator").nullable().optional(),
93
- last_name: z.string().describe("The last name of the template creator"),
94
- first_name: z.string().describe("The first name of the template creator")
93
+ last_name: z.string().describe("The last name of the template creator").nullable(),
94
+ first_name: z.string().describe("The first name of the template creator").nullable()
95
95
  });
96
96
  const PandadocGetTemplateDetails_ContentPlaceholderSchema = z.object({
97
- uuid: z.string().describe("The UUID of the content placeholder"),
98
- block_id: z.string().describe("The block ID of the content placeholder"),
97
+ uuid: z.string().describe("The UUID of the content placeholder").nullable(),
98
+ block_id: z.string().describe("The block ID of the content placeholder").nullable(),
99
99
  description: z.string().describe("Description of the content placeholder").nullable().optional()
100
100
  });
101
101
  const pandadocGetTemplateDetails = action("PANDADOC_GET_TEMPLATE_DETAILS", {
@@ -104,18 +104,18 @@ const pandadocGetTemplateDetails = action("PANDADOC_GET_TEMPLATE_DETAILS", {
104
104
  description: "This tool retrieves detailed information about a specific template by its ID. The endpoint returns comprehensive template details including metadata, content details, and sharing settings.",
105
105
  input: PandadocGetTemplateDetailsInput,
106
106
  output: z.object({
107
- id: z.string().describe("The unique identifier of the template"),
108
- name: z.string().describe("The name of the template"),
107
+ id: z.string().describe("The unique identifier of the template").nullable(),
108
+ name: z.string().describe("The name of the template").nullable(),
109
109
  tags: z.array(z.string()).describe("List of template tags").nullable().optional(),
110
110
  roles: z.array(PandadocGetTemplateDetails_TemplateRoleSchema).describe("List of roles in the template").nullable().optional(),
111
111
  fields: z.array(PandadocGetTemplateDetails_TemplateFieldSchema).describe("List of fields in the template").nullable().optional(),
112
112
  tokens: z.array(PandadocGetTemplateDetails_TemplateTokenSchema).describe("List of tokens (variables) in the template").nullable().optional(),
113
113
  pricing: PandadocGetTemplateDetails_TemplatePricingSchema.nullable().optional(),
114
- version: z.string().describe("Template version"),
114
+ version: z.string().describe("Template version").nullable(),
115
115
  metadata: z.record(z.string(), z.unknown()).describe("Template metadata (arbitrary key-value pairs)").nullable().optional(),
116
116
  created_by: PandadocGetTemplateDetails_TemplateCreatorSchema.nullable(),
117
- date_created: z.string().describe("The creation date of the template"),
118
- date_modified: z.string().describe("The last modification date of the template"),
117
+ date_created: z.string().describe("The creation date of the template").nullable(),
118
+ date_modified: z.string().describe("The last modification date of the template").nullable(),
119
119
  content_placeholders: z.array(PandadocGetTemplateDetails_ContentPlaceholderSchema).describe("List of content placeholders").nullable().optional(),
120
120
  content_date_modified: z.string().describe("The last content modification date").nullable().optional()
121
121
  })
@@ -1 +1 @@
1
- {"version":3,"file":"get-template-details.mjs","names":[],"sources":["../../src/actions/get-template-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocGetTemplateDetailsInput: z.ZodTypeAny = z.object({\n template_id: z.string().describe(\"The unique identifier of the template to retrieve details for\"),\n});\nconst PandadocGetTemplateDetails_PreassignedContactGroupMemberSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email of the group member\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the group member\").nullable().optional(),\n first_name: z.string().describe(\"First name of the group member\").nullable().optional(),\n}).describe(\"Member of a preassigned contact group\");\nconst PandadocGetTemplateDetails_PreassignedPersonSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of preassignment: 'preassigned contact' or 'preassigned contact group'\"),\n email: z.string().describe(\"Email of the preassigned person\").nullable().optional(),\n members: z.array(PandadocGetTemplateDetails_PreassignedContactGroupMemberSchema).describe(\"List of contacts in the group. Only present for type 'preassigned contact group'\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the preassigned person\").nullable().optional(),\n first_name: z.string().describe(\"First name of the preassigned person\").nullable().optional(),\n placeholder_name: z.string().describe(\"Placeholder name for the person\").nullable().optional(),\n placeholder_source: z.string().describe(\"Source of the placeholder (e.g., 'bamboohr')\").nullable().optional(),\n}).describe(\"Pre-assigned person or contact group for a role\");\nconst PandadocGetTemplateDetails_TemplateRoleSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the role\"),\n name: z.string().describe(\"The name of the role\"),\n signing_order: z.number().int().describe(\"The signing order for this role\").nullable().optional(),\n preassigned_person: PandadocGetTemplateDetails_PreassignedPersonSchema.nullable().optional(),\n});\nconst PandadocGetTemplateDetails_FieldAssignedToRoleSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Role ID\"),\n name: z.string().describe(\"Role name\"),\n type: z.string().describe(\"Assignment type, always 'role' for template fields\"),\n preassigned_person: PandadocGetTemplateDetails_PreassignedPersonSchema.nullable().optional(),\n}).describe(\"Role assignment for a field in a template\");\nconst PandadocGetTemplateDetails_TemplateFieldSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Field name\"),\n type: z.string().describe(\"Field type (text, checkbox, date, dropdown, signature, etc.)\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the field\"),\n title: z.string().describe(\"Field title\").nullable().optional(),\n value: z.unknown().describe(\"Field value (type varies by field type)\").nullable().optional(),\n field_id: z.string().describe(\"Field ID, unique across the template\").nullable().optional(),\n assigned_to: PandadocGetTemplateDetails_FieldAssignedToRoleSchema.nullable().optional(),\n merge_field: z.string().describe(\"Merge field name\").nullable().optional(),\n placeholder: z.string().describe(\"Field placeholder text\").nullable().optional(),\n}).describe(\"Field in a template\");\nconst PandadocGetTemplateDetails_TemplateTokenSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Token name\"),\n value: z.string().describe(\"Token value\").nullable().optional(),\n}).describe(\"Token (variable) in a template\");\nconst PandadocGetTemplateDetails_PricingTableItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Item ID\").nullable().optional(),\n qty: z.string().describe(\"Quantity\").nullable().optional(),\n sku: z.string().describe(\"SKU\").nullable().optional(),\n cost: z.string().describe(\"Cost per item\").nullable().optional(),\n name: z.string().describe(\"Item name\").nullable().optional(),\n price: z.string().describe(\"Price per item\").nullable().optional(),\n description: z.string().describe(\"Item description\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields\").nullable().optional(),\n custom_columns: z.record(z.string(), z.unknown()).describe(\"Custom columns\").nullable().optional(),\n}).describe(\"Item in a pricing table\");\nconst PandadocGetTemplateDetails_QuoteSectionSchema: z.ZodTypeAny = z.object({\n rows: z.array(PandadocGetTemplateDetails_PricingTableItemSchema).describe(\"Rows in the section\").nullable().optional(),\n title: z.string().describe(\"Section title\").nullable().optional(),\n \"default\": z.boolean().describe(\"Whether this is the default section\").nullable().optional(),\n multichoice_enabled: z.boolean().describe(\"Whether multichoice is enabled\").nullable().optional(),\n}).describe(\"Section in a quote\");\nconst PandadocGetTemplateDetails_QuoteSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Quote ID\").nullable().optional(),\n name: z.string().describe(\"Quote name\").nullable().optional(),\n total: z.string().describe(\"Total for this quote\").nullable().optional(),\n sections: z.array(PandadocGetTemplateDetails_QuoteSectionSchema).describe(\"Quote sections\").nullable().optional(),\n}).describe(\"Quote in a template\");\nconst PandadocGetTemplateDetails_PricingTableSummarySchema: z.ZodTypeAny = z.object({\n fee: z.string().describe(\"Fee amount\").nullable().optional(),\n tax: z.string().describe(\"Tax amount\").nullable().optional(),\n total: z.string().describe(\"Total amount\").nullable().optional(),\n discount: z.string().describe(\"Discount amount\").nullable().optional(),\n subtotal: z.string().describe(\"Subtotal amount\").nullable().optional(),\n}).describe(\"Summary totals for a pricing table\");\nconst PandadocGetTemplateDetails_PricingTableSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Table ID\").nullable().optional(),\n name: z.string().describe(\"Table name\").nullable().optional(),\n items: z.array(PandadocGetTemplateDetails_PricingTableItemSchema).describe(\"Items in the pricing table\").nullable().optional(),\n total: z.string().describe(\"Total for this table\").nullable().optional(),\n summary: PandadocGetTemplateDetails_PricingTableSummarySchema.nullable().optional(),\n is_included_in_total: z.boolean().describe(\"Whether this table is included in the overall total\").nullable().optional(),\n}).describe(\"Pricing table in a template\");\nconst PandadocGetTemplateDetails_TemplatePricingSchema: z.ZodTypeAny = z.object({\n total: z.string().describe(\"Overall total\").nullable().optional(),\n quotes: z.array(PandadocGetTemplateDetails_QuoteSchema).describe(\"Quotes\").nullable().optional(),\n tables: z.array(PandadocGetTemplateDetails_PricingTableSchema).describe(\"Pricing tables\").nullable().optional(),\n}).describe(\"Pricing information for a template\");\nconst PandadocGetTemplateDetails_TemplateCreatorSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the template creator\"),\n email: z.string().describe(\"The email of the template creator\"),\n avatar: z.string().describe(\"The avatar URL of the template creator\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the template creator\"),\n first_name: z.string().describe(\"The first name of the template creator\"),\n});\nconst PandadocGetTemplateDetails_ContentPlaceholderSchema: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"The UUID of the content placeholder\"),\n block_id: z.string().describe(\"The block ID of the content placeholder\"),\n description: z.string().describe(\"Description of the content placeholder\").nullable().optional(),\n});\nexport const PandadocGetTemplateDetailsOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the template\"),\n name: z.string().describe(\"The name of the template\"),\n tags: z.array(z.string()).describe(\"List of template tags\").nullable().optional(),\n roles: z.array(PandadocGetTemplateDetails_TemplateRoleSchema).describe(\"List of roles in the template\").nullable().optional(),\n fields: z.array(PandadocGetTemplateDetails_TemplateFieldSchema).describe(\"List of fields in the template\").nullable().optional(),\n tokens: z.array(PandadocGetTemplateDetails_TemplateTokenSchema).describe(\"List of tokens (variables) in the template\").nullable().optional(),\n pricing: PandadocGetTemplateDetails_TemplatePricingSchema.nullable().optional(),\n version: z.string().describe(\"Template version\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Template metadata (arbitrary key-value pairs)\").nullable().optional(),\n created_by: PandadocGetTemplateDetails_TemplateCreatorSchema.nullable(),\n date_created: z.string().describe(\"The creation date of the template\"),\n date_modified: z.string().describe(\"The last modification date of the template\"),\n content_placeholders: z.array(PandadocGetTemplateDetails_ContentPlaceholderSchema).describe(\"List of content placeholders\").nullable().optional(),\n content_date_modified: z.string().describe(\"The last content modification date\").nullable().optional(),\n});\n\nexport const pandadocGetTemplateDetails = action(\"PANDADOC_GET_TEMPLATE_DETAILS\", {\n slug: \"pandadoc-get-template-details\",\n name: \"Get Template Details\",\n description: \"This tool retrieves detailed information about a specific template by its ID. The endpoint returns comprehensive template details including metadata, content details, and sharing settings.\",\n input: PandadocGetTemplateDetailsInput,\n output: PandadocGetTemplateDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO,EACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EAClG,CAAC;AACD,MAAM,iEAA+E,EAAE,OAAO;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2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/actions/get-template-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocGetTemplateDetailsInput = z.object({\n template_id: z.string().describe(\"The unique identifier of the template to retrieve details for\"),\n});\nconst PandadocGetTemplateDetails_PreassignedContactGroupMemberSchema = z.object({\n email: z.string().describe(\"Email of the group member\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the group member\").nullable().optional(),\n first_name: z.string().describe(\"First name of the group member\").nullable().optional(),\n}).describe(\"Member of a preassigned contact group\");\nconst PandadocGetTemplateDetails_PreassignedPersonSchema = z.object({\n type: z.string().describe(\"Type of preassignment: 'preassigned contact' or 'preassigned contact group'\").nullable(),\n email: z.string().describe(\"Email of the preassigned person\").nullable().optional(),\n members: z.array(PandadocGetTemplateDetails_PreassignedContactGroupMemberSchema).describe(\"List of contacts in the group. Only present for type 'preassigned contact group'\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the preassigned person\").nullable().optional(),\n first_name: z.string().describe(\"First name of the preassigned person\").nullable().optional(),\n placeholder_name: z.string().describe(\"Placeholder name for the person\").nullable().optional(),\n placeholder_source: z.string().describe(\"Source of the placeholder (e.g., 'bamboohr')\").nullable().optional(),\n}).describe(\"Pre-assigned person or contact group for a role\");\nconst PandadocGetTemplateDetails_TemplateRoleSchema = z.object({\n id: z.string().describe(\"The ID of the role\").nullable(),\n name: z.string().describe(\"The name of the role\").nullable(),\n signing_order: z.number().int().describe(\"The signing order for this role\").nullable().optional(),\n preassigned_person: PandadocGetTemplateDetails_PreassignedPersonSchema.nullable().optional(),\n});\nconst PandadocGetTemplateDetails_FieldAssignedToRoleSchema = z.object({\n id: z.string().describe(\"Role ID\").nullable(),\n name: z.string().describe(\"Role name\").nullable(),\n type: z.string().describe(\"Assignment type, always 'role' for template fields\").nullable(),\n preassigned_person: PandadocGetTemplateDetails_PreassignedPersonSchema.nullable().optional(),\n}).describe(\"Role assignment for a field in a template\");\nconst PandadocGetTemplateDetails_TemplateFieldSchema = z.object({\n name: z.string().describe(\"Field name\").nullable(),\n type: z.string().describe(\"Field type (text, checkbox, date, dropdown, signature, etc.)\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the field\").nullable(),\n title: z.string().describe(\"Field title\").nullable().optional(),\n value: z.unknown().describe(\"Field value (type varies by field type)\").nullable().optional(),\n field_id: z.string().describe(\"Field ID, unique across the template\").nullable().optional(),\n assigned_to: PandadocGetTemplateDetails_FieldAssignedToRoleSchema.nullable().optional(),\n merge_field: z.string().describe(\"Merge field name\").nullable().optional(),\n placeholder: z.string().describe(\"Field placeholder text\").nullable().optional(),\n}).describe(\"Field in a template\");\nconst PandadocGetTemplateDetails_TemplateTokenSchema = z.object({\n name: z.string().describe(\"Token name\").nullable(),\n value: z.string().describe(\"Token value\").nullable().optional(),\n}).describe(\"Token (variable) in a template\");\nconst PandadocGetTemplateDetails_PricingTableItemSchema = z.object({\n id: z.string().describe(\"Item ID\").nullable().optional(),\n qty: z.string().describe(\"Quantity\").nullable().optional(),\n sku: z.string().describe(\"SKU\").nullable().optional(),\n cost: z.string().describe(\"Cost per item\").nullable().optional(),\n name: z.string().describe(\"Item name\").nullable().optional(),\n price: z.string().describe(\"Price per item\").nullable().optional(),\n description: z.string().describe(\"Item description\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields\").nullable().optional(),\n custom_columns: z.record(z.string(), z.unknown()).describe(\"Custom columns\").nullable().optional(),\n}).describe(\"Item in a pricing table\");\nconst PandadocGetTemplateDetails_QuoteSectionSchema = z.object({\n rows: z.array(PandadocGetTemplateDetails_PricingTableItemSchema).describe(\"Rows in the section\").nullable().optional(),\n title: z.string().describe(\"Section title\").nullable().optional(),\n \"default\": z.boolean().describe(\"Whether this is the default section\").nullable().optional(),\n multichoice_enabled: z.boolean().describe(\"Whether multichoice is enabled\").nullable().optional(),\n}).describe(\"Section in a quote\");\nconst PandadocGetTemplateDetails_QuoteSchema = z.object({\n id: z.string().describe(\"Quote ID\").nullable().optional(),\n name: z.string().describe(\"Quote name\").nullable().optional(),\n total: z.string().describe(\"Total for this quote\").nullable().optional(),\n sections: z.array(PandadocGetTemplateDetails_QuoteSectionSchema).describe(\"Quote sections\").nullable().optional(),\n}).describe(\"Quote in a template\");\nconst PandadocGetTemplateDetails_PricingTableSummarySchema = z.object({\n fee: z.string().describe(\"Fee amount\").nullable().optional(),\n tax: z.string().describe(\"Tax amount\").nullable().optional(),\n total: z.string().describe(\"Total amount\").nullable().optional(),\n discount: z.string().describe(\"Discount amount\").nullable().optional(),\n subtotal: z.string().describe(\"Subtotal amount\").nullable().optional(),\n}).describe(\"Summary totals for a pricing table\");\nconst PandadocGetTemplateDetails_PricingTableSchema = z.object({\n id: z.string().describe(\"Table ID\").nullable().optional(),\n name: z.string().describe(\"Table name\").nullable().optional(),\n items: z.array(PandadocGetTemplateDetails_PricingTableItemSchema).describe(\"Items in the pricing table\").nullable().optional(),\n total: z.string().describe(\"Total for this table\").nullable().optional(),\n summary: PandadocGetTemplateDetails_PricingTableSummarySchema.nullable().optional(),\n is_included_in_total: z.boolean().describe(\"Whether this table is included in the overall total\").nullable().optional(),\n}).describe(\"Pricing table in a template\");\nconst PandadocGetTemplateDetails_TemplatePricingSchema = z.object({\n total: z.string().describe(\"Overall total\").nullable().optional(),\n quotes: z.array(PandadocGetTemplateDetails_QuoteSchema).describe(\"Quotes\").nullable().optional(),\n tables: z.array(PandadocGetTemplateDetails_PricingTableSchema).describe(\"Pricing tables\").nullable().optional(),\n}).describe(\"Pricing information for a template\");\nconst PandadocGetTemplateDetails_TemplateCreatorSchema = z.object({\n id: z.string().describe(\"The ID of the template creator\").nullable(),\n email: z.string().describe(\"The email of the template creator\").nullable(),\n avatar: z.string().describe(\"The avatar URL of the template creator\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the template creator\").nullable(),\n first_name: z.string().describe(\"The first name of the template creator\").nullable(),\n});\nconst PandadocGetTemplateDetails_ContentPlaceholderSchema = z.object({\n uuid: z.string().describe(\"The UUID of the content placeholder\").nullable(),\n block_id: z.string().describe(\"The block ID of the content placeholder\").nullable(),\n description: z.string().describe(\"Description of the content placeholder\").nullable().optional(),\n});\nexport const PandadocGetTemplateDetailsOutput = z.object({\n id: z.string().describe(\"The unique identifier of the template\").nullable(),\n name: z.string().describe(\"The name of the template\").nullable(),\n tags: z.array(z.string()).describe(\"List of template tags\").nullable().optional(),\n roles: z.array(PandadocGetTemplateDetails_TemplateRoleSchema).describe(\"List of roles in the template\").nullable().optional(),\n fields: z.array(PandadocGetTemplateDetails_TemplateFieldSchema).describe(\"List of fields in the template\").nullable().optional(),\n tokens: z.array(PandadocGetTemplateDetails_TemplateTokenSchema).describe(\"List of tokens (variables) in the template\").nullable().optional(),\n pricing: PandadocGetTemplateDetails_TemplatePricingSchema.nullable().optional(),\n version: z.string().describe(\"Template version\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Template metadata (arbitrary key-value pairs)\").nullable().optional(),\n created_by: PandadocGetTemplateDetails_TemplateCreatorSchema.nullable(),\n date_created: z.string().describe(\"The creation date of the template\").nullable(),\n date_modified: z.string().describe(\"The last modification date of the template\").nullable(),\n content_placeholders: z.array(PandadocGetTemplateDetails_ContentPlaceholderSchema).describe(\"List of content placeholders\").nullable().optional(),\n content_date_modified: z.string().describe(\"The last content modification date\").nullable().optional(),\n});\n\nexport const pandadocGetTemplateDetails = action(\"PANDADOC_GET_TEMPLATE_DETAILS\", {\n slug: \"pandadoc-get-template-details\",\n name: \"Get Template Details\",\n description: \"This tool retrieves detailed information about a specific template by its ID. The endpoint returns comprehensive template details including metadata, content details, and sharing settings.\",\n input: PandadocGetTemplateDetailsInput,\n output: PandadocGetTemplateDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EAClG,CAAC;AACD,MAAM,iEAAiE,EAAE,OAAO;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS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AAS,mCAAmC,CAAC,CAAC,SAAS;EAChF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC1F,sBAAsB,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAOU;AACV,CAAC"}
@@ -3,8 +3,8 @@ let zod = require("zod");
3
3
  //#region src/actions/list-contacts.ts
4
4
  const PandadocListContactsInput = zod.z.object({ email: zod.z.string().describe("Filter contacts by exact email match. Returns only contacts with this specific email address.").optional() });
5
5
  const PandadocListContacts_ContactSchema = zod.z.object({
6
- id: zod.z.string().describe("The unique identifier of the contact"),
7
- email: zod.z.string().describe("Email address of the contact"),
6
+ id: zod.z.string().describe("The unique identifier of the contact").nullable(),
7
+ email: zod.z.string().describe("Email address of the contact").nullable(),
8
8
  shared: zod.z.boolean().describe("Whether the contact is shared").nullable().optional(),
9
9
  company: zod.z.string().describe("Company name of the contact").nullable().optional(),
10
10
  last_name: zod.z.string().describe("Last name of the contact").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocListContactsInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Filter contacts by exact email match. Returns only contacts with this specific email address.\").optional(),\n});\nconst PandadocListContacts_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the contact\"),\n email: z.string().describe(\"Email address of the contact\"),\n shared: z.boolean().describe(\"Whether the contact is shared\").nullable().optional(),\n company: z.string().describe(\"Company name of the contact\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\").nullable().optional(),\n create_time: z.string().describe(\"Creation timestamp of the contact\").nullable().optional(),\n});\nexport const PandadocListContactsOutput: z.ZodTypeAny = z.object({\n results: z.array(PandadocListContacts_ContactSchema).describe(\"List of contacts matching the search criteria\"),\n});\n\nexport const pandadocListContacts = action(\"PANDADOC_LIST_CONTACTS\", {\n slug: \"pandadoc-list-contacts\",\n name: \"List Contacts\",\n description: \"List all contacts in your PandaDoc workspace. Returns all contacts with their details including email, name, company, and contact information. Optionally filter by exact email address. Note: The API returns all contacts at once without pagination - filtering and pagination should be done client-side if needed.\",\n input: PandadocListContactsInput,\n output: PandadocListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,EACvI,CAAC;AACD,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,+CAA+C,EAC/G,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocListContactsInput = z.object({\n email: z.string().describe(\"Filter contacts by exact email match. Returns only contacts with this specific email address.\").optional(),\n});\nconst PandadocListContacts_ContactSchema = z.object({\n id: z.string().describe(\"The unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable(),\n shared: z.boolean().describe(\"Whether the contact is shared\").nullable().optional(),\n company: z.string().describe(\"Company name of the contact\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\").nullable().optional(),\n create_time: z.string().describe(\"Creation timestamp of the contact\").nullable().optional(),\n});\nexport const PandadocListContactsOutput = z.object({\n results: z.array(PandadocListContacts_ContactSchema).describe(\"List of contacts matching the search criteria\"),\n});\n\nexport const pandadocListContacts = action(\"PANDADOC_LIST_CONTACTS\", {\n slug: \"pandadoc-list-contacts\",\n name: \"List Contacts\",\n description: \"List all contacts in your PandaDoc workspace. Returns all contacts with their details including email, name, company, and contact information. Optionally filter by exact email address. Note: The API returns all contacts at once without pagination - filtering and pagination should be done client-side if needed.\",\n input: PandadocListContactsInput,\n output: PandadocListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,EACvI,CAAC;AACD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,+CAA+C,EAC/G,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-contacts.d.ts
4
- declare const PandadocListContactsInput: z.ZodTypeAny;
5
- declare const PandadocListContactsOutput: z.ZodTypeAny;
6
- declare const pandadocListContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PandadocListContactsInput: z.ZodObject<{
5
+ email: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const PandadocListContactsOutput: z.ZodObject<{
8
+ results: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ email: z.ZodNullable<z.ZodString>;
11
+ shared: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
+ company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ create_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>;
18
+ declare const pandadocListContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ email?: string | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { pandadocListContacts };
9
23
  //# sourceMappingURL=list-contacts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contacts.d.cts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cAUW,0BAAA,EAA4B,CAAA,CAAE,UAEzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-contacts.d.cts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-contacts.d.ts
4
- declare const PandadocListContactsInput: z.ZodTypeAny;
5
- declare const PandadocListContactsOutput: z.ZodTypeAny;
6
- declare const pandadocListContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PandadocListContactsInput: z.ZodObject<{
5
+ email: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const PandadocListContactsOutput: z.ZodObject<{
8
+ results: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ email: z.ZodNullable<z.ZodString>;
11
+ shared: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
+ company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ create_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>;
18
+ declare const pandadocListContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ email?: string | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { pandadocListContacts };
9
23
  //# sourceMappingURL=list-contacts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-contacts.d.mts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cAUW,0BAAA,EAA4B,CAAA,CAAE,UAEzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-contacts.d.mts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
@@ -3,8 +3,8 @@ import { z } from "zod";
3
3
  //#region src/actions/list-contacts.ts
4
4
  const PandadocListContactsInput = z.object({ email: z.string().describe("Filter contacts by exact email match. Returns only contacts with this specific email address.").optional() });
5
5
  const PandadocListContacts_ContactSchema = z.object({
6
- id: z.string().describe("The unique identifier of the contact"),
7
- email: z.string().describe("Email address of the contact"),
6
+ id: z.string().describe("The unique identifier of the contact").nullable(),
7
+ email: z.string().describe("Email address of the contact").nullable(),
8
8
  shared: z.boolean().describe("Whether the contact is shared").nullable().optional(),
9
9
  company: z.string().describe("Company name of the contact").nullable().optional(),
10
10
  last_name: z.string().describe("Last name of the contact").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocListContactsInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Filter contacts by exact email match. Returns only contacts with this specific email address.\").optional(),\n});\nconst PandadocListContacts_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the contact\"),\n email: z.string().describe(\"Email address of the contact\"),\n shared: z.boolean().describe(\"Whether the contact is shared\").nullable().optional(),\n company: z.string().describe(\"Company name of the contact\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\").nullable().optional(),\n create_time: z.string().describe(\"Creation timestamp of the contact\").nullable().optional(),\n});\nexport const PandadocListContactsOutput: z.ZodTypeAny = z.object({\n results: z.array(PandadocListContacts_ContactSchema).describe(\"List of contacts matching the search criteria\"),\n});\n\nexport const pandadocListContacts = action(\"PANDADOC_LIST_CONTACTS\", {\n slug: \"pandadoc-list-contacts\",\n name: \"List Contacts\",\n description: \"List all contacts in your PandaDoc workspace. Returns all contacts with their details including email, name, company, and contact information. Optionally filter by exact email address. Note: The API returns all contacts at once without pagination - filtering and pagination should be done client-side if needed.\",\n input: PandadocListContactsInput,\n output: PandadocListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,EAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,EACvI,CAAC;AACD,MAAM,qCAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC;AAKD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,+CAA+C,EAC/G,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocListContactsInput = z.object({\n email: z.string().describe(\"Filter contacts by exact email match. Returns only contacts with this specific email address.\").optional(),\n});\nconst PandadocListContacts_ContactSchema = z.object({\n id: z.string().describe(\"The unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable(),\n shared: z.boolean().describe(\"Whether the contact is shared\").nullable().optional(),\n company: z.string().describe(\"Company name of the contact\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\").nullable().optional(),\n create_time: z.string().describe(\"Creation timestamp of the contact\").nullable().optional(),\n});\nexport const PandadocListContactsOutput = z.object({\n results: z.array(PandadocListContacts_ContactSchema).describe(\"List of contacts matching the search criteria\"),\n});\n\nexport const pandadocListContacts = action(\"PANDADOC_LIST_CONTACTS\", {\n slug: \"pandadoc-list-contacts\",\n name: \"List Contacts\",\n description: \"List all contacts in your PandaDoc workspace. Returns all contacts with their details including email, name, company, and contact information. Optionally filter by exact email address. Note: The API returns all contacts at once without pagination - filtering and pagination should be done client-side if needed.\",\n input: PandadocListContactsInput,\n output: PandadocListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,EACvI,CAAC;AACD,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC;AAKD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,+CAA+C,EAC/G,CAOU;AACV,CAAC"}
@@ -7,14 +7,14 @@ const PandadocListDocumentFoldersInput = zod.z.object({
7
7
  parent_uuid: zod.z.string().describe("The UUID of the parent folder. If omitted, returns folders in root directory").optional()
8
8
  });
9
9
  const PandadocListDocumentFolders_FolderItemSchema = zod.z.object({
10
- name: zod.z.string().describe("Folder name"),
11
- uuid: zod.z.string().describe("Folder UUID"),
10
+ name: zod.z.string().describe("Folder name").nullable(),
11
+ uuid: zod.z.string().describe("Folder UUID").nullable(),
12
12
  shared: zod.z.boolean().describe("Whether the folder is shared").nullable().optional(),
13
- has_items: zod.z.boolean().describe("Whether the folder contains items"),
13
+ has_items: zod.z.boolean().describe("Whether the folder contains items").nullable(),
14
14
  created_by: zod.z.string().describe("ID of the user who created the folder").nullable().optional(),
15
- has_folders: zod.z.boolean().describe("Whether the folder contains subfolders"),
15
+ has_folders: zod.z.boolean().describe("Whether the folder contains subfolders").nullable(),
16
16
  parent_uuid: zod.z.string().describe("UUID of the parent folder").nullable().optional(),
17
- date_created: zod.z.string().describe("Folder creation date")
17
+ date_created: zod.z.string().describe("Folder creation date").nullable()
18
18
  });
19
19
  const PandadocListDocumentFoldersOutput = zod.z.object({ results: zod.z.array(PandadocListDocumentFolders_FolderItemSchema).describe("List of document folders") });
20
20
  const pandadocListDocumentFolders = require_action.action("PANDADOC_LIST_DOCUMENT_FOLDERS", {