@datocms/cma-client 1.1.15 → 1.1.17
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/SchemaTypes.js +4 -1
- package/dist/cjs/generated/SchemaTypes.js.map +1 -1
- package/dist/cjs/generated/SimpleSchemaTypes.js +4 -1
- package/dist/cjs/generated/SimpleSchemaTypes.js.map +1 -1
- package/dist/cjs/generated/resources/AccessToken.js +2 -2
- package/dist/cjs/generated/resources/AuditLogEvent.js +1 -1
- package/dist/cjs/generated/resources/BuildEvent.js +1 -1
- package/dist/cjs/generated/resources/BuildTrigger.js +2 -2
- package/dist/cjs/generated/resources/DailyUsage.js +1 -1
- package/dist/cjs/generated/resources/EditingSession.js +1 -1
- package/dist/cjs/generated/resources/Environment.js +1 -1
- package/dist/cjs/generated/resources/Item.js +10 -10
- package/dist/cjs/generated/resources/ItemType.js +2 -2
- package/dist/cjs/generated/resources/ItemTypeFilter.js +2 -2
- package/dist/cjs/generated/resources/MaintenanceMode.js +3 -3
- package/dist/cjs/generated/resources/MenuItem.js +2 -2
- package/dist/cjs/generated/resources/Plugin.js +2 -2
- package/dist/cjs/generated/resources/PublicInfo.js +1 -1
- package/dist/cjs/generated/resources/Role.js +2 -2
- package/dist/cjs/generated/resources/SearchResult.js +1 -1
- package/dist/cjs/generated/resources/Session.js +1 -1
- package/dist/cjs/generated/resources/Site.js +3 -3
- package/dist/cjs/generated/resources/SiteInvitation.js +2 -2
- package/dist/cjs/generated/resources/SsoGroup.js +1 -1
- package/dist/cjs/generated/resources/SsoSettings.js +3 -3
- package/dist/cjs/generated/resources/SsoUser.js +2 -2
- package/dist/cjs/generated/resources/SubscriptionFeature.js +1 -1
- package/dist/cjs/generated/resources/SubscriptionLimit.js +1 -1
- package/dist/cjs/generated/resources/Upload.js +6 -6
- package/dist/cjs/generated/resources/UploadFilter.js +2 -2
- package/dist/cjs/generated/resources/UploadRequest.js +1 -1
- package/dist/cjs/generated/resources/UploadSmartTag.js +1 -1
- package/dist/cjs/generated/resources/UploadTag.js +2 -2
- package/dist/cjs/generated/resources/User.js +2 -2
- package/dist/cjs/generated/resources/Webhook.js +2 -2
- package/dist/cjs/generated/resources/WebhookCall.js +1 -1
- package/dist/cjs/generated/resources/WhiteLabelSettings.js +2 -2
- package/dist/cjs/generated/resources/Workflow.js +2 -2
- package/dist/cjs/resources/Role.js +0 -1
- package/dist/cjs/resources/Role.js.map +1 -1
- package/dist/esm/generated/Client.js +1 -1
- package/dist/esm/generated/SchemaTypes.d.ts +1 -1
- package/dist/esm/generated/SchemaTypes.js +4 -1
- package/dist/esm/generated/SchemaTypes.js.map +1 -1
- package/dist/esm/generated/SimpleSchemaTypes.d.ts +1 -1
- package/dist/esm/generated/SimpleSchemaTypes.js +4 -1
- package/dist/esm/generated/SimpleSchemaTypes.js.map +1 -1
- package/dist/esm/generated/resources/AccessToken.js +2 -2
- package/dist/esm/generated/resources/AuditLogEvent.js +1 -1
- package/dist/esm/generated/resources/BuildEvent.js +1 -1
- package/dist/esm/generated/resources/BuildTrigger.js +2 -2
- package/dist/esm/generated/resources/DailyUsage.js +1 -1
- package/dist/esm/generated/resources/EditingSession.js +1 -1
- package/dist/esm/generated/resources/Environment.js +1 -1
- package/dist/esm/generated/resources/Item.js +10 -10
- package/dist/esm/generated/resources/ItemType.js +2 -2
- package/dist/esm/generated/resources/ItemTypeFilter.js +2 -2
- package/dist/esm/generated/resources/MaintenanceMode.js +3 -3
- package/dist/esm/generated/resources/MenuItem.js +2 -2
- package/dist/esm/generated/resources/Plugin.js +2 -2
- package/dist/esm/generated/resources/PublicInfo.js +1 -1
- package/dist/esm/generated/resources/Role.js +2 -2
- package/dist/esm/generated/resources/SearchResult.js +1 -1
- package/dist/esm/generated/resources/Session.js +1 -1
- package/dist/esm/generated/resources/Site.js +3 -3
- package/dist/esm/generated/resources/SiteInvitation.js +2 -2
- package/dist/esm/generated/resources/SsoGroup.js +1 -1
- package/dist/esm/generated/resources/SsoSettings.js +3 -3
- package/dist/esm/generated/resources/SsoUser.js +2 -2
- package/dist/esm/generated/resources/SubscriptionFeature.js +1 -1
- package/dist/esm/generated/resources/SubscriptionLimit.js +1 -1
- package/dist/esm/generated/resources/Upload.js +6 -6
- package/dist/esm/generated/resources/UploadFilter.js +2 -2
- package/dist/esm/generated/resources/UploadRequest.js +1 -1
- package/dist/esm/generated/resources/UploadSmartTag.js +1 -1
- package/dist/esm/generated/resources/UploadTag.js +2 -2
- package/dist/esm/generated/resources/User.js +2 -2
- package/dist/esm/generated/resources/Webhook.js +2 -2
- package/dist/esm/generated/resources/WebhookCall.js +1 -1
- package/dist/esm/generated/resources/WhiteLabelSettings.js +2 -2
- package/dist/esm/generated/resources/Workflow.js +2 -2
- package/dist/esm/resources/Role.js +0 -1
- package/dist/esm/resources/Role.js.map +1 -1
- package/dist/types/generated/SchemaTypes.d.ts +1 -1
- package/dist/types/generated/SimpleSchemaTypes.d.ts +1 -1
- package/package.json +4 -4
- package/src/generated/Client.ts +1 -1
- package/src/generated/SchemaTypes.ts +1 -3
- package/src/generated/SimpleSchemaTypes.ts +1 -3
- package/src/generated/resources/AccessToken.ts +2 -2
- package/src/generated/resources/AuditLogEvent.ts +1 -1
- package/src/generated/resources/BuildEvent.ts +1 -1
- package/src/generated/resources/BuildTrigger.ts +2 -2
- package/src/generated/resources/DailyUsage.ts +1 -1
- package/src/generated/resources/EditingSession.ts +1 -1
- package/src/generated/resources/Environment.ts +1 -1
- package/src/generated/resources/Item.ts +10 -10
- package/src/generated/resources/ItemType.ts +2 -2
- package/src/generated/resources/ItemTypeFilter.ts +2 -2
- package/src/generated/resources/MaintenanceMode.ts +3 -3
- package/src/generated/resources/MenuItem.ts +2 -2
- package/src/generated/resources/Plugin.ts +2 -2
- package/src/generated/resources/PublicInfo.ts +1 -1
- package/src/generated/resources/Role.ts +2 -2
- package/src/generated/resources/SearchResult.ts +1 -1
- package/src/generated/resources/Session.ts +1 -1
- package/src/generated/resources/Site.ts +3 -3
- package/src/generated/resources/SiteInvitation.ts +2 -2
- package/src/generated/resources/SsoGroup.ts +1 -1
- package/src/generated/resources/SsoSettings.ts +3 -3
- package/src/generated/resources/SsoUser.ts +2 -2
- package/src/generated/resources/SubscriptionFeature.ts +1 -1
- package/src/generated/resources/SubscriptionLimit.ts +1 -1
- package/src/generated/resources/Upload.ts +6 -6
- package/src/generated/resources/UploadFilter.ts +2 -2
- package/src/generated/resources/UploadRequest.ts +1 -1
- package/src/generated/resources/UploadSmartTag.ts +1 -1
- package/src/generated/resources/UploadTag.ts +2 -2
- package/src/generated/resources/User.ts +2 -2
- package/src/generated/resources/Webhook.ts +2 -2
- package/src/generated/resources/WebhookCall.ts +1 -1
- package/src/generated/resources/WhiteLabelSettings.ts +2 -2
- package/src/generated/resources/Workflow.ts +2 -2
- package/src/resources/Role.ts +1 -2
|
@@ -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.17', 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
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/*
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by hyperschema-to-ts: DO NOT MODIFY IT BY HAND.
|
|
5
|
+
*/
|
|
3
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
7
|
//# sourceMappingURL=SchemaTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaTypes.js","sourceRoot":"","sources":["../../../src/generated/SchemaTypes.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"SchemaTypes.js","sourceRoot":"","sources":["../../../src/generated/SchemaTypes.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB;;GAEG"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/*
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by hyperschema-to-ts: DO NOT MODIFY IT BY HAND.
|
|
5
|
+
*/
|
|
3
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
7
|
//# sourceMappingURL=SimpleSchemaTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleSchemaTypes.js","sourceRoot":"","sources":["../../../src/generated/SimpleSchemaTypes.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"SimpleSchemaTypes.js","sourceRoot":"","sources":["../../../src/generated/SimpleSchemaTypes.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB;;GAEG"}
|
|
@@ -81,7 +81,7 @@ var AccessToken = /** @class */ (function (_super) {
|
|
|
81
81
|
AccessToken.prototype.rawCreate = function (body) {
|
|
82
82
|
return this.client.request({
|
|
83
83
|
method: 'POST',
|
|
84
|
-
url:
|
|
84
|
+
url: '/access_tokens',
|
|
85
85
|
body: body,
|
|
86
86
|
});
|
|
87
87
|
};
|
|
@@ -147,7 +147,7 @@ var AccessToken = /** @class */ (function (_super) {
|
|
|
147
147
|
AccessToken.prototype.rawList = function () {
|
|
148
148
|
return this.client.request({
|
|
149
149
|
method: 'GET',
|
|
150
|
-
url:
|
|
150
|
+
url: '/access_tokens',
|
|
151
151
|
});
|
|
152
152
|
};
|
|
153
153
|
/**
|
|
@@ -72,7 +72,7 @@ var BuildTrigger = /** @class */ (function (_super) {
|
|
|
72
72
|
BuildTrigger.prototype.rawList = function () {
|
|
73
73
|
return this.client.request({
|
|
74
74
|
method: 'GET',
|
|
75
|
-
url:
|
|
75
|
+
url: '/build-triggers',
|
|
76
76
|
});
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
@@ -138,7 +138,7 @@ var BuildTrigger = /** @class */ (function (_super) {
|
|
|
138
138
|
BuildTrigger.prototype.rawCreate = function (body) {
|
|
139
139
|
return this.client.request({
|
|
140
140
|
method: 'POST',
|
|
141
|
-
url:
|
|
141
|
+
url: '/build-triggers',
|
|
142
142
|
body: body,
|
|
143
143
|
});
|
|
144
144
|
};
|
|
@@ -129,7 +129,7 @@ var Item = /** @class */ (function (_super) {
|
|
|
129
129
|
Item.prototype.rawList = function (queryParams) {
|
|
130
130
|
return this.client.request({
|
|
131
131
|
method: 'GET',
|
|
132
|
-
url:
|
|
132
|
+
url: '/items',
|
|
133
133
|
queryParams: queryParams,
|
|
134
134
|
});
|
|
135
135
|
};
|
|
@@ -265,7 +265,7 @@ var Item = /** @class */ (function (_super) {
|
|
|
265
265
|
Item.prototype.rawValidateNew = function (body) {
|
|
266
266
|
return this.client.request({
|
|
267
267
|
method: 'POST',
|
|
268
|
-
url:
|
|
268
|
+
url: '/items/validate',
|
|
269
269
|
body: body,
|
|
270
270
|
});
|
|
271
271
|
};
|
|
@@ -297,7 +297,7 @@ var Item = /** @class */ (function (_super) {
|
|
|
297
297
|
Item.prototype.rawCreate = function (body) {
|
|
298
298
|
return this.client.request({
|
|
299
299
|
method: 'POST',
|
|
300
|
-
url:
|
|
300
|
+
url: '/items',
|
|
301
301
|
body: body,
|
|
302
302
|
});
|
|
303
303
|
};
|
|
@@ -472,7 +472,7 @@ var Item = /** @class */ (function (_super) {
|
|
|
472
472
|
Item.prototype.rawBatchDestroy = function (queryParams) {
|
|
473
473
|
return this.client.request({
|
|
474
474
|
method: 'DELETE',
|
|
475
|
-
url:
|
|
475
|
+
url: '/items',
|
|
476
476
|
queryParams: queryParams,
|
|
477
477
|
});
|
|
478
478
|
};
|
|
@@ -504,7 +504,7 @@ var Item = /** @class */ (function (_super) {
|
|
|
504
504
|
Item.prototype.rawBatchPublish = function (queryParams) {
|
|
505
505
|
return this.client.request({
|
|
506
506
|
method: 'PUT',
|
|
507
|
-
url:
|
|
507
|
+
url: '/items/publish',
|
|
508
508
|
queryParams: queryParams,
|
|
509
509
|
});
|
|
510
510
|
};
|
|
@@ -536,7 +536,7 @@ var Item = /** @class */ (function (_super) {
|
|
|
536
536
|
Item.prototype.rawBatchUnpublish = function (queryParams) {
|
|
537
537
|
return this.client.request({
|
|
538
538
|
method: 'PUT',
|
|
539
|
-
url:
|
|
539
|
+
url: '/items/unpublish',
|
|
540
540
|
queryParams: queryParams,
|
|
541
541
|
});
|
|
542
542
|
};
|
|
@@ -624,7 +624,7 @@ var Item = /** @class */ (function (_super) {
|
|
|
624
624
|
Item.prototype.rawBulkPublish = function (body) {
|
|
625
625
|
return this.client.request({
|
|
626
626
|
method: 'POST',
|
|
627
|
-
url:
|
|
627
|
+
url: '/items/bulk/publish',
|
|
628
628
|
body: body,
|
|
629
629
|
});
|
|
630
630
|
};
|
|
@@ -656,7 +656,7 @@ var Item = /** @class */ (function (_super) {
|
|
|
656
656
|
Item.prototype.rawBulkUnpublish = function (body) {
|
|
657
657
|
return this.client.request({
|
|
658
658
|
method: 'POST',
|
|
659
|
-
url:
|
|
659
|
+
url: '/items/bulk/unpublish',
|
|
660
660
|
body: body,
|
|
661
661
|
});
|
|
662
662
|
};
|
|
@@ -688,7 +688,7 @@ var Item = /** @class */ (function (_super) {
|
|
|
688
688
|
Item.prototype.rawBulkDestroy = function (body) {
|
|
689
689
|
return this.client.request({
|
|
690
690
|
method: 'POST',
|
|
691
|
-
url:
|
|
691
|
+
url: '/items/bulk/destroy',
|
|
692
692
|
body: body,
|
|
693
693
|
});
|
|
694
694
|
};
|
|
@@ -720,7 +720,7 @@ var Item = /** @class */ (function (_super) {
|
|
|
720
720
|
Item.prototype.rawBulkMoveToStage = function (body) {
|
|
721
721
|
return this.client.request({
|
|
722
722
|
method: 'POST',
|
|
723
|
-
url:
|
|
723
|
+
url: '/items/bulk/move-to-stage',
|
|
724
724
|
body: body,
|
|
725
725
|
});
|
|
726
726
|
};
|
|
@@ -97,7 +97,7 @@ var ItemType = /** @class */ (function (_super) {
|
|
|
97
97
|
ItemType.prototype.rawCreate = function (body, queryParams) {
|
|
98
98
|
return this.client.request({
|
|
99
99
|
method: 'POST',
|
|
100
|
-
url:
|
|
100
|
+
url: '/item-types',
|
|
101
101
|
body: body,
|
|
102
102
|
queryParams: queryParams,
|
|
103
103
|
});
|
|
@@ -181,7 +181,7 @@ var ItemType = /** @class */ (function (_super) {
|
|
|
181
181
|
ItemType.prototype.rawList = function () {
|
|
182
182
|
return this.client.request({
|
|
183
183
|
method: 'GET',
|
|
184
|
-
url:
|
|
184
|
+
url: '/item-types',
|
|
185
185
|
});
|
|
186
186
|
};
|
|
187
187
|
/**
|
|
@@ -76,7 +76,7 @@ var ItemTypeFilter = /** @class */ (function (_super) {
|
|
|
76
76
|
ItemTypeFilter.prototype.rawCreate = function (body) {
|
|
77
77
|
return this.client.request({
|
|
78
78
|
method: 'POST',
|
|
79
|
-
url:
|
|
79
|
+
url: '/item-type-filters',
|
|
80
80
|
body: body,
|
|
81
81
|
});
|
|
82
82
|
};
|
|
@@ -137,7 +137,7 @@ var ItemTypeFilter = /** @class */ (function (_super) {
|
|
|
137
137
|
ItemTypeFilter.prototype.rawList = function () {
|
|
138
138
|
return this.client.request({
|
|
139
139
|
method: 'GET',
|
|
140
|
-
url:
|
|
140
|
+
url: '/item-type-filters',
|
|
141
141
|
});
|
|
142
142
|
};
|
|
143
143
|
/**
|
|
@@ -72,7 +72,7 @@ var MaintenanceMode = /** @class */ (function (_super) {
|
|
|
72
72
|
MaintenanceMode.prototype.rawFind = function () {
|
|
73
73
|
return this.client.request({
|
|
74
74
|
method: 'GET',
|
|
75
|
-
url:
|
|
75
|
+
url: '/maintenance-mode',
|
|
76
76
|
});
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
@@ -99,7 +99,7 @@ var MaintenanceMode = /** @class */ (function (_super) {
|
|
|
99
99
|
MaintenanceMode.prototype.rawActivate = function (queryParams) {
|
|
100
100
|
return this.client.request({
|
|
101
101
|
method: 'PUT',
|
|
102
|
-
url:
|
|
102
|
+
url: '/maintenance-mode/activate',
|
|
103
103
|
queryParams: queryParams,
|
|
104
104
|
});
|
|
105
105
|
};
|
|
@@ -127,7 +127,7 @@ var MaintenanceMode = /** @class */ (function (_super) {
|
|
|
127
127
|
MaintenanceMode.prototype.rawDeactivate = function () {
|
|
128
128
|
return this.client.request({
|
|
129
129
|
method: 'PUT',
|
|
130
|
-
url:
|
|
130
|
+
url: '/maintenance-mode/deactivate',
|
|
131
131
|
});
|
|
132
132
|
};
|
|
133
133
|
MaintenanceMode.TYPE = 'maintenance_mode';
|
|
@@ -76,7 +76,7 @@ var MenuItem = /** @class */ (function (_super) {
|
|
|
76
76
|
MenuItem.prototype.rawCreate = function (body) {
|
|
77
77
|
return this.client.request({
|
|
78
78
|
method: 'POST',
|
|
79
|
-
url:
|
|
79
|
+
url: '/menu-items',
|
|
80
80
|
body: body,
|
|
81
81
|
});
|
|
82
82
|
};
|
|
@@ -137,7 +137,7 @@ var MenuItem = /** @class */ (function (_super) {
|
|
|
137
137
|
MenuItem.prototype.rawList = function (queryParams) {
|
|
138
138
|
return this.client.request({
|
|
139
139
|
method: 'GET',
|
|
140
|
-
url:
|
|
140
|
+
url: '/menu-items',
|
|
141
141
|
queryParams: queryParams,
|
|
142
142
|
});
|
|
143
143
|
};
|
|
@@ -86,7 +86,7 @@ var Plugin = /** @class */ (function (_super) {
|
|
|
86
86
|
Plugin.prototype.rawCreate = function (body) {
|
|
87
87
|
return this.client.request({
|
|
88
88
|
method: 'POST',
|
|
89
|
-
url:
|
|
89
|
+
url: '/plugins',
|
|
90
90
|
body: body,
|
|
91
91
|
});
|
|
92
92
|
};
|
|
@@ -154,7 +154,7 @@ var Plugin = /** @class */ (function (_super) {
|
|
|
154
154
|
Plugin.prototype.rawList = function () {
|
|
155
155
|
return this.client.request({
|
|
156
156
|
method: 'GET',
|
|
157
|
-
url:
|
|
157
|
+
url: '/plugins',
|
|
158
158
|
});
|
|
159
159
|
};
|
|
160
160
|
/**
|
|
@@ -102,7 +102,7 @@ var Role = /** @class */ (function (_super) {
|
|
|
102
102
|
Role.prototype.rawCreate = function (body) {
|
|
103
103
|
return this.client.request({
|
|
104
104
|
method: 'POST',
|
|
105
|
-
url:
|
|
105
|
+
url: '/roles',
|
|
106
106
|
body: body,
|
|
107
107
|
});
|
|
108
108
|
};
|
|
@@ -189,7 +189,7 @@ var Role = /** @class */ (function (_super) {
|
|
|
189
189
|
Role.prototype.rawList = function () {
|
|
190
190
|
return this.client.request({
|
|
191
191
|
method: 'GET',
|
|
192
|
-
url:
|
|
192
|
+
url: '/roles',
|
|
193
193
|
});
|
|
194
194
|
};
|
|
195
195
|
/**
|
|
@@ -129,7 +129,7 @@ var SearchResult = /** @class */ (function (_super) {
|
|
|
129
129
|
SearchResult.prototype.rawList = function (queryParams) {
|
|
130
130
|
return this.client.request({
|
|
131
131
|
method: 'GET',
|
|
132
|
-
url:
|
|
132
|
+
url: '/search-results',
|
|
133
133
|
queryParams: queryParams,
|
|
134
134
|
});
|
|
135
135
|
};
|
|
@@ -72,7 +72,7 @@ var Site = /** @class */ (function (_super) {
|
|
|
72
72
|
Site.prototype.rawFind = function (queryParams) {
|
|
73
73
|
return this.client.request({
|
|
74
74
|
method: 'GET',
|
|
75
|
-
url:
|
|
75
|
+
url: '/site',
|
|
76
76
|
queryParams: queryParams,
|
|
77
77
|
});
|
|
78
78
|
};
|
|
@@ -114,7 +114,7 @@ var Site = /** @class */ (function (_super) {
|
|
|
114
114
|
Site.prototype.rawUpdate = function (body) {
|
|
115
115
|
return this.client.request({
|
|
116
116
|
method: 'PUT',
|
|
117
|
-
url:
|
|
117
|
+
url: '/site',
|
|
118
118
|
body: body,
|
|
119
119
|
});
|
|
120
120
|
};
|
|
@@ -142,7 +142,7 @@ var Site = /** @class */ (function (_super) {
|
|
|
142
142
|
Site.prototype.rawActivateImprovedTimezoneManagement = function () {
|
|
143
143
|
return this.client.request({
|
|
144
144
|
method: 'PUT',
|
|
145
|
-
url:
|
|
145
|
+
url: '/site/activate-improved-timezone-management',
|
|
146
146
|
});
|
|
147
147
|
};
|
|
148
148
|
Site.TYPE = 'site';
|
|
@@ -76,7 +76,7 @@ var SiteInvitation = /** @class */ (function (_super) {
|
|
|
76
76
|
SiteInvitation.prototype.rawCreate = function (body) {
|
|
77
77
|
return this.client.request({
|
|
78
78
|
method: 'POST',
|
|
79
|
-
url:
|
|
79
|
+
url: '/site-invitations',
|
|
80
80
|
body: body,
|
|
81
81
|
});
|
|
82
82
|
};
|
|
@@ -137,7 +137,7 @@ var SiteInvitation = /** @class */ (function (_super) {
|
|
|
137
137
|
SiteInvitation.prototype.rawList = function () {
|
|
138
138
|
return this.client.request({
|
|
139
139
|
method: 'GET',
|
|
140
|
-
url:
|
|
140
|
+
url: '/site-invitations',
|
|
141
141
|
});
|
|
142
142
|
};
|
|
143
143
|
/**
|
|
@@ -72,7 +72,7 @@ var SsoSettings = /** @class */ (function (_super) {
|
|
|
72
72
|
SsoSettings.prototype.rawFind = function () {
|
|
73
73
|
return this.client.request({
|
|
74
74
|
method: 'GET',
|
|
75
|
-
url:
|
|
75
|
+
url: '/sso-settings',
|
|
76
76
|
});
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
@@ -99,7 +99,7 @@ var SsoSettings = /** @class */ (function (_super) {
|
|
|
99
99
|
SsoSettings.prototype.rawGenerateToken = function () {
|
|
100
100
|
return this.client.request({
|
|
101
101
|
method: 'PUT',
|
|
102
|
-
url:
|
|
102
|
+
url: '/sso-settings/generate-token',
|
|
103
103
|
});
|
|
104
104
|
};
|
|
105
105
|
/**
|
|
@@ -130,7 +130,7 @@ var SsoSettings = /** @class */ (function (_super) {
|
|
|
130
130
|
SsoSettings.prototype.rawUpdate = function (body) {
|
|
131
131
|
return this.client.request({
|
|
132
132
|
method: 'PUT',
|
|
133
|
-
url:
|
|
133
|
+
url: '/sso-settings',
|
|
134
134
|
body: body,
|
|
135
135
|
});
|
|
136
136
|
};
|
|
@@ -72,7 +72,7 @@ var SsoUser = /** @class */ (function (_super) {
|
|
|
72
72
|
SsoUser.prototype.rawList = function () {
|
|
73
73
|
return this.client.request({
|
|
74
74
|
method: 'GET',
|
|
75
|
-
url:
|
|
75
|
+
url: '/sso-users',
|
|
76
76
|
});
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
@@ -126,7 +126,7 @@ var SsoUser = /** @class */ (function (_super) {
|
|
|
126
126
|
SsoUser.prototype.rawCopyUsers = function () {
|
|
127
127
|
return this.client.request({
|
|
128
128
|
method: 'POST',
|
|
129
|
-
url:
|
|
129
|
+
url: '/sso-users/copy-users',
|
|
130
130
|
});
|
|
131
131
|
};
|
|
132
132
|
/**
|
|
@@ -72,7 +72,7 @@ var SubscriptionFeature = /** @class */ (function (_super) {
|
|
|
72
72
|
SubscriptionFeature.prototype.rawList = function () {
|
|
73
73
|
return this.client.request({
|
|
74
74
|
method: 'GET',
|
|
75
|
-
url:
|
|
75
|
+
url: '/subscription-features',
|
|
76
76
|
});
|
|
77
77
|
};
|
|
78
78
|
SubscriptionFeature.TYPE = 'subscription_feature';
|
|
@@ -140,7 +140,7 @@ var Upload = /** @class */ (function (_super) {
|
|
|
140
140
|
Upload.prototype.rawCreate = function (body) {
|
|
141
141
|
return this.client.request({
|
|
142
142
|
method: 'POST',
|
|
143
|
-
url:
|
|
143
|
+
url: '/uploads',
|
|
144
144
|
body: body,
|
|
145
145
|
});
|
|
146
146
|
};
|
|
@@ -168,7 +168,7 @@ var Upload = /** @class */ (function (_super) {
|
|
|
168
168
|
Upload.prototype.rawList = function (queryParams) {
|
|
169
169
|
return this.client.request({
|
|
170
170
|
method: 'GET',
|
|
171
|
-
url:
|
|
171
|
+
url: '/uploads',
|
|
172
172
|
queryParams: queryParams,
|
|
173
173
|
});
|
|
174
174
|
};
|
|
@@ -366,7 +366,7 @@ var Upload = /** @class */ (function (_super) {
|
|
|
366
366
|
Upload.prototype.rawBatchAddTags = function (body, queryParams) {
|
|
367
367
|
return this.client.request({
|
|
368
368
|
method: 'PUT',
|
|
369
|
-
url:
|
|
369
|
+
url: '/uploads/batch-add-tags',
|
|
370
370
|
body: body,
|
|
371
371
|
queryParams: queryParams,
|
|
372
372
|
});
|
|
@@ -399,7 +399,7 @@ var Upload = /** @class */ (function (_super) {
|
|
|
399
399
|
Upload.prototype.rawBatchDestroy = function (queryParams) {
|
|
400
400
|
return this.client.request({
|
|
401
401
|
method: 'DELETE',
|
|
402
|
-
url:
|
|
402
|
+
url: '/uploads/batch-destroy',
|
|
403
403
|
queryParams: queryParams,
|
|
404
404
|
});
|
|
405
405
|
};
|
|
@@ -459,7 +459,7 @@ var Upload = /** @class */ (function (_super) {
|
|
|
459
459
|
Upload.prototype.rawBulkTag = function (body) {
|
|
460
460
|
return this.client.request({
|
|
461
461
|
method: 'POST',
|
|
462
|
-
url:
|
|
462
|
+
url: '/uploads/bulk/tag',
|
|
463
463
|
body: body,
|
|
464
464
|
});
|
|
465
465
|
};
|
|
@@ -491,7 +491,7 @@ var Upload = /** @class */ (function (_super) {
|
|
|
491
491
|
Upload.prototype.rawBulkDestroy = function (body) {
|
|
492
492
|
return this.client.request({
|
|
493
493
|
method: 'POST',
|
|
494
|
-
url:
|
|
494
|
+
url: '/uploads/bulk/destroy',
|
|
495
495
|
body: body,
|
|
496
496
|
});
|
|
497
497
|
};
|
|
@@ -76,7 +76,7 @@ var UploadFilter = /** @class */ (function (_super) {
|
|
|
76
76
|
UploadFilter.prototype.rawCreate = function (body) {
|
|
77
77
|
return this.client.request({
|
|
78
78
|
method: 'POST',
|
|
79
|
-
url:
|
|
79
|
+
url: '/upload-filters',
|
|
80
80
|
body: body,
|
|
81
81
|
});
|
|
82
82
|
};
|
|
@@ -137,7 +137,7 @@ var UploadFilter = /** @class */ (function (_super) {
|
|
|
137
137
|
UploadFilter.prototype.rawList = function () {
|
|
138
138
|
return this.client.request({
|
|
139
139
|
method: 'GET',
|
|
140
|
-
url:
|
|
140
|
+
url: '/upload-filters',
|
|
141
141
|
});
|
|
142
142
|
};
|
|
143
143
|
/**
|
|
@@ -129,7 +129,7 @@ var UploadSmartTag = /** @class */ (function (_super) {
|
|
|
129
129
|
UploadSmartTag.prototype.rawList = function (queryParams) {
|
|
130
130
|
return this.client.request({
|
|
131
131
|
method: 'GET',
|
|
132
|
-
url:
|
|
132
|
+
url: '/upload-smart-tags',
|
|
133
133
|
queryParams: queryParams,
|
|
134
134
|
});
|
|
135
135
|
};
|
|
@@ -129,7 +129,7 @@ var UploadTag = /** @class */ (function (_super) {
|
|
|
129
129
|
UploadTag.prototype.rawList = function (queryParams) {
|
|
130
130
|
return this.client.request({
|
|
131
131
|
method: 'GET',
|
|
132
|
-
url:
|
|
132
|
+
url: '/upload-tags',
|
|
133
133
|
queryParams: queryParams,
|
|
134
134
|
});
|
|
135
135
|
};
|
|
@@ -228,7 +228,7 @@ var UploadTag = /** @class */ (function (_super) {
|
|
|
228
228
|
UploadTag.prototype.rawCreate = function (body) {
|
|
229
229
|
return this.client.request({
|
|
230
230
|
method: 'POST',
|
|
231
|
-
url:
|
|
231
|
+
url: '/upload-tags',
|
|
232
232
|
body: body,
|
|
233
233
|
});
|
|
234
234
|
};
|
|
@@ -105,7 +105,7 @@ var User = /** @class */ (function (_super) {
|
|
|
105
105
|
User.prototype.rawList = function () {
|
|
106
106
|
return this.client.request({
|
|
107
107
|
method: 'GET',
|
|
108
|
-
url:
|
|
108
|
+
url: '/users',
|
|
109
109
|
});
|
|
110
110
|
};
|
|
111
111
|
/**
|
|
@@ -160,7 +160,7 @@ var User = /** @class */ (function (_super) {
|
|
|
160
160
|
User.prototype.rawFindMe = function (queryParams) {
|
|
161
161
|
return this.client.request({
|
|
162
162
|
method: 'GET',
|
|
163
|
-
url:
|
|
163
|
+
url: '/users/me',
|
|
164
164
|
queryParams: queryParams,
|
|
165
165
|
});
|
|
166
166
|
};
|
|
@@ -87,7 +87,7 @@ var Webhook = /** @class */ (function (_super) {
|
|
|
87
87
|
Webhook.prototype.rawCreate = function (body) {
|
|
88
88
|
return this.client.request({
|
|
89
89
|
method: 'POST',
|
|
90
|
-
url:
|
|
90
|
+
url: '/webhooks',
|
|
91
91
|
body: body,
|
|
92
92
|
});
|
|
93
93
|
};
|
|
@@ -158,7 +158,7 @@ var Webhook = /** @class */ (function (_super) {
|
|
|
158
158
|
Webhook.prototype.rawList = function () {
|
|
159
159
|
return this.client.request({
|
|
160
160
|
method: 'GET',
|
|
161
|
-
url:
|
|
161
|
+
url: '/webhooks',
|
|
162
162
|
});
|
|
163
163
|
};
|
|
164
164
|
/**
|