@usenotra/sdk 0.1.0 → 0.1.2

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 (126) hide show
  1. package/README.md +9 -1
  2. package/dist/commonjs/funcs/content-create-brand-identity.d.ts +15 -0
  3. package/dist/commonjs/funcs/content-create-brand-identity.d.ts.map +1 -0
  4. package/dist/commonjs/funcs/content-create-brand-identity.js +117 -0
  5. package/dist/commonjs/funcs/content-create-brand-identity.js.map +1 -0
  6. package/dist/commonjs/funcs/content-delete-brand-identity.d.ts +18 -0
  7. package/dist/commonjs/funcs/content-delete-brand-identity.d.ts.map +1 -0
  8. package/dist/commonjs/funcs/content-delete-brand-identity.js +125 -0
  9. package/dist/commonjs/funcs/content-delete-brand-identity.js.map +1 -0
  10. package/dist/commonjs/funcs/content-delete-post.js.map +1 -1
  11. package/dist/commonjs/funcs/content-get-brand-identity-generation.d.ts +15 -0
  12. package/dist/commonjs/funcs/content-get-brand-identity-generation.d.ts.map +1 -0
  13. package/dist/commonjs/funcs/content-get-brand-identity-generation.js +122 -0
  14. package/dist/commonjs/funcs/content-get-brand-identity-generation.js.map +1 -0
  15. package/dist/commonjs/funcs/content-get-brand-identity.js.map +1 -1
  16. package/dist/commonjs/funcs/content-get-post-generation.js.map +1 -1
  17. package/dist/commonjs/funcs/content-get-post.js.map +1 -1
  18. package/dist/commonjs/funcs/content-update-brand-identity.d.ts +18 -0
  19. package/dist/commonjs/funcs/content-update-brand-identity.d.ts.map +1 -0
  20. package/dist/commonjs/funcs/content-update-brand-identity.js +126 -0
  21. package/dist/commonjs/funcs/content-update-brand-identity.js.map +1 -0
  22. package/dist/commonjs/funcs/content-update-post.js.map +1 -1
  23. package/dist/commonjs/lib/config.d.ts +3 -3
  24. package/dist/commonjs/lib/config.js +3 -3
  25. package/dist/commonjs/lib/config.js.map +1 -1
  26. package/dist/commonjs/lib/sdks.d.ts.map +1 -1
  27. package/dist/commonjs/lib/sdks.js +8 -4
  28. package/dist/commonjs/lib/sdks.js.map +1 -1
  29. package/dist/commonjs/lib/url.d.ts.map +1 -1
  30. package/dist/commonjs/lib/url.js +4 -2
  31. package/dist/commonjs/lib/url.js.map +1 -1
  32. package/dist/commonjs/models/operations/create-brand-identity.d.ts +70 -0
  33. package/dist/commonjs/models/operations/create-brand-identity.d.ts.map +1 -0
  34. package/dist/commonjs/models/operations/create-brand-identity.js +108 -0
  35. package/dist/commonjs/models/operations/create-brand-identity.js.map +1 -0
  36. package/dist/commonjs/models/operations/delete-brand-identity.d.ts +49 -0
  37. package/dist/commonjs/models/operations/delete-brand-identity.d.ts.map +1 -0
  38. package/dist/commonjs/models/operations/delete-brand-identity.js +92 -0
  39. package/dist/commonjs/models/operations/delete-brand-identity.js.map +1 -0
  40. package/dist/commonjs/models/operations/get-brand-identity-generation.d.ts +68 -0
  41. package/dist/commonjs/models/operations/get-brand-identity-generation.d.ts.map +1 -0
  42. package/dist/commonjs/models/operations/get-brand-identity-generation.js +107 -0
  43. package/dist/commonjs/models/operations/get-brand-identity-generation.js.map +1 -0
  44. package/dist/commonjs/models/operations/get-brand-identity.d.ts +10 -0
  45. package/dist/commonjs/models/operations/get-brand-identity.d.ts.map +1 -1
  46. package/dist/commonjs/models/operations/get-brand-identity.js +10 -0
  47. package/dist/commonjs/models/operations/get-brand-identity.js.map +1 -1
  48. package/dist/commonjs/models/operations/index.d.ts +4 -0
  49. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  50. package/dist/commonjs/models/operations/index.js +4 -0
  51. package/dist/commonjs/models/operations/index.js.map +1 -1
  52. package/dist/commonjs/models/operations/list-brand-identities.d.ts +10 -0
  53. package/dist/commonjs/models/operations/list-brand-identities.d.ts.map +1 -1
  54. package/dist/commonjs/models/operations/list-brand-identities.js +10 -0
  55. package/dist/commonjs/models/operations/list-brand-identities.js.map +1 -1
  56. package/dist/commonjs/models/operations/update-brand-identity.d.ts +139 -0
  57. package/dist/commonjs/models/operations/update-brand-identity.d.ts.map +1 -0
  58. package/dist/commonjs/models/operations/update-brand-identity.js +154 -0
  59. package/dist/commonjs/models/operations/update-brand-identity.js.map +1 -0
  60. package/dist/commonjs/sdk/content.d.ts +22 -0
  61. package/dist/commonjs/sdk/content.d.ts.map +1 -1
  62. package/dist/commonjs/sdk/content.js +34 -0
  63. package/dist/commonjs/sdk/content.js.map +1 -1
  64. package/dist/esm/funcs/content-create-brand-identity.d.ts +15 -0
  65. package/dist/esm/funcs/content-create-brand-identity.d.ts.map +1 -0
  66. package/dist/esm/funcs/content-create-brand-identity.js +81 -0
  67. package/dist/esm/funcs/content-create-brand-identity.js.map +1 -0
  68. package/dist/esm/funcs/content-delete-brand-identity.d.ts +18 -0
  69. package/dist/esm/funcs/content-delete-brand-identity.d.ts.map +1 -0
  70. package/dist/esm/funcs/content-delete-brand-identity.js +89 -0
  71. package/dist/esm/funcs/content-delete-brand-identity.js.map +1 -0
  72. package/dist/esm/funcs/content-delete-post.js.map +1 -1
  73. package/dist/esm/funcs/content-get-brand-identity-generation.d.ts +15 -0
  74. package/dist/esm/funcs/content-get-brand-identity-generation.d.ts.map +1 -0
  75. package/dist/esm/funcs/content-get-brand-identity-generation.js +86 -0
  76. package/dist/esm/funcs/content-get-brand-identity-generation.js.map +1 -0
  77. package/dist/esm/funcs/content-get-brand-identity.js.map +1 -1
  78. package/dist/esm/funcs/content-get-post-generation.js.map +1 -1
  79. package/dist/esm/funcs/content-get-post.js.map +1 -1
  80. package/dist/esm/funcs/content-update-brand-identity.d.ts +18 -0
  81. package/dist/esm/funcs/content-update-brand-identity.d.ts.map +1 -0
  82. package/dist/esm/funcs/content-update-brand-identity.js +90 -0
  83. package/dist/esm/funcs/content-update-brand-identity.js.map +1 -0
  84. package/dist/esm/funcs/content-update-post.js.map +1 -1
  85. package/dist/esm/lib/config.d.ts +3 -3
  86. package/dist/esm/lib/config.js +3 -3
  87. package/dist/esm/lib/config.js.map +1 -1
  88. package/dist/esm/lib/sdks.d.ts.map +1 -1
  89. package/dist/esm/lib/sdks.js +8 -4
  90. package/dist/esm/lib/sdks.js.map +1 -1
  91. package/dist/esm/lib/url.d.ts.map +1 -1
  92. package/dist/esm/lib/url.js +4 -2
  93. package/dist/esm/lib/url.js.map +1 -1
  94. package/dist/esm/models/operations/create-brand-identity.d.ts +70 -0
  95. package/dist/esm/models/operations/create-brand-identity.d.ts.map +1 -0
  96. package/dist/esm/models/operations/create-brand-identity.js +68 -0
  97. package/dist/esm/models/operations/create-brand-identity.js.map +1 -0
  98. package/dist/esm/models/operations/delete-brand-identity.d.ts +49 -0
  99. package/dist/esm/models/operations/delete-brand-identity.d.ts.map +1 -0
  100. package/dist/esm/models/operations/delete-brand-identity.js +51 -0
  101. package/dist/esm/models/operations/delete-brand-identity.js.map +1 -0
  102. package/dist/esm/models/operations/get-brand-identity-generation.d.ts +68 -0
  103. package/dist/esm/models/operations/get-brand-identity-generation.d.ts.map +1 -0
  104. package/dist/esm/models/operations/get-brand-identity-generation.js +67 -0
  105. package/dist/esm/models/operations/get-brand-identity-generation.js.map +1 -0
  106. package/dist/esm/models/operations/get-brand-identity.d.ts +10 -0
  107. package/dist/esm/models/operations/get-brand-identity.d.ts.map +1 -1
  108. package/dist/esm/models/operations/get-brand-identity.js +10 -0
  109. package/dist/esm/models/operations/get-brand-identity.js.map +1 -1
  110. package/dist/esm/models/operations/index.d.ts +4 -0
  111. package/dist/esm/models/operations/index.d.ts.map +1 -1
  112. package/dist/esm/models/operations/index.js +4 -0
  113. package/dist/esm/models/operations/index.js.map +1 -1
  114. package/dist/esm/models/operations/list-brand-identities.d.ts +10 -0
  115. package/dist/esm/models/operations/list-brand-identities.d.ts.map +1 -1
  116. package/dist/esm/models/operations/list-brand-identities.js +10 -0
  117. package/dist/esm/models/operations/list-brand-identities.js.map +1 -1
  118. package/dist/esm/models/operations/update-brand-identity.d.ts +139 -0
  119. package/dist/esm/models/operations/update-brand-identity.d.ts.map +1 -0
  120. package/dist/esm/models/operations/update-brand-identity.js +113 -0
  121. package/dist/esm/models/operations/update-brand-identity.js.map +1 -0
  122. package/dist/esm/sdk/content.d.ts +22 -0
  123. package/dist/esm/sdk/content.d.ts.map +1 -1
  124. package/dist/esm/sdk/content.js +34 -0
  125. package/dist/esm/sdk/content.js.map +1 -1
  126. package/package.json +1 -1
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ * @generated-id: 51a49c0e750b
5
+ */
6
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
+ if (k2 === undefined) k2 = k;
8
+ var desc = Object.getOwnPropertyDescriptor(m, k);
9
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
10
+ desc = { enumerable: true, get: function() { return m[k]; } };
11
+ }
12
+ Object.defineProperty(o, k2, desc);
13
+ }) : (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ o[k2] = m[k];
16
+ }));
17
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
18
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
19
+ }) : function(o, v) {
20
+ o["default"] = v;
21
+ });
22
+ var __importStar = (this && this.__importStar) || (function () {
23
+ var ownKeys = function(o) {
24
+ ownKeys = Object.getOwnPropertyNames || function (o) {
25
+ var ar = [];
26
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
27
+ return ar;
28
+ };
29
+ return ownKeys(o);
30
+ };
31
+ return function (mod) {
32
+ if (mod && mod.__esModule) return mod;
33
+ var result = {};
34
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
35
+ __setModuleDefault(result, mod);
36
+ return result;
37
+ };
38
+ })();
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.DeleteBrandIdentityResponse$inboundSchema = exports.DisabledEvent$inboundSchema = exports.DisabledSchedule$inboundSchema = exports.DeleteBrandIdentityOrganization$inboundSchema = exports.DeleteBrandIdentityRequest$outboundSchema = void 0;
41
+ exports.deleteBrandIdentityRequestToJSON = deleteBrandIdentityRequestToJSON;
42
+ exports.deleteBrandIdentityOrganizationFromJSON = deleteBrandIdentityOrganizationFromJSON;
43
+ exports.disabledScheduleFromJSON = disabledScheduleFromJSON;
44
+ exports.disabledEventFromJSON = disabledEventFromJSON;
45
+ exports.deleteBrandIdentityResponseFromJSON = deleteBrandIdentityResponseFromJSON;
46
+ const z = __importStar(require("zod/v4-mini"));
47
+ const schemas_js_1 = require("../../lib/schemas.js");
48
+ const types = __importStar(require("../../types/primitives.js"));
49
+ /** @internal */
50
+ exports.DeleteBrandIdentityRequest$outboundSchema = z.object({
51
+ brandIdentityId: z.string(),
52
+ });
53
+ function deleteBrandIdentityRequestToJSON(deleteBrandIdentityRequest) {
54
+ return JSON.stringify(exports.DeleteBrandIdentityRequest$outboundSchema.parse(deleteBrandIdentityRequest));
55
+ }
56
+ /** @internal */
57
+ exports.DeleteBrandIdentityOrganization$inboundSchema = z.object({
58
+ id: types.string(),
59
+ slug: types.string(),
60
+ name: types.string(),
61
+ logo: types.nullable(types.string()),
62
+ });
63
+ function deleteBrandIdentityOrganizationFromJSON(jsonString) {
64
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeleteBrandIdentityOrganization$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteBrandIdentityOrganization' from JSON`);
65
+ }
66
+ /** @internal */
67
+ exports.DisabledSchedule$inboundSchema = z.object({
68
+ id: types.string(),
69
+ name: types.string(),
70
+ });
71
+ function disabledScheduleFromJSON(jsonString) {
72
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DisabledSchedule$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DisabledSchedule' from JSON`);
73
+ }
74
+ /** @internal */
75
+ exports.DisabledEvent$inboundSchema = z.object({
76
+ id: types.string(),
77
+ name: types.string(),
78
+ });
79
+ function disabledEventFromJSON(jsonString) {
80
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DisabledEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DisabledEvent' from JSON`);
81
+ }
82
+ /** @internal */
83
+ exports.DeleteBrandIdentityResponse$inboundSchema = z.object({
84
+ id: types.string(),
85
+ organization: z.lazy(() => exports.DeleteBrandIdentityOrganization$inboundSchema),
86
+ disabledSchedules: z.array(z.lazy(() => exports.DisabledSchedule$inboundSchema)),
87
+ disabledEvents: z.array(z.lazy(() => exports.DisabledEvent$inboundSchema)),
88
+ });
89
+ function deleteBrandIdentityResponseFromJSON(jsonString) {
90
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeleteBrandIdentityResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteBrandIdentityResponse' from JSON`);
91
+ }
92
+ //# sourceMappingURL=delete-brand-identity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-brand-identity.js","sourceRoot":"","sources":["../../../../src/models/operations/delete-brand-identity.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoDH,4EAMC;AAaD,0FAQC;AAWD,4DAQC;AAWD,sDAQC;AAaD,kFAQC;AAxID,+CAAiC;AACjC,qDAAiD;AAEjD,iEAAmD;AAuCnD,gBAAgB;AACH,QAAA,yCAAyC,GAGlD,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC;AAEH,SAAgB,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,6CAA6C,GAGtD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,KAAK,C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B,YAAY,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,qDAA6C,CAAC;IACzE,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,sCAA8B,CAAC,CAAC;IACxE,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,mCAA2B,CAAC,CAAC;CACnE,CAAC,CAAC;AAEH,SAAgB,mCAAmC,CACjD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iDAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC1D,CAAC;AACJ,CAAC"}
@@ -0,0 +1,68 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { OpenEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
5
+ export type GetBrandIdentityGenerationRequest = {
6
+ jobId: string;
7
+ };
8
+ export type GetBrandIdentityGenerationOrganization = {
9
+ id: string;
10
+ slug: string;
11
+ name: string;
12
+ logo: string | null;
13
+ };
14
+ export declare const GetBrandIdentityGenerationStatus: {
15
+ readonly Queued: "queued";
16
+ readonly Running: "running";
17
+ readonly Completed: "completed";
18
+ readonly Failed: "failed";
19
+ };
20
+ export type GetBrandIdentityGenerationStatus = OpenEnum<typeof GetBrandIdentityGenerationStatus>;
21
+ export declare const GetBrandIdentityGenerationStep: {
22
+ readonly Scraping: "scraping";
23
+ readonly Extracting: "extracting";
24
+ readonly Saving: "saving";
25
+ };
26
+ export type GetBrandIdentityGenerationStep = OpenEnum<typeof GetBrandIdentityGenerationStep>;
27
+ export type GetBrandIdentityGenerationJob = {
28
+ id: string;
29
+ organizationId: string;
30
+ brandIdentityId: string;
31
+ status: GetBrandIdentityGenerationStatus;
32
+ step: GetBrandIdentityGenerationStep | null;
33
+ currentStep: number;
34
+ totalSteps: number;
35
+ workflowRunId: string | null;
36
+ error: string | null;
37
+ createdAt: string;
38
+ updatedAt: string;
39
+ completedAt: string | null;
40
+ };
41
+ /**
42
+ * Brand identity generation status fetched successfully
43
+ */
44
+ export type GetBrandIdentityGenerationResponse = {
45
+ organization: GetBrandIdentityGenerationOrganization;
46
+ job: GetBrandIdentityGenerationJob;
47
+ };
48
+ /** @internal */
49
+ export type GetBrandIdentityGenerationRequest$Outbound = {
50
+ jobId: string;
51
+ };
52
+ /** @internal */
53
+ export declare const GetBrandIdentityGenerationRequest$outboundSchema: z.ZodMiniType<GetBrandIdentityGenerationRequest$Outbound, GetBrandIdentityGenerationRequest>;
54
+ export declare function getBrandIdentityGenerationRequestToJSON(getBrandIdentityGenerationRequest: GetBrandIdentityGenerationRequest): string;
55
+ /** @internal */
56
+ export declare const GetBrandIdentityGenerationOrganization$inboundSchema: z.ZodMiniType<GetBrandIdentityGenerationOrganization, unknown>;
57
+ export declare function getBrandIdentityGenerationOrganizationFromJSON(jsonString: string): SafeParseResult<GetBrandIdentityGenerationOrganization, SDKValidationError>;
58
+ /** @internal */
59
+ export declare const GetBrandIdentityGenerationStatus$inboundSchema: z.ZodMiniType<GetBrandIdentityGenerationStatus, unknown>;
60
+ /** @internal */
61
+ export declare const GetBrandIdentityGenerationStep$inboundSchema: z.ZodMiniType<GetBrandIdentityGenerationStep, unknown>;
62
+ /** @internal */
63
+ export declare const GetBrandIdentityGenerationJob$inboundSchema: z.ZodMiniType<GetBrandIdentityGenerationJob, unknown>;
64
+ export declare function getBrandIdentityGenerationJobFromJSON(jsonString: string): SafeParseResult<GetBrandIdentityGenerationJob, SDKValidationError>;
65
+ /** @internal */
66
+ export declare const GetBrandIdentityGenerationResponse$inboundSchema: z.ZodMiniType<GetBrandIdentityGenerationResponse, unknown>;
67
+ export declare function getBrandIdentityGenerationResponseFromJSON(jsonString: string): SafeParseResult<GetBrandIdentityGenerationResponse, SDKValidationError>;
68
+ //# sourceMappingURL=get-brand-identity-generation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-brand-identity-generation.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/get-brand-identity-generation.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,iCAAiC,GAAG;IAC9C,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,sCAAsC,GAAG;IACnD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,gCAAgC;;;;;CAKnC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAAG,QAAQ,CACrD,OAAO,gCAAgC,CACxC,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;;CAIjC,CAAC;AACX,MAAM,MAAM,8BAA8B,GAAG,QAAQ,CACnD,OAAO,8BAA8B,CACtC,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,gCAAgC,CAAC;IACzC,IAAI,EAAE,8BAA8B,GAAG,IAAI,CAAC;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS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B,0CAA0C,CACxD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kCAAkC,EAAE,kBAAkB,CAAC,CAOzE"}
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ * @generated-id: 93f74a5f9fc3
5
+ */
6
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
+ if (k2 === undefined) k2 = k;
8
+ var desc = Object.getOwnPropertyDescriptor(m, k);
9
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
10
+ desc = { enumerable: true, get: function() { return m[k]; } };
11
+ }
12
+ Object.defineProperty(o, k2, desc);
13
+ }) : (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ o[k2] = m[k];
16
+ }));
17
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
18
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
19
+ }) : function(o, v) {
20
+ o["default"] = v;
21
+ });
22
+ var __importStar = (this && this.__importStar) || (function () {
23
+ var ownKeys = function(o) {
24
+ ownKeys = Object.getOwnPropertyNames || function (o) {
25
+ var ar = [];
26
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
27
+ return ar;
28
+ };
29
+ return ownKeys(o);
30
+ };
31
+ return function (mod) {
32
+ if (mod && mod.__esModule) return mod;
33
+ var result = {};
34
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
35
+ __setModuleDefault(result, mod);
36
+ return result;
37
+ };
38
+ })();
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.GetBrandIdentityGenerationResponse$inboundSchema = exports.GetBrandIdentityGenerationJob$inboundSchema = exports.GetBrandIdentityGenerationStep$inboundSchema = exports.GetBrandIdentityGenerationStatus$inboundSchema = exports.GetBrandIdentityGenerationOrganization$inboundSchema = exports.GetBrandIdentityGenerationRequest$outboundSchema = exports.GetBrandIdentityGenerationStep = exports.GetBrandIdentityGenerationStatus = void 0;
41
+ exports.getBrandIdentityGenerationRequestToJSON = getBrandIdentityGenerationRequestToJSON;
42
+ exports.getBrandIdentityGenerationOrganizationFromJSON = getBrandIdentityGenerationOrganizationFromJSON;
43
+ exports.getBrandIdentityGenerationJobFromJSON = getBrandIdentityGenerationJobFromJSON;
44
+ exports.getBrandIdentityGenerationResponseFromJSON = getBrandIdentityGenerationResponseFromJSON;
45
+ const z = __importStar(require("zod/v4-mini"));
46
+ const schemas_js_1 = require("../../lib/schemas.js");
47
+ const openEnums = __importStar(require("../../types/enums.js"));
48
+ const types = __importStar(require("../../types/primitives.js"));
49
+ exports.GetBrandIdentityGenerationStatus = {
50
+ Queued: "queued",
51
+ Running: "running",
52
+ Completed: "completed",
53
+ Failed: "failed",
54
+ };
55
+ exports.GetBrandIdentityGenerationStep = {
56
+ Scraping: "scraping",
57
+ Extracting: "extracting",
58
+ Saving: "saving",
59
+ };
60
+ /** @internal */
61
+ exports.GetBrandIdentityGenerationRequest$outboundSchema = z.object({
62
+ jobId: z.string(),
63
+ });
64
+ function getBrandIdentityGenerationRequestToJSON(getBrandIdentityGenerationRequest) {
65
+ return JSON.stringify(exports.GetBrandIdentityGenerationRequest$outboundSchema.parse(getBrandIdentityGenerationRequest));
66
+ }
67
+ /** @internal */
68
+ exports.GetBrandIdentityGenerationOrganization$inboundSchema = z.object({
69
+ id: types.string(),
70
+ slug: types.string(),
71
+ name: types.string(),
72
+ logo: types.nullable(types.string()),
73
+ });
74
+ function getBrandIdentityGenerationOrganizationFromJSON(jsonString) {
75
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetBrandIdentityGenerationOrganization$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetBrandIdentityGenerationOrganization' from JSON`);
76
+ }
77
+ /** @internal */
78
+ exports.GetBrandIdentityGenerationStatus$inboundSchema = openEnums.inboundSchema(exports.GetBrandIdentityGenerationStatus);
79
+ /** @internal */
80
+ exports.GetBrandIdentityGenerationStep$inboundSchema = openEnums.inboundSchema(exports.GetBrandIdentityGenerationStep);
81
+ /** @internal */
82
+ exports.GetBrandIdentityGenerationJob$inboundSchema = z.object({
83
+ id: types.string(),
84
+ organizationId: types.string(),
85
+ brandIdentityId: types.string(),
86
+ status: exports.GetBrandIdentityGenerationStatus$inboundSchema,
87
+ step: types.nullable(exports.GetBrandIdentityGenerationStep$inboundSchema),
88
+ currentStep: types.number(),
89
+ totalSteps: types.number(),
90
+ workflowRunId: types.nullable(types.string()),
91
+ error: types.nullable(types.string()),
92
+ createdAt: types.string(),
93
+ updatedAt: types.string(),
94
+ completedAt: types.nullable(types.string()),
95
+ });
96
+ function getBrandIdentityGenerationJobFromJSON(jsonString) {
97
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetBrandIdentityGenerationJob$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetBrandIdentityGenerationJob' from JSON`);
98
+ }
99
+ /** @internal */
100
+ exports.GetBrandIdentityGenerationResponse$inboundSchema = z.object({
101
+ organization: z.lazy(() => exports.GetBrandIdentityGenerationOrganization$inboundSchema),
102
+ job: z.lazy(() => exports.GetBrandIdentityGenerationJob$inboundSchema),
103
+ });
104
+ function getBrandIdentityGenerationResponseFromJSON(jsonString) {
105
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetBrandIdentityGenerationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetBrandIdentityGenerationResponse' from JSON`);
106
+ }
107
+ //# sourceMappingURL=get-brand-identity-generation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-brand-identity-generation.js","sourceRoot":"","sources":["../../../../src/models/operations/get-brand-identity-generation.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4EH,0FAQC;AAWD,wGASC;AAiCD,sFAQC;AAaD,gGASC;A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AE,CACJ,wDAAgD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,gEAAgE,CACjE,CAAC;AACJ,CAAC"}
@@ -8,6 +8,16 @@ export type GetBrandIdentityBrandIdentity = {
8
8
  id: string;
9
9
  name: string;
10
10
  isDefault: boolean;
11
+ websiteUrl: string;
12
+ companyName: string | null;
13
+ companyDescription: string | null;
14
+ toneProfile: string | null;
15
+ customTone: string | null;
16
+ customInstructions: string | null;
17
+ audience: string | null;
18
+ language: string | null;
19
+ createdAt: string;
20
+ updatedAt: string;
11
21
  };
12
22
  export type GetBrandIdentityOrganization = {
13
23
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"get-brand-identity.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/get-brand-identity.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,uBAAuB,GAAG;IACpC,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,aAAa,EAAE,6BAA6B,GAAG,IAAI,CAAC;IACpD,YAAY,EAAE,4BAA4B,CAAC;CAC5C,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,WAAW,CAChE,gCAAgC,EAChC,uBAAuB,CAGvB,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AAED,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,WAAW,CACrE,6BAA6B,EAC7B,OAAO,CAKP,CAAC;AAEH,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,CAMpE;AAED,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,WAAW,CACpE,4BAA4B,EAC5B,OAAO,CAMP,CAAC;AAEH,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE;AAED,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,WAAW,CAChE,wBAAwB,EACxB,OAAO,CAMP,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
1
+ {"version":3,"file":"get-brand-identity.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/get-brand-identity.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,uBAAuB,GAAG;IACpC,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,EAAE,EAAE,MAAM,CA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AAkB,CAAC,CAMpE;AAED,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,WAAW,CACpE,4BAA4B,EAC5B,OAAO,CAMP,CAAC;AAEH,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE;AAED,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,WAAW,CAChE,wBAAwB,EACxB,OAAO,CAMP,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
@@ -57,6 +57,16 @@ exports.GetBrandIdentityBrandIdentity$inboundSchema = z.object({
57
57
  id: types.string(),
58
58
  name: types.string(),
59
59
  isDefault: types.boolean(),
60
+ websiteUrl: types.string(),
61
+ companyName: types.nullable(types.string()),
62
+ companyDescription: types.nullable(types.string()),
63
+ toneProfile: types.nullable(types.string()),
64
+ customTone: types.nullable(types.string()),
65
+ customInstructions: types.nullable(types.string()),
66
+ audience: types.nullable(types.string()),
67
+ language: types.nullable(types.string()),
68
+ createdAt: types.string(),
69
+ updatedAt: types.string(),
60
70
  });
61
71
  function getBrandIdentityBrandIdentityFromJSON(jsonString) {
62
72
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetBrandIdentityBrandIdentity$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetBrandIdentityBrandIdentity' from JSON`);
@@ -1 +1 @@
1
- {"version":3,"file":"get-brand-identity.js","sourceRoot":"","sources":["../../../../src/models/operations/get-brand-identity.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CH,sEAMC;AAYD,sFAQC;AAaD,oFAQC;AAaD,4EAQC;AAhHD,+CAAiC;AACjC,qDAAiD;AAEjD,iEAAmD;AAiCnD,gBAAgB;AACH,QAAA,sC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E,KAAK,CAAC,QAAQ,CAC3B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,mDAA2C,CAAC,CAC1D;IACD,YAAY,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,kDAA0C,CAAC;CACvE,CAAC,CAAC;AAEH,SAAgB,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"get-brand-identity.js","sourceRoot":"","sources":["../../../../src/models/operations/get-brand-identity.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwDH,sEAMC;AAsBD,sFAQC;AAaD,oFAQC;AAaD,4EAQC;AApID,+CAAiC;AACjC,qDAAiD;AAEjD,iEAAmD;AA2CnD,gBAAgB;AACH,QAAA,sCAAsC,GAG/C,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC;AAEH,SAAgB,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,8CAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,2CAA2C,GAGpD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,KAAK,CAAC,OAAO,EAAE;IAC1B,UAAU,EAAE,KAAK,CAAC,MAAM,EAAE;IAC1B,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,kBAAkB,E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C;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,sCAAsC,GAG/C,CAAC,CAAC,MAAM,CAAC;IACX,aAAa,EAAE,KAAK,CAAC,QAAQ,CAC3B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,mDAA2C,CAAC,CAC1D;IACD,YAAY,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,kDAA0C,CAAC;CACvE,CAAC,CAAC;AAEH,SAAgB,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
@@ -1,10 +1,14 @@
1
+ export * from "./create-brand-identity.js";
1
2
  export * from "./create-post-generation.js";
3
+ export * from "./delete-brand-identity.js";
2
4
  export * from "./delete-post.js";
5
+ export * from "./get-brand-identity-generation.js";
3
6
  export * from "./get-brand-identity.js";
4
7
  export * from "./get-post-generation.js";
5
8
  export * from "./get-post.js";
6
9
  export * from "./list-brand-identities.js";
7
10
  export * from "./list-integrations.js";
8
11
  export * from "./list-posts.js";
12
+ export * from "./update-brand-identity.js";
9
13
  export * from "./update-post.js";
10
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/index.ts"],"names":[],"mappings":"AAKA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/index.ts"],"names":[],"mappings":"AAKA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,oCAAoC,CAAC;AACnD,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC"}
@@ -18,13 +18,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
18
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
19
19
  };
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
+ __exportStar(require("./create-brand-identity.js"), exports);
21
22
  __exportStar(require("./create-post-generation.js"), exports);
23
+ __exportStar(require("./delete-brand-identity.js"), exports);
22
24
  __exportStar(require("./delete-post.js"), exports);
25
+ __exportStar(require("./get-brand-identity-generation.js"), exports);
23
26
  __exportStar(require("./get-brand-identity.js"), exports);
24
27
  __exportStar(require("./get-post-generation.js"), exports);
25
28
  __exportStar(require("./get-post.js"), exports);
26
29
  __exportStar(require("./list-brand-identities.js"), exports);
27
30
  __exportStar(require("./list-integrations.js"), exports);
28
31
  __exportStar(require("./list-posts.js"), exports);
32
+ __exportStar(require("./update-brand-identity.js"), exports);
29
33
  __exportStar(require("./update-post.js"), exports);
30
34
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,8DAA4C;AAC5C,mDAAiC;AACjC,0DAAwC;AACxC,2DAAyC;AACzC,gDAA8B;AAC9B,6DAA2C;AAC3C,yDAAuC;AACvC,kDAAgC;AAChC,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;AAEH,6DAA2C;AAC3C,8DAA4C;AAC5C,6DAA2C;AAC3C,mDAAiC;AACjC,qEAAmD;AACnD,0DAAwC;AACxC,2DAAyC;AACzC,gDAA8B;AAC9B,6DAA2C;AAC3C,yDAAuC;AACvC,kDAAgC;AAChC,6DAA2C;AAC3C,mDAAiC"}
@@ -11,6 +11,16 @@ export type ListBrandIdentitiesBrandIdentity = {
11
11
  id: string;
12
12
  name: string;
13
13
  isDefault: boolean;
14
+ websiteUrl: string;
15
+ companyName: string | null;
16
+ companyDescription: string | null;
17
+ toneProfile: string | null;
18
+ customTone: string | null;
19
+ customInstructions: string | null;
20
+ audience: string | null;
21
+ language: string | null;
22
+ createdAt: string;
23
+ updatedAt: string;
14
24
  };
15
25
  /**
16
26
  * Brand identities fetched successfully
@@ -1 +1 @@
1
- {"version":3,"file":"list-brand-identities.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/list-brand-identities.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,+BAA+B,GAAG;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,YAAY,EAAE,+BAA+B,CAAC;IAC9C,eAAe,EAAE,KAAK,CAAC,gCAAgC,CAAC,CAAC;CAC1D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,WAAW,CACvE,+BAA+B,EAC/B,OAAO,CAMP,CAAC;AAEH,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE;AAED,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,WAAW,CACxE,gCAAgC,EAChC,OAAO,CAKP,CAAC;AAEH,wBAAgB,wCAAwC,CACtD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gCAAgC,EAAE,kBAAkB,CAAC,CAMvE;AAED,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,WAAW,CACnE,2BAA2B,EAC3B,OAAO,CAMP,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
1
+ {"version":3,"file":"list-brand-identities.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/list-brand-identities.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,+BAA+B,GAAG;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SA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$inboundSchema = z.object({
59
59
  id: types.string(),
60
60
  name: types.string(),
61
61
  isDefault: types.boolean(),
62
+ websiteUrl: types.string(),
63
+ companyName: types.nullable(types.string()),
64
+ companyDescription: types.nullable(types.string()),
65
+ toneProfile: types.nullable(types.string()),
66
+ customTone: types.nullable(types.string()),
67
+ customInstructions: types.nullable(types.string()),
68
+ audience: types.nullable(types.string()),
69
+ language: types.nullable(types.string()),
70
+ createdAt: types.string(),
71
+ updatedAt: types.string(),
62
72
  });
63
73
  function listBrandIdentitiesBrandIdentityFromJSON(jsonString) {
64
74
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListBrandIdentitiesBrandIdentity$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListBrandIdentitiesBrandIdentity' from JSON`);
@@ -1 +1 @@
1
- {"version":3,"file":"list-brand-identities.js","sourceRoot":"","sources":["../../../../src/models/operations/list-brand-identities.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCH,0FAQC;AAYD,4FAQC;AAaD,kFAQC;AAvFD,+CAAiC;AACjC,qDAAiD;AAEjD,iEAAmD;AAwBnD,gBAAgB;AACH,QAAA,6CAA6C,GAGtD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CACrC,CAAC,CAAC;AAEH,SAAgB,uCAAuC,CACrD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qDAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,8CAA8C,GAGvD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,KAAK,CAAC,OAAO,EAAE;CAC3B,CAAC,CAAC;AAEH,SAAgB,wCAAwC,CACtD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sDAA8C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1E,8DAA8D,CAC/D,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,yCAAyC,GAGlD,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,qDAA6C,CAAC;IACzE,eAAe,EAAE,CAAC,CAAC,KAAK,CACtB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,sDAA8C,CAAC,CAC7D;CACF,CAAC,CAAC;AAEH,SAAgB,mCAAmC,CACjD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iDAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC1D,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"list-brand-identities.js","sourceRoot":"","sources":["../../../../src/models/operations/list-brand-identities.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDH,0FAQC;AAsBD,4FAQC;AAaD,kFAQC;AA3GD,+CAAiC;AACjC,qDAAiD;AAEjD,iEAAmD;AAkCnD,gBAAgB;AACH,QAAA,6CAA6C,GAGtD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE;IAClB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B,CAAC,CAAC;AAEH,SAAgB,wCAAwC,CACtD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sDAA8C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1E,8DAA8D,CAC/D,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,yCAAyC,GAGlD,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,qDAA6C,CAAC;IACzE,eAAe,EAAE,CAAC,CAAC,KAAK,CACtB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,sDAA8C,CAAC,CAC7D;CACF,CAAC,CAAC;AAEH,SAAgB,mCAAmC,CACjD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iDAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC1D,CAAC;AACJ,CAAC"}
@@ -0,0 +1,139 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
5
+ /**
6
+ * Set a preset tone profile. When provided without customTone, any saved custom tone is cleared.
7
+ */
8
+ export declare const ToneProfile: {
9
+ readonly Conversational: "Conversational";
10
+ readonly Professional: "Professional";
11
+ readonly Casual: "Casual";
12
+ readonly Formal: "Formal";
13
+ };
14
+ /**
15
+ * Set a preset tone profile. When provided without customTone, any saved custom tone is cleared.
16
+ */
17
+ export type ToneProfile = ClosedEnum<typeof ToneProfile>;
18
+ export declare const Language: {
19
+ readonly English: "English";
20
+ readonly Spanish: "Spanish";
21
+ readonly French: "French";
22
+ readonly German: "German";
23
+ readonly Portuguese: "Portuguese";
24
+ readonly Dutch: "Dutch";
25
+ readonly Italian: "Italian";
26
+ readonly Japanese: "Japanese";
27
+ readonly Korean: "Korean";
28
+ readonly Chinese: "Chinese";
29
+ readonly Arabic: "Arabic";
30
+ readonly Hindi: "Hindi";
31
+ readonly Russian: "Russian";
32
+ readonly Turkish: "Turkish";
33
+ readonly Polish: "Polish";
34
+ readonly Swedish: "Swedish";
35
+ readonly Danish: "Danish";
36
+ readonly Norwegian: "Norwegian";
37
+ readonly Finnish: "Finnish";
38
+ readonly Czech: "Czech";
39
+ readonly Romanian: "Romanian";
40
+ readonly Hungarian: "Hungarian";
41
+ readonly Greek: "Greek";
42
+ readonly Thai: "Thai";
43
+ readonly Vietnamese: "Vietnamese";
44
+ readonly Indonesian: "Indonesian";
45
+ readonly Ukrainian: "Ukrainian";
46
+ readonly Hebrew: "Hebrew";
47
+ };
48
+ export type Language = ClosedEnum<typeof Language>;
49
+ export type UpdateBrandIdentityRequestBody = {
50
+ name?: string | undefined;
51
+ websiteUrl?: string | undefined;
52
+ companyName?: string | null | undefined;
53
+ companyDescription?: string | null | undefined;
54
+ /**
55
+ * Set a preset tone profile. When provided without customTone, any saved custom tone is cleared.
56
+ */
57
+ toneProfile?: ToneProfile | null | undefined;
58
+ /**
59
+ * Provide a custom tone override. Send an empty string or null to clear it.
60
+ */
61
+ customTone?: string | null | undefined;
62
+ customInstructions?: string | null | undefined;
63
+ audience?: string | null | undefined;
64
+ language?: Language | null | undefined;
65
+ /**
66
+ * Set this brand identity as the organization's default. Only true is accepted.
67
+ */
68
+ isDefault?: true | undefined;
69
+ };
70
+ export type UpdateBrandIdentityRequest = {
71
+ brandIdentityId: string;
72
+ body: UpdateBrandIdentityRequestBody;
73
+ };
74
+ export type UpdateBrandIdentityOrganization = {
75
+ id: string;
76
+ slug: string;
77
+ name: string;
78
+ logo: string | null;
79
+ };
80
+ export type UpdateBrandIdentityBrandIdentity = {
81
+ id: string;
82
+ name: string;
83
+ isDefault: boolean;
84
+ websiteUrl: string;
85
+ companyName: string | null;
86
+ companyDescription: string | null;
87
+ toneProfile: string | null;
88
+ customTone: string | null;
89
+ customInstructions: string | null;
90
+ audience: string | null;
91
+ language: string | null;
92
+ createdAt: string;
93
+ updatedAt: string;
94
+ };
95
+ /**
96
+ * Brand identity updated successfully
97
+ */
98
+ export type UpdateBrandIdentityResponse = {
99
+ organization: UpdateBrandIdentityOrganization;
100
+ brandIdentity: UpdateBrandIdentityBrandIdentity;
101
+ };
102
+ /** @internal */
103
+ export declare const ToneProfile$outboundSchema: z.ZodMiniEnum<typeof ToneProfile>;
104
+ /** @internal */
105
+ export declare const Language$outboundSchema: z.ZodMiniEnum<typeof Language>;
106
+ /** @internal */
107
+ export type UpdateBrandIdentityRequestBody$Outbound = {
108
+ name?: string | undefined;
109
+ websiteUrl?: string | undefined;
110
+ companyName?: string | null | undefined;
111
+ companyDescription?: string | null | undefined;
112
+ toneProfile?: string | null | undefined;
113
+ customTone?: string | null | undefined;
114
+ customInstructions?: string | null | undefined;
115
+ audience?: string | null | undefined;
116
+ language?: string | null | undefined;
117
+ isDefault?: true | undefined;
118
+ };
119
+ /** @internal */
120
+ export declare const UpdateBrandIdentityRequestBody$outboundSchema: z.ZodMiniType<UpdateBrandIdentityRequestBody$Outbound, UpdateBrandIdentityRequestBody>;
121
+ export declare function updateBrandIdentityRequestBodyToJSON(updateBrandIdentityRequestBody: UpdateBrandIdentityRequestBody): string;
122
+ /** @internal */
123
+ export type UpdateBrandIdentityRequest$Outbound = {
124
+ brandIdentityId: string;
125
+ body: UpdateBrandIdentityRequestBody$Outbound;
126
+ };
127
+ /** @internal */
128
+ export declare const UpdateBrandIdentityRequest$outboundSchema: z.ZodMiniType<UpdateBrandIdentityRequest$Outbound, UpdateBrandIdentityRequest>;
129
+ export declare function updateBrandIdentityRequestToJSON(updateBrandIdentityRequest: UpdateBrandIdentityRequest): string;
130
+ /** @internal */
131
+ export declare const UpdateBrandIdentityOrganization$inboundSchema: z.ZodMiniType<UpdateBrandIdentityOrganization, unknown>;
132
+ export declare function updateBrandIdentityOrganizationFromJSON(jsonString: string): SafeParseResult<UpdateBrandIdentityOrganization, SDKValidationError>;
133
+ /** @internal */
134
+ export declare const UpdateBrandIdentityBrandIdentity$inboundSchema: z.ZodMiniType<UpdateBrandIdentityBrandIdentity, unknown>;
135
+ export declare function updateBrandIdentityBrandIdentityFromJSON(jsonString: string): SafeParseResult<UpdateBrandIdentityBrandIdentity, SDKValidationError>;
136
+ /** @internal */
137
+ export declare const UpdateBrandIdentityResponse$inboundSchema: z.ZodMiniType<UpdateBrandIdentityResponse, unknown>;
138
+ export declare function updateBrandIdentityResponseFromJSON(jsonString: string): SafeParseResult<UpdateBrandIdentityResponse, SDKValidationError>;
139
+ //# sourceMappingURL=update-brand-identity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-brand-identity.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/update-brand-identity.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;CAKd,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAEzD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BX,CAAC;AACX,MAAM,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEnD,MAAM,MAAM,8BAA8B,GAAG;IAC3C,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,WAAW,CAAC,EAAE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