@uniformdev/webhooks 20.47.2-alpha.4 → 20.48.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.
package/dist/index.d.mts CHANGED
@@ -2197,12 +2197,40 @@ declare const ProjectMapUpdateDefinition: Definition<z.ZodObject<{
2197
2197
  id: z.ZodString;
2198
2198
  base_url: z.ZodOptional<z.ZodString>;
2199
2199
  project_id: z.ZodString;
2200
+ initiator: z.ZodObject<{
2201
+ id: z.ZodString;
2202
+ name: z.ZodOptional<z.ZodString>;
2203
+ email: z.ZodOptional<z.ZodString>;
2204
+ is_api_key: z.ZodBoolean;
2205
+ }, "strict", z.ZodTypeAny, {
2206
+ id: string;
2207
+ is_api_key: boolean;
2208
+ name?: string | undefined;
2209
+ email?: string | undefined;
2210
+ }, {
2211
+ id: string;
2212
+ is_api_key: boolean;
2213
+ name?: string | undefined;
2214
+ email?: string | undefined;
2215
+ }>;
2200
2216
  }, "strip", z.ZodTypeAny, {
2201
2217
  id: string;
2218
+ initiator: {
2219
+ id: string;
2220
+ is_api_key: boolean;
2221
+ name?: string | undefined;
2222
+ email?: string | undefined;
2223
+ };
2202
2224
  project_id: string;
2203
2225
  base_url?: string | undefined;
2204
2226
  }, {
2205
2227
  id: string;
2228
+ initiator: {
2229
+ id: string;
2230
+ is_api_key: boolean;
2231
+ name?: string | undefined;
2232
+ email?: string | undefined;
2233
+ };
2206
2234
  project_id: string;
2207
2235
  base_url?: string | undefined;
2208
2236
  }>, "projectmap.update">;
package/dist/index.d.ts CHANGED
@@ -2197,12 +2197,40 @@ declare const ProjectMapUpdateDefinition: Definition<z.ZodObject<{
2197
2197
  id: z.ZodString;
2198
2198
  base_url: z.ZodOptional<z.ZodString>;
2199
2199
  project_id: z.ZodString;
2200
+ initiator: z.ZodObject<{
2201
+ id: z.ZodString;
2202
+ name: z.ZodOptional<z.ZodString>;
2203
+ email: z.ZodOptional<z.ZodString>;
2204
+ is_api_key: z.ZodBoolean;
2205
+ }, "strict", z.ZodTypeAny, {
2206
+ id: string;
2207
+ is_api_key: boolean;
2208
+ name?: string | undefined;
2209
+ email?: string | undefined;
2210
+ }, {
2211
+ id: string;
2212
+ is_api_key: boolean;
2213
+ name?: string | undefined;
2214
+ email?: string | undefined;
2215
+ }>;
2200
2216
  }, "strip", z.ZodTypeAny, {
2201
2217
  id: string;
2218
+ initiator: {
2219
+ id: string;
2220
+ is_api_key: boolean;
2221
+ name?: string | undefined;
2222
+ email?: string | undefined;
2223
+ };
2202
2224
  project_id: string;
2203
2225
  base_url?: string | undefined;
2204
2226
  }, {
2205
2227
  id: string;
2228
+ initiator: {
2229
+ id: string;
2230
+ is_api_key: boolean;
2231
+ name?: string | undefined;
2232
+ email?: string | undefined;
2233
+ };
2206
2234
  project_id: string;
2207
2235
  base_url?: string | undefined;
2208
2236
  }>, "projectmap.update">;
package/dist/index.esm.js CHANGED
@@ -795,13 +795,20 @@ var ProjectMapUpdateDefinition = definition(
795
795
  schema: z9.object({
796
796
  id: z9.string(),
797
797
  base_url: z9.string().optional(),
798
- project_id: z9.string()
798
+ project_id: z9.string(),
799
+ initiator: webhookInitiatorSchema
799
800
  })
800
801
  },
801
802
  {
802
803
  id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
803
804
  base_url: "https://stuff.org",
804
- project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496"
805
+ project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
806
+ initiator: {
807
+ id: "useruniqueid",
808
+ email: "foo@bar.com",
809
+ name: "A User",
810
+ is_api_key: false
811
+ }
805
812
  }
806
813
  );
807
814
  var ProjectMapUpdatedEventName = ProjectMapUpdateDefinition["event"];
package/dist/index.js CHANGED
@@ -904,13 +904,20 @@ var ProjectMapUpdateDefinition = definition(
904
904
  schema: z9.object({
905
905
  id: z9.string(),
906
906
  base_url: z9.string().optional(),
907
- project_id: z9.string()
907
+ project_id: z9.string(),
908
+ initiator: webhookInitiatorSchema
908
909
  })
909
910
  },
910
911
  {
911
912
  id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
912
913
  base_url: "https://stuff.org",
913
- project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496"
914
+ project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
915
+ initiator: {
916
+ id: "useruniqueid",
917
+ email: "foo@bar.com",
918
+ name: "A User",
919
+ is_api_key: false
920
+ }
914
921
  }
915
922
  );
916
923
  var ProjectMapUpdatedEventName = ProjectMapUpdateDefinition["event"];
package/dist/index.mjs CHANGED
@@ -795,13 +795,20 @@ var ProjectMapUpdateDefinition = definition(
795
795
  schema: z9.object({
796
796
  id: z9.string(),
797
797
  base_url: z9.string().optional(),
798
- project_id: z9.string()
798
+ project_id: z9.string(),
799
+ initiator: webhookInitiatorSchema
799
800
  })
800
801
  },
801
802
  {
802
803
  id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
803
804
  base_url: "https://stuff.org",
804
- project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496"
805
+ project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
806
+ initiator: {
807
+ id: "useruniqueid",
808
+ email: "foo@bar.com",
809
+ name: "A User",
810
+ is_api_key: false
811
+ }
805
812
  }
806
813
  );
807
814
  var ProjectMapUpdatedEventName = ProjectMapUpdateDefinition["event"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/webhooks",
3
- "version": "20.47.2-alpha.4+01993700ac",
3
+ "version": "20.48.0",
4
4
  "description": "Uniform Webhooks",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -40,5 +40,5 @@
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
- "gitHead": "01993700aca23ef9a020e7d4b044577ab1114642"
43
+ "gitHead": "20645902724e610cbd4f75fe062aa5034db0a7db"
44
44
  }