@iterable/api 0.0.1 → 0.1.0

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.
@@ -55,8 +55,8 @@ export declare function Campaigns<T extends Constructor<BaseIterableClient>>(Bas
55
55
  */
56
56
  sendCampaign(params: SendCampaignParams): Promise<IterableSuccessResponse>;
57
57
  client: import("axios").AxiosInstance;
58
- "__#private@#httpAgent"?: import("http").Agent;
59
- "__#private@#httpsAgent"?: import("https").Agent;
58
+ #httpAgent?: import("http").Agent;
59
+ #httpsAgent?: import("https").Agent;
60
60
  parseNdjson(data: string): any[];
61
61
  parseCsv(data: string): any[];
62
62
  validateResponse<T_1>(response: {
@@ -44,8 +44,8 @@ export declare function Catalogs<T extends Constructor<BaseIterableClient>>(Base
44
44
  */
45
45
  replaceCatalogItem(params: ReplaceCatalogItemParams): Promise<IterableSuccessResponse>;
46
46
  client: import("axios").AxiosInstance;
47
- "__#private@#httpAgent"?: import("http").Agent;
48
- "__#private@#httpsAgent"?: import("https").Agent;
47
+ #httpAgent?: import("http").Agent;
48
+ #httpsAgent?: import("https").Agent;
49
49
  parseNdjson(data: string): any[];
50
50
  parseCsv(data: string): any[];
51
51
  validateResponse<T_1>(response: {
@@ -22,8 +22,8 @@ export declare function Events<T extends Constructor<BaseIterableClient>>(Base:
22
22
  signal?: AbortSignal;
23
23
  }): Promise<GetUserEventsByUserIdResponse>;
24
24
  client: import("axios").AxiosInstance;
25
- "__#private@#httpAgent"?: import("http").Agent;
26
- "__#private@#httpsAgent"?: import("https").Agent;
25
+ #httpAgent?: import("http").Agent;
26
+ #httpsAgent?: import("https").Agent;
27
27
  parseNdjson(data: string): any[];
28
28
  parseCsv(data: string): any[];
29
29
  validateResponse<T_1>(response: {
@@ -8,8 +8,8 @@ export declare function Experiments<T extends Constructor<BaseIterableClient>>(B
8
8
  new (...args: any[]): {
9
9
  getExperimentMetrics(params?: GetExperimentMetricsParams): Promise<ExperimentMetricsResponse>;
10
10
  client: import("axios").AxiosInstance;
11
- "__#private@#httpAgent"?: import("http").Agent;
12
- "__#private@#httpsAgent"?: import("https").Agent;
11
+ #httpAgent?: import("http").Agent;
12
+ #httpsAgent?: import("https").Agent;
13
13
  parseNdjson(data: string): any[];
14
14
  parseCsv(data: string): any[];
15
15
  validateResponse<T_1>(response: {
@@ -11,8 +11,8 @@ export declare function Export<T extends Constructor<BaseIterableClient>>(Base:
11
11
  startExportJob(params: StartExportJobParams): Promise<StartExportJobResponse>;
12
12
  cancelExportJob(params: CancelExportJobParams): Promise<CancelExportJobResponse>;
13
13
  client: import("axios").AxiosInstance;
14
- "__#private@#httpAgent"?: import("http").Agent;
15
- "__#private@#httpsAgent"?: import("https").Agent;
14
+ #httpAgent?: import("http").Agent;
15
+ #httpsAgent?: import("https").Agent;
16
16
  parseNdjson(data: string): any[];
17
17
  parseCsv(data: string): any[];
18
18
  validateResponse<T_1>(response: {
@@ -20,8 +20,8 @@ declare const IterableClient_base: new (...args: any[]) => BaseIterableClient &
20
20
  triggerCampaign(params: import("../index.js").TriggerCampaignParams): Promise<import("../index.js").IterableSuccessResponse>;
21
21
  sendCampaign(params: import("../index.js").SendCampaignParams): Promise<import("../index.js").IterableSuccessResponse>;
22
22
  client: import("axios").AxiosInstance;
23
- "__#private@#httpAgent"?: import("http").Agent;
24
- "__#private@#httpsAgent"?: import("https").Agent;
23
+ #httpAgent?: import("http").Agent;
24
+ #httpsAgent?: import("https").Agent;
25
25
  parseNdjson(data: string): any[];
26
26
  parseCsv(data: string): any[];
27
27
  validateResponse<T>(response: {
@@ -45,8 +45,8 @@ declare const IterableClient_base: new (...args: any[]) => BaseIterableClient &
45
45
  partialUpdateCatalogItem(params: import("../index.js").PartialUpdateCatalogItemParams): Promise<import("../index.js").IterableSuccessResponse>;
46
46
  replaceCatalogItem(params: import("../index.js").ReplaceCatalogItemParams): Promise<import("../index.js").IterableSuccessResponse>;
47
47
  client: import("axios").AxiosInstance;
48
- "__#private@#httpAgent"?: import("http").Agent;
49
- "__#private@#httpsAgent"?: import("https").Agent;
48
+ #httpAgent?: import("http").Agent;
49
+ #httpsAgent?: import("https").Agent;
50
50
  parseNdjson(data: string): any[];
51
51
  parseCsv(data: string): any[];
52
52
  validateResponse<T>(response: {
@@ -66,8 +66,8 @@ declare const IterableClient_base: new (...args: any[]) => BaseIterableClient &
66
66
  signal?: AbortSignal;
67
67
  } | undefined): Promise<import("../index.js").GetUserEventsByUserIdResponse>;
68
68
  client: import("axios").AxiosInstance;
69
- "__#private@#httpAgent"?: import("http").Agent;
70
- "__#private@#httpsAgent"?: import("https").Agent;
69
+ #httpAgent?: import("http").Agent;
70
+ #httpsAgent?: import("https").Agent;
71
71
  parseNdjson(data: string): any[];
72
72
  parseCsv(data: string): any[];
73
73
  validateResponse<T>(response: {
@@ -80,8 +80,8 @@ declare const IterableClient_base: new (...args: any[]) => BaseIterableClient &
80
80
  } & {
81
81
  getExperimentMetrics(params?: import("../index.js").GetExperimentMetricsParams): Promise<import("../index.js").ExperimentMetricsResponse>;
82
82
  client: import("axios").AxiosInstance;
83
- "__#private@#httpAgent"?: import("http").Agent;
84
- "__#private@#httpsAgent"?: import("https").Agent;
83
+ #httpAgent?: import("http").Agent;
84
+ #httpsAgent?: import("https").Agent;
85
85
  parseNdjson(data: string): any[];
86
86
  parseCsv(data: string): any[];
87
87
  validateResponse<T>(response: {
@@ -97,8 +97,8 @@ declare const IterableClient_base: new (...args: any[]) => BaseIterableClient &
97
97
  startExportJob(params: import("../index.js").StartExportJobParams): Promise<import("../index.js").StartExportJobResponse>;
98
98
  cancelExportJob(params: import("../index.js").CancelExportJobParams): Promise<import("../index.js").CancelExportJobResponse>;
99
99
  client: import("axios").AxiosInstance;
100
- "__#private@#httpAgent"?: import("http").Agent;
101
- "__#private@#httpsAgent"?: import("https").Agent;
100
+ #httpAgent?: import("http").Agent;
101
+ #httpsAgent?: import("https").Agent;
102
102
  parseNdjson(data: string): any[];
103
103
  parseCsv(data: string): any[];
104
104
  validateResponse<T>(response: {
@@ -112,8 +112,8 @@ declare const IterableClient_base: new (...args: any[]) => BaseIterableClient &
112
112
  triggerJourney(options: import("../index.js").TriggerJourneyParams): Promise<import("../index.js").IterableSuccessResponse>;
113
113
  getJourneys(params?: import("../index.js").GetJourneysParams): Promise<import("../index.js").GetJourneysResponse>;
114
114
  client: import("axios").AxiosInstance;
115
- "__#private@#httpAgent"?: import("http").Agent;
116
- "__#private@#httpsAgent"?: import("https").Agent;
115
+ #httpAgent?: import("http").Agent;
116
+ #httpsAgent?: import("https").Agent;
117
117
  parseNdjson(data: string): any[];
118
118
  parseCsv(data: string): any[];
119
119
  validateResponse<T>(response: {
@@ -135,8 +135,8 @@ declare const IterableClient_base: new (...args: any[]) => BaseIterableClient &
135
135
  getListSize(params: import("../index.js").GetListSizeParams): Promise<import("../index.js").GetListSizeResponse>;
136
136
  getListPreviewUsers(params: import("../index.js").GetListPreviewUsersParams): Promise<import("../index.js").GetListPreviewUsersResponse>;
137
137
  client: import("axios").AxiosInstance;
138
- "__#private@#httpAgent"?: import("http").Agent;
139
- "__#private@#httpsAgent"?: import("https").Agent;
138
+ #httpAgent?: import("http").Agent;
139
+ #httpsAgent?: import("https").Agent;
140
140
  parseNdjson(data: string): any[];
141
141
  parseCsv(data: string): any[];
142
142
  validateResponse<T>(response: {
@@ -164,8 +164,8 @@ declare const IterableClient_base: new (...args: any[]) => BaseIterableClient &
164
164
  getChannels(): Promise<import("../index.js").ChannelsResponse>;
165
165
  getMessageTypes(): Promise<import("../index.js").MessageTypesResponse>;
166
166
  client: import("axios").AxiosInstance;
167
- "__#private@#httpAgent"?: import("http").Agent;
168
- "__#private@#httpsAgent"?: import("https").Agent;
167
+ #httpAgent?: import("http").Agent;
168
+ #httpsAgent?: import("https").Agent;
169
169
  parseNdjson(data: string): any[];
170
170
  parseCsv(data: string): any[];
171
171
  validateResponse<T>(response: {
@@ -192,8 +192,8 @@ declare const IterableClient_base: new (...args: any[]) => BaseIterableClient &
192
192
  signal?: AbortSignal;
193
193
  } | undefined): Promise<import("../index.js").DeleteSnippetResponse>;
194
194
  client: import("axios").AxiosInstance;
195
- "__#private@#httpAgent"?: import("http").Agent;
196
- "__#private@#httpsAgent"?: import("https").Agent;
195
+ #httpAgent?: import("http").Agent;
196
+ #httpsAgent?: import("https").Agent;
197
197
  parseNdjson(data: string): any[];
198
198
  parseCsv(data: string): any[];
199
199
  validateResponse<T>(response: {
@@ -210,8 +210,8 @@ declare const IterableClient_base: new (...args: any[]) => BaseIterableClient &
210
210
  unsubscribeUserByEmail(params: import("../index.js").UnsubscribeUserByEmailParams): Promise<import("../index.js").IterableSuccessResponse>;
211
211
  unsubscribeUserByUserId(params: import("../index.js").UnsubscribeUserByUserIdParams): Promise<import("../index.js").IterableSuccessResponse>;
212
212
  client: import("axios").AxiosInstance;
213
- "__#private@#httpAgent"?: import("http").Agent;
214
- "__#private@#httpsAgent"?: import("https").Agent;
213
+ #httpAgent?: import("http").Agent;
214
+ #httpsAgent?: import("https").Agent;
215
215
  parseNdjson(data: string): any[];
216
216
  parseCsv(data: string): any[];
217
217
  validateResponse<T>(response: {
@@ -222,12 +222,12 @@ declare const IterableClient_base: new (...args: any[]) => BaseIterableClient &
222
222
  }, schema: import("zod").ZodType<T>): T;
223
223
  destroy(): void;
224
224
  } & {
225
- "__#private@#getTemplateByType"<T>(pathSegment: string, params: import("../index.js").GetTemplateParams, schema: import("zod").ZodType<T, unknown, import("zod/v4/core").$ZodTypeInternals<T, unknown>>): Promise<T>;
226
- "__#private@#createTemplateByType"<T>(pathSegment: string, template: T): Promise<import("../index.js").IterableSuccessResponse>;
227
- "__#private@#updateTemplateByType"<T>(pathSegment: string, options: T): Promise<import("../index.js").IterableSuccessResponse>;
225
+ #getTemplateByType<T>(pathSegment: string, params: import("../index.js").GetTemplateParams, schema: import("zod").ZodType<T, unknown, import("zod/v4/core").$ZodTypeInternals<T, unknown>>): Promise<T>;
226
+ #createTemplateByType<T>(pathSegment: string, template: T): Promise<import("../index.js").IterableSuccessResponse>;
227
+ #updateTemplateByType<T>(pathSegment: string, options: T): Promise<import("../index.js").IterableSuccessResponse>;
228
228
  deleteTemplates(templateIds: number[]): Promise<import("../index.js").BulkDeleteTemplatesResponse>;
229
- "__#private@#sendTemplateProof"(pathSegment: string, request: import("../index.js").TemplateProofRequest): Promise<import("../index.js").IterableSuccessResponse>;
230
- "__#private@#previewTemplate"(pathSegment: string, params: import("../index.js").PreviewTemplateParams): Promise<string>;
229
+ #sendTemplateProof(pathSegment: string, request: import("../index.js").TemplateProofRequest): Promise<import("../index.js").IterableSuccessResponse>;
230
+ #previewTemplate(pathSegment: string, params: import("../index.js").PreviewTemplateParams): Promise<string>;
231
231
  getTemplates(options?: import("../index.js").GetTemplatesParams): Promise<import("../index.js").GetTemplatesResponse>;
232
232
  getTemplateByClientId(clientTemplateId: string): Promise<import("../index.js").GetTemplateByClientIdResponse>;
233
233
  bulkDeleteTemplates(params: import("../index.js").BulkDeleteTemplatesParams): Promise<import("../index.js").IterableSuccessResponse>;
@@ -250,8 +250,8 @@ declare const IterableClient_base: new (...args: any[]) => BaseIterableClient &
250
250
  sendInAppTemplateProof(request: import("../index.js").TemplateProofRequest): Promise<import("../index.js").IterableSuccessResponse>;
251
251
  previewInAppTemplate(params: import("../index.js").PreviewTemplateParams): Promise<string>;
252
252
  client: import("axios").AxiosInstance;
253
- "__#private@#httpAgent"?: import("http").Agent;
254
- "__#private@#httpsAgent"?: import("https").Agent;
253
+ #httpAgent?: import("http").Agent;
254
+ #httpsAgent?: import("https").Agent;
255
255
  parseNdjson(data: string): any[];
256
256
  parseCsv(data: string): any[];
257
257
  validateResponse<T>(response: {
@@ -277,8 +277,8 @@ declare const IterableClient_base: new (...args: any[]) => BaseIterableClient &
277
277
  getSentMessages(params: import("../index.js").GetSentMessagesParams): Promise<import("../index.js").GetSentMessagesResponse>;
278
278
  getUserFields(): Promise<import("../index.js").GetUserFieldsResponse>;
279
279
  client: import("axios").AxiosInstance;
280
- "__#private@#httpAgent"?: import("http").Agent;
281
- "__#private@#httpsAgent"?: import("https").Agent;
280
+ #httpAgent?: import("http").Agent;
281
+ #httpsAgent?: import("https").Agent;
282
282
  parseNdjson(data: string): any[];
283
283
  parseCsv(data: string): any[];
284
284
  validateResponse<T>(response: {
@@ -292,8 +292,8 @@ declare const IterableClient_base: new (...args: any[]) => BaseIterableClient &
292
292
  getWebhooks(): Promise<import("../index.js").GetWebhooksResponse>;
293
293
  updateWebhook(options: import("../index.js").UpdateWebhookParams): Promise<import("../index.js").Webhook>;
294
294
  client: import("axios").AxiosInstance;
295
- "__#private@#httpAgent"?: import("http").Agent;
296
- "__#private@#httpsAgent"?: import("https").Agent;
295
+ #httpAgent?: import("http").Agent;
296
+ #httpsAgent?: import("https").Agent;
297
297
  parseNdjson(data: string): any[];
298
298
  parseCsv(data: string): any[];
299
299
  validateResponse<T>(response: {
@@ -10,8 +10,8 @@ export declare function Journeys<T extends Constructor<BaseIterableClient>>(Base
10
10
  triggerJourney(options: TriggerJourneyParams): Promise<IterableSuccessResponse>;
11
11
  getJourneys(params?: GetJourneysParams): Promise<GetJourneysResponse>;
12
12
  client: import("axios").AxiosInstance;
13
- "__#private@#httpAgent"?: import("http").Agent;
14
- "__#private@#httpsAgent"?: import("https").Agent;
13
+ #httpAgent?: import("http").Agent;
14
+ #httpsAgent?: import("https").Agent;
15
15
  parseNdjson(data: string): any[];
16
16
  parseCsv(data: string): any[];
17
17
  validateResponse<T_1>(response: {
@@ -23,8 +23,8 @@ export declare function Lists<T extends Constructor<BaseIterableClient>>(Base: T
23
23
  */
24
24
  getListPreviewUsers(params: GetListPreviewUsersParams): Promise<GetListPreviewUsersResponse>;
25
25
  client: import("axios").AxiosInstance;
26
- "__#private@#httpAgent"?: import("http").Agent;
27
- "__#private@#httpsAgent"?: import("https").Agent;
26
+ #httpAgent?: import("http").Agent;
27
+ #httpsAgent?: import("https").Agent;
28
28
  parseNdjson(data: string): any[];
29
29
  parseCsv(data: string): any[];
30
30
  validateResponse<T_1>(response: {
@@ -23,8 +23,8 @@ export declare function Messaging<T extends Constructor<BaseIterableClient>>(Bas
23
23
  getChannels(): Promise<ChannelsResponse>;
24
24
  getMessageTypes(): Promise<MessageTypesResponse>;
25
25
  client: import("axios").AxiosInstance;
26
- "__#private@#httpAgent"?: import("http").Agent;
27
- "__#private@#httpsAgent"?: import("https").Agent;
26
+ #httpAgent?: import("http").Agent;
27
+ #httpsAgent?: import("https").Agent;
28
28
  parseNdjson(data: string): any[];
29
29
  parseCsv(data: string): any[];
30
30
  validateResponse<T_1>(response: {
@@ -21,8 +21,8 @@ export declare function Snippets<T extends Constructor<BaseIterableClient>>(Base
21
21
  signal?: AbortSignal;
22
22
  }): Promise<DeleteSnippetResponse>;
23
23
  client: import("axios").AxiosInstance;
24
- "__#private@#httpAgent"?: import("http").Agent;
25
- "__#private@#httpsAgent"?: import("https").Agent;
24
+ #httpAgent?: import("http").Agent;
25
+ #httpsAgent?: import("https").Agent;
26
26
  parseNdjson(data: string): any[];
27
27
  parseCsv(data: string): any[];
28
28
  validateResponse<T_1>(response: {
@@ -10,8 +10,8 @@ export declare function Subscriptions<T extends Constructor<BaseIterableClient>>
10
10
  unsubscribeUserByEmail(params: UnsubscribeUserByEmailParams): Promise<IterableSuccessResponse>;
11
11
  unsubscribeUserByUserId(params: UnsubscribeUserByUserIdParams): Promise<IterableSuccessResponse>;
12
12
  client: import("axios").AxiosInstance;
13
- "__#private@#httpAgent"?: import("http").Agent;
14
- "__#private@#httpsAgent"?: import("https").Agent;
13
+ #httpAgent?: import("http").Agent;
14
+ #httpsAgent?: import("https").Agent;
15
15
  parseNdjson(data: string): any[];
16
16
  parseCsv(data: string): any[];
17
17
  validateResponse<T_1>(response: {
@@ -8,12 +8,12 @@ import type { BaseIterableClient } from "./base.js";
8
8
  */
9
9
  export declare function Templates<T extends Constructor<BaseIterableClient>>(Base: T): {
10
10
  new (...args: any[]): {
11
- "__#private@#getTemplateByType"<T_1>(pathSegment: string, params: GetTemplateParams, schema: z.ZodSchema<T_1>): Promise<T_1>;
12
- "__#private@#createTemplateByType"<T_1>(pathSegment: string, template: T_1): Promise<IterableSuccessResponse>;
13
- "__#private@#updateTemplateByType"<T_1>(pathSegment: string, options: T_1): Promise<IterableSuccessResponse>;
11
+ #getTemplateByType<T_1>(pathSegment: string, params: GetTemplateParams, schema: z.ZodSchema<T_1>): Promise<T_1>;
12
+ #createTemplateByType<T_1>(pathSegment: string, template: T_1): Promise<IterableSuccessResponse>;
13
+ #updateTemplateByType<T_1>(pathSegment: string, options: T_1): Promise<IterableSuccessResponse>;
14
14
  deleteTemplates(templateIds: number[]): Promise<BulkDeleteTemplatesResponse>;
15
- "__#private@#sendTemplateProof"(pathSegment: string, request: TemplateProofRequest): Promise<IterableSuccessResponse>;
16
- "__#private@#previewTemplate"(pathSegment: string, params: PreviewTemplateParams): Promise<string>;
15
+ #sendTemplateProof(pathSegment: string, request: TemplateProofRequest): Promise<IterableSuccessResponse>;
16
+ #previewTemplate(pathSegment: string, params: PreviewTemplateParams): Promise<string>;
17
17
  getTemplates(options?: GetTemplatesParams): Promise<GetTemplatesResponse>;
18
18
  getTemplateByClientId(clientTemplateId: string): Promise<GetTemplateByClientIdResponse>;
19
19
  bulkDeleteTemplates(params: BulkDeleteTemplatesParams): Promise<IterableSuccessResponse>;
@@ -36,8 +36,8 @@ export declare function Templates<T extends Constructor<BaseIterableClient>>(Bas
36
36
  sendInAppTemplateProof(request: TemplateProofRequest): Promise<IterableSuccessResponse>;
37
37
  previewInAppTemplate(params: PreviewTemplateParams): Promise<string>;
38
38
  client: import("axios").AxiosInstance;
39
- "__#private@#httpAgent"?: import("http").Agent;
40
- "__#private@#httpsAgent"?: import("https").Agent;
39
+ #httpAgent?: import("http").Agent;
40
+ #httpsAgent?: import("https").Agent;
41
41
  parseNdjson(data: string): any[];
42
42
  parseCsv(data: string): any[];
43
43
  validateResponse<T_1>(response: {
@@ -1 +1 @@
1
- {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":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AuB,CAAC;mCAKxB,uBAAuB,GAC/B,OAAO,CAAC,uBAAuB,CAAC;sCAKxB,oBAAoB,GAC5B,OAAO,CAAC,uBAAuB,CAAC;gCAKL,iBAAiB,GAAG,OAAO,CAAC,YAAY,CAAC;qCAK3D,wBAAwB,GACjC,OAAO,CAAC,uBAAuB,CAAC;oCAKxB,wBAAwB,GAChC,OAAO,CAAC,uBAAuB,CAAC;uCAKxB,oBAAoB,GAC5B,OAAO,CAAC,uBAAuB,CAAC;iCAKJ,iBAAiB,GAAG,OAAO,CAAC,aAAa,CAAC;sCAK7D,yBAAyB,GAClC,OAAO,CAAC,uBAAuB,CAAC;qCAKxB,yBAAyB,GACjC,OAAO,CAAC,uBAAuB,CAAC;wCAKxB,oBAAoB,GAC5B,OAAO,CAAC,uBAAuB,CAAC;qCAIA,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC;;;;;;;;kBA/F/C,CAAC;mBAAO,CAAC;;;;;MAmGvC"}
@@ -60,8 +60,8 @@ export declare function Users<T extends Constructor<BaseIterableClient>>(Base: T
60
60
  */
61
61
  getUserFields(): Promise<GetUserFieldsResponse>;
62
62
  client: import("axios").AxiosInstance;
63
- "__#private@#httpAgent"?: import("http").Agent;
64
- "__#private@#httpsAgent"?: import("https").Agent;
63
+ #httpAgent?: import("http").Agent;
64
+ #httpsAgent?: import("https").Agent;
65
65
  parseNdjson(data: string): any[];
66
66
  parseCsv(data: string): any[];
67
67
  validateResponse<T_1>(response: {
@@ -9,8 +9,8 @@ export declare function Webhooks<T extends Constructor<BaseIterableClient>>(Base
9
9
  getWebhooks(): Promise<GetWebhooksResponse>;
10
10
  updateWebhook(options: UpdateWebhookParams): Promise<Webhook>;
11
11
  client: import("axios").AxiosInstance;
12
- "__#private@#httpAgent"?: import("http").Agent;
13
- "__#private@#httpsAgent"?: import("https").Agent;
12
+ #httpAgent?: import("http").Agent;
13
+ #httpsAgent?: import("https").Agent;
14
14
  parseNdjson(data: string): any[];
15
15
  parseCsv(data: string): any[];
16
16
  validateResponse<T_1>(response: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iterable/api",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
4
4
  "description": "TypeScript client library for the Iterable API",
5
5
  "keywords": [
6
6
  "iterable",
@@ -26,6 +26,9 @@
26
26
  "node": ">=18.0.0"
27
27
  },
28
28
  "packageManager": "pnpm@10.17.0",
29
+ "publishConfig": {
30
+ "access": "public"
31
+ },
29
32
  "pnpm": {
30
33
  "minimumReleaseAge": 4320,
31
34
  "minimumReleaseAgeExclude": [