@adspireai/adspire-node-sdk 1.0.33 → 1.0.34

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.
@@ -44,7 +44,7 @@ export type Brands = {
44
44
  id?: number;
45
45
  workspace_id: number;
46
46
  name: string;
47
- company?: string;
47
+ company_id?: number;
48
48
  email: string;
49
49
  phone?: string;
50
50
  address?: string;
@@ -78,6 +78,18 @@ export type Comments = {
78
78
  created_at?: string;
79
79
  updated_at?: string;
80
80
  };
81
+ export type Companies = {
82
+ id?: number;
83
+ name: string;
84
+ address?: string;
85
+ email?: string;
86
+ phone?: string;
87
+ };
88
+ export type CompanyUsers = {
89
+ id?: number;
90
+ user_id?: number;
91
+ company_id?: number;
92
+ };
81
93
  export type Connectors = {
82
94
  id?: number;
83
95
  name: string;
@@ -205,6 +217,11 @@ export type Workspaces = {
205
217
  created_at?: string;
206
218
  updated_at?: string;
207
219
  };
220
+ export type WorkspaceUser = {
221
+ id?: number;
222
+ user_id?: number;
223
+ workspace_id?: number;
224
+ };
208
225
  export type ListAiCreditUsagesData = {
209
226
  body?: never;
210
227
  path?: never;
@@ -728,6 +745,7 @@ export type RegisterUserResponses = {
728
745
  id?: number;
729
746
  name?: string;
730
747
  email?: string;
748
+ workspace_name?: string;
731
749
  };
732
750
  };
733
751
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adspireai/adspire-node-sdk",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "description": "Official Node.js SDK for AdspireAI API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",