deliveryapi 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -309,6 +309,13 @@ export interface WebhookCreateInput {
309
309
  url: string;
310
310
  name?: string;
311
311
  }
312
+ export interface WebhookCreateResult {
313
+ endpointId: string;
314
+ url: string;
315
+ name?: string;
316
+ webhookSecret: string;
317
+ dateCreated: string;
318
+ }
312
319
  export interface WebhookUpdateInput {
313
320
  name: string;
314
321
  }
@@ -380,7 +387,7 @@ declare class WebhooksResource {
380
387
  /**
381
388
  * 웹훅 엔드포인트 등록
382
389
  */
383
- create(data: WebhookCreateInput): Promise<WebhookEndpoint>;
390
+ create(data: WebhookCreateInput): Promise<WebhookCreateResult>;
384
391
  /**
385
392
  * 웹훅 엔드포인트 목록 조회
386
393
  */
package/dist/index.d.ts CHANGED
@@ -309,6 +309,13 @@ export interface WebhookCreateInput {
309
309
  url: string;
310
310
  name?: string;
311
311
  }
312
+ export interface WebhookCreateResult {
313
+ endpointId: string;
314
+ url: string;
315
+ name?: string;
316
+ webhookSecret: string;
317
+ dateCreated: string;
318
+ }
312
319
  export interface WebhookUpdateInput {
313
320
  name: string;
314
321
  }
@@ -380,7 +387,7 @@ declare class WebhooksResource {
380
387
  /**
381
388
  * 웹훅 엔드포인트 등록
382
389
  */
383
- create(data: WebhookCreateInput): Promise<WebhookEndpoint>;
390
+ create(data: WebhookCreateInput): Promise<WebhookCreateResult>;
384
391
  /**
385
392
  * 웹훅 엔드포인트 목록 조회
386
393
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deliveryapi",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Official JavaScript/TypeScript SDK for the DeliveryAPI",
5
5
  "keywords": [
6
6
  "delivery",