@datocms/cma-client 1.1.10 → 1.1.11
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/dist/cjs/generated/Client.js +1 -1
- package/dist/cjs/generated/resources/ItemType.js +2 -0
- package/dist/cjs/generated/resources/ItemType.js.map +1 -1
- package/dist/cjs/generated/resources/SsoSettings.js +1 -1
- package/dist/cjs/generated/resources/SsoSettings.js.map +1 -1
- package/dist/esm/generated/Client.js +1 -1
- package/dist/esm/generated/SchemaTypes.d.ts +27 -2
- package/dist/esm/generated/SimpleSchemaTypes.d.ts +37 -1
- package/dist/esm/generated/resources/ItemType.js +2 -0
- package/dist/esm/generated/resources/ItemType.js.map +1 -1
- package/dist/esm/generated/resources/SsoSettings.js +1 -1
- package/dist/esm/generated/resources/SsoSettings.js.map +1 -1
- package/dist/types/generated/SchemaTypes.d.ts +27 -2
- package/dist/types/generated/SimpleSchemaTypes.d.ts +37 -1
- package/package.json +4 -4
- package/resources.json +6 -3
- package/src/generated/Client.ts +1 -1
- package/src/generated/SchemaTypes.ts +27 -2
- package/src/generated/SimpleSchemaTypes.ts +37 -1
- package/src/generated/resources/ItemType.ts +2 -0
- package/src/generated/resources/SsoSettings.ts +1 -1
|
@@ -127,7 +127,7 @@ var Client = /** @class */ (function () {
|
|
|
127
127
|
});
|
|
128
128
|
Client.prototype.request = function (options) {
|
|
129
129
|
var _this = this;
|
|
130
|
-
return (0, rest_client_utils_1.request)(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: "@datocms/cma-client v1.1.
|
|
130
|
+
return (0, rest_client_utils_1.request)(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: "@datocms/cma-client v1.1.11", baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment
|
|
131
131
|
? { 'X-Environment': this.config.environment }
|
|
132
132
|
: {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) {
|
|
133
133
|
return _this.jobResultsFetcher
|
|
@@ -73,6 +73,7 @@ var ItemType = /** @class */ (function (_super) {
|
|
|
73
73
|
'collection_appeareance',
|
|
74
74
|
'collection_appearance',
|
|
75
75
|
'hint',
|
|
76
|
+
'inverse_relationships_enabled',
|
|
76
77
|
],
|
|
77
78
|
relationships: [
|
|
78
79
|
'ordering_field',
|
|
@@ -128,6 +129,7 @@ var ItemType = /** @class */ (function (_super) {
|
|
|
128
129
|
'ordering_meta',
|
|
129
130
|
'has_singleton_item',
|
|
130
131
|
'hint',
|
|
132
|
+
'inverse_relationships_enabled',
|
|
131
133
|
],
|
|
132
134
|
relationships: [
|
|
133
135
|
'ordering_field',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemType.js","sourceRoot":"","sources":["../../../../src/generated/resources/ItemType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAAoD;AAGpD,oEAA8C;AAE9C;IAAsC,4BAAY;IAAlD;;
|
|
1
|
+
{"version":3,"file":"ItemType.js","sourceRoot":"","sources":["../../../../src/generated/resources/ItemType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAAoD;AAGpD,oEAA8C;AAE9C;IAAsC,4BAAY;IAAlD;;IA8QA,CAAC;IA3QC;;;;;;;OAOG;IACH,yBAAM,GAAN,UACE,IAA4C,EAC5C,WAAwD;QAExD,OAAO,IAAI,CAAC,SAAS,CACnB,KAAK,CAAC,oBAAoB,CAAmC,IAAI,EAAE;YACjE,IAAI,EAAE,WAAW;YACjB,UAAU,EAAE;gBACV,MAAM;gBACN,SAAS;gBACT,WAAW;gBACX,sBAAsB;gBACtB,UAAU;gBACV,eAAe;gBACf,mBAAmB;gBACnB,MAAM;gBACN,oBAAoB;gBACpB,eAAe;gBACf,wBAAwB;gBACxB,uBAAu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H,+BAAY,GAAZ,UACE,UAAkB;QAElB,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAA4C;YACpE,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,sBAAe,UAAU,eAAY;SAC3C,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,0BAAO,GAAP,UACE,UAAmD,EACnD,WAAyD;QAEzD,OAAO,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,WAAW,CAAC,CAAC,IAAI,CAAC,UAAC,IAAI;YACpE,OAAA,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL;QAFD,CAEC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,6BAAU,GAAV,UACE,UAAkB,EAClB,WAAmD;QAEnD,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAuC;YAC/D,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,sBAAe,UAAU,CAAE;YAChC,WAAW,aAAA;SACZ,CAAC,CAAC;IACL,CAAC;IA5Qe,aAAI,GAAgB,WAAW,CAAC;IA6QlD,eAAC;CAAA,AA9QD,CAAsC,sBAAY,GA8QjD;kBA9QoB,QAAQ"}
|
|
@@ -113,7 +113,7 @@ var SsoSettings = /** @class */ (function (_super) {
|
|
|
113
113
|
SsoSettings.prototype.update = function (body) {
|
|
114
114
|
return this.rawUpdate(Utils.serializeRequestBody(body, {
|
|
115
115
|
type: 'sso_settings',
|
|
116
|
-
attributes: ['idp_saml_metadata_url'],
|
|
116
|
+
attributes: ['idp_saml_metadata_url', 'idp_saml_metadata_xml'],
|
|
117
117
|
relationships: ['default_role'],
|
|
118
118
|
})).then(function (body) {
|
|
119
119
|
return Utils.deserializeResponseBody(body);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SsoSettings.js","sourceRoot":"","sources":["../../../../src/generated/resources/SsoSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAAoD;AAGpD,oEAA8C;AAE9C;IAAyC,+BAAY;IAArD;;IA0GA,CAAC;IAvGC;;;;;;;OAOG;IACH,0BAAI,GAAJ;QACE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,UAAC,IAAI;YAC9B,OAAA,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL;QAFD,CAEC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,6BAAO,GAAP;QACE,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAA0C;YAClE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,eAAe;SACrB,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,mCAAa,GAAb;QACE,OAAO,IAAI,CAAC,gBAAgB,EAAE,CAAC,IAAI,CAAC,UAAC,IAAI;YACvC,OAAA,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL;QAFD,CAEC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,sCAAgB,GAAhB;QACE,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CACxB;YACE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,8BAA8B;SACpC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,4BAAM,GAAN,UAAO,IAA+C;QACpD,OAAO,IAAI,CAAC,SAAS,CACnB,KAAK,CAAC,oBAAoB,CAAsC,IAAI,EAAE;YACpE,IAAI,EAAE,cAAc;YACpB,UAAU,EAAE,CAAC,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"SsoSettings.js","sourceRoot":"","sources":["../../../../src/generated/resources/SsoSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAAoD;AAGpD,oEAA8C;AAE9C;IAAyC,+BAAY;IAArD;;IA0GA,CAAC;IAvGC;;;;;;;OAOG;IACH,0B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AAC;IAxGe,gBAAI,GAAmB,cAAc,CAAC;IAyGxD,kBAAC;CAAA,AA1GD,CAAyC,sBAAY,GA0GpD;kBA1GoB,WAAW"}
|
|
@@ -101,7 +101,7 @@ var Client = /** @class */ (function () {
|
|
|
101
101
|
});
|
|
102
102
|
Client.prototype.request = function (options) {
|
|
103
103
|
var _this = this;
|
|
104
|
-
return request(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: "@datocms/cma-client v1.1.
|
|
104
|
+
return request(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: "@datocms/cma-client v1.1.11", baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment
|
|
105
105
|
? { 'X-Environment': this.config.environment }
|
|
106
106
|
: {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) {
|
|
107
107
|
return _this.jobResultsFetcher
|
|
@@ -3379,6 +3379,10 @@ export declare type ItemTypeAttributes = {
|
|
|
3379
3379
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
3380
3380
|
*/
|
|
3381
3381
|
hint: string | null;
|
|
3382
|
+
/**
|
|
3383
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
3384
|
+
*/
|
|
3385
|
+
inverse_relationships_enabled: boolean;
|
|
3382
3386
|
};
|
|
3383
3387
|
/**
|
|
3384
3388
|
* JSON API links
|
|
@@ -3539,6 +3543,10 @@ export declare type ItemTypeCreateSchema = {
|
|
|
3539
3543
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
3540
3544
|
*/
|
|
3541
3545
|
hint?: string | null;
|
|
3546
|
+
/**
|
|
3547
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
3548
|
+
*/
|
|
3549
|
+
inverse_relationships_enabled?: boolean;
|
|
3542
3550
|
};
|
|
3543
3551
|
relationships?: {
|
|
3544
3552
|
/**
|
|
@@ -3650,6 +3658,10 @@ export declare type ItemTypeUpdateSchema = {
|
|
|
3650
3658
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
3651
3659
|
*/
|
|
3652
3660
|
hint?: string | null;
|
|
3661
|
+
/**
|
|
3662
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
3663
|
+
*/
|
|
3664
|
+
inverse_relationships_enabled?: boolean;
|
|
3653
3665
|
};
|
|
3654
3666
|
relationships?: {
|
|
3655
3667
|
/**
|
|
@@ -5104,6 +5116,7 @@ export declare type FieldsetCreateSchema = {
|
|
|
5104
5116
|
*/
|
|
5105
5117
|
export declare type FieldsetCreateTargetSchema = {
|
|
5106
5118
|
data: Fieldset;
|
|
5119
|
+
included?: ItemType[];
|
|
5107
5120
|
};
|
|
5108
5121
|
/**
|
|
5109
5122
|
* This interface was referenced by `Fieldset`'s JSON-Schema
|
|
@@ -8268,6 +8281,10 @@ export declare type SiteInvitationAttributes = {
|
|
|
8268
8281
|
* Email
|
|
8269
8282
|
*/
|
|
8270
8283
|
email: string;
|
|
8284
|
+
/**
|
|
8285
|
+
* Whether this invitation has expired
|
|
8286
|
+
*/
|
|
8287
|
+
expired: boolean;
|
|
8271
8288
|
};
|
|
8272
8289
|
/**
|
|
8273
8290
|
* JSON API links
|
|
@@ -8637,6 +8654,10 @@ export declare type SsoSettingsAttributes = {
|
|
|
8637
8654
|
* URL of Identity Provider SAML Metadata endpoint
|
|
8638
8655
|
*/
|
|
8639
8656
|
idp_saml_metadata_url: null | string;
|
|
8657
|
+
/**
|
|
8658
|
+
* Identity Provider SAML Metadata
|
|
8659
|
+
*/
|
|
8660
|
+
idp_saml_metadata_xml?: null | string;
|
|
8640
8661
|
/**
|
|
8641
8662
|
* DatoCMS SCIM base URL
|
|
8642
8663
|
*/
|
|
@@ -8725,9 +8746,13 @@ export declare type SsoSettingsUpdateSchema = {
|
|
|
8725
8746
|
/**
|
|
8726
8747
|
* URL of Identity Provider SAML Metadata endpoint
|
|
8727
8748
|
*/
|
|
8728
|
-
idp_saml_metadata_url
|
|
8749
|
+
idp_saml_metadata_url?: null | string;
|
|
8750
|
+
/**
|
|
8751
|
+
* Identity Provider SAML Metadata
|
|
8752
|
+
*/
|
|
8753
|
+
idp_saml_metadata_xml?: null | string;
|
|
8729
8754
|
};
|
|
8730
|
-
relationships
|
|
8755
|
+
relationships?: {
|
|
8731
8756
|
/**
|
|
8732
8757
|
* The default role assigned to SSO users that do not belong to any SSO group
|
|
8733
8758
|
*/
|
|
@@ -3884,6 +3884,10 @@ export declare type ItemType = {
|
|
|
3884
3884
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
3885
3885
|
*/
|
|
3886
3886
|
hint: string | null;
|
|
3887
|
+
/**
|
|
3888
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
3889
|
+
*/
|
|
3890
|
+
inverse_relationships_enabled: boolean;
|
|
3887
3891
|
singleton_item: ItemData | null;
|
|
3888
3892
|
fields: FieldData[];
|
|
3889
3893
|
fieldsets: FieldsetData[];
|
|
@@ -4001,6 +4005,10 @@ export declare type ItemTypeAttributes = {
|
|
|
4001
4005
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
4002
4006
|
*/
|
|
4003
4007
|
hint: string | null;
|
|
4008
|
+
/**
|
|
4009
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
4010
|
+
*/
|
|
4011
|
+
inverse_relationships_enabled: boolean;
|
|
4004
4012
|
};
|
|
4005
4013
|
/**
|
|
4006
4014
|
* JSON API links
|
|
@@ -4076,6 +4084,10 @@ export declare type ItemTypeCreateSchema = {
|
|
|
4076
4084
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
4077
4085
|
*/
|
|
4078
4086
|
hint?: string | null;
|
|
4087
|
+
/**
|
|
4088
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
4089
|
+
*/
|
|
4090
|
+
inverse_relationships_enabled?: boolean;
|
|
4079
4091
|
ordering_field?: FieldData | null;
|
|
4080
4092
|
title_field?: FieldData | null;
|
|
4081
4093
|
image_preview_field?: FieldData | null;
|
|
@@ -4145,6 +4157,10 @@ export declare type ItemTypeUpdateSchema = {
|
|
|
4145
4157
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
4146
4158
|
*/
|
|
4147
4159
|
hint?: string | null;
|
|
4160
|
+
/**
|
|
4161
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
4162
|
+
*/
|
|
4163
|
+
inverse_relationships_enabled?: boolean;
|
|
4148
4164
|
ordering_field?: FieldData | null;
|
|
4149
4165
|
title_field?: FieldData | null;
|
|
4150
4166
|
image_preview_field?: FieldData | null;
|
|
@@ -8195,6 +8211,10 @@ export declare type SiteInvitation = {
|
|
|
8195
8211
|
* Email
|
|
8196
8212
|
*/
|
|
8197
8213
|
email: string;
|
|
8214
|
+
/**
|
|
8215
|
+
* Whether this invitation has expired
|
|
8216
|
+
*/
|
|
8217
|
+
expired: boolean;
|
|
8198
8218
|
role: RoleData;
|
|
8199
8219
|
};
|
|
8200
8220
|
export declare type SiteInvitationCreateTargetSchema = SiteInvitation;
|
|
@@ -8222,6 +8242,10 @@ export declare type SiteInvitationAttributes = {
|
|
|
8222
8242
|
* Email
|
|
8223
8243
|
*/
|
|
8224
8244
|
email: string;
|
|
8245
|
+
/**
|
|
8246
|
+
* Whether this invitation has expired
|
|
8247
|
+
*/
|
|
8248
|
+
expired: boolean;
|
|
8225
8249
|
};
|
|
8226
8250
|
/**
|
|
8227
8251
|
* JSON API links
|
|
@@ -8389,6 +8413,10 @@ export declare type SsoSettings = {
|
|
|
8389
8413
|
* URL of Identity Provider SAML Metadata endpoint
|
|
8390
8414
|
*/
|
|
8391
8415
|
idp_saml_metadata_url: null | string;
|
|
8416
|
+
/**
|
|
8417
|
+
* Identity Provider SAML Metadata
|
|
8418
|
+
*/
|
|
8419
|
+
idp_saml_metadata_xml?: null | string;
|
|
8392
8420
|
/**
|
|
8393
8421
|
* DatoCMS SCIM base URL
|
|
8394
8422
|
*/
|
|
@@ -8438,6 +8466,10 @@ export declare type SsoSettingsAttributes = {
|
|
|
8438
8466
|
* URL of Identity Provider SAML Metadata endpoint
|
|
8439
8467
|
*/
|
|
8440
8468
|
idp_saml_metadata_url: null | string;
|
|
8469
|
+
/**
|
|
8470
|
+
* Identity Provider SAML Metadata
|
|
8471
|
+
*/
|
|
8472
|
+
idp_saml_metadata_xml?: null | string;
|
|
8441
8473
|
/**
|
|
8442
8474
|
* DatoCMS SCIM base URL
|
|
8443
8475
|
*/
|
|
@@ -8501,7 +8533,11 @@ export declare type SsoSettingsUpdateSchema = {
|
|
|
8501
8533
|
* URL of Identity Provider SAML Metadata endpoint
|
|
8502
8534
|
*/
|
|
8503
8535
|
idp_saml_metadata_url?: null | string;
|
|
8504
|
-
|
|
8536
|
+
/**
|
|
8537
|
+
* Identity Provider SAML Metadata
|
|
8538
|
+
*/
|
|
8539
|
+
idp_saml_metadata_xml?: null | string;
|
|
8540
|
+
default_role?: RoleData;
|
|
8505
8541
|
};
|
|
8506
8542
|
/**
|
|
8507
8543
|
* Represents the white-label settings of the current DatoCMS project
|
|
@@ -45,6 +45,7 @@ var ItemType = /** @class */ (function (_super) {
|
|
|
45
45
|
'collection_appeareance',
|
|
46
46
|
'collection_appearance',
|
|
47
47
|
'hint',
|
|
48
|
+
'inverse_relationships_enabled',
|
|
48
49
|
],
|
|
49
50
|
relationships: [
|
|
50
51
|
'ordering_field',
|
|
@@ -100,6 +101,7 @@ var ItemType = /** @class */ (function (_super) {
|
|
|
100
101
|
'ordering_meta',
|
|
101
102
|
'has_singleton_item',
|
|
102
103
|
'hint',
|
|
104
|
+
'inverse_relationships_enabled',
|
|
103
105
|
],
|
|
104
106
|
relationships: [
|
|
105
107
|
'ordering_field',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemType.js","sourceRoot":"","sources":["../../../../src/generated/resources/ItemType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AAGpD,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAE9C;IAAsC,4BAAY;IAAlD;;
|
|
1
|
+
{"version":3,"file":"ItemType.js","sourceRoot":"","sources":["../../../../src/generated/resources/ItemType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AAGpD,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAE9C;IAAsC,4BAAY;IAAlD;;IA8QA,CAAC;IA3QC;;;;;;;OAOG;IACH,yBAAM,GAAN,UACE,IAA4C,EAC5C,WAAwD;QAExD,OAAO,IAAI,CAAC,SAAS,CACnB,KAAK,CAAC,oBAAoB,CAAmC,IAAI,EAAE;YACjE,IAAI,EAAE,WAAW;YACjB,UAAU,EAAE;gBACV,MAAM;gBACN,SAAS;gBACT,WAAW;gBACX,sBAAsB;gBACtB,UAAU;gBACV,eAAe;gBACf,mBAAmB;gBACnB,MAAM;gBACN,oBAAoB;gBACpB,eAAe;gBACf,wBAAwB;gBACxB,uBAAuB;gBACvB,MAAM;gBACN,+BAA+B;aAChC;YACD,aAAa,EAAE;gBACb,gBAAgB;gBAChB,aAAa;gBACb,qBAAqB;gBACrB,eAAe;gBACf,UAAU;aACX;SACF,CAAC,EACF,WAAW,CACZ,CAAC,IAAI,CAAC,UAAC,IAAI;YACV,OAAA,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL;QAFD,CAEC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,4BAAS,GAAT,UACE,IAAsC,EACtC,WAAkD;QAElD,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAyC;YACjE,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,aAAa;YAClB,IAAI,MAAA;YACJ,WAAW,aAAA;SACZ,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,yBAAM,GAAN,UACE,UAAmD,EACnD,IAA4C;QAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,KA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E,sBAAe,UAAU,CAAE;YAChC,WAAW,aAAA;SACZ,CAAC,CAAC;IACL,CAAC;IA5Qe,aAAI,GAAgB,WAAW,CAAC;IA6QlD,eAAC;CAAA,AA9QD,CAAsC,YAAY,GA8QjD;eA9QoB,QAAQ"}
|
|
@@ -85,7 +85,7 @@ var SsoSettings = /** @class */ (function (_super) {
|
|
|
85
85
|
SsoSettings.prototype.update = function (body) {
|
|
86
86
|
return this.rawUpdate(Utils.serializeRequestBody(body, {
|
|
87
87
|
type: 'sso_settings',
|
|
88
|
-
attributes: ['idp_saml_metadata_url'],
|
|
88
|
+
attributes: ['idp_saml_metadata_url', 'idp_saml_metadata_xml'],
|
|
89
89
|
relationships: ['default_role'],
|
|
90
90
|
})).then(function (body) {
|
|
91
91
|
return Utils.deserializeResponseBody(body);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SsoSettings.js","sourceRoot":"","sources":["../../../../src/generated/resources/SsoSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AAGpD,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAE9C;IAAyC,+BAAY;IAArD;;IA0GA,CAAC;IAvGC;;;;;;;OAOG;IACH,0BAAI,GAAJ;QACE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,UAAC,IAAI;YAC9B,OAAA,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL;QAFD,CAEC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,6BAAO,GAAP;QACE,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAA0C;YAClE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,eAAe;SACrB,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,mCAAa,GAAb;QACE,OAAO,IAAI,CAAC,gBAAgB,EAAE,CAAC,IAAI,CAAC,UAAC,IAAI;YACvC,OAAA,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL;QAFD,CAEC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,sCAAgB,GAAhB;QACE,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CACxB;YACE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,8BAA8B;SACpC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,4BAAM,GAAN,UAAO,IAA+C;QACpD,OAAO,IAAI,CAAC,SAAS,CACnB,KAAK,CAAC,oBAAoB,CAAsC,IAAI,EAAE;YACpE,IAAI,EAAE,cAAc;YACpB,UAAU,EAAE,CAAC,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"SsoSettings.js","sourceRoot":"","sources":["../../../../src/generated/resources/SsoSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AAGpD,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAE9C;IAAyC,+BAAY;IAArD;;IA0GA,CAAC;IAvGC;;;;;;;OAOG;IACH,0BAAI,GAAJ;QACE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,UAAC,IAAI;YAC9B,OAAA,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL;QAFD,CAEC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,6BAAO,GAAP;QACE,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAA0C;YAClE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,eAAe;SACrB,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,mCAAa,GAAb;QACE,OAAO,IAAI,CAAC,gBAAgB,EAAE,CAAC,IAAI,CAAC,UAAC,IAAI;YACvC,OAAA,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL;QAFD,CAEC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,sCAAgB,GAAhB;QACE,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CACxB;YACE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,8BAA8B;SACpC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,4BAAM,GAAN,UAAO,IAA+C;QACpD,OAAO,IAAI,CAAC,SAAS,CACnB,KAAK,CAAC,oBAAoB,CAAsC,IAAI,EAAE;YACpE,IAAI,EAAE,cAAc;YACpB,UAAU,EAAE,CAAC,uBAAuB,EAAE,uBAAuB,CAAC;YAC9D,aAAa,EAAE,CAAC,cAAc,CAAC;SAChC,CAAC,CACH,CAAC,IAAI,CAAC,UAAC,IAAI;YACV,OAAA,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL;QAFD,CAEC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,+BAAS,GAAT,UACE,IAAyC;QAEzC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAA4C;YACpE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,eAAe;YACpB,IAAI,MAAA;SACL,CAAC,CAAC;IACL,CAAC;IAxGe,gBAAI,GAAmB,cAAc,CAAC;IAyGxD,kBAAC;CAAA,AA1GD,CAAyC,YAAY,GA0GpD;eA1GoB,WAAW"}
|
|
@@ -3379,6 +3379,10 @@ export declare type ItemTypeAttributes = {
|
|
|
3379
3379
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
3380
3380
|
*/
|
|
3381
3381
|
hint: string | null;
|
|
3382
|
+
/**
|
|
3383
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
3384
|
+
*/
|
|
3385
|
+
inverse_relationships_enabled: boolean;
|
|
3382
3386
|
};
|
|
3383
3387
|
/**
|
|
3384
3388
|
* JSON API links
|
|
@@ -3539,6 +3543,10 @@ export declare type ItemTypeCreateSchema = {
|
|
|
3539
3543
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
3540
3544
|
*/
|
|
3541
3545
|
hint?: string | null;
|
|
3546
|
+
/**
|
|
3547
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
3548
|
+
*/
|
|
3549
|
+
inverse_relationships_enabled?: boolean;
|
|
3542
3550
|
};
|
|
3543
3551
|
relationships?: {
|
|
3544
3552
|
/**
|
|
@@ -3650,6 +3658,10 @@ export declare type ItemTypeUpdateSchema = {
|
|
|
3650
3658
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
3651
3659
|
*/
|
|
3652
3660
|
hint?: string | null;
|
|
3661
|
+
/**
|
|
3662
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
3663
|
+
*/
|
|
3664
|
+
inverse_relationships_enabled?: boolean;
|
|
3653
3665
|
};
|
|
3654
3666
|
relationships?: {
|
|
3655
3667
|
/**
|
|
@@ -5104,6 +5116,7 @@ export declare type FieldsetCreateSchema = {
|
|
|
5104
5116
|
*/
|
|
5105
5117
|
export declare type FieldsetCreateTargetSchema = {
|
|
5106
5118
|
data: Fieldset;
|
|
5119
|
+
included?: ItemType[];
|
|
5107
5120
|
};
|
|
5108
5121
|
/**
|
|
5109
5122
|
* This interface was referenced by `Fieldset`'s JSON-Schema
|
|
@@ -8268,6 +8281,10 @@ export declare type SiteInvitationAttributes = {
|
|
|
8268
8281
|
* Email
|
|
8269
8282
|
*/
|
|
8270
8283
|
email: string;
|
|
8284
|
+
/**
|
|
8285
|
+
* Whether this invitation has expired
|
|
8286
|
+
*/
|
|
8287
|
+
expired: boolean;
|
|
8271
8288
|
};
|
|
8272
8289
|
/**
|
|
8273
8290
|
* JSON API links
|
|
@@ -8637,6 +8654,10 @@ export declare type SsoSettingsAttributes = {
|
|
|
8637
8654
|
* URL of Identity Provider SAML Metadata endpoint
|
|
8638
8655
|
*/
|
|
8639
8656
|
idp_saml_metadata_url: null | string;
|
|
8657
|
+
/**
|
|
8658
|
+
* Identity Provider SAML Metadata
|
|
8659
|
+
*/
|
|
8660
|
+
idp_saml_metadata_xml?: null | string;
|
|
8640
8661
|
/**
|
|
8641
8662
|
* DatoCMS SCIM base URL
|
|
8642
8663
|
*/
|
|
@@ -8725,9 +8746,13 @@ export declare type SsoSettingsUpdateSchema = {
|
|
|
8725
8746
|
/**
|
|
8726
8747
|
* URL of Identity Provider SAML Metadata endpoint
|
|
8727
8748
|
*/
|
|
8728
|
-
idp_saml_metadata_url
|
|
8749
|
+
idp_saml_metadata_url?: null | string;
|
|
8750
|
+
/**
|
|
8751
|
+
* Identity Provider SAML Metadata
|
|
8752
|
+
*/
|
|
8753
|
+
idp_saml_metadata_xml?: null | string;
|
|
8729
8754
|
};
|
|
8730
|
-
relationships
|
|
8755
|
+
relationships?: {
|
|
8731
8756
|
/**
|
|
8732
8757
|
* The default role assigned to SSO users that do not belong to any SSO group
|
|
8733
8758
|
*/
|
|
@@ -3884,6 +3884,10 @@ export declare type ItemType = {
|
|
|
3884
3884
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
3885
3885
|
*/
|
|
3886
3886
|
hint: string | null;
|
|
3887
|
+
/**
|
|
3888
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
3889
|
+
*/
|
|
3890
|
+
inverse_relationships_enabled: boolean;
|
|
3887
3891
|
singleton_item: ItemData | null;
|
|
3888
3892
|
fields: FieldData[];
|
|
3889
3893
|
fieldsets: FieldsetData[];
|
|
@@ -4001,6 +4005,10 @@ export declare type ItemTypeAttributes = {
|
|
|
4001
4005
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
4002
4006
|
*/
|
|
4003
4007
|
hint: string | null;
|
|
4008
|
+
/**
|
|
4009
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
4010
|
+
*/
|
|
4011
|
+
inverse_relationships_enabled: boolean;
|
|
4004
4012
|
};
|
|
4005
4013
|
/**
|
|
4006
4014
|
* JSON API links
|
|
@@ -4076,6 +4084,10 @@ export declare type ItemTypeCreateSchema = {
|
|
|
4076
4084
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
4077
4085
|
*/
|
|
4078
4086
|
hint?: string | null;
|
|
4087
|
+
/**
|
|
4088
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
4089
|
+
*/
|
|
4090
|
+
inverse_relationships_enabled?: boolean;
|
|
4079
4091
|
ordering_field?: FieldData | null;
|
|
4080
4092
|
title_field?: FieldData | null;
|
|
4081
4093
|
image_preview_field?: FieldData | null;
|
|
@@ -4145,6 +4157,10 @@ export declare type ItemTypeUpdateSchema = {
|
|
|
4145
4157
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
4146
4158
|
*/
|
|
4147
4159
|
hint?: string | null;
|
|
4160
|
+
/**
|
|
4161
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
4162
|
+
*/
|
|
4163
|
+
inverse_relationships_enabled?: boolean;
|
|
4148
4164
|
ordering_field?: FieldData | null;
|
|
4149
4165
|
title_field?: FieldData | null;
|
|
4150
4166
|
image_preview_field?: FieldData | null;
|
|
@@ -8195,6 +8211,10 @@ export declare type SiteInvitation = {
|
|
|
8195
8211
|
* Email
|
|
8196
8212
|
*/
|
|
8197
8213
|
email: string;
|
|
8214
|
+
/**
|
|
8215
|
+
* Whether this invitation has expired
|
|
8216
|
+
*/
|
|
8217
|
+
expired: boolean;
|
|
8198
8218
|
role: RoleData;
|
|
8199
8219
|
};
|
|
8200
8220
|
export declare type SiteInvitationCreateTargetSchema = SiteInvitation;
|
|
@@ -8222,6 +8242,10 @@ export declare type SiteInvitationAttributes = {
|
|
|
8222
8242
|
* Email
|
|
8223
8243
|
*/
|
|
8224
8244
|
email: string;
|
|
8245
|
+
/**
|
|
8246
|
+
* Whether this invitation has expired
|
|
8247
|
+
*/
|
|
8248
|
+
expired: boolean;
|
|
8225
8249
|
};
|
|
8226
8250
|
/**
|
|
8227
8251
|
* JSON API links
|
|
@@ -8389,6 +8413,10 @@ export declare type SsoSettings = {
|
|
|
8389
8413
|
* URL of Identity Provider SAML Metadata endpoint
|
|
8390
8414
|
*/
|
|
8391
8415
|
idp_saml_metadata_url: null | string;
|
|
8416
|
+
/**
|
|
8417
|
+
* Identity Provider SAML Metadata
|
|
8418
|
+
*/
|
|
8419
|
+
idp_saml_metadata_xml?: null | string;
|
|
8392
8420
|
/**
|
|
8393
8421
|
* DatoCMS SCIM base URL
|
|
8394
8422
|
*/
|
|
@@ -8438,6 +8466,10 @@ export declare type SsoSettingsAttributes = {
|
|
|
8438
8466
|
* URL of Identity Provider SAML Metadata endpoint
|
|
8439
8467
|
*/
|
|
8440
8468
|
idp_saml_metadata_url: null | string;
|
|
8469
|
+
/**
|
|
8470
|
+
* Identity Provider SAML Metadata
|
|
8471
|
+
*/
|
|
8472
|
+
idp_saml_metadata_xml?: null | string;
|
|
8441
8473
|
/**
|
|
8442
8474
|
* DatoCMS SCIM base URL
|
|
8443
8475
|
*/
|
|
@@ -8501,7 +8533,11 @@ export declare type SsoSettingsUpdateSchema = {
|
|
|
8501
8533
|
* URL of Identity Provider SAML Metadata endpoint
|
|
8502
8534
|
*/
|
|
8503
8535
|
idp_saml_metadata_url?: null | string;
|
|
8504
|
-
|
|
8536
|
+
/**
|
|
8537
|
+
* Identity Provider SAML Metadata
|
|
8538
|
+
*/
|
|
8539
|
+
idp_saml_metadata_xml?: null | string;
|
|
8540
|
+
default_role?: RoleData;
|
|
8505
8541
|
};
|
|
8506
8542
|
/**
|
|
8507
8543
|
* Represents the white-label settings of the current DatoCMS project
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datocms/cma-client",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.11",
|
|
4
4
|
"description": "JS client for DatoCMS REST Content Management API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datocms",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"url": "https://github.com/datocms/js-rest-api-clients/issues"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@datocms/rest-client-utils": "^1.1.
|
|
40
|
+
"@datocms/rest-client-utils": "^1.1.11"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@datocms/dashboard-client": "^1.1.
|
|
43
|
+
"@datocms/dashboard-client": "^1.1.11"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "fd5f296207b24655aae969671a41e5913f3d5501"
|
|
46
46
|
}
|
package/resources.json
CHANGED
|
@@ -478,7 +478,8 @@
|
|
|
478
478
|
"ordering_meta",
|
|
479
479
|
"collection_appeareance",
|
|
480
480
|
"collection_appearance",
|
|
481
|
-
"hint"
|
|
481
|
+
"hint",
|
|
482
|
+
"inverse_relationships_enabled"
|
|
482
483
|
],
|
|
483
484
|
"relationships": [
|
|
484
485
|
"ordering_field",
|
|
@@ -523,7 +524,8 @@
|
|
|
523
524
|
"ordering_direction",
|
|
524
525
|
"ordering_meta",
|
|
525
526
|
"has_singleton_item",
|
|
526
|
-
"hint"
|
|
527
|
+
"hint",
|
|
528
|
+
"inverse_relationships_enabled"
|
|
527
529
|
],
|
|
528
530
|
"relationships": [
|
|
529
531
|
"ordering_field",
|
|
@@ -3051,7 +3053,8 @@
|
|
|
3051
3053
|
"requestStructure": {
|
|
3052
3054
|
"type": "sso_settings",
|
|
3053
3055
|
"attributes": [
|
|
3054
|
-
"idp_saml_metadata_url"
|
|
3056
|
+
"idp_saml_metadata_url",
|
|
3057
|
+
"idp_saml_metadata_xml"
|
|
3055
3058
|
],
|
|
3056
3059
|
"relationships": [
|
|
3057
3060
|
"default_role"
|
package/src/generated/Client.ts
CHANGED
|
@@ -133,7 +133,7 @@ export class Client {
|
|
|
133
133
|
...this.config,
|
|
134
134
|
...options,
|
|
135
135
|
logFn: this.config.logFn || console.log,
|
|
136
|
-
userAgent: `@datocms/cma-client v1.1.
|
|
136
|
+
userAgent: `@datocms/cma-client v1.1.11`,
|
|
137
137
|
baseUrl: this.baseUrl,
|
|
138
138
|
preCallStack: new Error().stack,
|
|
139
139
|
extraHeaders: {
|
|
@@ -3616,6 +3616,10 @@ export type ItemTypeAttributes = {
|
|
|
3616
3616
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
3617
3617
|
*/
|
|
3618
3618
|
hint: string | null;
|
|
3619
|
+
/**
|
|
3620
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
3621
|
+
*/
|
|
3622
|
+
inverse_relationships_enabled: boolean;
|
|
3619
3623
|
};
|
|
3620
3624
|
|
|
3621
3625
|
/**
|
|
@@ -3787,6 +3791,10 @@ export type ItemTypeCreateSchema = {
|
|
|
3787
3791
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
3788
3792
|
*/
|
|
3789
3793
|
hint?: string | null;
|
|
3794
|
+
/**
|
|
3795
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
3796
|
+
*/
|
|
3797
|
+
inverse_relationships_enabled?: boolean;
|
|
3790
3798
|
};
|
|
3791
3799
|
relationships?: {
|
|
3792
3800
|
/**
|
|
@@ -3905,6 +3913,10 @@ export type ItemTypeUpdateSchema = {
|
|
|
3905
3913
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
3906
3914
|
*/
|
|
3907
3915
|
hint?: string | null;
|
|
3916
|
+
/**
|
|
3917
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
3918
|
+
*/
|
|
3919
|
+
inverse_relationships_enabled?: boolean;
|
|
3908
3920
|
};
|
|
3909
3921
|
relationships?: {
|
|
3910
3922
|
/**
|
|
@@ -5405,6 +5417,7 @@ export type FieldsetCreateSchema = {
|
|
|
5405
5417
|
*/
|
|
5406
5418
|
export type FieldsetCreateTargetSchema = {
|
|
5407
5419
|
data: Fieldset;
|
|
5420
|
+
included?: ItemType[];
|
|
5408
5421
|
};
|
|
5409
5422
|
|
|
5410
5423
|
/**
|
|
@@ -8822,6 +8835,10 @@ export type SiteInvitationAttributes = {
|
|
|
8822
8835
|
* Email
|
|
8823
8836
|
*/
|
|
8824
8837
|
email: string;
|
|
8838
|
+
/**
|
|
8839
|
+
* Whether this invitation has expired
|
|
8840
|
+
*/
|
|
8841
|
+
expired: boolean;
|
|
8825
8842
|
};
|
|
8826
8843
|
|
|
8827
8844
|
/**
|
|
@@ -9222,6 +9239,10 @@ export type SsoSettingsAttributes = {
|
|
|
9222
9239
|
* URL of Identity Provider SAML Metadata endpoint
|
|
9223
9240
|
*/
|
|
9224
9241
|
idp_saml_metadata_url: null | string;
|
|
9242
|
+
/**
|
|
9243
|
+
* Identity Provider SAML Metadata
|
|
9244
|
+
*/
|
|
9245
|
+
idp_saml_metadata_xml?: null | string;
|
|
9225
9246
|
/**
|
|
9226
9247
|
* DatoCMS SCIM base URL
|
|
9227
9248
|
*/
|
|
@@ -9315,9 +9336,13 @@ export type SsoSettingsUpdateSchema = {
|
|
|
9315
9336
|
/**
|
|
9316
9337
|
* URL of Identity Provider SAML Metadata endpoint
|
|
9317
9338
|
*/
|
|
9318
|
-
idp_saml_metadata_url
|
|
9339
|
+
idp_saml_metadata_url?: null | string;
|
|
9340
|
+
/**
|
|
9341
|
+
* Identity Provider SAML Metadata
|
|
9342
|
+
*/
|
|
9343
|
+
idp_saml_metadata_xml?: null | string;
|
|
9319
9344
|
};
|
|
9320
|
-
relationships
|
|
9345
|
+
relationships?: {
|
|
9321
9346
|
/**
|
|
9322
9347
|
* The default role assigned to SSO users that do not belong to any SSO group
|
|
9323
9348
|
*/
|
|
@@ -4127,6 +4127,10 @@ export type ItemType = {
|
|
|
4127
4127
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
4128
4128
|
*/
|
|
4129
4129
|
hint: string | null;
|
|
4130
|
+
/**
|
|
4131
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
4132
|
+
*/
|
|
4133
|
+
inverse_relationships_enabled: boolean;
|
|
4130
4134
|
singleton_item: ItemData | null;
|
|
4131
4135
|
fields: FieldData[];
|
|
4132
4136
|
fieldsets: FieldsetData[];
|
|
@@ -4253,6 +4257,10 @@ export type ItemTypeAttributes = {
|
|
|
4253
4257
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
4254
4258
|
*/
|
|
4255
4259
|
hint: string | null;
|
|
4260
|
+
/**
|
|
4261
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
4262
|
+
*/
|
|
4263
|
+
inverse_relationships_enabled: boolean;
|
|
4256
4264
|
};
|
|
4257
4265
|
|
|
4258
4266
|
/**
|
|
@@ -4335,6 +4343,10 @@ export type ItemTypeCreateSchema = {
|
|
|
4335
4343
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
4336
4344
|
*/
|
|
4337
4345
|
hint?: string | null;
|
|
4346
|
+
/**
|
|
4347
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
4348
|
+
*/
|
|
4349
|
+
inverse_relationships_enabled?: boolean;
|
|
4338
4350
|
ordering_field?: FieldData | null;
|
|
4339
4351
|
title_field?: FieldData | null;
|
|
4340
4352
|
image_preview_field?: FieldData | null;
|
|
@@ -4410,6 +4422,10 @@ export type ItemTypeUpdateSchema = {
|
|
|
4410
4422
|
* A hint shown to editors to help them understand the purpose of this model/block
|
|
4411
4423
|
*/
|
|
4412
4424
|
hint?: string | null;
|
|
4425
|
+
/**
|
|
4426
|
+
* Whether inverse relationships fields are expressed in GraphQL or not
|
|
4427
|
+
*/
|
|
4428
|
+
inverse_relationships_enabled?: boolean;
|
|
4413
4429
|
ordering_field?: FieldData | null;
|
|
4414
4430
|
title_field?: FieldData | null;
|
|
4415
4431
|
image_preview_field?: FieldData | null;
|
|
@@ -8656,6 +8672,10 @@ export type SiteInvitation = {
|
|
|
8656
8672
|
* Email
|
|
8657
8673
|
*/
|
|
8658
8674
|
email: string;
|
|
8675
|
+
/**
|
|
8676
|
+
* Whether this invitation has expired
|
|
8677
|
+
*/
|
|
8678
|
+
expired: boolean;
|
|
8659
8679
|
role: RoleData;
|
|
8660
8680
|
};
|
|
8661
8681
|
export type SiteInvitationCreateTargetSchema = SiteInvitation;
|
|
@@ -8684,6 +8704,10 @@ export type SiteInvitationAttributes = {
|
|
|
8684
8704
|
* Email
|
|
8685
8705
|
*/
|
|
8686
8706
|
email: string;
|
|
8707
|
+
/**
|
|
8708
|
+
* Whether this invitation has expired
|
|
8709
|
+
*/
|
|
8710
|
+
expired: boolean;
|
|
8687
8711
|
};
|
|
8688
8712
|
|
|
8689
8713
|
/**
|
|
@@ -8861,6 +8885,10 @@ export type SsoSettings = {
|
|
|
8861
8885
|
* URL of Identity Provider SAML Metadata endpoint
|
|
8862
8886
|
*/
|
|
8863
8887
|
idp_saml_metadata_url: null | string;
|
|
8888
|
+
/**
|
|
8889
|
+
* Identity Provider SAML Metadata
|
|
8890
|
+
*/
|
|
8891
|
+
idp_saml_metadata_xml?: null | string;
|
|
8864
8892
|
/**
|
|
8865
8893
|
* DatoCMS SCIM base URL
|
|
8866
8894
|
*/
|
|
@@ -8911,6 +8939,10 @@ export type SsoSettingsAttributes = {
|
|
|
8911
8939
|
* URL of Identity Provider SAML Metadata endpoint
|
|
8912
8940
|
*/
|
|
8913
8941
|
idp_saml_metadata_url: null | string;
|
|
8942
|
+
/**
|
|
8943
|
+
* Identity Provider SAML Metadata
|
|
8944
|
+
*/
|
|
8945
|
+
idp_saml_metadata_xml?: null | string;
|
|
8914
8946
|
/**
|
|
8915
8947
|
* DatoCMS SCIM base URL
|
|
8916
8948
|
*/
|
|
@@ -8977,7 +9009,11 @@ export type SsoSettingsUpdateSchema = {
|
|
|
8977
9009
|
* URL of Identity Provider SAML Metadata endpoint
|
|
8978
9010
|
*/
|
|
8979
9011
|
idp_saml_metadata_url?: null | string;
|
|
8980
|
-
|
|
9012
|
+
/**
|
|
9013
|
+
* Identity Provider SAML Metadata
|
|
9014
|
+
*/
|
|
9015
|
+
idp_saml_metadata_xml?: null | string;
|
|
9016
|
+
default_role?: RoleData;
|
|
8981
9017
|
};
|
|
8982
9018
|
|
|
8983
9019
|
/**
|
|
@@ -35,6 +35,7 @@ export default class ItemType extends BaseResource {
|
|
|
35
35
|
'collection_appeareance',
|
|
36
36
|
'collection_appearance',
|
|
37
37
|
'hint',
|
|
38
|
+
'inverse_relationships_enabled',
|
|
38
39
|
],
|
|
39
40
|
relationships: [
|
|
40
41
|
'ordering_field',
|
|
@@ -104,6 +105,7 @@ export default class ItemType extends BaseResource {
|
|
|
104
105
|
'ordering_meta',
|
|
105
106
|
'has_singleton_item',
|
|
106
107
|
'hint',
|
|
108
|
+
'inverse_relationships_enabled',
|
|
107
109
|
],
|
|
108
110
|
relationships: [
|
|
109
111
|
'ordering_field',
|
|
@@ -82,7 +82,7 @@ export default class SsoSettings extends BaseResource {
|
|
|
82
82
|
return this.rawUpdate(
|
|
83
83
|
Utils.serializeRequestBody<SchemaTypes.SsoSettingsUpdateSchema>(body, {
|
|
84
84
|
type: 'sso_settings',
|
|
85
|
-
attributes: ['idp_saml_metadata_url'],
|
|
85
|
+
attributes: ['idp_saml_metadata_url', 'idp_saml_metadata_xml'],
|
|
86
86
|
relationships: ['default_role'],
|
|
87
87
|
}),
|
|
88
88
|
).then((body) =>
|