@epilot/customer-portal-client 0.39.6 → 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 -0
- package/package.json +1 -1
- package/src/openapi.json +79 -0
package/dist/openapi.d.ts
CHANGED
|
@@ -5169,6 +5169,7 @@ declare namespace Components {
|
|
|
5169
5169
|
store_url?: string;
|
|
5170
5170
|
last_build?: /* Latest build/upload status for a platform (system-written). */ MobileBuildStatus;
|
|
5171
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;
|
|
5172
5173
|
}
|
|
5173
5174
|
/**
|
|
5174
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.
|
|
@@ -5189,6 +5190,33 @@ declare namespace Components {
|
|
|
5189
5190
|
store_url?: string;
|
|
5190
5191
|
};
|
|
5191
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;
|
|
5192
5220
|
}
|
|
5193
5221
|
/**
|
|
5194
5222
|
* Mobile OIDC configuration. Values are resolved at SSO invocation time, so the
|
|
@@ -5579,6 +5607,25 @@ declare namespace Components {
|
|
|
5579
5607
|
* Origin of the portal
|
|
5580
5608
|
*/
|
|
5581
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
|
+
}
|
|
5582
5629
|
export interface Page {
|
|
5583
5630
|
[name: string]: any;
|
|
5584
5631
|
/**
|
|
@@ -19348,6 +19395,7 @@ export type MobileBranding = Components.Schemas.MobileBranding;
|
|
|
19348
19395
|
export type MobileBuildStatus = Components.Schemas.MobileBuildStatus;
|
|
19349
19396
|
export type MobileConfig = Components.Schemas.MobileConfig;
|
|
19350
19397
|
export type MobileConfigUpdate = Components.Schemas.MobileConfigUpdate;
|
|
19398
|
+
export type MobileOtaConfig = Components.Schemas.MobileOtaConfig;
|
|
19351
19399
|
export type MoblieOIDCConfig = Components.Schemas.MoblieOIDCConfig;
|
|
19352
19400
|
export type OIDCProviderConfig = Components.Schemas.OIDCProviderConfig;
|
|
19353
19401
|
export type OIDCProviderMetadata = Components.Schemas.OIDCProviderMetadata;
|
|
@@ -19355,6 +19403,7 @@ export type Opportunity = Components.Schemas.Opportunity;
|
|
|
19355
19403
|
export type Order = Components.Schemas.Order;
|
|
19356
19404
|
export type OrganizationSettings = Components.Schemas.OrganizationSettings;
|
|
19357
19405
|
export type Origin = Components.Schemas.Origin;
|
|
19406
|
+
export type OtaPortal = Components.Schemas.OtaPortal;
|
|
19358
19407
|
export type Page = Components.Schemas.Page;
|
|
19359
19408
|
export type PageRequest = Components.Schemas.PageRequest;
|
|
19360
19409
|
export type PaymentWidget = Components.Schemas.PaymentWidget;
|
package/package.json
CHANGED
package/src/openapi.json
CHANGED
|
@@ -11018,6 +11018,9 @@
|
|
|
11018
11018
|
"$ref": "#/components/schemas/MobileBuildStatus"
|
|
11019
11019
|
}
|
|
11020
11020
|
}
|
|
11021
|
+
},
|
|
11022
|
+
"ota": {
|
|
11023
|
+
"$ref": "#/components/schemas/MobileOtaConfig"
|
|
11021
11024
|
}
|
|
11022
11025
|
}
|
|
11023
11026
|
},
|
|
@@ -11061,6 +11064,82 @@
|
|
|
11061
11064
|
},
|
|
11062
11065
|
"branding": {
|
|
11063
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"
|
|
11064
11143
|
}
|
|
11065
11144
|
}
|
|
11066
11145
|
},
|