profoundai 0.32.1 → 0.33.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/README.md +5 -5
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/organizations/categories.d.mts +8 -77
- package/resources/organizations/categories.d.mts.map +1 -1
- package/resources/organizations/categories.d.ts +8 -77
- package/resources/organizations/categories.d.ts.map +1 -1
- package/resources/organizations/categories.js.map +1 -1
- package/resources/organizations/categories.mjs.map +1 -1
- package/resources/organizations/index.d.mts +1 -1
- package/resources/organizations/index.d.mts.map +1 -1
- package/resources/organizations/index.d.ts +1 -1
- package/resources/organizations/index.d.ts.map +1 -1
- package/resources/organizations/index.js.map +1 -1
- package/resources/organizations/index.mjs.map +1 -1
- package/resources/organizations/organizations.d.mts +32 -62
- package/resources/organizations/organizations.d.mts.map +1 -1
- package/resources/organizations/organizations.d.ts +32 -62
- package/resources/organizations/organizations.d.ts.map +1 -1
- package/resources/organizations/organizations.js.map +1 -1
- package/resources/organizations/organizations.mjs.map +1 -1
- package/src/client.ts +10 -0
- package/src/resources/index.ts +5 -0
- package/src/resources/organizations/categories.ts +8 -99
- package/src/resources/organizations/index.ts +5 -0
- package/src/resources/organizations/organizations.ts +48 -79
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as OrganizationsAPI from "./organizations.js";
|
|
2
3
|
import { APIPromise } from "../../core/api-promise.js";
|
|
3
4
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
5
|
export declare class Categories extends APIResource {
|
|
@@ -27,16 +28,7 @@ export declare class Categories extends APIResource {
|
|
|
27
28
|
*/
|
|
28
29
|
topics(categoryID: string, options?: RequestOptions): APIPromise<CategoryTopicsResponse>;
|
|
29
30
|
}
|
|
30
|
-
export type CategoryListResponse = Array<
|
|
31
|
-
export declare namespace CategoryListResponse {
|
|
32
|
-
/**
|
|
33
|
-
* Generic id+name reference used across domain boundaries.
|
|
34
|
-
*/
|
|
35
|
-
interface CategoryListResponseItem {
|
|
36
|
-
id: string;
|
|
37
|
-
name: string;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
31
|
+
export type CategoryListResponse = Array<OrganizationsAPI.NamedResource>;
|
|
40
32
|
export type CategoryAssetsResponse = Array<CategoryAssetsResponse.CategoryAssetsResponseItem>;
|
|
41
33
|
export declare namespace CategoryAssetsResponse {
|
|
42
34
|
interface CategoryAssetsResponseItem {
|
|
@@ -56,29 +48,7 @@ export declare namespace CategoryGetCategoryPersonasResponse {
|
|
|
56
48
|
interface Data {
|
|
57
49
|
id: string;
|
|
58
50
|
name: string;
|
|
59
|
-
persona:
|
|
60
|
-
}
|
|
61
|
-
namespace Data {
|
|
62
|
-
interface Persona {
|
|
63
|
-
behavior: Persona.Behavior;
|
|
64
|
-
demographics: Persona.Demographics;
|
|
65
|
-
employment: Persona.Employment;
|
|
66
|
-
}
|
|
67
|
-
namespace Persona {
|
|
68
|
-
interface Behavior {
|
|
69
|
-
motivations?: string | null;
|
|
70
|
-
painPoints?: string | null;
|
|
71
|
-
}
|
|
72
|
-
interface Demographics {
|
|
73
|
-
ageRange?: Array<string>;
|
|
74
|
-
}
|
|
75
|
-
interface Employment {
|
|
76
|
-
companySize?: Array<string>;
|
|
77
|
-
industry?: Array<string>;
|
|
78
|
-
jobTitle?: Array<string>;
|
|
79
|
-
roleSeniority?: Array<string>;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
51
|
+
persona: OrganizationsAPI.PersonaProfile;
|
|
82
52
|
}
|
|
83
53
|
}
|
|
84
54
|
export interface CategoryPromptsResponse {
|
|
@@ -89,45 +59,15 @@ export declare namespace CategoryPromptsResponse {
|
|
|
89
59
|
interface Data {
|
|
90
60
|
id: string;
|
|
91
61
|
created_at: string;
|
|
92
|
-
platforms: Array<
|
|
62
|
+
platforms: Array<OrganizationsAPI.NamedResource>;
|
|
93
63
|
prompt: string;
|
|
94
64
|
prompt_type: string;
|
|
95
|
-
regions: Array<
|
|
96
|
-
/**
|
|
97
|
-
* Generic id+name reference used across domain boundaries.
|
|
98
|
-
*/
|
|
99
|
-
topic: Data.Topic;
|
|
100
|
-
tags?: Array<Data.Tag>;
|
|
101
|
-
}
|
|
102
|
-
namespace Data {
|
|
103
|
-
/**
|
|
104
|
-
* Generic id+name reference used across domain boundaries.
|
|
105
|
-
*/
|
|
106
|
-
interface Platform {
|
|
107
|
-
id: string;
|
|
108
|
-
name: string;
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* Generic id+name reference used across domain boundaries.
|
|
112
|
-
*/
|
|
113
|
-
interface Region {
|
|
114
|
-
id: string;
|
|
115
|
-
name: string;
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Generic id+name reference used across domain boundaries.
|
|
119
|
-
*/
|
|
120
|
-
interface Topic {
|
|
121
|
-
id: string;
|
|
122
|
-
name: string;
|
|
123
|
-
}
|
|
65
|
+
regions: Array<OrganizationsAPI.NamedResource>;
|
|
124
66
|
/**
|
|
125
67
|
* Generic id+name reference used across domain boundaries.
|
|
126
68
|
*/
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
name: string;
|
|
130
|
-
}
|
|
69
|
+
topic: OrganizationsAPI.NamedResource;
|
|
70
|
+
tags?: Array<OrganizationsAPI.NamedResource>;
|
|
131
71
|
}
|
|
132
72
|
interface Info {
|
|
133
73
|
limit: number;
|
|
@@ -135,16 +75,7 @@ export declare namespace CategoryPromptsResponse {
|
|
|
135
75
|
total_rows: number;
|
|
136
76
|
}
|
|
137
77
|
}
|
|
138
|
-
export type CategoryTagsResponse = Array<
|
|
139
|
-
export declare namespace CategoryTagsResponse {
|
|
140
|
-
/**
|
|
141
|
-
* Generic id+name reference used across domain boundaries.
|
|
142
|
-
*/
|
|
143
|
-
interface CategoryTagsResponseItem {
|
|
144
|
-
id: string;
|
|
145
|
-
name: string;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
78
|
+
export type CategoryTagsResponse = Array<OrganizationsAPI.NamedResource>;
|
|
148
79
|
export type CategoryTopicsResponse = Array<CategoryTopicsResponse.CategoryTopicsResponseItem>;
|
|
149
80
|
export declare namespace CategoryTopicsResponse {
|
|
150
81
|
interface CategoryTopicsResponseItem {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"categories.d.ts","sourceRoot":"","sources":["../../src/resources/organizations/categories.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAIhE;;OAEG;IACH,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIxF;;OAEG;IACH,mBAAmB,CACjB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;IAIlD;;OAEG;IACH,OAAO,CACL,UAAU,EAAE,MAAM,EAClB,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAItC;;OAEG;IACH,IAAI,CAAC,UAAU,EAAE,MAAM,E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ources/organizations/categories.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;
|
|
1
|
+
{"version":3,"file":"categories.js","sourceRoot":"","sources":["../../src/resources/organizations/categories.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IACzC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,UAAkB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,sBAAsB,UAAU,SAAS,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAED;;OAEG;IACH,mBAAmB,CACjB,UAAkB,EAClB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,sBAAsB,UAAU,WAAW,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAED;;OAEG;IACH,OAAO,CACL,UAAkB,EAClB,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,sBAAsB,UAAU,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjG,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,UAAkB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,sBAAsB,UAAU,OAAO,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,UAAkB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,sBAAsB,UAAU,SAAS,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;CACF;AAjDD,gCAiDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"categories.mjs","sourceRoot":"","sources":["../../src/resources/organizations/categories.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"categories.mjs","sourceRoot":"","sources":["../../src/resources/organizations/categories.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,UAAkB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,sBAAsB,UAAU,SAAS,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAED;;OAEG;IACH,mBAAmB,CACjB,UAAkB,EAClB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,sBAAsB,UAAU,WAAW,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAED;;OAEG;IACH,OAAO,CACL,UAAkB,EAClB,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,sBAAsB,UAAU,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjG,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,UAAkB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,sBAAsB,UAAU,OAAO,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,UAAkB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,sBAAsB,UAAU,SAAS,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;CACF"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Categories, type CategoryListResponse, type CategoryAssetsResponse, type CategoryGetCategoryPersonasResponse, type CategoryPromptsResponse, type CategoryTagsResponse, type CategoryTopicsResponse, type CategoryPromptsParams, } from "./categories.mjs";
|
|
2
|
-
export { Organizations, type OrganizationDomainsResponse, type OrganizationGetPersonasResponse, type OrganizationListAssetsResponse, type OrganizationModelsResponse, type OrganizationRegionsResponse, } from "./organizations.mjs";
|
|
2
|
+
export { Organizations, type NamedResource, type PersonaProfile, type PersonaProfileBehavior, type PersonaProfileDemographics, type PersonaProfileEmployment, type OrganizationDomainsResponse, type OrganizationGetPersonasResponse, type OrganizationListAssetsResponse, type OrganizationModelsResponse, type OrganizationRegionsResponse, } from "./organizations.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,GAC3B;OACM,EACL,aAAa,EACb,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,GACjC"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,GAC3B;OACM,EACL,aAAa,EACb,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,GACjC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Categories, type CategoryListResponse, type CategoryAssetsResponse, type CategoryGetCategoryPersonasResponse, type CategoryPromptsResponse, type CategoryTagsResponse, type CategoryTopicsResponse, type CategoryPromptsParams, } from "./categories.js";
|
|
2
|
-
export { Organizations, type OrganizationDomainsResponse, type OrganizationGetPersonasResponse, type OrganizationListAssetsResponse, type OrganizationModelsResponse, type OrganizationRegionsResponse, } from "./organizations.js";
|
|
2
|
+
export { Organizations, type NamedResource, type PersonaProfile, type PersonaProfileBehavior, type PersonaProfileDemographics, type PersonaProfileEmployment, type OrganizationDomainsResponse, type OrganizationGetPersonasResponse, type OrganizationListAssetsResponse, type OrganizationModelsResponse, type OrganizationRegionsResponse, } from "./organizations.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,GAC3B;OACM,EACL,aAAa,EACb,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,GACjC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,GAC3B;OACM,EACL,aAAa,EACb,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,GACjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CASsB;AARpB,wGAAA,UAAU,OAAA;AASZ,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CASsB;AARpB,wGAAA,UAAU,OAAA;AASZ,oDAYyB;AAXvB,8GAAA,aAAa,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,UAAU,GAQX;OACM,EACL,aAAa,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/organizations/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,UAAU,GAQX;OACM,EACL,aAAa,GAWd"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as OrganizationsAPI from "./organizations.mjs";
|
|
2
3
|
import * as CategoriesAPI from "./categories.mjs";
|
|
3
4
|
import { Categories, CategoryAssetsResponse, CategoryGetCategoryPersonasResponse, CategoryListResponse, CategoryPromptsParams, CategoryPromptsResponse, CategoryTagsResponse, CategoryTopicsResponse } from "./categories.mjs";
|
|
4
5
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
@@ -26,6 +27,31 @@ export declare class Organizations extends APIResource {
|
|
|
26
27
|
*/
|
|
27
28
|
regions(options?: RequestOptions): APIPromise<OrganizationRegionsResponse>;
|
|
28
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* Generic id+name reference used across domain boundaries.
|
|
32
|
+
*/
|
|
33
|
+
export interface NamedResource {
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
}
|
|
37
|
+
export interface PersonaProfile {
|
|
38
|
+
behavior: PersonaProfileBehavior;
|
|
39
|
+
demographics: PersonaProfileDemographics;
|
|
40
|
+
employment: PersonaProfileEmployment;
|
|
41
|
+
}
|
|
42
|
+
export interface PersonaProfileBehavior {
|
|
43
|
+
motivations?: string | null;
|
|
44
|
+
painPoints?: string | null;
|
|
45
|
+
}
|
|
46
|
+
export interface PersonaProfileDemographics {
|
|
47
|
+
ageRange?: Array<string>;
|
|
48
|
+
}
|
|
49
|
+
export interface PersonaProfileEmployment {
|
|
50
|
+
companySize?: Array<string>;
|
|
51
|
+
industry?: Array<string>;
|
|
52
|
+
jobTitle?: Array<string>;
|
|
53
|
+
roleSeniority?: Array<string>;
|
|
54
|
+
}
|
|
29
55
|
export type OrganizationDomainsResponse = Array<OrganizationDomainsResponse.OrganizationDomainsResponseItem>;
|
|
30
56
|
export declare namespace OrganizationDomainsResponse {
|
|
31
57
|
interface OrganizationDomainsResponseItem {
|
|
@@ -43,38 +69,9 @@ export declare namespace OrganizationGetPersonasResponse {
|
|
|
43
69
|
/**
|
|
44
70
|
* Generic id+name reference used across domain boundaries.
|
|
45
71
|
*/
|
|
46
|
-
category:
|
|
72
|
+
category: OrganizationsAPI.NamedResource;
|
|
47
73
|
name: string;
|
|
48
|
-
persona:
|
|
49
|
-
}
|
|
50
|
-
namespace Data {
|
|
51
|
-
/**
|
|
52
|
-
* Generic id+name reference used across domain boundaries.
|
|
53
|
-
*/
|
|
54
|
-
interface Category {
|
|
55
|
-
id: string;
|
|
56
|
-
name: string;
|
|
57
|
-
}
|
|
58
|
-
interface Persona {
|
|
59
|
-
behavior: Persona.Behavior;
|
|
60
|
-
demographics: Persona.Demographics;
|
|
61
|
-
employment: Persona.Employment;
|
|
62
|
-
}
|
|
63
|
-
namespace Persona {
|
|
64
|
-
interface Behavior {
|
|
65
|
-
motivations?: string | null;
|
|
66
|
-
painPoints?: string | null;
|
|
67
|
-
}
|
|
68
|
-
interface Demographics {
|
|
69
|
-
ageRange?: Array<string>;
|
|
70
|
-
}
|
|
71
|
-
interface Employment {
|
|
72
|
-
companySize?: Array<string>;
|
|
73
|
-
industry?: Array<string>;
|
|
74
|
-
jobTitle?: Array<string>;
|
|
75
|
-
roleSeniority?: Array<string>;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
74
|
+
persona: OrganizationsAPI.PersonaProfile;
|
|
78
75
|
}
|
|
79
76
|
}
|
|
80
77
|
export interface OrganizationListAssetsResponse {
|
|
@@ -86,7 +83,7 @@ export declare namespace OrganizationListAssetsResponse {
|
|
|
86
83
|
/**
|
|
87
84
|
* Generic id+name reference used across domain boundaries.
|
|
88
85
|
*/
|
|
89
|
-
category:
|
|
86
|
+
category: OrganizationsAPI.NamedResource;
|
|
90
87
|
created_at: string;
|
|
91
88
|
is_owned: boolean;
|
|
92
89
|
logo_url: string;
|
|
@@ -94,38 +91,11 @@ export declare namespace OrganizationListAssetsResponse {
|
|
|
94
91
|
website: string;
|
|
95
92
|
alternate_domains?: Array<string> | null;
|
|
96
93
|
}
|
|
97
|
-
namespace Data {
|
|
98
|
-
/**
|
|
99
|
-
* Generic id+name reference used across domain boundaries.
|
|
100
|
-
*/
|
|
101
|
-
interface Category {
|
|
102
|
-
id: string;
|
|
103
|
-
name: string;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
export type OrganizationModelsResponse = Array<OrganizationModelsResponse.OrganizationModelsResponseItem>;
|
|
108
|
-
export declare namespace OrganizationModelsResponse {
|
|
109
|
-
/**
|
|
110
|
-
* Generic id+name reference used across domain boundaries.
|
|
111
|
-
*/
|
|
112
|
-
interface OrganizationModelsResponseItem {
|
|
113
|
-
id: string;
|
|
114
|
-
name: string;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
export type OrganizationRegionsResponse = Array<OrganizationRegionsResponse.OrganizationRegionsResponseItem>;
|
|
118
|
-
export declare namespace OrganizationRegionsResponse {
|
|
119
|
-
/**
|
|
120
|
-
* Generic id+name reference used across domain boundaries.
|
|
121
|
-
*/
|
|
122
|
-
interface OrganizationRegionsResponseItem {
|
|
123
|
-
id: string;
|
|
124
|
-
name: string;
|
|
125
|
-
}
|
|
126
94
|
}
|
|
95
|
+
export type OrganizationModelsResponse = Array<NamedResource>;
|
|
96
|
+
export type OrganizationRegionsResponse = Array<NamedResource>;
|
|
127
97
|
export declare namespace Organizations {
|
|
128
|
-
export { type OrganizationDomainsResponse as OrganizationDomainsResponse, type OrganizationGetPersonasResponse as OrganizationGetPersonasResponse, type OrganizationListAssetsResponse as OrganizationListAssetsResponse, type OrganizationModelsResponse as OrganizationModelsResponse, type OrganizationRegionsResponse as OrganizationRegionsResponse, };
|
|
98
|
+
export { type NamedResource as NamedResource, type PersonaProfile as PersonaProfile, type PersonaProfileBehavior as PersonaProfileBehavior, type PersonaProfileDemographics as PersonaProfileDemographics, type PersonaProfileEmployment as PersonaProfileEmployment, type OrganizationDomainsResponse as OrganizationDomainsResponse, type OrganizationGetPersonasResponse as OrganizationGetPersonasResponse, type OrganizationListAssetsResponse as OrganizationListAssetsResponse, type OrganizationModelsResponse as OrganizationModelsResponse, type OrganizationRegionsResponse as OrganizationRegionsResponse, };
|
|
129
99
|
export { Categories as Categories, type CategoryListResponse as CategoryListResponse, type CategoryAssetsResponse as CategoryAssetsResponse, type CategoryGetCategoryPersonasResponse as CategoryGetCategoryPersonasResponse, type CategoryPromptsResponse as CategoryPromptsResponse, type CategoryTagsResponse as CategoryTagsResponse, type CategoryTopicsResponse as CategoryTopicsResponse, type CategoryPromptsParams as CategoryPromptsParams, };
|
|
130
100
|
}
|
|
131
101
|
//# sourceMappingURL=organizations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.d.mts","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,aAAa;OAClB,EACL,UAAU,EACV,sBAAsB,EACtB,mCAAmC,EACnC,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACvB;OACM,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C,UAAU,EAAE,aAAa,CAAC,UAAU,CAA8C;IAElF;;OAEG;IACH,OAAO,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAI1E;;OAEG;IACH,WAAW,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,+BAA+B,CAAC;IAIlF;;OAEG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAIhF;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAIxE;;OAEG;IACH,OAAO,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;CAG3E;AAED,MAAM,
|
|
1
|
+
{"version":3,"file":"organizations.d.mts","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[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IAAI,CAAC;KAC1C;CACF;AAED,MAAM,MAAM,0BAA0B,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC;AAE9D,MAAM,MAAM,2BAA2B,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC;AAI/D,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;IAEF,OAAO,EACL,UAAU,IAAI,UAAU,EACxB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as OrganizationsAPI from "./organizations.js";
|
|
2
3
|
import * as CategoriesAPI from "./categories.js";
|
|
3
4
|
import { Categories, CategoryAssetsResponse, CategoryGetCategoryPersonasResponse, CategoryListResponse, CategoryPromptsParams, CategoryPromptsResponse, CategoryTagsResponse, CategoryTopicsResponse } from "./categories.js";
|
|
4
5
|
import { APIPromise } from "../../core/api-promise.js";
|
|
@@ -26,6 +27,31 @@ export declare class Organizations extends APIResource {
|
|
|
26
27
|
*/
|
|
27
28
|
regions(options?: RequestOptions): APIPromise<OrganizationRegionsResponse>;
|
|
28
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* Generic id+name reference used across domain boundaries.
|
|
32
|
+
*/
|
|
33
|
+
export interface NamedResource {
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
}
|
|
37
|
+
export interface PersonaProfile {
|
|
38
|
+
behavior: PersonaProfileBehavior;
|
|
39
|
+
demographics: PersonaProfileDemographics;
|
|
40
|
+
employment: PersonaProfileEmployment;
|
|
41
|
+
}
|
|
42
|
+
export interface PersonaProfileBehavior {
|
|
43
|
+
motivations?: string | null;
|
|
44
|
+
painPoints?: string | null;
|
|
45
|
+
}
|
|
46
|
+
export interface PersonaProfileDemographics {
|
|
47
|
+
ageRange?: Array<string>;
|
|
48
|
+
}
|
|
49
|
+
export interface PersonaProfileEmployment {
|
|
50
|
+
companySize?: Array<string>;
|
|
51
|
+
industry?: Array<string>;
|
|
52
|
+
jobTitle?: Array<string>;
|
|
53
|
+
roleSeniority?: Array<string>;
|
|
54
|
+
}
|
|
29
55
|
export type OrganizationDomainsResponse = Array<OrganizationDomainsResponse.OrganizationDomainsResponseItem>;
|
|
30
56
|
export declare namespace OrganizationDomainsResponse {
|
|
31
57
|
interface OrganizationDomainsResponseItem {
|
|
@@ -43,38 +69,9 @@ export declare namespace OrganizationGetPersonasResponse {
|
|
|
43
69
|
/**
|
|
44
70
|
* Generic id+name reference used across domain boundaries.
|
|
45
71
|
*/
|
|
46
|
-
category:
|
|
72
|
+
category: OrganizationsAPI.NamedResource;
|
|
47
73
|
name: string;
|
|
48
|
-
persona:
|
|
49
|
-
}
|
|
50
|
-
namespace Data {
|
|
51
|
-
/**
|
|
52
|
-
* Generic id+name reference used across domain boundaries.
|
|
53
|
-
*/
|
|
54
|
-
interface Category {
|
|
55
|
-
id: string;
|
|
56
|
-
name: string;
|
|
57
|
-
}
|
|
58
|
-
interface Persona {
|
|
59
|
-
behavior: Persona.Behavior;
|
|
60
|
-
demographics: Persona.Demographics;
|
|
61
|
-
employment: Persona.Employment;
|
|
62
|
-
}
|
|
63
|
-
namespace Persona {
|
|
64
|
-
interface Behavior {
|
|
65
|
-
motivations?: string | null;
|
|
66
|
-
painPoints?: string | null;
|
|
67
|
-
}
|
|
68
|
-
interface Demographics {
|
|
69
|
-
ageRange?: Array<string>;
|
|
70
|
-
}
|
|
71
|
-
interface Employment {
|
|
72
|
-
companySize?: Array<string>;
|
|
73
|
-
industry?: Array<string>;
|
|
74
|
-
jobTitle?: Array<string>;
|
|
75
|
-
roleSeniority?: Array<string>;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
74
|
+
persona: OrganizationsAPI.PersonaProfile;
|
|
78
75
|
}
|
|
79
76
|
}
|
|
80
77
|
export interface OrganizationListAssetsResponse {
|
|
@@ -86,7 +83,7 @@ export declare namespace OrganizationListAssetsResponse {
|
|
|
86
83
|
/**
|
|
87
84
|
* Generic id+name reference used across domain boundaries.
|
|
88
85
|
*/
|
|
89
|
-
category:
|
|
86
|
+
category: OrganizationsAPI.NamedResource;
|
|
90
87
|
created_at: string;
|
|
91
88
|
is_owned: boolean;
|
|
92
89
|
logo_url: string;
|
|
@@ -94,38 +91,11 @@ export declare namespace OrganizationListAssetsResponse {
|
|
|
94
91
|
website: string;
|
|
95
92
|
alternate_domains?: Array<string> | null;
|
|
96
93
|
}
|
|
97
|
-
namespace Data {
|
|
98
|
-
/**
|
|
99
|
-
* Generic id+name reference used across domain boundaries.
|
|
100
|
-
*/
|
|
101
|
-
interface Category {
|
|
102
|
-
id: string;
|
|
103
|
-
name: string;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
export type OrganizationModelsResponse = Array<OrganizationModelsResponse.OrganizationModelsResponseItem>;
|
|
108
|
-
export declare namespace OrganizationModelsResponse {
|
|
109
|
-
/**
|
|
110
|
-
* Generic id+name reference used across domain boundaries.
|
|
111
|
-
*/
|
|
112
|
-
interface OrganizationModelsResponseItem {
|
|
113
|
-
id: string;
|
|
114
|
-
name: string;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
export type OrganizationRegionsResponse = Array<OrganizationRegionsResponse.OrganizationRegionsResponseItem>;
|
|
118
|
-
export declare namespace OrganizationRegionsResponse {
|
|
119
|
-
/**
|
|
120
|
-
* Generic id+name reference used across domain boundaries.
|
|
121
|
-
*/
|
|
122
|
-
interface OrganizationRegionsResponseItem {
|
|
123
|
-
id: string;
|
|
124
|
-
name: string;
|
|
125
|
-
}
|
|
126
94
|
}
|
|
95
|
+
export type OrganizationModelsResponse = Array<NamedResource>;
|
|
96
|
+
export type OrganizationRegionsResponse = Array<NamedResource>;
|
|
127
97
|
export declare namespace Organizations {
|
|
128
|
-
export { type OrganizationDomainsResponse as OrganizationDomainsResponse, type OrganizationGetPersonasResponse as OrganizationGetPersonasResponse, type OrganizationListAssetsResponse as OrganizationListAssetsResponse, type OrganizationModelsResponse as OrganizationModelsResponse, type OrganizationRegionsResponse as OrganizationRegionsResponse, };
|
|
98
|
+
export { type NamedResource as NamedResource, type PersonaProfile as PersonaProfile, type PersonaProfileBehavior as PersonaProfileBehavior, type PersonaProfileDemographics as PersonaProfileDemographics, type PersonaProfileEmployment as PersonaProfileEmployment, type OrganizationDomainsResponse as OrganizationDomainsResponse, type OrganizationGetPersonasResponse as OrganizationGetPersonasResponse, type OrganizationListAssetsResponse as OrganizationListAssetsResponse, type OrganizationModelsResponse as OrganizationModelsResponse, type OrganizationRegionsResponse as OrganizationRegionsResponse, };
|
|
129
99
|
export { Categories as Categories, type CategoryListResponse as CategoryListResponse, type CategoryAssetsResponse as CategoryAssetsResponse, type CategoryGetCategoryPersonasResponse as CategoryGetCategoryPersonasResponse, type CategoryPromptsResponse as CategoryPromptsResponse, type CategoryTagsResponse as CategoryTagsResponse, type CategoryTopicsResponse as CategoryTopicsResponse, type CategoryPromptsParams as CategoryPromptsParams, };
|
|
130
100
|
}
|
|
131
101
|
//# sourceMappingURL=organizations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,aAAa;OAClB,EACL,UAAU,EACV,sBAAsB,EACtB,mCAAmC,EACnC,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACvB;OACM,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C,UAAU,EAAE,aAAa,CAAC,UAAU,CAA8C;IAElF;;OAEG;IACH,OAAO,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAI1E;;OAEG;IACH,WAAW,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,+BAA+B,CAAC;IAIlF;;OAEG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAIhF;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAIxE;;OAEG;IACH,OAAO,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;CAG3E;AAED,MAAM,
|
|
1
|
+
{"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,KAAK,aAAa;OAClB,EACL,UAAU,EACV,sBAAsB,EACtB,mCAAmC,EACnC,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACvB;OACM,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C,UAAU,EAAE,aAAa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B,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;IAEF,OAAO,EACL,UAAU,IAAI,UAAU,EACxB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.js","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;
|
|
1
|
+
{"version":3,"file":"organizations.js","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,uEAA8C;AAC9C,gDASsB;AAItB,MAAa,aAAc,SAAQ,sBAAW;IAA9C;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAoCpF,CAAC;IAlCC;;OAEG;IACH,OAAO,CAAC,OAAwB;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAED;;OAEG;IACH,WAAW,CAAC,OAAwB;QAClC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,OAAwB;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,OAAwB;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;CACF;AArCD,sCAqCC;AAqGD,aAAa,CAAC,UAAU,GAAG,uBAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.mjs","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"organizations.mjs","sourceRoot":"","sources":["../../src/resources/organizations/organizations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,aAAa;OAClB,EACL,UAAU,GAQX;AAID,MAAM,OAAO,aAAc,SAAQ,WAAW;IAA9C;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAoCpF,CAAC;IAlCC;;OAEG;IACH,OAAO,CAAC,OAAwB;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAED;;OAEG;IACH,WAAW,CAAC,OAAwB;QAClC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,OAAwB;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,OAAwB;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;CACF;AAqGD,aAAa,CAAC,UAAU,GAAG,UAAU,CAAC"}
|
package/src/client.ts
CHANGED
|
@@ -34,12 +34,17 @@ import {
|
|
|
34
34
|
import { Content } from './resources/content/content';
|
|
35
35
|
import { Logs } from './resources/logs/logs';
|
|
36
36
|
import {
|
|
37
|
+
NamedResource,
|
|
37
38
|
OrganizationDomainsResponse,
|
|
38
39
|
OrganizationGetPersonasResponse,
|
|
39
40
|
OrganizationListAssetsResponse,
|
|
40
41
|
OrganizationModelsResponse,
|
|
41
42
|
OrganizationRegionsResponse,
|
|
42
43
|
Organizations,
|
|
44
|
+
PersonaProfile,
|
|
45
|
+
PersonaProfileBehavior,
|
|
46
|
+
PersonaProfileDemographics,
|
|
47
|
+
PersonaProfileEmployment,
|
|
43
48
|
} from './resources/organizations/organizations';
|
|
44
49
|
import { type Fetch } from './internal/builtin-types';
|
|
45
50
|
import { HeadersLike, NullableHeaders, buildHeaders } from './internal/headers';
|
|
@@ -756,6 +761,11 @@ export declare namespace Profound {
|
|
|
756
761
|
|
|
757
762
|
export {
|
|
758
763
|
Organizations as Organizations,
|
|
764
|
+
type NamedResource as NamedResource,
|
|
765
|
+
type PersonaProfile as PersonaProfile,
|
|
766
|
+
type PersonaProfileBehavior as PersonaProfileBehavior,
|
|
767
|
+
type PersonaProfileDemographics as PersonaProfileDemographics,
|
|
768
|
+
type PersonaProfileEmployment as PersonaProfileEmployment,
|
|
759
769
|
type OrganizationDomainsResponse as OrganizationDomainsResponse,
|
|
760
770
|
type OrganizationGetPersonasResponse as OrganizationGetPersonasResponse,
|
|
761
771
|
type OrganizationListAssetsResponse as OrganizationListAssetsResponse,
|
package/src/resources/index.ts
CHANGED
|
@@ -5,6 +5,11 @@ export { Content } from './content/content';
|
|
|
5
5
|
export { Logs } from './logs/logs';
|
|
6
6
|
export {
|
|
7
7
|
Organizations,
|
|
8
|
+
type NamedResource,
|
|
9
|
+
type PersonaProfile,
|
|
10
|
+
type PersonaProfileBehavior,
|
|
11
|
+
type PersonaProfileDemographics,
|
|
12
|
+
type PersonaProfileEmployment,
|
|
8
13
|
type OrganizationDomainsResponse,
|
|
9
14
|
type OrganizationGetPersonasResponse,
|
|
10
15
|
type OrganizationListAssetsResponse,
|