@xube/kit-aws-hooks 0.0.99 → 0.0.100

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.
@@ -1,3 +1,4 @@
1
1
  export declare const WEBHOOK_TABLE_NAME_ENV_VAR = "WEBHOOK_TABLE_NAME";
2
2
  export declare const WEBHOOK_TABLE_INVERTED_INDEX_NAME_ENV_VAR = "WEBHOOK_TABLE_INVERTED_INDEX_NAME";
3
3
  export declare const WEBHOOK_TYPE = "webhook";
4
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,uBAAuB,CAAC;AAC/D,eAAO,MAAM,yCAAyC,sCACjB,CAAC;AAEtC,eAAO,MAAM,YAAY,YAAY,CAAC"}
package/dist/create.d.ts CHANGED
@@ -2,3 +2,4 @@ import { CreateWebhookForAccountRequest, CreateWebhookForAccountResponse } from
2
2
  import { XubeResponse } from "@xube/kit-request";
3
3
  import { XubeLog } from "@xube/kit-log";
4
4
  export declare const createWebhookForAccount: (request: CreateWebhookForAccountRequest, tableName: string, log?: XubeLog) => Promise<XubeResponse<CreateWebhookForAccountResponse>>;
5
+ //# sourceMappingURL=create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../src/create.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,8BAA8B,EAC9B,+BAA+B,EAEhC,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIjD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAGxC,eAAO,MAAM,uBAAuB,YACzB,8BAA8B,aAC5B,MAAM,QACZ,OAAO,KACX,OAAO,CAAC,YAAY,CAAC,+BAA+B,CAAC,CAkDvD,CAAC"}
package/dist/delete.d.ts CHANGED
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=delete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../src/delete.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
1
  import { CreateWebhookForAccountRequest } from "./schemas/create";
2
2
  import { WebhookEndpointItem } from "./schemas/webhook";
3
3
  export declare const generateWebhookItems: (request: CreateWebhookForAccountRequest) => WebhookEndpointItem[];
4
+ //# sourceMappingURL=generate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../src/generate.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,8BAA8B,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAIxD,eAAO,MAAM,oBAAoB,YACtB,8BAA8B,KACtC,mBAAmB,EA+BrB,CAAC"}
package/dist/get.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export declare const getWebhooks: () => void;
2
+ //# sourceMappingURL=get.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../src/get.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,YAEvB,CAAA"}
package/dist/index.d.ts CHANGED
@@ -8,3 +8,4 @@ export * from "./get";
8
8
  export * from "./keys";
9
9
  export * from "./send";
10
10
  export * from "./types";
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AAEzB,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
package/dist/keys.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export declare const getWebhookPartitionKey: (account: string) => string;
2
2
  export declare const getWebhookSortKey: (id: string, type: string) => string;
3
+ //# sourceMappingURL=keys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../src/keys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,YAAa,MAAM,WAErD,CAAA;AAED,eAAO,MAAM,iBAAiB,OAAQ,MAAM,QAAQ,MAAM,WAEzD,CAAA"}
@@ -82,3 +82,4 @@ export declare const CreateWebhookResponseSchema: z.ZodObject<{
82
82
  success: boolean;
83
83
  }>;
84
84
  export type CreateWebhookResponse = z.infer<typeof CreateWebhookResponseSchema>;
85
+ //# sourceMappingURL=create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../src/schemas/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM/C,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,oCAAoC,CAC5C,CAAC;AACF,eAAO,MAAM,gCAAgC,QACtC,OAAO,KACX,GAAG,IAAI,8BAGT,CAAC;AAEF,eAAO,MAAM,qCAAqC;;;;;;EAEhD,CAAC;AACH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,qCAAqC,CAC7C,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIrC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;EACD,CAAC;AACxC,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
@@ -12,3 +12,4 @@ export declare const HookEndpointSchema: z.ZodObject<{
12
12
  headers?: Record<string, string> | undefined;
13
13
  }>;
14
14
  export type HookEndpoint = z.infer<typeof HookEndpointSchema>;
15
+ //# sourceMappingURL=endpoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpoint.d.ts","sourceRoot":"","sources":["../../src/schemas/endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,wBAAwB,uCAAuB,CAAC;AAC7D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,kBAAkB;;;;;;;;;EAG7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -77,3 +77,4 @@ export declare const WebhookEndpointItemSchema: z.ZodObject<z.objectUtil.extendS
77
77
  }>;
78
78
  export type WebhookEndpointItem = z.infer<typeof WebhookEndpointItemSchema>;
79
79
  export declare const isWebhookEndpointItem: (obj: unknown) => obj is WebhookEndpointItem;
80
+ //# sourceMappingURL=webhook.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../src/schemas/webhook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,eAAO,MAAM,iBAAiB,QAAS,OAAO,KAAG,GAAG,IAAI,eACV,CAAC;AAE/C,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;OAXJ,EAAG,SAAS;QAE9C,EAAC,WAAW,CAAC,EAAE,SAAS;UAAa,EAAE,SACvC;QAAS,EAAI,SAAQ;;QAAc,EAAG,SACjC;QAAS,EACZ,SAAM;;;;;;;;;;;;;;;;;;;;;;;;;EAOsC,CAAC;AAC/C,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,eAAO,MAAM,qBAAqB,QAC3B,OAAO,KACX,GAAG,IAAI,mBACwC,CAAC"}
package/dist/send.d.ts CHANGED
@@ -2,3 +2,4 @@ import { XubeResponse } from "@xube/kit-request";
2
2
  import { XubeLog } from "@xube/kit-log";
3
3
  import { TableItem } from "@xube/kit-aws-schema";
4
4
  export declare const sendDataToEndpoints: (webhookTableName: string, indexName: string, items: TableItem[], log?: XubeLog) => Promise<XubeResponse<boolean>>;
5
+ //# sourceMappingURL=send.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send.d.ts","sourceRoot":"","sources":["../src/send.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAMhE,eAAO,MAAM,mBAAmB,qBACZ,MAAM,aACb,MAAM,SACV,SAAS,EAAE,QACb,OAAO,KACX,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAiK/B,CAAC"}
@@ -3,3 +3,4 @@ import { XubeLog } from "@xube/kit-log";
3
3
  import { TimeSeries } from "@xube/kit-schema";
4
4
  export declare const stageDataForSend: (items: TableItem[]) => void;
5
5
  export declare const getTimeSeriesDataFromData: (items: TableItem[], log?: XubeLog) => TimeSeries;
6
+ //# sourceMappingURL=transform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../src/transform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,UAAU,EAA6B,MAAM,kBAAkB,CAAC;AAEzE,eAAO,MAAM,gBAAgB,UAAW,SAAS,EAAE,SAElD,CAAC;AAEF,eAAO,MAAM,yBAAyB,UAC7B,SAAS,EAAE,QACb,OAAO,KACX,UAoEF,CAAC"}
package/dist/types.d.ts CHANGED
@@ -8,3 +8,4 @@ export declare const WebhookTypesSchema: z.ZodNativeEnum<{
8
8
  readonly event: "event";
9
9
  }>;
10
10
  export type WebhookType = z.infer<typeof WebhookTypesSchema>;
11
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAGX,eAAO,MAAM,kBAAkB;;;EAA6B,CAAC;AAC7D,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xube/kit-aws-hooks",
3
- "version": "0.0.99",
3
+ "version": "0.0.100",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -17,15 +17,15 @@
17
17
  },
18
18
  "homepage": "https://github.com/XubeLtd/dev-kit#readme",
19
19
  "devDependencies": {
20
- "@xube/kit-build": "^0.0.99"
20
+ "@xube/kit-build": "^0.0.100"
21
21
  },
22
22
  "dependencies": {
23
- "@xube/kit-aws": "^0.0.99",
24
- "@xube/kit-aws-data-schema": "^0.0.99",
25
- "@xube/kit-aws-schema": "^0.0.99",
26
- "@xube/kit-log": "^0.0.99",
27
- "@xube/kit-request": "^0.0.99",
28
- "@xube/kit-schema": "^0.0.99",
23
+ "@xube/kit-aws": "^0.0.100",
24
+ "@xube/kit-aws-data-schema": "^0.0.100",
25
+ "@xube/kit-aws-schema": "^0.0.100",
26
+ "@xube/kit-log": "^0.0.100",
27
+ "@xube/kit-request": "^0.0.100",
28
+ "@xube/kit-schema": "^0.0.100",
29
29
  "zod": "^3.23.8"
30
30
  }
31
31
  }