@wix/auto_sdk_gbp_media-uploads 1.0.3 → 1.0.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 (38) hide show
  1. package/build/cjs/index.d.ts +3 -3
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +3 -3
  4. package/build/cjs/index.typings.js.map +1 -1
  5. package/build/es/index.d.mts +3 -3
  6. package/build/es/index.mjs.map +1 -1
  7. package/build/es/index.typings.d.mts +3 -3
  8. package/build/es/index.typings.mjs.map +1 -1
  9. package/build/internal/cjs/index.d.ts +3 -3
  10. package/build/internal/cjs/index.typings.d.ts +3 -3
  11. package/build/internal/es/index.d.mts +3 -3
  12. package/build/internal/es/index.typings.d.mts +3 -3
  13. package/package.json +4 -11
  14. package/build/cjs/schemas.d.ts +0 -195
  15. package/build/cjs/schemas.js +0 -307
  16. package/build/cjs/schemas.js.map +0 -1
  17. package/build/es/schemas.d.mts +0 -195
  18. package/build/es/schemas.mjs +0 -265
  19. package/build/es/schemas.mjs.map +0 -1
  20. package/build/internal/cjs/index.js +0 -440
  21. package/build/internal/cjs/index.js.map +0 -1
  22. package/build/internal/cjs/index.typings.js +0 -410
  23. package/build/internal/cjs/index.typings.js.map +0 -1
  24. package/build/internal/cjs/meta.js +0 -383
  25. package/build/internal/cjs/meta.js.map +0 -1
  26. package/build/internal/cjs/schemas.d.ts +0 -195
  27. package/build/internal/cjs/schemas.js +0 -307
  28. package/build/internal/cjs/schemas.js.map +0 -1
  29. package/build/internal/es/index.mjs +0 -409
  30. package/build/internal/es/index.mjs.map +0 -1
  31. package/build/internal/es/index.typings.mjs +0 -379
  32. package/build/internal/es/index.typings.mjs.map +0 -1
  33. package/build/internal/es/meta.mjs +0 -349
  34. package/build/internal/es/meta.mjs.map +0 -1
  35. package/build/internal/es/schemas.d.mts +0 -195
  36. package/build/internal/es/schemas.mjs +0 -265
  37. package/build/internal/es/schemas.mjs.map +0 -1
  38. package/schemas/package.json +0 -3
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../schemas.ts","../../src/gbp-location-v1-media-upload-media-uploads.schemas.ts"],"sourcesContent":["export * from './src/gbp-location-v1-media-upload-media-uploads.schemas.js';\n","import * as z from 'zod';\n\nexport const BulkCreateMediaUploadsRequest = /*#__PURE__*/ z.object({\n mediaUploads: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Queued change ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n locationId: z\n .string()\n .describe(\n \"ID of the location this change applies to. This is Google's location\\nidentifier.\"\n )\n .min(1)\n .max(255)\n .optional(),\n batchId: z\n .string()\n .describe(\n 'Groups the changes queued by one Bulk Create Media Uploads call. Useful for\\ntroubleshooting, since one save can produce more than one batch.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n slotKey: z\n .string()\n .describe(\n \"Your own key for this photo: `logo`, `cover`, or `photo:<id>`.\\n\\nSet it to something stable and meaningful to you. It's how a failure is\\nmatched back to the photo that caused it, and it's part of what makes a\\nrepeated submission a duplicate rather than a second change.\"\n )\n .max(255)\n .optional(),\n sourceUrl: z\n .string()\n .describe(\n 'Publicly reachable URL Google fetches the image from. Additions only.\\n\\nKeep it reachable well beyond the upload itself. A failure report renders\\nthis URL as a thumbnail, possibly weeks later.'\n )\n .max(2048)\n .optional(),\n category: z\n .enum([\n 'COVER',\n 'PROFILE',\n 'LOGO',\n 'EXTERIOR',\n 'INTERIOR',\n 'PRODUCT',\n 'AT_WORK',\n 'FOOD_AND_DRINK',\n 'MENU',\n 'COMMON_AREA',\n 'ROOMS',\n 'TEAMS',\n 'ADDITIONAL',\n ])\n .optional(),\n format: z.enum(['PHOTO', 'VIDEO']).optional(),\n operation: z.enum(['CREATE', 'DELETE']).optional(),\n sequence: z\n .number()\n .int()\n .describe(\n \"Position in the order the queue applies changes, assigned by the server.\\n\\nEvery removal comes before every addition, because Google rejects new photos\\non a profile that's already at its limit, so the old ones have to go first.\\nAdditions then follow as logo, cover, and gallery in the order given.\"\n )\n .optional(),\n state: z.enum(['PENDING', 'UPLOADING', 'FAILED']).optional(),\n attempts: z\n .number()\n .int()\n .describe('How many times this change has been attempted.')\n .optional(),\n mediaKey: z\n .string()\n .describe(\n \"Google's identifier for the photo to remove. Removals only.\"\n )\n .max(255)\n .optional(),\n failure: z\n .object({\n reason: z\n .enum([\n 'IMAGE_TOO_SMALL',\n 'ASPECT_RATIO_REJECTED',\n 'FORMAT_UNSUPPORTED',\n 'SOURCE_UNREACHABLE',\n 'PERMISSION_REVOKED',\n 'RATE_LIMIT_EXHAUSTED',\n 'UPLOAD_UNVERIFIED',\n ])\n .optional(),\n })\n .describe(\n 'Why this change failed. Present only when `state` is `FAILED`.'\n )\n .optional(),\n _createdDate: z\n .date()\n .describe('Date and time the change was queued.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the change was last updated.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Revision number, incremented on every update.')\n .optional(),\n })\n )\n .min(1)\n .max(52),\n options: z\n .object({\n returnEntity: z\n .boolean()\n .describe('Whether to return each queued item in `results.item`.')\n .optional(),\n })\n .optional(),\n});\nexport const BulkCreateMediaUploadsResponse = /*#__PURE__*/ z.object({\n results: z\n .array(\n z.object({\n itemMetadata: z\n .object({\n _id: z\n .string()\n .describe(\n \"Item ID. Provided only whenever possible. For example, `itemId` can't be provided when item creation has failed.\"\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n originalIndex: z\n .number()\n .int()\n .describe(\n 'Index of the item within the request array. Allows for correlation between request and response items.'\n )\n .min(0)\n .optional(),\n success: z\n .boolean()\n .describe(\n 'Whether the requested action for this item was successful. When `false`, the `error` field is returned.'\n )\n .optional(),\n error: z\n .object({\n code: z.string().describe('Error code.').optional(),\n description: z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n .describe('Details about the error in case of failure.')\n .optional(),\n })\n .describe(\"Whether this item was queued, and why not if it wasn't.\")\n .optional(),\n item: z\n .object({\n _id: z\n .string()\n .describe('Queued change ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n locationId: z\n .string()\n .describe(\n \"ID of the location this change applies to. This is Google's location\\nidentifier.\"\n )\n .min(1)\n .max(255)\n .optional(),\n batchId: z\n .string()\n .describe(\n 'Groups the changes queued by one Bulk Create Media Uploads call. Useful for\\ntroubleshooting, since one save can produce more than one batch.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n slotKey: z\n .string()\n .describe(\n \"Your own key for this photo: `logo`, `cover`, or `photo:<id>`.\\n\\nSet it to something stable and meaningful to you. It's how a failure is\\nmatched back to the photo that caused it, and it's part of what makes a\\nrepeated submission a duplicate rather than a second change.\"\n )\n .max(255)\n .optional(),\n sourceUrl: z\n .string()\n .describe(\n 'Publicly reachable URL Google fetches the image from. Additions only.\\n\\nKeep it reachable well beyond the upload itself. A failure report renders\\nthis URL as a thumbnail, possibly weeks later.'\n )\n .max(2048)\n .optional(),\n category: z\n .enum([\n 'COVER',\n 'PROFILE',\n 'LOGO',\n 'EXTERIOR',\n 'INTERIOR',\n 'PRODUCT',\n 'AT_WORK',\n 'FOOD_AND_DRINK',\n 'MENU',\n 'COMMON_AREA',\n 'ROOMS',\n 'TEAMS',\n 'ADDITIONAL',\n ])\n .describe(\n 'Where the photo appears on the profile. Additions only.'\n )\n .optional(),\n format: z\n .enum(['PHOTO', 'VIDEO'])\n .describe('Media type of the photo. Additions only.')\n .optional(),\n operation: z\n .enum(['CREATE', 'DELETE'])\n .describe(\n 'Whether this change adds a photo to the profile or removes one.'\n )\n .optional(),\n sequence: z\n .number()\n .int()\n .describe(\n \"Position in the order the queue applies changes, assigned by the server.\\n\\nEvery removal comes before every addition, because Google rejects new photos\\non a profile that's already at its limit, so the old ones have to go first.\\nAdditions then follow as logo, cover, and gallery in the order given.\"\n )\n .optional(),\n state: z\n .enum(['PENDING', 'UPLOADING', 'FAILED'])\n .describe(\n 'Whether this change is waiting, being applied, or has failed.'\n )\n .optional(),\n attempts: z\n .number()\n .int()\n .describe('How many times this change has been attempted.')\n .optional(),\n mediaKey: z\n .string()\n .describe(\n \"Google's identifier for the photo to remove. Removals only.\"\n )\n .max(255)\n .optional(),\n failure: z\n .object({\n reason: z\n .enum([\n 'IMAGE_TOO_SMALL',\n 'ASPECT_RATIO_REJECTED',\n 'FORMAT_UNSUPPORTED',\n 'SOURCE_UNREACHABLE',\n 'PERMISSION_REVOKED',\n 'RATE_LIMIT_EXHAUSTED',\n 'UPLOAD_UNVERIFIED',\n ])\n .describe(\n 'Why the change failed, in terms you can show a site owner.'\n )\n .optional(),\n })\n .describe(\n 'Why this change failed. Present only when `state` is `FAILED`.'\n )\n .optional(),\n _createdDate: z\n .date()\n .describe('Date and time the change was queued.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the change was last updated.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Revision number, incremented on every update.')\n .optional(),\n })\n .describe(\n 'The queued item. Returned only when `returnEntity` is `true`.'\n )\n .optional(),\n })\n )\n .min(1)\n .max(52)\n .optional(),\n bulkActionMetadata: z\n .object({\n totalSuccesses: z\n .number()\n .int()\n .describe('Number of items that were successfully processed.')\n .min(0)\n .optional(),\n totalFailures: z\n .number()\n .int()\n .describe(\"Number of items that couldn't be processed.\")\n .min(0)\n .optional(),\n undetailedFailures: z\n .number()\n .int()\n .describe(\n 'Number of failures without details because detailed failure threshold was exceeded.'\n )\n .min(0)\n .optional(),\n })\n .describe('How many items succeeded and failed.')\n .optional(),\n});\nexport const ListMediaUploadsRequest = /*#__PURE__*/ z.object({\n locationId: z\n .string()\n .describe(\"ID of the location. This is Google's location identifier.\")\n .min(1)\n .max(255),\n});\nexport const ListMediaUploadsResponse = /*#__PURE__*/ z.object({\n mediaUploads: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Queued change ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n locationId: z\n .string()\n .describe(\n \"ID of the location this change applies to. This is Google's location\\nidentifier.\"\n )\n .min(1)\n .max(255)\n .optional(),\n batchId: z\n .string()\n .describe(\n 'Groups the changes queued by one Bulk Create Media Uploads call. Useful for\\ntroubleshooting, since one save can produce more than one batch.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n slotKey: z\n .string()\n .describe(\n \"Your own key for this photo: `logo`, `cover`, or `photo:<id>`.\\n\\nSet it to something stable and meaningful to you. It's how a failure is\\nmatched back to the photo that caused it, and it's part of what makes a\\nrepeated submission a duplicate rather than a second change.\"\n )\n .max(255)\n .optional(),\n sourceUrl: z\n .string()\n .describe(\n 'Publicly reachable URL Google fetches the image from. Additions only.\\n\\nKeep it reachable well beyond the upload itself. A failure report renders\\nthis URL as a thumbnail, possibly weeks later.'\n )\n .max(2048)\n .optional(),\n category: z\n .enum([\n 'COVER',\n 'PROFILE',\n 'LOGO',\n 'EXTERIOR',\n 'INTERIOR',\n 'PRODUCT',\n 'AT_WORK',\n 'FOOD_AND_DRINK',\n 'MENU',\n 'COMMON_AREA',\n 'ROOMS',\n 'TEAMS',\n 'ADDITIONAL',\n ])\n .describe('Where the photo appears on the profile. Additions only.')\n .optional(),\n format: z\n .enum(['PHOTO', 'VIDEO'])\n .describe('Media type of the photo. Additions only.')\n .optional(),\n operation: z\n .enum(['CREATE', 'DELETE'])\n .describe(\n 'Whether this change adds a photo to the profile or removes one.'\n )\n .optional(),\n sequence: z\n .number()\n .int()\n .describe(\n \"Position in the order the queue applies changes, assigned by the server.\\n\\nEvery removal comes before every addition, because Google rejects new photos\\non a profile that's already at its limit, so the old ones have to go first.\\nAdditions then follow as logo, cover, and gallery in the order given.\"\n )\n .optional(),\n state: z\n .enum(['PENDING', 'UPLOADING', 'FAILED'])\n .describe(\n 'Whether this change is waiting, being applied, or has failed.'\n )\n .optional(),\n attempts: z\n .number()\n .int()\n .describe('How many times this change has been attempted.')\n .optional(),\n mediaKey: z\n .string()\n .describe(\n \"Google's identifier for the photo to remove. Removals only.\"\n )\n .max(255)\n .optional(),\n failure: z\n .object({\n reason: z\n .enum([\n 'IMAGE_TOO_SMALL',\n 'ASPECT_RATIO_REJECTED',\n 'FORMAT_UNSUPPORTED',\n 'SOURCE_UNREACHABLE',\n 'PERMISSION_REVOKED',\n 'RATE_LIMIT_EXHAUSTED',\n 'UPLOAD_UNVERIFIED',\n ])\n .describe(\n 'Why the change failed, in terms you can show a site owner.'\n )\n .optional(),\n })\n .describe(\n 'Why this change failed. Present only when `state` is `FAILED`.'\n )\n .optional(),\n _createdDate: z\n .date()\n .describe('Date and time the change was queued.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the change was last updated.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Revision number, incremented on every update.')\n .optional(),\n })\n )\n .max(500)\n .optional(),\n});\nexport const DismissMediaUploadFailuresRequest = /*#__PURE__*/ z.object({\n locationId: z\n .string()\n .describe(\"ID of the location. This is Google's location identifier.\")\n .min(1)\n .max(255),\n});\nexport const DismissMediaUploadFailuresResponse = /*#__PURE__*/ z.object({\n dismissedCount: z\n .number()\n .int()\n .describe('How many failed changes were cleared.')\n .optional(),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,gCAA8C,gBAAE,SAAO;AAAA,EAClE,cACG;AAAA,IACG,SAAO;AAAA,MACP,KACG,SAAO,EACP,SAAS,mBAAmB,EAC5B;AAAA,QACC;AAAA,QACA;AAAA,MACF,EACC,SAAS;AAAA,MACZ,YACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,CAAC,EACL,IAAI,GAAG,EACP,SAAS;AAAA,MACZ,SACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC;AAAA,QACC;AAAA,QACA;AAAA,MACF,EACC,SAAS;AAAA,MACZ,SACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,GAAG,EACP,SAAS;AAAA,MACZ,WACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,IAAI,EACR,SAAS;AAAA,MACZ,UACG,OAAK;AAAA,QACJ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF,CAAC,EACA,SAAS;AAAA,MACZ,QAAU,OAAK,CAAC,SAAS,OAAO,CAAC,EAAE,SAAS;AA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AAAA,QACC;AAAA,MACF,EACC,IAAI,GAAG,EACP,SAAS;AAAA,MACZ,SACG,SAAO;AAAA,QACN,QACG,OAAK;AAAA,UACJ;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF,CAAC,EACA;AAAA,UACC;AAAA,QACF,EACC,SAAS;AAAA,MACd,CAAC,EACA;AAAA,QACC;AAAA,MACF,EACC,SAAS;AAAA,MACZ,cACG,OAAK,EACL,SAAS,sCAAsC,EAC/C,SAAS,EACT,SAAS;AAAA,MACZ,cACG,OAAK,EACL,SAAS,4CAA4C,EACrD,SAAS,EACT,SAAS;AAAA,MACZ,UACG,SAAO,EACP,MAAM,WAAW,8BAA8B,EAC/C,SAAS,+CAA+C,EACxD,SAAS;AAAA,IACd,CAAC;AAAA,EACH,EACC,IAAI,GAAG,EACP,SAAS;AACd,CAAC;AACM,IAAM,oCAAkD,gBAAE,SAAO;AAAA,EACtE,YACG,SAAO,EACP,SAAS,2DAA2D,EACpE,IAAI,CAAC,EACL,IAAI,GAAG;AACZ,CAAC;AACM,IAAM,qCAAmD,gBAAE,SAAO;AAAA,EACvE,gBACG,SAAO,EACP,IAAI,EACJ,SAAS,uCAAuC,EAChD,SAAS;AACd,CAAC;","names":[]}
@@ -1,195 +0,0 @@
1
- import * as z from 'zod';
2
-
3
- declare const BulkCreateMediaUploadsRequest: z.ZodObject<{
4
- mediaUploads: z.ZodArray<z.ZodObject<{
5
- _id: z.ZodOptional<z.ZodString>;
6
- locationId: z.ZodOptional<z.ZodString>;
7
- batchId: z.ZodOptional<z.ZodString>;
8
- slotKey: z.ZodOptional<z.ZodString>;
9
- sourceUrl: z.ZodOptional<z.ZodString>;
10
- category: z.ZodOptional<z.ZodEnum<{
11
- COVER: "COVER";
12
- PROFILE: "PROFILE";
13
- LOGO: "LOGO";
14
- EXTERIOR: "EXTERIOR";
15
- INTERIOR: "INTERIOR";
16
- PRODUCT: "PRODUCT";
17
- AT_WORK: "AT_WORK";
18
- FOOD_AND_DRINK: "FOOD_AND_DRINK";
19
- MENU: "MENU";
20
- COMMON_AREA: "COMMON_AREA";
21
- ROOMS: "ROOMS";
22
- TEAMS: "TEAMS";
23
- ADDITIONAL: "ADDITIONAL";
24
- }>>;
25
- format: z.ZodOptional<z.ZodEnum<{
26
- PHOTO: "PHOTO";
27
- VIDEO: "VIDEO";
28
- }>>;
29
- operation: z.ZodOptional<z.ZodEnum<{
30
- DELETE: "DELETE";
31
- CREATE: "CREATE";
32
- }>>;
33
- sequence: z.ZodOptional<z.ZodNumber>;
34
- state: z.ZodOptional<z.ZodEnum<{
35
- PENDING: "PENDING";
36
- UPLOADING: "UPLOADING";
37
- FAILED: "FAILED";
38
- }>>;
39
- attempts: z.ZodOptional<z.ZodNumber>;
40
- mediaKey: z.ZodOptional<z.ZodString>;
41
- failure: z.ZodOptional<z.ZodObject<{
42
- reason: z.ZodOptional<z.ZodEnum<{
43
- IMAGE_TOO_SMALL: "IMAGE_TOO_SMALL";
44
- ASPECT_RATIO_REJECTED: "ASPECT_RATIO_REJECTED";
45
- FORMAT_UNSUPPORTED: "FORMAT_UNSUPPORTED";
46
- SOURCE_UNREACHABLE: "SOURCE_UNREACHABLE";
47
- PERMISSION_REVOKED: "PERMISSION_REVOKED";
48
- RATE_LIMIT_EXHAUSTED: "RATE_LIMIT_EXHAUSTED";
49
- UPLOAD_UNVERIFIED: "UPLOAD_UNVERIFIED";
50
- }>>;
51
- }, z.core.$strip>>;
52
- _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
53
- _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
54
- revision: z.ZodOptional<z.ZodString>;
55
- }, z.core.$strip>>;
56
- options: z.ZodOptional<z.ZodObject<{
57
- returnEntity: z.ZodOptional<z.ZodBoolean>;
58
- }, z.core.$strip>>;
59
- }, z.core.$strip>;
60
- declare const BulkCreateMediaUploadsResponse: z.ZodObject<{
61
- results: z.ZodOptional<z.ZodArray<z.ZodObject<{
62
- itemMetadata: z.ZodOptional<z.ZodObject<{
63
- _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
64
- originalIndex: z.ZodOptional<z.ZodNumber>;
65
- success: z.ZodOptional<z.ZodBoolean>;
66
- error: z.ZodOptional<z.ZodObject<{
67
- code: z.ZodOptional<z.ZodString>;
68
- description: z.ZodOptional<z.ZodString>;
69
- data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
70
- }, z.core.$strip>>;
71
- }, z.core.$strip>>;
72
- item: z.ZodOptional<z.ZodObject<{
73
- _id: z.ZodOptional<z.ZodString>;
74
- locationId: z.ZodOptional<z.ZodString>;
75
- batchId: z.ZodOptional<z.ZodString>;
76
- slotKey: z.ZodOptional<z.ZodString>;
77
- sourceUrl: z.ZodOptional<z.ZodString>;
78
- category: z.ZodOptional<z.ZodEnum<{
79
- COVER: "COVER";
80
- PROFILE: "PROFILE";
81
- LOGO: "LOGO";
82
- EXTERIOR: "EXTERIOR";
83
- INTERIOR: "INTERIOR";
84
- PRODUCT: "PRODUCT";
85
- AT_WORK: "AT_WORK";
86
- FOOD_AND_DRINK: "FOOD_AND_DRINK";
87
- MENU: "MENU";
88
- COMMON_AREA: "COMMON_AREA";
89
- ROOMS: "ROOMS";
90
- TEAMS: "TEAMS";
91
- ADDITIONAL: "ADDITIONAL";
92
- }>>;
93
- format: z.ZodOptional<z.ZodEnum<{
94
- PHOTO: "PHOTO";
95
- VIDEO: "VIDEO";
96
- }>>;
97
- operation: z.ZodOptional<z.ZodEnum<{
98
- DELETE: "DELETE";
99
- CREATE: "CREATE";
100
- }>>;
101
- sequence: z.ZodOptional<z.ZodNumber>;
102
- state: z.ZodOptional<z.ZodEnum<{
103
- PENDING: "PENDING";
104
- UPLOADING: "UPLOADING";
105
- FAILED: "FAILED";
106
- }>>;
107
- attempts: z.ZodOptional<z.ZodNumber>;
108
- mediaKey: z.ZodOptional<z.ZodString>;
109
- failure: z.ZodOptional<z.ZodObject<{
110
- reason: z.ZodOptional<z.ZodEnum<{
111
- IMAGE_TOO_SMALL: "IMAGE_TOO_SMALL";
112
- ASPECT_RATIO_REJECTED: "ASPECT_RATIO_REJECTED";
113
- FORMAT_UNSUPPORTED: "FORMAT_UNSUPPORTED";
114
- SOURCE_UNREACHABLE: "SOURCE_UNREACHABLE";
115
- PERMISSION_REVOKED: "PERMISSION_REVOKED";
116
- RATE_LIMIT_EXHAUSTED: "RATE_LIMIT_EXHAUSTED";
117
- UPLOAD_UNVERIFIED: "UPLOAD_UNVERIFIED";
118
- }>>;
119
- }, z.core.$strip>>;
120
- _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
121
- _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
122
- revision: z.ZodOptional<z.ZodString>;
123
- }, z.core.$strip>>;
124
- }, z.core.$strip>>>;
125
- bulkActionMetadata: z.ZodOptional<z.ZodObject<{
126
- totalSuccesses: z.ZodOptional<z.ZodNumber>;
127
- totalFailures: z.ZodOptional<z.ZodNumber>;
128
- undetailedFailures: z.ZodOptional<z.ZodNumber>;
129
- }, z.core.$strip>>;
130
- }, z.core.$strip>;
131
- declare const ListMediaUploadsRequest: z.ZodObject<{
132
- locationId: z.ZodString;
133
- }, z.core.$strip>;
134
- declare const ListMediaUploadsResponse: z.ZodObject<{
135
- mediaUploads: z.ZodOptional<z.ZodArray<z.ZodObject<{
136
- _id: z.ZodOptional<z.ZodString>;
137
- locationId: z.ZodOptional<z.ZodString>;
138
- batchId: z.ZodOptional<z.ZodString>;
139
- slotKey: z.ZodOptional<z.ZodString>;
140
- sourceUrl: z.ZodOptional<z.ZodString>;
141
- category: z.ZodOptional<z.ZodEnum<{
142
- COVER: "COVER";
143
- PROFILE: "PROFILE";
144
- LOGO: "LOGO";
145
- EXTERIOR: "EXTERIOR";
146
- INTERIOR: "INTERIOR";
147
- PRODUCT: "PRODUCT";
148
- AT_WORK: "AT_WORK";
149
- FOOD_AND_DRINK: "FOOD_AND_DRINK";
150
- MENU: "MENU";
151
- COMMON_AREA: "COMMON_AREA";
152
- ROOMS: "ROOMS";
153
- TEAMS: "TEAMS";
154
- ADDITIONAL: "ADDITIONAL";
155
- }>>;
156
- format: z.ZodOptional<z.ZodEnum<{
157
- PHOTO: "PHOTO";
158
- VIDEO: "VIDEO";
159
- }>>;
160
- operation: z.ZodOptional<z.ZodEnum<{
161
- DELETE: "DELETE";
162
- CREATE: "CREATE";
163
- }>>;
164
- sequence: z.ZodOptional<z.ZodNumber>;
165
- state: z.ZodOptional<z.ZodEnum<{
166
- PENDING: "PENDING";
167
- UPLOADING: "UPLOADING";
168
- FAILED: "FAILED";
169
- }>>;
170
- attempts: z.ZodOptional<z.ZodNumber>;
171
- mediaKey: z.ZodOptional<z.ZodString>;
172
- failure: z.ZodOptional<z.ZodObject<{
173
- reason: z.ZodOptional<z.ZodEnum<{
174
- IMAGE_TOO_SMALL: "IMAGE_TOO_SMALL";
175
- ASPECT_RATIO_REJECTED: "ASPECT_RATIO_REJECTED";
176
- FORMAT_UNSUPPORTED: "FORMAT_UNSUPPORTED";
177
- SOURCE_UNREACHABLE: "SOURCE_UNREACHABLE";
178
- PERMISSION_REVOKED: "PERMISSION_REVOKED";
179
- RATE_LIMIT_EXHAUSTED: "RATE_LIMIT_EXHAUSTED";
180
- UPLOAD_UNVERIFIED: "UPLOAD_UNVERIFIED";
181
- }>>;
182
- }, z.core.$strip>>;
183
- _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
184
- _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
185
- revision: z.ZodOptional<z.ZodString>;
186
- }, z.core.$strip>>>;
187
- }, z.core.$strip>;
188
- declare const DismissMediaUploadFailuresRequest: z.ZodObject<{
189
- locationId: z.ZodString;
190
- }, z.core.$strip>;
191
- declare const DismissMediaUploadFailuresResponse: z.ZodObject<{
192
- dismissedCount: z.ZodOptional<z.ZodNumber>;
193
- }, z.core.$strip>;
194
-
195
- export { BulkCreateMediaUploadsRequest, BulkCreateMediaUploadsResponse, DismissMediaUploadFailuresRequest, DismissMediaUploadFailuresResponse, ListMediaUploadsRequest, ListMediaUploadsResponse };
@@ -1,265 +0,0 @@
1
- // src/gbp-location-v1-media-upload-media-uploads.schemas.ts
2
- import * as z from "zod";
3
- var BulkCreateMediaUploadsRequest = /* @__PURE__ */ z.object({
4
- mediaUploads: z.array(
5
- z.object({
6
- _id: z.string().describe("Queued change ID.").regex(
7
- /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
8
- "Must be a valid GUID"
9
- ).optional(),
10
- locationId: z.string().describe(
11
- "ID of the location this change applies to. This is Google's location\nidentifier."
12
- ).min(1).max(255).optional(),
13
- batchId: z.string().describe(
14
- "Groups the changes queued by one Bulk Create Media Uploads call. Useful for\ntroubleshooting, since one save can produce more than one batch."
15
- ).regex(
16
- /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
17
- "Must be a valid GUID"
18
- ).optional(),
19
- slotKey: z.string().describe(
20
- "Your own key for this photo: `logo`, `cover`, or `photo:<id>`.\n\nSet it to something stable and meaningful to you. It's how a failure is\nmatched back to the photo that caused it, and it's part of what makes a\nrepeated submission a duplicate rather than a second change."
21
- ).max(255).optional(),
22
- sourceUrl: z.string().describe(
23
- "Publicly reachable URL Google fetches the image from. Additions only.\n\nKeep it reachable well beyond the upload itself. A failure report renders\nthis URL as a thumbnail, possibly weeks later."
24
- ).max(2048).optional(),
25
- category: z.enum([
26
- "COVER",
27
- "PROFILE",
28
- "LOGO",
29
- "EXTERIOR",
30
- "INTERIOR",
31
- "PRODUCT",
32
- "AT_WORK",
33
- "FOOD_AND_DRINK",
34
- "MENU",
35
- "COMMON_AREA",
36
- "ROOMS",
37
- "TEAMS",
38
- "ADDITIONAL"
39
- ]).optional(),
40
- format: z.enum(["PHOTO", "VIDEO"]).optional(),
41
- operation: z.enum(["CREATE", "DELETE"]).optional(),
42
- sequence: z.number().int().describe(
43
- "Position in the order the queue applies changes, assigned by the server.\n\nEvery removal comes before every addition, because Google rejects new photos\non a profile that's already at its limit, so the old ones have to go first.\nAdditions then follow as logo, cover, and gallery in the order given."
44
- ).optional(),
45
- state: z.enum(["PENDING", "UPLOADING", "FAILED"]).optional(),
46
- attempts: z.number().int().describe("How many times this change has been attempted.").optional(),
47
- mediaKey: z.string().describe(
48
- "Google's identifier for the photo to remove. Removals only."
49
- ).max(255).optional(),
50
- failure: z.object({
51
- reason: z.enum([
52
- "IMAGE_TOO_SMALL",
53
- "ASPECT_RATIO_REJECTED",
54
- "FORMAT_UNSUPPORTED",
55
- "SOURCE_UNREACHABLE",
56
- "PERMISSION_REVOKED",
57
- "RATE_LIMIT_EXHAUSTED",
58
- "UPLOAD_UNVERIFIED"
59
- ]).optional()
60
- }).describe(
61
- "Why this change failed. Present only when `state` is `FAILED`."
62
- ).optional(),
63
- _createdDate: z.date().describe("Date and time the change was queued.").optional().nullable(),
64
- _updatedDate: z.date().describe("Date and time the change was last updated.").optional().nullable(),
65
- revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe("Revision number, incremented on every update.").optional()
66
- })
67
- ).min(1).max(52),
68
- options: z.object({
69
- returnEntity: z.boolean().describe("Whether to return each queued item in `results.item`.").optional()
70
- }).optional()
71
- });
72
- var BulkCreateMediaUploadsResponse = /* @__PURE__ */ z.object({
73
- results: z.array(
74
- z.object({
75
- itemMetadata: z.object({
76
- _id: z.string().describe(
77
- "Item ID. Provided only whenever possible. For example, `itemId` can't be provided when item creation has failed."
78
- ).regex(
79
- /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
80
- "Must be a valid GUID"
81
- ).optional().nullable(),
82
- originalIndex: z.number().int().describe(
83
- "Index of the item within the request array. Allows for correlation between request and response items."
84
- ).min(0).optional(),
85
- success: z.boolean().describe(
86
- "Whether the requested action for this item was successful. When `false`, the `error` field is returned."
87
- ).optional(),
88
- error: z.object({
89
- code: z.string().describe("Error code.").optional(),
90
- description: z.string().describe("Description of the error.").optional(),
91
- data: z.record(z.string(), z.any()).describe("Data related to the error.").optional().nullable()
92
- }).describe("Details about the error in case of failure.").optional()
93
- }).describe("Whether this item was queued, and why not if it wasn't.").optional(),
94
- item: z.object({
95
- _id: z.string().describe("Queued change ID.").regex(
96
- /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
97
- "Must be a valid GUID"
98
- ).optional(),
99
- locationId: z.string().describe(
100
- "ID of the location this change applies to. This is Google's location\nidentifier."
101
- ).min(1).max(255).optional(),
102
- batchId: z.string().describe(
103
- "Groups the changes queued by one Bulk Create Media Uploads call. Useful for\ntroubleshooting, since one save can produce more than one batch."
104
- ).regex(
105
- /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
106
- "Must be a valid GUID"
107
- ).optional(),
108
- slotKey: z.string().describe(
109
- "Your own key for this photo: `logo`, `cover`, or `photo:<id>`.\n\nSet it to something stable and meaningful to you. It's how a failure is\nmatched back to the photo that caused it, and it's part of what makes a\nrepeated submission a duplicate rather than a second change."
110
- ).max(255).optional(),
111
- sourceUrl: z.string().describe(
112
- "Publicly reachable URL Google fetches the image from. Additions only.\n\nKeep it reachable well beyond the upload itself. A failure report renders\nthis URL as a thumbnail, possibly weeks later."
113
- ).max(2048).optional(),
114
- category: z.enum([
115
- "COVER",
116
- "PROFILE",
117
- "LOGO",
118
- "EXTERIOR",
119
- "INTERIOR",
120
- "PRODUCT",
121
- "AT_WORK",
122
- "FOOD_AND_DRINK",
123
- "MENU",
124
- "COMMON_AREA",
125
- "ROOMS",
126
- "TEAMS",
127
- "ADDITIONAL"
128
- ]).describe(
129
- "Where the photo appears on the profile. Additions only."
130
- ).optional(),
131
- format: z.enum(["PHOTO", "VIDEO"]).describe("Media type of the photo. Additions only.").optional(),
132
- operation: z.enum(["CREATE", "DELETE"]).describe(
133
- "Whether this change adds a photo to the profile or removes one."
134
- ).optional(),
135
- sequence: z.number().int().describe(
136
- "Position in the order the queue applies changes, assigned by the server.\n\nEvery removal comes before every addition, because Google rejects new photos\non a profile that's already at its limit, so the old ones have to go first.\nAdditions then follow as logo, cover, and gallery in the order given."
137
- ).optional(),
138
- state: z.enum(["PENDING", "UPLOADING", "FAILED"]).describe(
139
- "Whether this change is waiting, being applied, or has failed."
140
- ).optional(),
141
- attempts: z.number().int().describe("How many times this change has been attempted.").optional(),
142
- mediaKey: z.string().describe(
143
- "Google's identifier for the photo to remove. Removals only."
144
- ).max(255).optional(),
145
- failure: z.object({
146
- reason: z.enum([
147
- "IMAGE_TOO_SMALL",
148
- "ASPECT_RATIO_REJECTED",
149
- "FORMAT_UNSUPPORTED",
150
- "SOURCE_UNREACHABLE",
151
- "PERMISSION_REVOKED",
152
- "RATE_LIMIT_EXHAUSTED",
153
- "UPLOAD_UNVERIFIED"
154
- ]).describe(
155
- "Why the change failed, in terms you can show a site owner."
156
- ).optional()
157
- }).describe(
158
- "Why this change failed. Present only when `state` is `FAILED`."
159
- ).optional(),
160
- _createdDate: z.date().describe("Date and time the change was queued.").optional().nullable(),
161
- _updatedDate: z.date().describe("Date and time the change was last updated.").optional().nullable(),
162
- revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe("Revision number, incremented on every update.").optional()
163
- }).describe(
164
- "The queued item. Returned only when `returnEntity` is `true`."
165
- ).optional()
166
- })
167
- ).min(1).max(52).optional(),
168
- bulkActionMetadata: z.object({
169
- totalSuccesses: z.number().int().describe("Number of items that were successfully processed.").min(0).optional(),
170
- totalFailures: z.number().int().describe("Number of items that couldn't be processed.").min(0).optional(),
171
- undetailedFailures: z.number().int().describe(
172
- "Number of failures without details because detailed failure threshold was exceeded."
173
- ).min(0).optional()
174
- }).describe("How many items succeeded and failed.").optional()
175
- });
176
- var ListMediaUploadsRequest = /* @__PURE__ */ z.object({
177
- locationId: z.string().describe("ID of the location. This is Google's location identifier.").min(1).max(255)
178
- });
179
- var ListMediaUploadsResponse = /* @__PURE__ */ z.object({
180
- mediaUploads: z.array(
181
- z.object({
182
- _id: z.string().describe("Queued change ID.").regex(
183
- /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
184
- "Must be a valid GUID"
185
- ).optional(),
186
- locationId: z.string().describe(
187
- "ID of the location this change applies to. This is Google's location\nidentifier."
188
- ).min(1).max(255).optional(),
189
- batchId: z.string().describe(
190
- "Groups the changes queued by one Bulk Create Media Uploads call. Useful for\ntroubleshooting, since one save can produce more than one batch."
191
- ).regex(
192
- /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
193
- "Must be a valid GUID"
194
- ).optional(),
195
- slotKey: z.string().describe(
196
- "Your own key for this photo: `logo`, `cover`, or `photo:<id>`.\n\nSet it to something stable and meaningful to you. It's how a failure is\nmatched back to the photo that caused it, and it's part of what makes a\nrepeated submission a duplicate rather than a second change."
197
- ).max(255).optional(),
198
- sourceUrl: z.string().describe(
199
- "Publicly reachable URL Google fetches the image from. Additions only.\n\nKeep it reachable well beyond the upload itself. A failure report renders\nthis URL as a thumbnail, possibly weeks later."
200
- ).max(2048).optional(),
201
- category: z.enum([
202
- "COVER",
203
- "PROFILE",
204
- "LOGO",
205
- "EXTERIOR",
206
- "INTERIOR",
207
- "PRODUCT",
208
- "AT_WORK",
209
- "FOOD_AND_DRINK",
210
- "MENU",
211
- "COMMON_AREA",
212
- "ROOMS",
213
- "TEAMS",
214
- "ADDITIONAL"
215
- ]).describe("Where the photo appears on the profile. Additions only.").optional(),
216
- format: z.enum(["PHOTO", "VIDEO"]).describe("Media type of the photo. Additions only.").optional(),
217
- operation: z.enum(["CREATE", "DELETE"]).describe(
218
- "Whether this change adds a photo to the profile or removes one."
219
- ).optional(),
220
- sequence: z.number().int().describe(
221
- "Position in the order the queue applies changes, assigned by the server.\n\nEvery removal comes before every addition, because Google rejects new photos\non a profile that's already at its limit, so the old ones have to go first.\nAdditions then follow as logo, cover, and gallery in the order given."
222
- ).optional(),
223
- state: z.enum(["PENDING", "UPLOADING", "FAILED"]).describe(
224
- "Whether this change is waiting, being applied, or has failed."
225
- ).optional(),
226
- attempts: z.number().int().describe("How many times this change has been attempted.").optional(),
227
- mediaKey: z.string().describe(
228
- "Google's identifier for the photo to remove. Removals only."
229
- ).max(255).optional(),
230
- failure: z.object({
231
- reason: z.enum([
232
- "IMAGE_TOO_SMALL",
233
- "ASPECT_RATIO_REJECTED",
234
- "FORMAT_UNSUPPORTED",
235
- "SOURCE_UNREACHABLE",
236
- "PERMISSION_REVOKED",
237
- "RATE_LIMIT_EXHAUSTED",
238
- "UPLOAD_UNVERIFIED"
239
- ]).describe(
240
- "Why the change failed, in terms you can show a site owner."
241
- ).optional()
242
- }).describe(
243
- "Why this change failed. Present only when `state` is `FAILED`."
244
- ).optional(),
245
- _createdDate: z.date().describe("Date and time the change was queued.").optional().nullable(),
246
- _updatedDate: z.date().describe("Date and time the change was last updated.").optional().nullable(),
247
- revision: z.string().regex(/^-?\d+$/, "Must be a valid Int64 string").describe("Revision number, incremented on every update.").optional()
248
- })
249
- ).max(500).optional()
250
- });
251
- var DismissMediaUploadFailuresRequest = /* @__PURE__ */ z.object({
252
- locationId: z.string().describe("ID of the location. This is Google's location identifier.").min(1).max(255)
253
- });
254
- var DismissMediaUploadFailuresResponse = /* @__PURE__ */ z.object({
255
- dismissedCount: z.number().int().describe("How many failed changes were cleared.").optional()
256
- });
257
- export {
258
- BulkCreateMediaUploadsRequest,
259
- BulkCreateMediaUploadsResponse,
260
- DismissMediaUploadFailuresRequest,
261
- DismissMediaUploadFailuresResponse,
262
- ListMediaUploadsRequest,
263
- ListMediaUploadsResponse
264
- };
265
- //# sourceMappingURL=schemas.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/gbp-location-v1-media-upload-media-uploads.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const BulkCreateMediaUploadsRequest = /*#__PURE__*/ z.object({\n mediaUploads: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Queued change ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n locationId: z\n .string()\n .describe(\n \"ID of the location this change applies to. This is Google's location\\nidentifier.\"\n )\n .min(1)\n .max(255)\n .optional(),\n batchId: z\n .string()\n .describe(\n 'Groups the changes queued by one Bulk Create Media Uploads call. Useful for\\ntroubleshooting, since one save can produce more than one batch.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n slotKey: z\n .string()\n .describe(\n \"Your own key for this photo: `logo`, `cover`, or `photo:<id>`.\\n\\nSet it to something stable and meaningful to you. It's how a failure is\\nmatched back to the photo that caused it, and it's part of what makes a\\nrepeated submission a duplicate rather than a second change.\"\n )\n .max(255)\n .optional(),\n sourceUrl: z\n .string()\n .describe(\n 'Publicly reachable URL Google fetches the image from. Additions only.\\n\\nKeep it reachable well beyond the upload itself. A failure report renders\\nthis URL as a thumbnail, possibly weeks later.'\n )\n .max(2048)\n .optional(),\n category: z\n .enum([\n 'COVER',\n 'PROFILE',\n 'LOGO',\n 'EXTERIOR',\n 'INTERIOR',\n 'PRODUCT',\n 'AT_WORK',\n 'FOOD_AND_DRINK',\n 'MENU',\n 'COMMON_AREA',\n 'ROOMS',\n 'TEAMS',\n 'ADDITIONAL',\n ])\n .optional(),\n format: z.enum(['PHOTO', 'VIDEO']).optional(),\n operation: z.enum(['CREATE', 'DELETE']).optional(),\n sequence: z\n .number()\n .int()\n .describe(\n \"Position in the order the queue applies changes, assigned by the server.\\n\\nEvery removal comes before every addition, because Google rejects new photos\\non a profile that's already at its limit, so the old ones have to go first.\\nAdditions then follow as logo, cover, and gallery in the order given.\"\n )\n .optional(),\n state: z.enum(['PENDING', 'UPLOADING', 'FAILED']).optional(),\n attempts: z\n .number()\n .int()\n .describe('How many times this change has been attempted.')\n .optional(),\n mediaKey: z\n .string()\n .describe(\n \"Google's identifier for the photo to remove. Removals only.\"\n )\n .max(255)\n .optional(),\n failure: z\n .object({\n reason: z\n .enum([\n 'IMAGE_TOO_SMALL',\n 'ASPECT_RATIO_REJECTED',\n 'FORMAT_UNSUPPORTED',\n 'SOURCE_UNREACHABLE',\n 'PERMISSION_REVOKED',\n 'RATE_LIMIT_EXHAUSTED',\n 'UPLOAD_UNVERIFIED',\n ])\n .optional(),\n })\n .describe(\n 'Why this change failed. Present only when `state` is `FAILED`.'\n )\n .optional(),\n _createdDate: z\n .date()\n .describe('Date and time the change was queued.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the change was last updated.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Revision number, incremented on every update.')\n .optional(),\n })\n )\n .min(1)\n .max(52),\n options: z\n .object({\n returnEntity: z\n .boolean()\n .describe('Whether to return each queued item in `results.item`.')\n .optional(),\n })\n .optional(),\n});\nexport const BulkCreateMediaUploadsResponse = /*#__PURE__*/ z.object({\n results: z\n .array(\n z.object({\n itemMetadata: z\n .object({\n _id: z\n .string()\n .describe(\n \"Item ID. Provided only whenever possible. For example, `itemId` can't be provided when item creation has failed.\"\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n originalIndex: z\n .number()\n .int()\n .describe(\n 'Index of the item within the request array. Allows for correlation between request and response items.'\n )\n .min(0)\n .optional(),\n success: z\n .boolean()\n .describe(\n 'Whether the requested action for this item was successful. When `false`, the `error` field is returned.'\n )\n .optional(),\n error: z\n .object({\n code: z.string().describe('Error code.').optional(),\n description: z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n .describe('Details about the error in case of failure.')\n .optional(),\n })\n .describe(\"Whether this item was queued, and why not if it wasn't.\")\n .optional(),\n item: z\n .object({\n _id: z\n .string()\n .describe('Queued change ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n locationId: z\n .string()\n .describe(\n \"ID of the location this change applies to. This is Google's location\\nidentifier.\"\n )\n .min(1)\n .max(255)\n .optional(),\n batchId: z\n .string()\n .describe(\n 'Groups the changes queued by one Bulk Create Media Uploads call. Useful for\\ntroubleshooting, since one save can produce more than one batch.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n slotKey: z\n .string()\n .describe(\n \"Your own key for this photo: `logo`, `cover`, or `photo:<id>`.\\n\\nSet it to something stable and meaningful to you. It's how a failure is\\nmatched back to the photo that caused it, and it's part of what makes a\\nrepeated submission a duplicate rather than a second change.\"\n )\n .max(255)\n .optional(),\n sourceUrl: z\n .string()\n .describe(\n 'Publicly reachable URL Google fetches the image from. Additions only.\\n\\nKeep it reachable well beyond the upload itself. A failure report renders\\nthis URL as a thumbnail, possibly weeks later.'\n )\n .max(2048)\n .optional(),\n category: z\n .enum([\n 'COVER',\n 'PROFILE',\n 'LOGO',\n 'EXTERIOR',\n 'INTERIOR',\n 'PRODUCT',\n 'AT_WORK',\n 'FOOD_AND_DRINK',\n 'MENU',\n 'COMMON_AREA',\n 'ROOMS',\n 'TEAMS',\n 'ADDITIONAL',\n ])\n .describe(\n 'Where the photo appears on the profile. Additions only.'\n )\n .optional(),\n format: z\n .enum(['PHOTO', 'VIDEO'])\n .describe('Media type of the photo. Additions only.')\n .optional(),\n operation: z\n .enum(['CREATE', 'DELETE'])\n .describe(\n 'Whether this change adds a photo to the profile or removes one.'\n )\n .optional(),\n sequence: z\n .number()\n .int()\n .describe(\n \"Position in the order the queue applies changes, assigned by the server.\\n\\nEvery removal comes before every addition, because Google rejects new photos\\non a profile that's already at its limit, so the old ones have to go first.\\nAdditions then follow as logo, cover, and gallery in the order given.\"\n )\n .optional(),\n state: z\n .enum(['PENDING', 'UPLOADING', 'FAILED'])\n .describe(\n 'Whether this change is waiting, being applied, or has failed.'\n )\n .optional(),\n attempts: z\n .number()\n .int()\n .describe('How many times this change has been attempted.')\n .optional(),\n mediaKey: z\n .string()\n .describe(\n \"Google's identifier for the photo to remove. Removals only.\"\n )\n .max(255)\n .optional(),\n failure: z\n .object({\n reason: z\n .enum([\n 'IMAGE_TOO_SMALL',\n 'ASPECT_RATIO_REJECTED',\n 'FORMAT_UNSUPPORTED',\n 'SOURCE_UNREACHABLE',\n 'PERMISSION_REVOKED',\n 'RATE_LIMIT_EXHAUSTED',\n 'UPLOAD_UNVERIFIED',\n ])\n .describe(\n 'Why the change failed, in terms you can show a site owner.'\n )\n .optional(),\n })\n .describe(\n 'Why this change failed. Present only when `state` is `FAILED`.'\n )\n .optional(),\n _createdDate: z\n .date()\n .describe('Date and time the change was queued.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the change was last updated.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Revision number, incremented on every update.')\n .optional(),\n })\n .describe(\n 'The queued item. Returned only when `returnEntity` is `true`.'\n )\n .optional(),\n })\n )\n .min(1)\n .max(52)\n .optional(),\n bulkActionMetadata: z\n .object({\n totalSuccesses: z\n .number()\n .int()\n .describe('Number of items that were successfully processed.')\n .min(0)\n .optional(),\n totalFailures: z\n .number()\n .int()\n .describe(\"Number of items that couldn't be processed.\")\n .min(0)\n .optional(),\n undetailedFailures: z\n .number()\n .int()\n .describe(\n 'Number of failures without details because detailed failure threshold was exceeded.'\n )\n .min(0)\n .optional(),\n })\n .describe('How many items succeeded and failed.')\n .optional(),\n});\nexport const ListMediaUploadsRequest = /*#__PURE__*/ z.object({\n locationId: z\n .string()\n .describe(\"ID of the location. This is Google's location identifier.\")\n .min(1)\n .max(255),\n});\nexport const ListMediaUploadsResponse = /*#__PURE__*/ z.object({\n mediaUploads: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Queued change ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n locationId: z\n .string()\n .describe(\n \"ID of the location this change applies to. This is Google's location\\nidentifier.\"\n )\n .min(1)\n .max(255)\n .optional(),\n batchId: z\n .string()\n .describe(\n 'Groups the changes queued by one Bulk Create Media Uploads call. Useful for\\ntroubleshooting, since one save can produce more than one batch.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n slotKey: z\n .string()\n .describe(\n \"Your own key for this photo: `logo`, `cover`, or `photo:<id>`.\\n\\nSet it to something stable and meaningful to you. It's how a failure is\\nmatched back to the photo that caused it, and it's part of what makes a\\nrepeated submission a duplicate rather than a second change.\"\n )\n .max(255)\n .optional(),\n sourceUrl: z\n .string()\n .describe(\n 'Publicly reachable URL Google fetches the image from. Additions only.\\n\\nKeep it reachable well beyond the upload itself. A failure report renders\\nthis URL as a thumbnail, possibly weeks later.'\n )\n .max(2048)\n .optional(),\n category: z\n .enum([\n 'COVER',\n 'PROFILE',\n 'LOGO',\n 'EXTERIOR',\n 'INTERIOR',\n 'PRODUCT',\n 'AT_WORK',\n 'FOOD_AND_DRINK',\n 'MENU',\n 'COMMON_AREA',\n 'ROOMS',\n 'TEAMS',\n 'ADDITIONAL',\n ])\n .describe('Where the photo appears on the profile. Additions only.')\n .optional(),\n format: z\n .enum(['PHOTO', 'VIDEO'])\n .describe('Media type of the photo. Additions only.')\n .optional(),\n operation: z\n .enum(['CREATE', 'DELETE'])\n .describe(\n 'Whether this change adds a photo to the profile or removes one.'\n )\n .optional(),\n sequence: z\n .number()\n .int()\n .describe(\n \"Position in the order the queue applies changes, assigned by the server.\\n\\nEvery removal comes before every addition, because Google rejects new photos\\non a profile that's already at its limit, so the old ones have to go first.\\nAdditions then follow as logo, cover, and gallery in the order given.\"\n )\n .optional(),\n state: z\n .enum(['PENDING', 'UPLOADING', 'FAILED'])\n .describe(\n 'Whether this change is waiting, being applied, or has failed.'\n )\n .optional(),\n attempts: z\n .number()\n .int()\n .describe('How many times this change has been attempted.')\n .optional(),\n mediaKey: z\n .string()\n .describe(\n \"Google's identifier for the photo to remove. Removals only.\"\n )\n .max(255)\n .optional(),\n failure: z\n .object({\n reason: z\n .enum([\n 'IMAGE_TOO_SMALL',\n 'ASPECT_RATIO_REJECTED',\n 'FORMAT_UNSUPPORTED',\n 'SOURCE_UNREACHABLE',\n 'PERMISSION_REVOKED',\n 'RATE_LIMIT_EXHAUSTED',\n 'UPLOAD_UNVERIFIED',\n ])\n .describe(\n 'Why the change failed, in terms you can show a site owner.'\n )\n .optional(),\n })\n .describe(\n 'Why this change failed. Present only when `state` is `FAILED`.'\n )\n .optional(),\n _createdDate: z\n .date()\n .describe('Date and time the change was queued.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the change was last updated.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Revision number, incremented on every update.')\n .optional(),\n })\n )\n .max(500)\n .optional(),\n});\nexport const DismissMediaUploadFailuresRequest = /*#__PURE__*/ z.object({\n locationId: z\n .string()\n .describe(\"ID of the location. This is Google's location identifier.\")\n .min(1)\n .max(255),\n});\nexport const DismissMediaUploadFailuresResponse = /*#__PURE__*/ z.object({\n dismissedCount: z\n .number()\n .int()\n .describe('How many failed changes were cleared.')\n .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,gCAA8C,gBAAE,SAAO;AAAA,EAClE,cACG;AAAA,IACG,SAAO;AAAA,MACP,KACG,SAAO,EACP,SAAS,mBAAmB,EAC5B;AAAA,QACC;AAAA,QACA;AAAA,MACF,EACC,SAAS;AAAA,MACZ,YACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,CAAC,EACL,IAAI,GAAG,EACP,SAAS;AAAA,MACZ,SACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC;AAAA,QACC;AAAA,QACA;AAAA,MACF,EACC,SAAS;AAAA,MACZ,SACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,GAAG,EACP,SAAS;AAAA,MACZ,WACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,IAAI,EACR,SAAS;AAAA,MACZ,UACG,OAAK;AAAA,QACJ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF,CAAC,EACA,SAAS;AAAA,MACZ,QAAU,OAAK,CAAC,SAAS,OAAO,CAAC,EAAE,SAAS;AAAA,MAC5C,WAAa,OAAK,CAAC,UAAU,QAAQ,CAAC,E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