@pushwoosh/rpc-gateway-journey-data 0.27.101 → 0.27.103
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/data.js +119 -0
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +39 -0
package/data.js
CHANGED
|
@@ -185,6 +185,18 @@ export const data = {
|
|
|
185
185
|
"method": "get",
|
|
186
186
|
"path": "/api/v2/journeygateway/maintenance/point-template-catalog"
|
|
187
187
|
},
|
|
188
|
+
"GetPointTemplateManifest": {
|
|
189
|
+
"request": "pushwoosh.cj.journey.GetPointTemplateManifestRequest",
|
|
190
|
+
"response": "pushwoosh.cj.journey.GetPointTemplateManifestResponse",
|
|
191
|
+
"method": "get",
|
|
192
|
+
"path": "/api/v2/journeygateway/maintenance/point-template-manifest"
|
|
193
|
+
},
|
|
194
|
+
"AnalyzePointTemplate": {
|
|
195
|
+
"request": "pushwoosh.cj.journey.AnalyzePointTemplateRequest",
|
|
196
|
+
"response": "pushwoosh.cj.journey.AnalyzePointTemplateResponse",
|
|
197
|
+
"method": "post",
|
|
198
|
+
"path": "/api/v2/journeygateway/maintenance/point-templates:analyze"
|
|
199
|
+
},
|
|
188
200
|
"GetPointTemplateCatalog": {
|
|
189
201
|
"request": "pushwoosh.cj.journey.GetPointTemplateCatalogRequest",
|
|
190
202
|
"response": "pushwoosh.cj.journey.GetPointTemplateCatalogResponse",
|
|
@@ -5325,6 +5337,113 @@ export const data = {
|
|
|
5325
5337
|
}
|
|
5326
5338
|
}
|
|
5327
5339
|
},
|
|
5340
|
+
"pushwoosh.cj.journey.GetPointTemplateManifestRequest": {
|
|
5341
|
+
"type": "I",
|
|
5342
|
+
"fields": {
|
|
5343
|
+
"slug": {
|
|
5344
|
+
"type": "string"
|
|
5345
|
+
},
|
|
5346
|
+
"version": {
|
|
5347
|
+
"type": "string"
|
|
5348
|
+
}
|
|
5349
|
+
}
|
|
5350
|
+
},
|
|
5351
|
+
"pushwoosh.cj.journey.GetPointTemplateManifestResponse": {
|
|
5352
|
+
"type": "I",
|
|
5353
|
+
"fields": {
|
|
5354
|
+
"manifest": {
|
|
5355
|
+
"type": "pushwoosh.cj.journey.PointTemplateManifest"
|
|
5356
|
+
}
|
|
5357
|
+
}
|
|
5358
|
+
},
|
|
5359
|
+
"pushwoosh.cj.journey.PointTemplateManifest": {
|
|
5360
|
+
"type": "I",
|
|
5361
|
+
"fields": {
|
|
5362
|
+
"uuid": {
|
|
5363
|
+
"type": "string"
|
|
5364
|
+
},
|
|
5365
|
+
"slug": {
|
|
5366
|
+
"type": "string"
|
|
5367
|
+
},
|
|
5368
|
+
"version": {
|
|
5369
|
+
"type": "string"
|
|
5370
|
+
},
|
|
5371
|
+
"title": {
|
|
5372
|
+
"type": "string"
|
|
5373
|
+
},
|
|
5374
|
+
"description": {
|
|
5375
|
+
"type": "string"
|
|
5376
|
+
},
|
|
5377
|
+
"icon": {
|
|
5378
|
+
"type": "string"
|
|
5379
|
+
},
|
|
5380
|
+
"category": {
|
|
5381
|
+
"type": "string"
|
|
5382
|
+
},
|
|
5383
|
+
"author": {
|
|
5384
|
+
"type": "string"
|
|
5385
|
+
},
|
|
5386
|
+
"runtime": {
|
|
5387
|
+
"type": "string"
|
|
5388
|
+
},
|
|
5389
|
+
"configSchema": {
|
|
5390
|
+
"type": "string"
|
|
5391
|
+
},
|
|
5392
|
+
"request": {
|
|
5393
|
+
"type": "string"
|
|
5394
|
+
},
|
|
5395
|
+
"responseMapping": {
|
|
5396
|
+
"type": "string"
|
|
5397
|
+
},
|
|
5398
|
+
"auth": {
|
|
5399
|
+
"type": "string"
|
|
5400
|
+
},
|
|
5401
|
+
"allowedHosts": {
|
|
5402
|
+
"type": "string",
|
|
5403
|
+
"array": true
|
|
5404
|
+
},
|
|
5405
|
+
"status": {
|
|
5406
|
+
"type": "string"
|
|
5407
|
+
},
|
|
5408
|
+
"publishedAt": {
|
|
5409
|
+
"type": "string"
|
|
5410
|
+
}
|
|
5411
|
+
}
|
|
5412
|
+
},
|
|
5413
|
+
"pushwoosh.cj.journey.AnalyzePointTemplateRequest": {
|
|
5414
|
+
"type": "I",
|
|
5415
|
+
"fields": {
|
|
5416
|
+
"manifest": {
|
|
5417
|
+
"type": "pushwoosh.cj.journey.SavePointTemplateRequest"
|
|
5418
|
+
}
|
|
5419
|
+
}
|
|
5420
|
+
},
|
|
5421
|
+
"pushwoosh.cj.journey.AnalyzePointTemplateResponse": {
|
|
5422
|
+
"type": "I",
|
|
5423
|
+
"fields": {
|
|
5424
|
+
"publishable": {
|
|
5425
|
+
"type": "boolean"
|
|
5426
|
+
},
|
|
5427
|
+
"findings": {
|
|
5428
|
+
"type": "pushwoosh.cj.journey.PointTemplateFinding",
|
|
5429
|
+
"array": true
|
|
5430
|
+
}
|
|
5431
|
+
}
|
|
5432
|
+
},
|
|
5433
|
+
"pushwoosh.cj.journey.PointTemplateFinding": {
|
|
5434
|
+
"type": "I",
|
|
5435
|
+
"fields": {
|
|
5436
|
+
"field": {
|
|
5437
|
+
"type": "string"
|
|
5438
|
+
},
|
|
5439
|
+
"message": {
|
|
5440
|
+
"type": "string"
|
|
5441
|
+
},
|
|
5442
|
+
"severity": {
|
|
5443
|
+
"type": "string"
|
|
5444
|
+
}
|
|
5445
|
+
}
|
|
5446
|
+
},
|
|
5328
5447
|
"pushwoosh.cj.journey.SetPointTemplateInstallRequest": {
|
|
5329
5448
|
"type": "I",
|
|
5330
5449
|
"fields": {
|
package/package.json
CHANGED
|
@@ -30,6 +30,8 @@ export interface Journey {
|
|
|
30
30
|
SavePointTemplate(request: SavePointTemplateRequest): Promise<SavePointTemplateResponse>;
|
|
31
31
|
SetPointTemplateInstall(request: SetPointTemplateInstallRequest): Promise<SetPointTemplateInstallResponse>;
|
|
32
32
|
ListPointTemplateCatalog(request: ListPointTemplateCatalogRequest): Promise<ListPointTemplateCatalogResponse>;
|
|
33
|
+
GetPointTemplateManifest(request: GetPointTemplateManifestRequest): Promise<GetPointTemplateManifestResponse>;
|
|
34
|
+
AnalyzePointTemplate(request: AnalyzePointTemplateRequest): Promise<AnalyzePointTemplateResponse>;
|
|
33
35
|
GetPointTemplateCatalog(request: GetPointTemplateCatalogRequest): Promise<GetPointTemplateCatalogResponse>;
|
|
34
36
|
InstallPointTemplate(request: InstallPointTemplateRequest): Promise<InstallPointTemplateResponse>;
|
|
35
37
|
UninstallPointTemplate(request: UninstallPointTemplateRequest): Promise<UninstallPointTemplateResponse>;
|
|
@@ -1911,6 +1913,43 @@ export type PointTemplateVersion = {
|
|
|
1911
1913
|
status: string;
|
|
1912
1914
|
publishedAt: string;
|
|
1913
1915
|
};
|
|
1916
|
+
export type GetPointTemplateManifestRequest = {
|
|
1917
|
+
slug?: string;
|
|
1918
|
+
version?: string;
|
|
1919
|
+
};
|
|
1920
|
+
export type GetPointTemplateManifestResponse = {
|
|
1921
|
+
manifest: PointTemplateManifest;
|
|
1922
|
+
};
|
|
1923
|
+
export type PointTemplateManifest = {
|
|
1924
|
+
uuid: string;
|
|
1925
|
+
slug: string;
|
|
1926
|
+
version: string;
|
|
1927
|
+
title: string;
|
|
1928
|
+
description: string;
|
|
1929
|
+
icon: string;
|
|
1930
|
+
category: string;
|
|
1931
|
+
author: string;
|
|
1932
|
+
runtime: string;
|
|
1933
|
+
configSchema: string;
|
|
1934
|
+
request: string;
|
|
1935
|
+
responseMapping: string;
|
|
1936
|
+
auth: string;
|
|
1937
|
+
allowedHosts: string[];
|
|
1938
|
+
status: string;
|
|
1939
|
+
publishedAt: string;
|
|
1940
|
+
};
|
|
1941
|
+
export type AnalyzePointTemplateRequest = {
|
|
1942
|
+
manifest?: SavePointTemplateRequest;
|
|
1943
|
+
};
|
|
1944
|
+
export type AnalyzePointTemplateResponse = {
|
|
1945
|
+
publishable: boolean;
|
|
1946
|
+
findings: PointTemplateFinding[];
|
|
1947
|
+
};
|
|
1948
|
+
export type PointTemplateFinding = {
|
|
1949
|
+
field: string;
|
|
1950
|
+
message: string;
|
|
1951
|
+
severity: string;
|
|
1952
|
+
};
|
|
1914
1953
|
export type SetPointTemplateInstallRequest = {
|
|
1915
1954
|
accountId?: number;
|
|
1916
1955
|
slug?: string;
|