Skip to content

Commit 6a68f08

Browse files
committed
Update schema
1 parent 52f115a commit 6a68f08

File tree

8 files changed

+29
-9
lines changed

8 files changed

+29
-9
lines changed

packages/cma-client/src/generated/Client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class Client {
145145
...this.config,
146146
...options,
147147
logFn: this.config.logFn || console.log,
148-
userAgent: '@datocms/cma-client v3.3.2',
148+
userAgent: '@datocms/cma-client',
149149
baseUrl: this.baseUrl,
150150
preCallStack: new Error().stack,
151151
extraHeaders: {

packages/cma-client/src/generated/SchemaTypes.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -3360,7 +3360,7 @@ export type SitePlanAttributes = {
33603360
/**
33613361
* Maximum size (in bytes) for a record, including its block records
33623362
*/
3363-
item_byte_size: number;
3363+
item_size_bytes: number;
33643364
/**
33653365
* Available extra packets
33663366
*/
@@ -10999,6 +10999,10 @@ export type SiteRelationships = {
1099910999
* via the `definition` "meta".
1100011000
*/
1100111001
export type SiteMeta = {
11002+
/**
11003+
* Date of project creation
11004+
*/
11005+
created_at: string;
1100211006
/**
1100311007
* Whether the Improved API Timezone Management option is active or not
1100411008
*/

packages/cma-client/src/generated/SimpleSchemaTypes.ts

+6-2
Original file line numberDiff line numberDiff line change
@@ -3758,7 +3758,7 @@ export type SitePlan = {
37583758
/**
37593759
* Maximum size (in bytes) for a record, including its block records
37603760
*/
3761-
item_byte_size: number;
3761+
item_size_bytes: number;
37623762
/**
37633763
* Available extra packets
37643764
*/
@@ -3996,7 +3996,7 @@ export type SitePlanAttributes = {
39963996
/**
39973997
* Maximum size (in bytes) for a record, including its block records
39983998
*/
3999-
item_byte_size: number;
3999+
item_size_bytes: number;
40004000
/**
40014001
* Available extra packets
40024002
*/
@@ -10566,6 +10566,10 @@ export type SiteUpdateAssetsCdnDefaultSettingsTargetSchema = Site;
1056610566
* via the `definition` "meta".
1056710567
*/
1056810568
export type SiteMeta = {
10569+
/**
10570+
* Date of project creation
10571+
*/
10572+
created_at: string;
1056910573
/**
1057010574
* Whether the Improved API Timezone Management option is active or not
1057110575
*/

packages/dashboard-client/resources.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@
5555
"signup_to_newsletter",
5656
"role_description",
5757
"role_context",
58-
"acquisition_method"
58+
"acquisition_method",
59+
"latest_acquisition_method"
5960
],
6061
"relationships": []
6162
},

packages/dashboard-client/src/generated/Client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export class Client {
114114
...this.config,
115115
...options,
116116
logFn: this.config.logFn || console.log,
117-
userAgent: '@datocms/dashboard-client v3.3.2',
117+
userAgent: '@datocms/dashboard-client',
118118
baseUrl: this.baseUrl,
119119
preCallStack: new Error().stack,
120120
extraHeaders: {

packages/dashboard-client/src/generated/SchemaTypes.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -939,6 +939,11 @@ export type AccountCreateSchema = {
939939
medium: string;
940940
campaign?: string;
941941
};
942+
latest_acquisition_method?: {
943+
source: string;
944+
medium: string;
945+
campaign?: string;
946+
};
942947
};
943948
};
944949
};
@@ -2718,7 +2723,7 @@ export type SitePlanAttributes = {
27182723
/**
27192724
* Maximum size (in bytes) for a record, including its block records
27202725
*/
2721-
item_byte_size: number;
2726+
item_size_bytes: number;
27222727
/**
27232728
* Available extra packets
27242729
*/

packages/dashboard-client/src/generated/SimpleSchemaTypes.ts

+7-2
Original file line numberDiff line numberDiff line change
@@ -1100,6 +1100,11 @@ export type AccountCreateSchema = {
11001100
medium: string;
11011101
campaign?: string;
11021102
};
1103+
latest_acquisition_method?: {
1104+
source: string;
1105+
medium: string;
1106+
campaign?: string;
1107+
};
11031108
};
11041109

11051110
/**
@@ -2292,7 +2297,7 @@ export type SitePlan = {
22922297
/**
22932298
* Maximum size (in bytes) for a record, including its block records
22942299
*/
2295-
item_byte_size: number;
2300+
item_size_bytes: number;
22962301
/**
22972302
* Available extra packets
22982303
*/
@@ -2519,7 +2524,7 @@ export type SitePlanAttributes = {
25192524
/**
25202525
* Maximum size (in bytes) for a record, including its block records
25212526
*/
2522-
item_byte_size: number;
2527+
item_size_bytes: number;
25232528
/**
25242529
* Available extra packets
25252530
*/

packages/dashboard-client/src/generated/resources/Account.ts

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export default class Account extends BaseResource {
2626
'role_description',
2727
'role_context',
2828
'acquisition_method',
29+
'latest_acquisition_method',
2930
],
3031
relationships: [],
3132
}),

0 commit comments

Comments
 (0)