@datocms/cma-client 3.3.4 → 3.3.7
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/Webhook.js +2 -0
- package/dist/cjs/generated/resources/Webhook.js.map +1 -1
- package/dist/cjs/generated/resources/WebhookCall.js +27 -0
- package/dist/cjs/generated/resources/WebhookCall.js.map +1 -1
- package/dist/esm/generated/Client.js +1 -1
- package/dist/esm/generated/SchemaTypes.d.ts +161 -34
- package/dist/esm/generated/SimpleSchemaTypes.d.ts +189 -43
- package/dist/esm/generated/resources/Webhook.js +2 -0
- package/dist/esm/generated/resources/Webhook.js.map +1 -1
- package/dist/esm/generated/resources/WebhookCall.d.ts +18 -0
- package/dist/esm/generated/resources/WebhookCall.js +27 -0
- package/dist/esm/generated/resources/WebhookCall.js.map +1 -1
- package/dist/types/generated/SchemaTypes.d.ts +161 -34
- package/dist/types/generated/SimpleSchemaTypes.d.ts +189 -43
- package/dist/types/generated/resources/WebhookCall.d.ts +18 -0
- package/package.json +13 -6
- package/resources.json +29 -2
- package/src/generated/Client.ts +1 -1
- package/src/generated/SchemaTypes.ts +291 -36
- package/src/generated/SimpleSchemaTypes.ts +364 -46
- package/src/generated/resources/Webhook.ts +2 -0
- package/src/generated/resources/WebhookCall.ts +33 -0
|
@@ -564,7 +564,6 @@ export type ItemInstancesHrefSchema = {
|
|
|
564
564
|
* The maximum number of entities to return (defaults to 30, maximum is 500)
|
|
565
565
|
*/
|
|
566
566
|
limit?: number;
|
|
567
|
-
[k: string]: unknown;
|
|
568
567
|
};
|
|
569
568
|
/**
|
|
570
569
|
* Fields used to order results. You **must** specify also `filter[type]` with one element only to be able use this option. Format: `<field_name>_(ASC|DESC)`, where `<field_name>` can be either the API key of a model's field, or one of the following meta columns: `id`, `_updated_at`, `_created_at`, `_status`, `_published_at`, `_first_published_at`, `_publication_scheduled_at`, `_unpublishing_scheduled_at`, `_is_valid`, `position` (only for sortable models). You can pass multiple comma separated rules.
|
|
@@ -687,7 +686,6 @@ export type ItemVersionInstancesHrefSchema = {
|
|
|
687
686
|
* The maximum number of entities to return (defaults to 15, maximum is 50)
|
|
688
687
|
*/
|
|
689
688
|
limit?: number;
|
|
690
|
-
[k: string]: unknown;
|
|
691
689
|
};
|
|
692
690
|
[k: string]: unknown;
|
|
693
691
|
};
|
|
@@ -840,7 +838,6 @@ export type UploadInstancesHrefSchema = {
|
|
|
840
838
|
* The maximum number of entities to return (defaults to 30, maximum is 500)
|
|
841
839
|
*/
|
|
842
840
|
limit?: number;
|
|
843
|
-
[k: string]: unknown;
|
|
844
841
|
};
|
|
845
842
|
[k: string]: unknown;
|
|
846
843
|
};
|
|
@@ -943,7 +940,6 @@ export type SearchResultInstancesHrefSchema = {
|
|
|
943
940
|
* The maximum number of entities to return (defaults to 20, maximum is 100)
|
|
944
941
|
*/
|
|
945
942
|
limit?: number;
|
|
946
|
-
[k: string]: unknown;
|
|
947
943
|
};
|
|
948
944
|
/**
|
|
949
945
|
* Attributes to filter search results
|
|
@@ -1066,8 +1062,82 @@ export type WebhookCallInstancesHrefSchema = {
|
|
|
1066
1062
|
* The maximum number of entities to return (defaults to 30, maximum is 500)
|
|
1067
1063
|
*/
|
|
1068
1064
|
limit?: number;
|
|
1069
|
-
[k: string]: unknown;
|
|
1070
1065
|
};
|
|
1066
|
+
/**
|
|
1067
|
+
* Attributes to filter
|
|
1068
|
+
*/
|
|
1069
|
+
filter?: {
|
|
1070
|
+
/**
|
|
1071
|
+
* IDs to fetch, comma separated
|
|
1072
|
+
*/
|
|
1073
|
+
ids?: string;
|
|
1074
|
+
fields?: {
|
|
1075
|
+
webhook_id?: {
|
|
1076
|
+
eq?: string;
|
|
1077
|
+
};
|
|
1078
|
+
entity_type?: {
|
|
1079
|
+
/**
|
|
1080
|
+
* The subject of webhook triggering
|
|
1081
|
+
*/
|
|
1082
|
+
eq?:
|
|
1083
|
+
| 'item_type'
|
|
1084
|
+
| 'item'
|
|
1085
|
+
| 'upload'
|
|
1086
|
+
| 'build_trigger'
|
|
1087
|
+
| 'environment'
|
|
1088
|
+
| 'maintenance_mode'
|
|
1089
|
+
| 'sso_user'
|
|
1090
|
+
| 'cda_cache_tags';
|
|
1091
|
+
};
|
|
1092
|
+
event_type?: {
|
|
1093
|
+
/**
|
|
1094
|
+
* The event that triggers the webhook call
|
|
1095
|
+
*/
|
|
1096
|
+
eq?:
|
|
1097
|
+
| 'create'
|
|
1098
|
+
| 'update'
|
|
1099
|
+
| 'delete'
|
|
1100
|
+
| 'publish'
|
|
1101
|
+
| 'unpublish'
|
|
1102
|
+
| 'promote'
|
|
1103
|
+
| 'deploy_started'
|
|
1104
|
+
| 'deploy_succeeded'
|
|
1105
|
+
| 'deploy_failed'
|
|
1106
|
+
| 'change'
|
|
1107
|
+
| 'invalidate';
|
|
1108
|
+
};
|
|
1109
|
+
status?: {
|
|
1110
|
+
/**
|
|
1111
|
+
* The current status
|
|
1112
|
+
*/
|
|
1113
|
+
eq?: 'pending' | 'success' | 'failed' | 'rescheduled';
|
|
1114
|
+
};
|
|
1115
|
+
last_sent_at?: {
|
|
1116
|
+
gt?: string;
|
|
1117
|
+
lt?: string;
|
|
1118
|
+
};
|
|
1119
|
+
next_retry_at?: {
|
|
1120
|
+
gt?: string;
|
|
1121
|
+
lt?: string;
|
|
1122
|
+
};
|
|
1123
|
+
created_at?: {
|
|
1124
|
+
gt?: string;
|
|
1125
|
+
lt?: string;
|
|
1126
|
+
};
|
|
1127
|
+
};
|
|
1128
|
+
};
|
|
1129
|
+
/**
|
|
1130
|
+
* Fields used to order results
|
|
1131
|
+
*/
|
|
1132
|
+
order_by?:
|
|
1133
|
+
| 'webhook_id_asc'
|
|
1134
|
+
| 'webhook_id_desc'
|
|
1135
|
+
| 'created_at_asc'
|
|
1136
|
+
| 'created_at_desc'
|
|
1137
|
+
| 'last_sent_at_asc'
|
|
1138
|
+
| 'last_sent_at_desc'
|
|
1139
|
+
| 'next_retry_at_asc'
|
|
1140
|
+
| 'next_retry_at_desc';
|
|
1071
1141
|
[k: string]: unknown;
|
|
1072
1142
|
};
|
|
1073
1143
|
/**
|
|
@@ -1302,7 +1372,6 @@ export type UploadTagInstancesHrefSchema = {
|
|
|
1302
1372
|
* The maximum number of entities to return (defaults to 50, maximum is 500)
|
|
1303
1373
|
*/
|
|
1304
1374
|
limit?: number;
|
|
1305
|
-
[k: string]: unknown;
|
|
1306
1375
|
};
|
|
1307
1376
|
[k: string]: unknown;
|
|
1308
1377
|
};
|
|
@@ -1348,7 +1417,6 @@ export type UploadSmartTagInstancesHrefSchema = {
|
|
|
1348
1417
|
* The maximum number of entities to return (defaults to 50, maximum is 500)
|
|
1349
1418
|
*/
|
|
1350
1419
|
limit?: number;
|
|
1351
|
-
[k: string]: unknown;
|
|
1352
1420
|
};
|
|
1353
1421
|
[k: string]: unknown;
|
|
1354
1422
|
};
|
|
@@ -4439,7 +4507,7 @@ export type ItemTypeDestroyJobSchema = {
|
|
|
4439
4507
|
* // single_line is a DatoCMS built-in editor that you can use with single-line string fields
|
|
4440
4508
|
* "editor": "single_line",
|
|
4441
4509
|
* // each built-in editor has specific settings
|
|
4442
|
-
* "parameters": { "heading": true },
|
|
4510
|
+
* "parameters": { "heading": true, "placeholder": "My blog post title" },
|
|
4443
4511
|
* "addons": []
|
|
4444
4512
|
* },
|
|
4445
4513
|
* }
|
|
@@ -4479,7 +4547,7 @@ export type ItemTypeDestroyJobSchema = {
|
|
|
4479
4547
|
* {
|
|
4480
4548
|
* "appearance": {
|
|
4481
4549
|
* "editor": "single_line",
|
|
4482
|
-
* "parameters": { "heading": true },
|
|
4550
|
+
* "parameters": { "heading": true, "placeholder": "My blog post title" },
|
|
4483
4551
|
* "addons": [
|
|
4484
4552
|
* {
|
|
4485
4553
|
* // "2138" is a the ID of a plugin exposing a manual addon editor
|
|
@@ -5180,9 +5248,10 @@ export type ItemTypeDestroyJobSchema = {
|
|
|
5180
5248
|
*
|
|
5181
5249
|
* Simple textual input for _Single-line string_ fields.
|
|
5182
5250
|
*
|
|
5183
|
-
* | Parameter | Type | Required | Description
|
|
5184
|
-
* |
|
|
5185
|
-
* | `heading`
|
|
5251
|
+
* | Parameter | Type | Required | Description |
|
|
5252
|
+
* | ------------- | --------- | -------- | ------------------------------------------------------------------------------------------ |
|
|
5253
|
+
* | `heading` | `Boolean` | ✅ | Indicates if the field should be shown bigger, as a field representing a heading |
|
|
5254
|
+
* | `placeholder` | `String` | | A placeholder that will be shown in the editor's input to provide editors with an example. |
|
|
5186
5255
|
*
|
|
5187
5256
|
* </details>
|
|
5188
5257
|
*
|
|
@@ -5213,6 +5282,10 @@ export type ItemTypeDestroyJobSchema = {
|
|
|
5213
5282
|
*
|
|
5214
5283
|
* Basic textarea editor for _Multiple-paragraph text_ fields.
|
|
5215
5284
|
*
|
|
5285
|
+
* | Parameter | Type | Required | Description |
|
|
5286
|
+
* | ------------- | -------- | -------- | ------------------------------------------------------------------------------------------ |
|
|
5287
|
+
* | `placeholder` | `String` | | A placeholder that will be shown in the editor's input to provide editors with an example. |
|
|
5288
|
+
*
|
|
5216
5289
|
* </details>
|
|
5217
5290
|
*
|
|
5218
5291
|
* <details>
|
|
@@ -5232,9 +5305,10 @@ export type ItemTypeDestroyJobSchema = {
|
|
|
5232
5305
|
*
|
|
5233
5306
|
* Built-in editor for _Slug_ fields.
|
|
5234
5307
|
*
|
|
5235
|
-
* | Parameter
|
|
5236
|
-
* |
|
|
5237
|
-
* | `url_prefix`
|
|
5308
|
+
* | Parameter | Type | Required | Description |
|
|
5309
|
+
* | ------------- | -------- | -------- | ------------------------------------------------------------------------------------------ |
|
|
5310
|
+
* | `url_prefix` | `String` | | A prefix that will be shown in the editor's form to give some context to your editors. |
|
|
5311
|
+
* | `placeholder` | `String` | | A placeholder that will be shown in the editor's input to provide editors with an example. |
|
|
5238
5312
|
*
|
|
5239
5313
|
* </details>
|
|
5240
5314
|
*
|
|
@@ -5302,6 +5376,28 @@ export type ItemTypeDestroyJobSchema = {
|
|
|
5302
5376
|
*
|
|
5303
5377
|
* </details>
|
|
5304
5378
|
*
|
|
5379
|
+
* <details>
|
|
5380
|
+
* <summary><code>integer</code></summary>
|
|
5381
|
+
*
|
|
5382
|
+
* Built-in editor for _Integer_ fields.
|
|
5383
|
+
*
|
|
5384
|
+
* | Parameter | Type | Required | Description |
|
|
5385
|
+
* | ------------- | -------- | -------- | ------------------------------------------------------------------------------------------ |
|
|
5386
|
+
* | `placeholder` | `String` | | A placeholder that will be shown in the editor's input to provide editors with an example. |
|
|
5387
|
+
*
|
|
5388
|
+
* </details>
|
|
5389
|
+
*
|
|
5390
|
+
* <details>
|
|
5391
|
+
* <summary><code>float</code></summary>
|
|
5392
|
+
*
|
|
5393
|
+
* Built-in editor for _Float_ fields.
|
|
5394
|
+
*
|
|
5395
|
+
* | Parameter | Type | Required | Description |
|
|
5396
|
+
* | ------------- | -------- | -------- | ------------------------------------------------------------------------------------------ |
|
|
5397
|
+
* | `placeholder` | `String` | | A placeholder that will be shown in the editor's input to provide editors with an example. |
|
|
5398
|
+
*
|
|
5399
|
+
* </details>
|
|
5400
|
+
*
|
|
5305
5401
|
*
|
|
5306
5402
|
* This interface was referenced by `DatoApi`'s JSON-Schema
|
|
5307
5403
|
* via the `definition` "field".
|
|
@@ -8845,12 +8941,46 @@ export type WebhookAttributes = {
|
|
|
8845
8941
|
* Additional headers that will be sent
|
|
8846
8942
|
*/
|
|
8847
8943
|
headers: {
|
|
8848
|
-
[k: string]:
|
|
8849
|
-
};
|
|
8850
|
-
|
|
8851
|
-
|
|
8852
|
-
|
|
8853
|
-
|
|
8944
|
+
[k: string]: string;
|
|
8945
|
+
};
|
|
8946
|
+
events: {
|
|
8947
|
+
/**
|
|
8948
|
+
* The subject of webhook triggering
|
|
8949
|
+
*/
|
|
8950
|
+
entity_type:
|
|
8951
|
+
| 'item_type'
|
|
8952
|
+
| 'item'
|
|
8953
|
+
| 'upload'
|
|
8954
|
+
| 'build_trigger'
|
|
8955
|
+
| 'environment'
|
|
8956
|
+
| 'maintenance_mode'
|
|
8957
|
+
| 'sso_user'
|
|
8958
|
+
| 'cda_cache_tags';
|
|
8959
|
+
event_types: (
|
|
8960
|
+
| 'create'
|
|
8961
|
+
| 'update'
|
|
8962
|
+
| 'delete'
|
|
8963
|
+
| 'publish'
|
|
8964
|
+
| 'unpublish'
|
|
8965
|
+
| 'promote'
|
|
8966
|
+
| 'deploy_started'
|
|
8967
|
+
| 'deploy_succeeded'
|
|
8968
|
+
| 'deploy_failed'
|
|
8969
|
+
| 'change'
|
|
8970
|
+
| 'invalidate'
|
|
8971
|
+
)[];
|
|
8972
|
+
filters?:
|
|
8973
|
+
| {
|
|
8974
|
+
entity_type:
|
|
8975
|
+
| 'item_type'
|
|
8976
|
+
| 'item'
|
|
8977
|
+
| 'build_trigger'
|
|
8978
|
+
| 'environment'
|
|
8979
|
+
| 'environment_type';
|
|
8980
|
+
entity_ids: [string, ...string[]];
|
|
8981
|
+
}[]
|
|
8982
|
+
| null;
|
|
8983
|
+
}[];
|
|
8854
8984
|
/**
|
|
8855
8985
|
* Specifies which API version to use when serializing entities in the webhook payload
|
|
8856
8986
|
*/
|
|
@@ -8859,6 +8989,10 @@ export type WebhookAttributes = {
|
|
|
8859
8989
|
* Whether the you want records present in the payload to show blocks expanded or not
|
|
8860
8990
|
*/
|
|
8861
8991
|
nested_items_in_payload: boolean;
|
|
8992
|
+
/**
|
|
8993
|
+
* If enabled, the system will attempt to retry the call several times when the webhook operation fails due to timeouts or errors.
|
|
8994
|
+
*/
|
|
8995
|
+
auto_retry: boolean;
|
|
8862
8996
|
};
|
|
8863
8997
|
|
|
8864
8998
|
/**
|
|
@@ -8896,12 +9030,46 @@ export type WebhookCreateSchema = {
|
|
|
8896
9030
|
* Additional headers that will be sent
|
|
8897
9031
|
*/
|
|
8898
9032
|
headers: {
|
|
8899
|
-
[k: string]:
|
|
9033
|
+
[k: string]: string;
|
|
8900
9034
|
};
|
|
8901
|
-
|
|
8902
|
-
|
|
8903
|
-
|
|
8904
|
-
|
|
9035
|
+
events: {
|
|
9036
|
+
/**
|
|
9037
|
+
* The subject of webhook triggering
|
|
9038
|
+
*/
|
|
9039
|
+
entity_type:
|
|
9040
|
+
| 'item_type'
|
|
9041
|
+
| 'item'
|
|
9042
|
+
| 'upload'
|
|
9043
|
+
| 'build_trigger'
|
|
9044
|
+
| 'environment'
|
|
9045
|
+
| 'maintenance_mode'
|
|
9046
|
+
| 'sso_user'
|
|
9047
|
+
| 'cda_cache_tags';
|
|
9048
|
+
event_types: (
|
|
9049
|
+
| 'create'
|
|
9050
|
+
| 'update'
|
|
9051
|
+
| 'delete'
|
|
9052
|
+
| 'publish'
|
|
9053
|
+
| 'unpublish'
|
|
9054
|
+
| 'promote'
|
|
9055
|
+
| 'deploy_started'
|
|
9056
|
+
| 'deploy_succeeded'
|
|
9057
|
+
| 'deploy_failed'
|
|
9058
|
+
| 'change'
|
|
9059
|
+
| 'invalidate'
|
|
9060
|
+
)[];
|
|
9061
|
+
filters?:
|
|
9062
|
+
| {
|
|
9063
|
+
entity_type:
|
|
9064
|
+
| 'item_type'
|
|
9065
|
+
| 'item'
|
|
9066
|
+
| 'build_trigger'
|
|
9067
|
+
| 'environment'
|
|
9068
|
+
| 'environment_type';
|
|
9069
|
+
entity_ids: [string, ...string[]];
|
|
9070
|
+
}[]
|
|
9071
|
+
| null;
|
|
9072
|
+
}[];
|
|
8905
9073
|
/**
|
|
8906
9074
|
* HTTP Basic Authorization username
|
|
8907
9075
|
*/
|
|
@@ -8922,6 +9090,10 @@ export type WebhookCreateSchema = {
|
|
|
8922
9090
|
* Whether the you want records present in the payload to show blocks expanded or not
|
|
8923
9091
|
*/
|
|
8924
9092
|
nested_items_in_payload?: boolean;
|
|
9093
|
+
/**
|
|
9094
|
+
* If enabled, the system will attempt to retry the call several times when the webhook operation fails due to timeouts or errors.
|
|
9095
|
+
*/
|
|
9096
|
+
auto_retry?: boolean;
|
|
8925
9097
|
};
|
|
8926
9098
|
};
|
|
8927
9099
|
};
|
|
@@ -8959,12 +9131,46 @@ export type WebhookUpdateSchema = {
|
|
|
8959
9131
|
* Additional headers that will be sent
|
|
8960
9132
|
*/
|
|
8961
9133
|
headers?: {
|
|
8962
|
-
[k: string]:
|
|
9134
|
+
[k: string]: string;
|
|
8963
9135
|
};
|
|
8964
|
-
|
|
8965
|
-
|
|
8966
|
-
|
|
8967
|
-
|
|
9136
|
+
events?: {
|
|
9137
|
+
/**
|
|
9138
|
+
* The subject of webhook triggering
|
|
9139
|
+
*/
|
|
9140
|
+
entity_type:
|
|
9141
|
+
| 'item_type'
|
|
9142
|
+
| 'item'
|
|
9143
|
+
| 'upload'
|
|
9144
|
+
| 'build_trigger'
|
|
9145
|
+
| 'environment'
|
|
9146
|
+
| 'maintenance_mode'
|
|
9147
|
+
| 'sso_user'
|
|
9148
|
+
| 'cda_cache_tags';
|
|
9149
|
+
event_types: (
|
|
9150
|
+
| 'create'
|
|
9151
|
+
| 'update'
|
|
9152
|
+
| 'delete'
|
|
9153
|
+
| 'publish'
|
|
9154
|
+
| 'unpublish'
|
|
9155
|
+
| 'promote'
|
|
9156
|
+
| 'deploy_started'
|
|
9157
|
+
| 'deploy_succeeded'
|
|
9158
|
+
| 'deploy_failed'
|
|
9159
|
+
| 'change'
|
|
9160
|
+
| 'invalidate'
|
|
9161
|
+
)[];
|
|
9162
|
+
filters?:
|
|
9163
|
+
| {
|
|
9164
|
+
entity_type:
|
|
9165
|
+
| 'item_type'
|
|
9166
|
+
| 'item'
|
|
9167
|
+
| 'build_trigger'
|
|
9168
|
+
| 'environment'
|
|
9169
|
+
| 'environment_type';
|
|
9170
|
+
entity_ids: [string, ...string[]];
|
|
9171
|
+
}[]
|
|
9172
|
+
| null;
|
|
9173
|
+
}[];
|
|
8968
9174
|
/**
|
|
8969
9175
|
* HTTP Basic Authorization username
|
|
8970
9176
|
*/
|
|
@@ -8985,6 +9191,10 @@ export type WebhookUpdateSchema = {
|
|
|
8985
9191
|
* Whether the you want records present in the payload to show blocks expanded or not
|
|
8986
9192
|
*/
|
|
8987
9193
|
nested_items_in_payload?: boolean;
|
|
9194
|
+
/**
|
|
9195
|
+
* If enabled, the system will attempt to retry the call several times when the webhook operation fails due to timeouts or errors.
|
|
9196
|
+
*/
|
|
9197
|
+
auto_retry?: boolean;
|
|
8988
9198
|
};
|
|
8989
9199
|
};
|
|
8990
9200
|
};
|
|
@@ -9044,13 +9254,32 @@ export type WebhookCallAttributes = {
|
|
|
9044
9254
|
/**
|
|
9045
9255
|
* The subject of webhook triggering
|
|
9046
9256
|
*/
|
|
9047
|
-
entity_type:
|
|
9257
|
+
entity_type:
|
|
9258
|
+
| 'item_type'
|
|
9259
|
+
| 'item'
|
|
9260
|
+
| 'upload'
|
|
9261
|
+
| 'build_trigger'
|
|
9262
|
+
| 'environment'
|
|
9263
|
+
| 'maintenance_mode'
|
|
9264
|
+
| 'sso_user'
|
|
9265
|
+
| 'cda_cache_tags';
|
|
9048
9266
|
/**
|
|
9049
9267
|
* The event that triggers the webhook call
|
|
9050
9268
|
*/
|
|
9051
|
-
event_type:
|
|
9052
|
-
|
|
9053
|
-
|
|
9269
|
+
event_type:
|
|
9270
|
+
| 'create'
|
|
9271
|
+
| 'update'
|
|
9272
|
+
| 'delete'
|
|
9273
|
+
| 'publish'
|
|
9274
|
+
| 'unpublish'
|
|
9275
|
+
| 'promote'
|
|
9276
|
+
| 'deploy_started'
|
|
9277
|
+
| 'deploy_succeeded'
|
|
9278
|
+
| 'deploy_failed'
|
|
9279
|
+
| 'change'
|
|
9280
|
+
| 'invalidate';
|
|
9281
|
+
/**
|
|
9282
|
+
* The moment the event was created
|
|
9054
9283
|
*/
|
|
9055
9284
|
created_at: string;
|
|
9056
9285
|
/**
|
|
@@ -9076,11 +9305,27 @@ export type WebhookCallAttributes = {
|
|
|
9076
9305
|
*/
|
|
9077
9306
|
response_headers: {
|
|
9078
9307
|
[k: string]: unknown;
|
|
9079
|
-
};
|
|
9308
|
+
} | null;
|
|
9080
9309
|
/**
|
|
9081
9310
|
* The body of the response
|
|
9082
9311
|
*/
|
|
9083
9312
|
response_payload: string | null;
|
|
9313
|
+
/**
|
|
9314
|
+
* The number of retries attempted so far
|
|
9315
|
+
*/
|
|
9316
|
+
attempted_auto_retries_count: number;
|
|
9317
|
+
/**
|
|
9318
|
+
* The last moment the call occurred
|
|
9319
|
+
*/
|
|
9320
|
+
last_sent_at: string;
|
|
9321
|
+
/**
|
|
9322
|
+
* The date when the next retry attempt is scheduled to run. If no retry attempt is scheduled, it is set to null
|
|
9323
|
+
*/
|
|
9324
|
+
next_retry_at: string | null;
|
|
9325
|
+
/**
|
|
9326
|
+
* The current status
|
|
9327
|
+
*/
|
|
9328
|
+
status: 'pending' | 'success' | 'failed' | 'rescheduled';
|
|
9084
9329
|
};
|
|
9085
9330
|
|
|
9086
9331
|
/**
|
|
@@ -9118,6 +9363,16 @@ export type WebhookCallInstancesTargetSchema = {
|
|
|
9118
9363
|
meta: {
|
|
9119
9364
|
total_count: number;
|
|
9120
9365
|
};
|
|
9366
|
+
included: Webhook[];
|
|
9367
|
+
};
|
|
9368
|
+
|
|
9369
|
+
/**
|
|
9370
|
+
* This interface was referenced by `WebhookCall`'s JSON-Schema
|
|
9371
|
+
* via the `self.targetSchema` link.
|
|
9372
|
+
*/
|
|
9373
|
+
export type WebhookCallSelfTargetSchema = {
|
|
9374
|
+
data: WebhookCall;
|
|
9375
|
+
included: Webhook[];
|
|
9121
9376
|
};
|
|
9122
9377
|
|
|
9123
9378
|
/**
|