@epilot/customer-portal-client 0.39.7 → 0.39.8
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/openapi.d.ts +49 -25
- package/package.json +1 -1
- package/src/openapi.json +79 -21
package/dist/openapi.d.ts
CHANGED
|
@@ -2063,15 +2063,6 @@ declare namespace Components {
|
|
|
2063
2063
|
[name: string]: string;
|
|
2064
2064
|
};
|
|
2065
2065
|
};
|
|
2066
|
-
/**
|
|
2067
|
-
* Whether to (re)trigger the registration identifiers check hook, which issues a request
|
|
2068
|
-
* to the connected ERP to (re)sync the contact, in addition to waiting for the entity to
|
|
2069
|
-
* arrive. Defaults to true to preserve existing behaviour. Set to false on retry attempts
|
|
2070
|
-
* to only poll for an already-triggered sync to land, without issuing another upstream
|
|
2071
|
-
* request to the ERP.
|
|
2072
|
-
*
|
|
2073
|
-
*/
|
|
2074
|
-
trigger_identifiers_check?: boolean;
|
|
2075
2066
|
}
|
|
2076
2067
|
export interface ContentWidget {
|
|
2077
2068
|
id: string;
|
|
@@ -5178,6 +5169,7 @@ declare namespace Components {
|
|
|
5178
5169
|
store_url?: string;
|
|
5179
5170
|
last_build?: /* Latest build/upload status for a platform (system-written). */ MobileBuildStatus;
|
|
5180
5171
|
};
|
|
5172
|
+
ota?: /* OTA (over-the-air) update settings for the portal's mobile app. Drives the OTA build pipeline and the per-portal manifest. channel / update_strategy / min_native_version are epilot-internal controls. */ MobileOtaConfig;
|
|
5181
5173
|
}
|
|
5182
5174
|
/**
|
|
5183
5175
|
* Editable mobile fields for PUT. Only mobile-relevant settings + app branding can be changed. Portal-derived values (display_name, app_host), the portal logo, and system-written fields (credentials_status, app_store_id, last_build, …) are ignored if sent.
|
|
@@ -5198,6 +5190,33 @@ declare namespace Components {
|
|
|
5198
5190
|
store_url?: string;
|
|
5199
5191
|
};
|
|
5200
5192
|
branding?: MobileBranding;
|
|
5193
|
+
ota?: /* OTA (over-the-air) update settings for the portal's mobile app. Drives the OTA build pipeline and the per-portal manifest. channel / update_strategy / min_native_version are epilot-internal controls. */ MobileOtaConfig;
|
|
5194
|
+
}
|
|
5195
|
+
/**
|
|
5196
|
+
* OTA (over-the-air) update settings for the portal's mobile app. Drives the OTA build pipeline and the per-portal manifest. channel / update_strategy / min_native_version are epilot-internal controls.
|
|
5197
|
+
*/
|
|
5198
|
+
export interface MobileOtaConfig {
|
|
5199
|
+
[name: string]: any;
|
|
5200
|
+
/**
|
|
5201
|
+
* Whether OTA updates are enabled for this portal.
|
|
5202
|
+
*/
|
|
5203
|
+
enabled?: boolean;
|
|
5204
|
+
/**
|
|
5205
|
+
* Release channel this portal follows.
|
|
5206
|
+
*/
|
|
5207
|
+
channel?: "canary" | "stable";
|
|
5208
|
+
/**
|
|
5209
|
+
* Whether the app auto-updates or prompts the user.
|
|
5210
|
+
*/
|
|
5211
|
+
auto_update?: boolean;
|
|
5212
|
+
/**
|
|
5213
|
+
* When to apply a downloaded bundle.
|
|
5214
|
+
*/
|
|
5215
|
+
update_strategy?: "next-launch" | "immediate";
|
|
5216
|
+
/**
|
|
5217
|
+
* Minimum native app version required to load OTA bundles.
|
|
5218
|
+
*/
|
|
5219
|
+
min_native_version?: string;
|
|
5201
5220
|
}
|
|
5202
5221
|
/**
|
|
5203
5222
|
* Mobile OIDC configuration. Values are resolved at SSO invocation time, so the
|
|
@@ -5588,6 +5607,25 @@ declare namespace Components {
|
|
|
5588
5607
|
* Origin of the portal
|
|
5589
5608
|
*/
|
|
5590
5609
|
export type Origin = string;
|
|
5610
|
+
/**
|
|
5611
|
+
* A portal that has mobile OTA updates enabled.
|
|
5612
|
+
*/
|
|
5613
|
+
export interface OtaPortal {
|
|
5614
|
+
/**
|
|
5615
|
+
* Portal hostname — the OTA manifest filename ({domain}.json).
|
|
5616
|
+
* example:
|
|
5617
|
+
* kundenportal.twl.de
|
|
5618
|
+
*/
|
|
5619
|
+
domain: string;
|
|
5620
|
+
channel: "canary" | "stable";
|
|
5621
|
+
autoUpdate: boolean;
|
|
5622
|
+
updateStrategy: "next-launch" | "immediate";
|
|
5623
|
+
/**
|
|
5624
|
+
* example:
|
|
5625
|
+
* 1.0.0
|
|
5626
|
+
*/
|
|
5627
|
+
minNativeVersion?: string;
|
|
5628
|
+
}
|
|
5591
5629
|
export interface Page {
|
|
5592
5630
|
[name: string]: any;
|
|
5593
5631
|
/**
|
|
@@ -9453,14 +9491,6 @@ declare namespace Paths {
|
|
|
9453
9491
|
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
9454
9492
|
*/
|
|
9455
9493
|
Components.Schemas.EntityId /* uuid */;
|
|
9456
|
-
/**
|
|
9457
|
-
* Present only when exists is false. NOT_FOUND means the given identifiers did
|
|
9458
|
-
* not match any contact (definitive - the client should not retry). TIMEOUT
|
|
9459
|
-
* means the contact was not found within the processing window but may still be
|
|
9460
|
-
* ingesting; the client may retry (ideally with trigger_identifiers_check=false).
|
|
9461
|
-
*
|
|
9462
|
-
*/
|
|
9463
|
-
reason?: "TIMEOUT" | "NOT_FOUND";
|
|
9464
9494
|
}
|
|
9465
9495
|
export type $400 = Components.Responses.InvalidRequest;
|
|
9466
9496
|
export type $404 = Components.Responses.NotFound;
|
|
@@ -9508,14 +9538,6 @@ declare namespace Paths {
|
|
|
9508
9538
|
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
9509
9539
|
*/
|
|
9510
9540
|
Components.Schemas.EntityId /* uuid */;
|
|
9511
|
-
/**
|
|
9512
|
-
* Present only when exists is false. NOT_FOUND means the given identifiers did
|
|
9513
|
-
* not match any contact (definitive - the client should not retry). TIMEOUT
|
|
9514
|
-
* means the contact was not found within the processing window but may still be
|
|
9515
|
-
* ingesting; the client may retry (ideally with trigger_identifiers_check=false).
|
|
9516
|
-
*
|
|
9517
|
-
*/
|
|
9518
|
-
reason?: "TIMEOUT" | "NOT_FOUND";
|
|
9519
9541
|
}
|
|
9520
9542
|
export type $400 = Components.Responses.InvalidRequest;
|
|
9521
9543
|
export type $404 = Components.Responses.NotFound;
|
|
@@ -19373,6 +19395,7 @@ export type MobileBranding = Components.Schemas.MobileBranding;
|
|
|
19373
19395
|
export type MobileBuildStatus = Components.Schemas.MobileBuildStatus;
|
|
19374
19396
|
export type MobileConfig = Components.Schemas.MobileConfig;
|
|
19375
19397
|
export type MobileConfigUpdate = Components.Schemas.MobileConfigUpdate;
|
|
19398
|
+
export type MobileOtaConfig = Components.Schemas.MobileOtaConfig;
|
|
19376
19399
|
export type MoblieOIDCConfig = Components.Schemas.MoblieOIDCConfig;
|
|
19377
19400
|
export type OIDCProviderConfig = Components.Schemas.OIDCProviderConfig;
|
|
19378
19401
|
export type OIDCProviderMetadata = Components.Schemas.OIDCProviderMetadata;
|
|
@@ -19380,6 +19403,7 @@ export type Opportunity = Components.Schemas.Opportunity;
|
|
|
19380
19403
|
export type Order = Components.Schemas.Order;
|
|
19381
19404
|
export type OrganizationSettings = Components.Schemas.OrganizationSettings;
|
|
19382
19405
|
export type Origin = Components.Schemas.Origin;
|
|
19406
|
+
export type OtaPortal = Components.Schemas.OtaPortal;
|
|
19383
19407
|
export type Page = Components.Schemas.Page;
|
|
19384
19408
|
export type PageRequest = Components.Schemas.PageRequest;
|
|
19385
19409
|
export type PaymentWidget = Components.Schemas.PaymentWidget;
|
package/package.json
CHANGED
package/src/openapi.json
CHANGED
|
@@ -3665,14 +3665,6 @@
|
|
|
3665
3665
|
"contactId": {
|
|
3666
3666
|
"$ref": "#/components/schemas/EntityId",
|
|
3667
3667
|
"description": "ID of the contact if exists"
|
|
3668
|
-
},
|
|
3669
|
-
"reason": {
|
|
3670
|
-
"type": "string",
|
|
3671
|
-
"enum": [
|
|
3672
|
-
"TIMEOUT",
|
|
3673
|
-
"NOT_FOUND"
|
|
3674
|
-
],
|
|
3675
|
-
"description": "Present only when exists is false. NOT_FOUND means the given identifiers did\nnot match any contact (definitive - the client should not retry). TIMEOUT\nmeans the contact was not found within the processing window but may still be\ningesting; the client may retry (ideally with trigger_identifiers_check=false).\n"
|
|
3676
3668
|
}
|
|
3677
3669
|
}
|
|
3678
3670
|
}
|
|
@@ -3751,14 +3743,6 @@
|
|
|
3751
3743
|
"accountId": {
|
|
3752
3744
|
"$ref": "#/components/schemas/EntityId",
|
|
3753
3745
|
"description": "ID of the resolved account when the portal is configured for account-based registration"
|
|
3754
|
-
},
|
|
3755
|
-
"reason": {
|
|
3756
|
-
"type": "string",
|
|
3757
|
-
"enum": [
|
|
3758
|
-
"TIMEOUT",
|
|
3759
|
-
"NOT_FOUND"
|
|
3760
|
-
],
|
|
3761
|
-
"description": "Present only when exists is false. NOT_FOUND means the given identifiers did\nnot match any contact (definitive - the client should not retry). TIMEOUT\nmeans the contact was not found within the processing window but may still be\ningesting; the client may retry (ideally with trigger_identifiers_check=false).\n"
|
|
3762
3746
|
}
|
|
3763
3747
|
}
|
|
3764
3748
|
}
|
|
@@ -11034,6 +11018,9 @@
|
|
|
11034
11018
|
"$ref": "#/components/schemas/MobileBuildStatus"
|
|
11035
11019
|
}
|
|
11036
11020
|
}
|
|
11021
|
+
},
|
|
11022
|
+
"ota": {
|
|
11023
|
+
"$ref": "#/components/schemas/MobileOtaConfig"
|
|
11037
11024
|
}
|
|
11038
11025
|
}
|
|
11039
11026
|
},
|
|
@@ -11077,6 +11064,82 @@
|
|
|
11077
11064
|
},
|
|
11078
11065
|
"branding": {
|
|
11079
11066
|
"$ref": "#/components/schemas/MobileBranding"
|
|
11067
|
+
},
|
|
11068
|
+
"ota": {
|
|
11069
|
+
"$ref": "#/components/schemas/MobileOtaConfig"
|
|
11070
|
+
}
|
|
11071
|
+
}
|
|
11072
|
+
},
|
|
11073
|
+
"MobileOtaConfig": {
|
|
11074
|
+
"type": "object",
|
|
11075
|
+
"description": "OTA (over-the-air) update settings for the portal's mobile app. Drives the OTA build pipeline and the per-portal manifest. channel / update_strategy / min_native_version are epilot-internal controls.",
|
|
11076
|
+
"additionalProperties": true,
|
|
11077
|
+
"properties": {
|
|
11078
|
+
"enabled": {
|
|
11079
|
+
"type": "boolean",
|
|
11080
|
+
"description": "Whether OTA updates are enabled for this portal."
|
|
11081
|
+
},
|
|
11082
|
+
"channel": {
|
|
11083
|
+
"type": "string",
|
|
11084
|
+
"enum": [
|
|
11085
|
+
"canary",
|
|
11086
|
+
"stable"
|
|
11087
|
+
],
|
|
11088
|
+
"description": "Release channel this portal follows."
|
|
11089
|
+
},
|
|
11090
|
+
"auto_update": {
|
|
11091
|
+
"type": "boolean",
|
|
11092
|
+
"description": "Whether the app auto-updates or prompts the user."
|
|
11093
|
+
},
|
|
11094
|
+
"update_strategy": {
|
|
11095
|
+
"type": "string",
|
|
11096
|
+
"enum": [
|
|
11097
|
+
"next-launch",
|
|
11098
|
+
"immediate"
|
|
11099
|
+
],
|
|
11100
|
+
"description": "When to apply a downloaded bundle."
|
|
11101
|
+
},
|
|
11102
|
+
"min_native_version": {
|
|
11103
|
+
"type": "string",
|
|
11104
|
+
"description": "Minimum native app version required to load OTA bundles."
|
|
11105
|
+
}
|
|
11106
|
+
}
|
|
11107
|
+
},
|
|
11108
|
+
"OtaPortal": {
|
|
11109
|
+
"type": "object",
|
|
11110
|
+
"description": "A portal that has mobile OTA updates enabled.",
|
|
11111
|
+
"required": [
|
|
11112
|
+
"domain",
|
|
11113
|
+
"channel",
|
|
11114
|
+
"autoUpdate",
|
|
11115
|
+
"updateStrategy"
|
|
11116
|
+
],
|
|
11117
|
+
"properties": {
|
|
11118
|
+
"domain": {
|
|
11119
|
+
"type": "string",
|
|
11120
|
+
"description": "Portal hostname — the OTA manifest filename ({domain}.json).",
|
|
11121
|
+
"example": "kundenportal.twl.de"
|
|
11122
|
+
},
|
|
11123
|
+
"channel": {
|
|
11124
|
+
"type": "string",
|
|
11125
|
+
"enum": [
|
|
11126
|
+
"canary",
|
|
11127
|
+
"stable"
|
|
11128
|
+
]
|
|
11129
|
+
},
|
|
11130
|
+
"autoUpdate": {
|
|
11131
|
+
"type": "boolean"
|
|
11132
|
+
},
|
|
11133
|
+
"updateStrategy": {
|
|
11134
|
+
"type": "string",
|
|
11135
|
+
"enum": [
|
|
11136
|
+
"next-launch",
|
|
11137
|
+
"immediate"
|
|
11138
|
+
]
|
|
11139
|
+
},
|
|
11140
|
+
"minNativeVersion": {
|
|
11141
|
+
"type": "string",
|
|
11142
|
+
"example": "1.0.0"
|
|
11080
11143
|
}
|
|
11081
11144
|
}
|
|
11082
11145
|
},
|
|
@@ -12578,11 +12641,6 @@
|
|
|
12578
12641
|
"contract_number": "123456"
|
|
12579
12642
|
}
|
|
12580
12643
|
}
|
|
12581
|
-
},
|
|
12582
|
-
"trigger_identifiers_check": {
|
|
12583
|
-
"type": "boolean",
|
|
12584
|
-
"default": true,
|
|
12585
|
-
"description": "Whether to (re)trigger the registration identifiers check hook, which issues a request\nto the connected ERP to (re)sync the contact, in addition to waiting for the entity to\narrive. Defaults to true to preserve existing behaviour. Set to false on retry attempts\nto only poll for an already-triggered sync to land, without issuing another upstream\nrequest to the ERP.\n"
|
|
12586
12644
|
}
|
|
12587
12645
|
}
|
|
12588
12646
|
},
|