@keystrokehq/postgrid 0.1.3 → 0.1.5

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 (153) hide show
  1. package/dist/actions/cancel-box.d.cts +13 -1
  2. package/dist/actions/cancel-box.d.mts +13 -1
  3. package/dist/actions/cancel-cheque-with-note.d.cts +13 -1
  4. package/dist/actions/cancel-cheque-with-note.d.mts +13 -1
  5. package/dist/actions/cancel-cheque.d.cts +13 -1
  6. package/dist/actions/cancel-cheque.d.mts +13 -1
  7. package/dist/actions/cancel-postcard-with-note.d.cts +13 -1
  8. package/dist/actions/cancel-postcard-with-note.d.mts +13 -1
  9. package/dist/actions/cancel-postcard.d.cts +13 -1
  10. package/dist/actions/cancel-postcard.d.mts +13 -1
  11. package/dist/actions/cancel-return-envelope-order.d.cts +13 -1
  12. package/dist/actions/cancel-return-envelope-order.d.mts +13 -1
  13. package/dist/actions/create-bank-account.d.cts +13 -1
  14. package/dist/actions/create-bank-account.d.mts +13 -1
  15. package/dist/actions/create-box.d.cts +13 -1
  16. package/dist/actions/create-box.d.mts +13 -1
  17. package/dist/actions/create-cheque.d.cts +13 -1
  18. package/dist/actions/create-cheque.d.cts.map +1 -1
  19. package/dist/actions/create-cheque.d.mts +13 -1
  20. package/dist/actions/create-cheque.d.mts.map +1 -1
  21. package/dist/actions/create-contact.d.cts +13 -1
  22. package/dist/actions/create-contact.d.cts.map +1 -1
  23. package/dist/actions/create-contact.d.mts +13 -1
  24. package/dist/actions/create-contact.d.mts.map +1 -1
  25. package/dist/actions/create-letter.d.cts +13 -1
  26. package/dist/actions/create-letter.d.cts.map +1 -1
  27. package/dist/actions/create-letter.d.mts +13 -1
  28. package/dist/actions/create-letter.d.mts.map +1 -1
  29. package/dist/actions/create-postcard.d.cts +13 -1
  30. package/dist/actions/create-postcard.d.cts.map +1 -1
  31. package/dist/actions/create-postcard.d.mts +13 -1
  32. package/dist/actions/create-postcard.d.mts.map +1 -1
  33. package/dist/actions/create-return-envelope-order.d.cts +13 -1
  34. package/dist/actions/create-return-envelope-order.d.mts +13 -1
  35. package/dist/actions/create-return-envelope.d.cts +13 -1
  36. package/dist/actions/create-return-envelope.d.mts +13 -1
  37. package/dist/actions/create-template-editor-session.d.cts +13 -1
  38. package/dist/actions/create-template-editor-session.d.mts +13 -1
  39. package/dist/actions/create-template.d.cts +13 -1
  40. package/dist/actions/create-template.d.cts.map +1 -1
  41. package/dist/actions/create-template.d.mts +13 -1
  42. package/dist/actions/create-template.d.mts.map +1 -1
  43. package/dist/actions/create-tracker.d.cts +13 -1
  44. package/dist/actions/create-tracker.d.cts.map +1 -1
  45. package/dist/actions/create-tracker.d.mts +13 -1
  46. package/dist/actions/create-tracker.d.mts.map +1 -1
  47. package/dist/actions/create-webhook.d.cts +13 -1
  48. package/dist/actions/create-webhook.d.mts +13 -1
  49. package/dist/actions/delete-bank-account.d.cts +13 -1
  50. package/dist/actions/delete-bank-account.d.mts +13 -1
  51. package/dist/actions/delete-contact.d.cts +13 -1
  52. package/dist/actions/delete-contact.d.mts +13 -1
  53. package/dist/actions/delete-template-editor-session.d.cts +13 -1
  54. package/dist/actions/delete-template-editor-session.d.mts +13 -1
  55. package/dist/actions/delete-template.d.cts +13 -1
  56. package/dist/actions/delete-template.d.mts +13 -1
  57. package/dist/actions/delete-tracker.d.cts +13 -1
  58. package/dist/actions/delete-tracker.d.mts +13 -1
  59. package/dist/actions/delete-webhook.d.cts +13 -1
  60. package/dist/actions/delete-webhook.d.mts +13 -1
  61. package/dist/actions/fill-test-return-envelope-order.d.cts +13 -1
  62. package/dist/actions/fill-test-return-envelope-order.d.mts +13 -1
  63. package/dist/actions/get-bank-account.d.cts +13 -1
  64. package/dist/actions/get-bank-account.d.mts +13 -1
  65. package/dist/actions/get-box.d.cts +13 -1
  66. package/dist/actions/get-box.d.mts +13 -1
  67. package/dist/actions/get-cheque.d.cts +13 -1
  68. package/dist/actions/get-cheque.d.mts +13 -1
  69. package/dist/actions/get-contact.d.cts +13 -1
  70. package/dist/actions/get-contact.d.mts +13 -1
  71. package/dist/actions/get-letter.d.cts +13 -1
  72. package/dist/actions/get-letter.d.mts +13 -1
  73. package/dist/actions/get-postcard.d.cts +13 -1
  74. package/dist/actions/get-postcard.d.mts +13 -1
  75. package/dist/actions/get-return-envelope-order.d.cts +13 -1
  76. package/dist/actions/get-return-envelope-order.d.mts +13 -1
  77. package/dist/actions/get-return-envelope.d.cts +13 -1
  78. package/dist/actions/get-return-envelope.d.mts +13 -1
  79. package/dist/actions/get-template.d.cts +13 -1
  80. package/dist/actions/get-template.d.mts +13 -1
  81. package/dist/actions/get-tracker.d.cts +13 -1
  82. package/dist/actions/get-tracker.d.mts +13 -1
  83. package/dist/actions/get-webhook.d.cts +13 -1
  84. package/dist/actions/get-webhook.d.mts +13 -1
  85. package/dist/actions/list-bank-accounts.d.cts +13 -1
  86. package/dist/actions/list-bank-accounts.d.mts +13 -1
  87. package/dist/actions/list-boxes.d.cts +13 -1
  88. package/dist/actions/list-boxes.d.mts +13 -1
  89. package/dist/actions/list-cheques.d.cts +13 -1
  90. package/dist/actions/list-cheques.d.mts +13 -1
  91. package/dist/actions/list-contacts.d.cts +13 -1
  92. package/dist/actions/list-contacts.d.mts +13 -1
  93. package/dist/actions/list-events.d.cts +13 -1
  94. package/dist/actions/list-events.d.mts +13 -1
  95. package/dist/actions/list-letters.d.cts +13 -1
  96. package/dist/actions/list-letters.d.mts +13 -1
  97. package/dist/actions/list-postal-statements.d.cts +13 -1
  98. package/dist/actions/list-postal-statements.d.mts +13 -1
  99. package/dist/actions/list-postcards.d.cts +13 -1
  100. package/dist/actions/list-postcards.d.cts.map +1 -1
  101. package/dist/actions/list-postcards.d.mts +13 -1
  102. package/dist/actions/list-postcards.d.mts.map +1 -1
  103. package/dist/actions/list-return-envelope-orders.d.cts +13 -1
  104. package/dist/actions/list-return-envelope-orders.d.mts +13 -1
  105. package/dist/actions/list-return-envelopes.d.cts +13 -1
  106. package/dist/actions/list-return-envelopes.d.mts +13 -1
  107. package/dist/actions/list-self-mailers.d.cts +13 -1
  108. package/dist/actions/list-self-mailers.d.cts.map +1 -1
  109. package/dist/actions/list-self-mailers.d.mts +13 -1
  110. package/dist/actions/list-self-mailers.d.mts.map +1 -1
  111. package/dist/actions/list-sub-organizations.d.cts +13 -1
  112. package/dist/actions/list-sub-organizations.d.mts +13 -1
  113. package/dist/actions/list-template-editor-sessions.d.cts +13 -1
  114. package/dist/actions/list-template-editor-sessions.d.mts +13 -1
  115. package/dist/actions/list-templates.d.cts +13 -1
  116. package/dist/actions/list-templates.d.mts +13 -1
  117. package/dist/actions/list-tracker-visits.d.cts +13 -1
  118. package/dist/actions/list-tracker-visits.d.mts +13 -1
  119. package/dist/actions/list-trackers.d.cts +13 -1
  120. package/dist/actions/list-trackers.d.mts +13 -1
  121. package/dist/actions/list-webhook-invocations.d.cts +13 -1
  122. package/dist/actions/list-webhook-invocations.d.mts +13 -1
  123. package/dist/actions/list-webhooks.d.cts +13 -1
  124. package/dist/actions/list-webhooks.d.mts +13 -1
  125. package/dist/actions/progress-test-box.d.cts +13 -1
  126. package/dist/actions/progress-test-box.d.mts +13 -1
  127. package/dist/actions/progress-test-cheque.d.cts +13 -1
  128. package/dist/actions/progress-test-cheque.d.mts +13 -1
  129. package/dist/actions/progress-test-postcard.d.cts +13 -1
  130. package/dist/actions/progress-test-postcard.d.mts +13 -1
  131. package/dist/actions/update-template.d.cts +13 -1
  132. package/dist/actions/update-template.d.cts.map +1 -1
  133. package/dist/actions/update-template.d.mts +13 -1
  134. package/dist/actions/update-template.d.mts.map +1 -1
  135. package/dist/actions/update-tracker.d.cts +13 -1
  136. package/dist/actions/update-tracker.d.mts +13 -1
  137. package/dist/actions/update-webhook.d.cts +13 -1
  138. package/dist/actions/update-webhook.d.mts +13 -1
  139. package/dist/app.cjs +5 -2
  140. package/dist/app.cjs.map +1 -1
  141. package/dist/app.d.cts +9 -1
  142. package/dist/app.d.cts.map +1 -1
  143. package/dist/app.d.mts +9 -1
  144. package/dist/app.d.mts.map +1 -1
  145. package/dist/app.mjs +3 -1
  146. package/dist/app.mjs.map +1 -1
  147. package/dist/catalog.cjs +1 -1
  148. package/dist/catalog.cjs.map +1 -1
  149. package/dist/catalog.d.cts +1 -1
  150. package/dist/catalog.d.mts +1 -1
  151. package/dist/catalog.mjs +1 -1
  152. package/dist/catalog.mjs.map +1 -1
  153. package/package.json +1 -1
@@ -47,7 +47,19 @@ declare const PostgridProgressTestBoxOutput: z.ZodObject<{
47
47
  }, z.core.$loose>;
48
48
  declare const postgridProgressTestBox: import("@keystrokehq/action").WorkflowActionDefinition<{
49
49
  id: string;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
50
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
51
+ connectionId: z.ZodString;
52
+ entityId: z.ZodString;
53
+ instanceId: z.ZodString;
54
+ }, z.core.$strip>, z.ZodObject<{
55
+ generic_api_key: z.ZodString;
56
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
57
+ connectionId: z.ZodString;
58
+ entityId: z.ZodString;
59
+ instanceId: z.ZodString;
60
+ }, z.core.$strip>, z.ZodObject<{
61
+ generic_api_key: z.ZodString;
62
+ }, z.core.$strip>>]>;
51
63
  //#endregion
52
64
  export { postgridProgressTestBox };
53
65
  //# sourceMappingURL=progress-test-box.d.cts.map
@@ -47,7 +47,19 @@ declare const PostgridProgressTestBoxOutput: z.ZodObject<{
47
47
  }, z.core.$loose>;
48
48
  declare const postgridProgressTestBox: import("@keystrokehq/action").WorkflowActionDefinition<{
49
49
  id: string;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
50
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
51
+ connectionId: z.ZodString;
52
+ entityId: z.ZodString;
53
+ instanceId: z.ZodString;
54
+ }, z.core.$strip>, z.ZodObject<{
55
+ generic_api_key: z.ZodString;
56
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
57
+ connectionId: z.ZodString;
58
+ entityId: z.ZodString;
59
+ instanceId: z.ZodString;
60
+ }, z.core.$strip>, z.ZodObject<{
61
+ generic_api_key: z.ZodString;
62
+ }, z.core.$strip>>]>;
51
63
  //#endregion
52
64
  export { postgridProgressTestBox };
53
65
  //# sourceMappingURL=progress-test-box.d.mts.map
@@ -43,7 +43,19 @@ declare const PostgridProgressTestChequeOutput: z.ZodObject<{
43
43
  }, z.core.$loose>;
44
44
  declare const postgridProgressTestCheque: import("@keystrokehq/action").WorkflowActionDefinition<{
45
45
  id: string;
46
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
46
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
47
+ connectionId: z.ZodString;
48
+ entityId: z.ZodString;
49
+ instanceId: z.ZodString;
50
+ }, z.core.$strip>, z.ZodObject<{
51
+ generic_api_key: z.ZodString;
52
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
53
+ connectionId: z.ZodString;
54
+ entityId: z.ZodString;
55
+ instanceId: z.ZodString;
56
+ }, z.core.$strip>, z.ZodObject<{
57
+ generic_api_key: z.ZodString;
58
+ }, z.core.$strip>>]>;
47
59
  //#endregion
48
60
  export { postgridProgressTestCheque };
49
61
  //# sourceMappingURL=progress-test-cheque.d.cts.map
@@ -43,7 +43,19 @@ declare const PostgridProgressTestChequeOutput: z.ZodObject<{
43
43
  }, z.core.$loose>;
44
44
  declare const postgridProgressTestCheque: import("@keystrokehq/action").WorkflowActionDefinition<{
45
45
  id: string;
46
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
46
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
47
+ connectionId: z.ZodString;
48
+ entityId: z.ZodString;
49
+ instanceId: z.ZodString;
50
+ }, z.core.$strip>, z.ZodObject<{
51
+ generic_api_key: z.ZodString;
52
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
53
+ connectionId: z.ZodString;
54
+ entityId: z.ZodString;
55
+ instanceId: z.ZodString;
56
+ }, z.core.$strip>, z.ZodObject<{
57
+ generic_api_key: z.ZodString;
58
+ }, z.core.$strip>>]>;
47
59
  //#endregion
48
60
  export { postgridProgressTestCheque };
49
61
  //# sourceMappingURL=progress-test-cheque.d.mts.map
@@ -52,7 +52,19 @@ declare const PostgridProgressTestPostcardOutput: z.ZodObject<{
52
52
  }, z.core.$loose>;
53
53
  declare const postgridProgressTestPostcard: import("@keystrokehq/action").WorkflowActionDefinition<{
54
54
  id: string;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
56
+ connectionId: z.ZodString;
57
+ entityId: z.ZodString;
58
+ instanceId: z.ZodString;
59
+ }, z.core.$strip>, z.ZodObject<{
60
+ generic_api_key: z.ZodString;
61
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
62
+ connectionId: z.ZodString;
63
+ entityId: z.ZodString;
64
+ instanceId: z.ZodString;
65
+ }, z.core.$strip>, z.ZodObject<{
66
+ generic_api_key: z.ZodString;
67
+ }, z.core.$strip>>]>;
56
68
  //#endregion
57
69
  export { postgridProgressTestPostcard };
58
70
  //# sourceMappingURL=progress-test-postcard.d.cts.map
@@ -52,7 +52,19 @@ declare const PostgridProgressTestPostcardOutput: z.ZodObject<{
52
52
  }, z.core.$loose>;
53
53
  declare const postgridProgressTestPostcard: import("@keystrokehq/action").WorkflowActionDefinition<{
54
54
  id: string;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
56
+ connectionId: z.ZodString;
57
+ entityId: z.ZodString;
58
+ instanceId: z.ZodString;
59
+ }, z.core.$strip>, z.ZodObject<{
60
+ generic_api_key: z.ZodString;
61
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
62
+ connectionId: z.ZodString;
63
+ entityId: z.ZodString;
64
+ instanceId: z.ZodString;
65
+ }, z.core.$strip>, z.ZodObject<{
66
+ generic_api_key: z.ZodString;
67
+ }, z.core.$strip>>]>;
56
68
  //#endregion
57
69
  export { postgridProgressTestPostcard };
58
70
  //# sourceMappingURL=progress-test-postcard.d.mts.map
@@ -22,7 +22,19 @@ declare const postgridUpdateTemplate: import("@keystrokehq/action").WorkflowActi
22
22
  html: string;
23
23
  metadata?: Record<string, unknown> | undefined;
24
24
  description?: string | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ generic_api_key: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ generic_api_key: z.ZodString;
37
+ }, z.core.$strip>>]>;
26
38
  //#endregion
27
39
  export { postgridUpdateTemplate };
28
40
  //# sourceMappingURL=update-template.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-template.d.cts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAW5B,sBAAA,gCAAsB,wBAAA;;;aAMjC,MAAA"}
1
+ {"version":3,"file":"update-template.d.cts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAW5B,sBAAA,gCAAsB,wBAAA"}
@@ -22,7 +22,19 @@ declare const postgridUpdateTemplate: import("@keystrokehq/action").WorkflowActi
22
22
  html: string;
23
23
  metadata?: Record<string, unknown> | undefined;
24
24
  description?: string | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ generic_api_key: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ generic_api_key: z.ZodString;
37
+ }, z.core.$strip>>]>;
26
38
  //#endregion
27
39
  export { postgridUpdateTemplate };
28
40
  //# sourceMappingURL=update-template.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-template.d.mts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAW5B,sBAAA,gCAAsB,wBAAA;;;aAMjC,MAAA"}
1
+ {"version":3,"file":"update-template.d.mts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAW5B,sBAAA,gCAAsB,wBAAA"}
@@ -23,7 +23,19 @@ declare const postgridUpdateTracker: import("@keystrokehq/action").WorkflowActio
23
23
  id: string;
24
24
  urlExpireAfterDays?: number | undefined;
25
25
  redirectURLTemplate?: string | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ generic_api_key: z.ZodString;
32
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ generic_api_key: z.ZodString;
38
+ }, z.core.$strip>>]>;
27
39
  //#endregion
28
40
  export { postgridUpdateTracker };
29
41
  //# sourceMappingURL=update-tracker.d.cts.map
@@ -23,7 +23,19 @@ declare const postgridUpdateTracker: import("@keystrokehq/action").WorkflowActio
23
23
  id: string;
24
24
  urlExpireAfterDays?: number | undefined;
25
25
  redirectURLTemplate?: string | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ generic_api_key: z.ZodString;
32
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ generic_api_key: z.ZodString;
38
+ }, z.core.$strip>>]>;
27
39
  //#endregion
28
40
  export { postgridUpdateTracker };
29
41
  //# sourceMappingURL=update-tracker.d.mts.map
@@ -40,7 +40,19 @@ declare const postgridUpdateWebhook: import("@keystrokehq/action").WorkflowActio
40
40
  enabled?: boolean | undefined;
41
41
  enabledEvents?: ("letter.created" | "letter.updated" | "postcard.created" | "postcard.updated" | "cheque.created" | "cheque.updated" | "self_mailer.created" | "self_mailer.updated" | "return_envelope_order.created" | "return_envelope_order.updated")[] | undefined;
42
42
  payloadFormat?: "jwt" | "json" | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
44
+ connectionId: z.ZodString;
45
+ entityId: z.ZodString;
46
+ instanceId: z.ZodString;
47
+ }, z.core.$strip>, z.ZodObject<{
48
+ generic_api_key: z.ZodString;
49
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
50
+ connectionId: z.ZodString;
51
+ entityId: z.ZodString;
52
+ instanceId: z.ZodString;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ generic_api_key: z.ZodString;
55
+ }, z.core.$strip>>]>;
44
56
  //#endregion
45
57
  export { postgridUpdateWebhook };
46
58
  //# sourceMappingURL=update-webhook.d.cts.map
@@ -40,7 +40,19 @@ declare const postgridUpdateWebhook: import("@keystrokehq/action").WorkflowActio
40
40
  enabled?: boolean | undefined;
41
41
  enabledEvents?: ("letter.created" | "letter.updated" | "postcard.created" | "postcard.updated" | "cheque.created" | "cheque.updated" | "self_mailer.created" | "self_mailer.updated" | "return_envelope_order.created" | "return_envelope_order.updated")[] | undefined;
42
42
  payloadFormat?: "jwt" | "json" | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
44
+ connectionId: z.ZodString;
45
+ entityId: z.ZodString;
46
+ instanceId: z.ZodString;
47
+ }, z.core.$strip>, z.ZodObject<{
48
+ generic_api_key: z.ZodString;
49
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
50
+ connectionId: z.ZodString;
51
+ entityId: z.ZodString;
52
+ instanceId: z.ZodString;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ generic_api_key: z.ZodString;
55
+ }, z.core.$strip>>]>;
44
56
  //#endregion
45
57
  export { postgridUpdateWebhook };
46
58
  //# sourceMappingURL=update-webhook.d.mts.map
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const postgrid = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const postgrid = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "postgrid",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.postgrid = postgrid;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const postgrid = defineApp({\n slug: \"postgrid\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const postgrid = defineApp({\n slug: \"postgrid\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const postgrid: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const postgrid: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { postgrid };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const postgrid: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const postgrid: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"postgrid", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { postgrid };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,10 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const postgrid = defineApp({
4
5
  slug: "postgrid",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { postgrid };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const postgrid = defineApp({\n slug: \"postgrid\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const postgrid = defineApp({\n slug: \"postgrid\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const postgridCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/postgrid",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "PostGrid API Key",
13
13
  "secret": true,
14
14
  "description": "The API key used to authenticate requests to the PostGrid API. You can find this in your PostGrid dashboard under \"Settings\"."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const postgridCatalog = {\n \"slug\": \"postgrid\",\n \"name\": \"Postgrid\",\n \"description\": \"PostGrid provides APIs for automating direct mail and address verification services, enabling businesses to send letters, postcards, and checks, as well as verify and standardize addresses in real-time.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/postgrid\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"PostGrid API Key\",\n \"secret\": true,\n \"description\": \"The API key used to authenticate requests to the PostGrid API. You can find this in your PostGrid dashboard under \\\"Settings\\\".\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const postgridCatalog = {\n \"slug\": \"postgrid\",\n \"name\": \"Postgrid\",\n \"description\": \"PostGrid provides APIs for automating direct mail and address verification services, enabling businesses to send letters, postcards, and checks, as well as verify and standardize addresses in real-time.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/postgrid\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"PostGrid API Key\",\n \"secret\": true,\n \"description\": \"The API key used to authenticate requests to the PostGrid API. You can find this in your PostGrid dashboard under \\\"Settings\\\".\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -9,7 +9,7 @@ declare const postgridCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "PostGrid API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "The API key used to authenticate requests to the PostGrid API. You can find this in your PostGrid dashboard under \"Settings\".";
@@ -9,7 +9,7 @@ declare const postgridCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "PostGrid API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "The API key used to authenticate requests to the PostGrid API. You can find this in your PostGrid dashboard under \"Settings\".";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const postgridCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/postgrid",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "PostGrid API Key",
13
13
  "secret": true,
14
14
  "description": "The API key used to authenticate requests to the PostGrid API. You can find this in your PostGrid dashboard under \"Settings\"."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const postgridCatalog = {\n \"slug\": \"postgrid\",\n \"name\": \"Postgrid\",\n \"description\": \"PostGrid provides APIs for automating direct mail and address verification services, enabling businesses to send letters, postcards, and checks, as well as verify and standardize addresses in real-time.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/postgrid\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"PostGrid API Key\",\n \"secret\": true,\n \"description\": \"The API key used to authenticate requests to the PostGrid API. You can find this in your PostGrid dashboard under \\\"Settings\\\".\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const postgridCatalog = {\n \"slug\": \"postgrid\",\n \"name\": \"Postgrid\",\n \"description\": \"PostGrid provides APIs for automating direct mail and address verification services, enabling businesses to send letters, postcards, and checks, as well as verify and standardize addresses in real-time.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/postgrid\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"PostGrid API Key\",\n \"secret\": true,\n \"description\": \"The API key used to authenticate requests to the PostGrid API. You can find this in your PostGrid dashboard under \\\"Settings\\\".\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/postgrid",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"