@caraer/client 2.0.695 → 2.0.701

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.
Files changed (62) hide show
  1. package/.openapi-generator/FILES +41 -0
  2. package/api.ts +1856 -201
  3. package/dist/api.d.ts +1017 -31
  4. package/dist/api.js +1280 -84
  5. package/dist/esm/api.d.ts +1017 -31
  6. package/dist/esm/api.js +1268 -80
  7. package/docs/ApiTokenDTO.md +22 -0
  8. package/docs/AppBarDTO.md +6 -0
  9. package/docs/AppBarIframeSessionRequest.md +4 -0
  10. package/docs/AppBarsApi.md +4 -1
  11. package/docs/AppDTO.md +4 -0
  12. package/docs/AppDetailsDTO.md +2 -0
  13. package/docs/Audience.md +36 -0
  14. package/docs/BrowserAuthExchangeRequest.md +24 -0
  15. package/docs/BrowserAuthSessionResponse.md +28 -0
  16. package/docs/BrowserAuthStartRequest.md +28 -0
  17. package/docs/BrowserAuthStartResponse.md +22 -0
  18. package/docs/BrowserAuthenticationApi.md +176 -0
  19. package/docs/BulkEditRecordErrorItem.md +2 -0
  20. package/docs/CRUD.md +2 -0
  21. package/docs/CreatePrivateAppRequest.md +4 -0
  22. package/docs/CrudAccessContext.md +22 -0
  23. package/docs/EnsureRelationDTO.md +27 -0
  24. package/docs/ErrorResponse.md +2 -0
  25. package/docs/ExistingWidgetSummary.md +2 -2
  26. package/docs/FavoriteViewDTO.md +22 -0
  27. package/docs/NavigationApi.md +280 -0
  28. package/docs/NavigationDTO.md +27 -0
  29. package/docs/NavigationObjectDTO.md +38 -0
  30. package/docs/NavigationViewDTO.md +44 -0
  31. package/docs/NotificationDeviceReceipt.md +26 -0
  32. package/docs/NotificationDeviceRegistration.md +28 -0
  33. package/docs/NotificationsApi.md +172 -0
  34. package/docs/ObjectReferenceDTO.md +32 -0
  35. package/docs/ObjectsApi.md +5 -2
  36. package/docs/Palette.md +22 -0
  37. package/docs/Permissions.md +22 -0
  38. package/docs/RecordsApi.md +119 -0
  39. package/docs/RelationCapabilities.md +26 -0
  40. package/docs/RelationCapabilityEdge.md +22 -0
  41. package/docs/RelationCapabilityEdges.md +22 -0
  42. package/docs/RelationCapabilityOperation.md +22 -0
  43. package/docs/RelationCapabilityPair.md +22 -0
  44. package/docs/RelationCapabilityPairCapability.md +34 -0
  45. package/docs/RelationCapabilityPrimary.md +22 -0
  46. package/docs/RelationCapabilityRequest.md +22 -0
  47. package/docs/ShowResponseBrowserAuthSessionResponse.md +23 -0
  48. package/docs/ShowResponseBrowserAuthStartResponse.md +23 -0
  49. package/docs/ShowResponseItem.md +23 -0
  50. package/docs/ShowResponseNotificationDeviceReceipt.md +23 -0
  51. package/docs/ShowResponseRelationCapabilities.md +23 -0
  52. package/docs/ShowResponseWebpageEditorDefaultsDTO.md +23 -0
  53. package/docs/SimpleCompanyDTO.md +22 -0
  54. package/docs/SuccessResponseEnsureRelationDTO.md +23 -0
  55. package/docs/SuccessResponseListFavoriteViewDTO.md +23 -0
  56. package/docs/SuccessResponseListNavigationViewDTO.md +23 -0
  57. package/docs/SuccessResponseNavigationDTO.md +23 -0
  58. package/docs/UserDTO.md +46 -0
  59. package/docs/ViewNavigationPreferencesRequest.md +23 -0
  60. package/docs/WebpageEditorDefaultsDTO.md +25 -0
  61. package/docs/WebpagesApi.md +118 -0
  62. package/package.json +1 -1
package/dist/api.js CHANGED
@@ -25,10 +25,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
25
25
  return (mod && mod.__esModule) ? mod : { "default": mod };
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.CMSV2PagesApi = exports.CMSV2PagesApiFactory = exports.CMSV2PagesApiFp = exports.CMSV2PagesApiAxiosParamCreator = exports.CMSV2EnvironmentsApi = exports.CMSV2EnvironmentsApiFactory = exports.CMSV2EnvironmentsApiFp = exports.CMSV2EnvironmentsApiAxiosParamCreator = exports.CMSModulesApi = exports.CMSModulesApiFactory = exports.CMSModulesApiFp = exports.CMSModulesApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.AutomationsApi = exports.AutomationsApiFactory = exports.AutomationsApiFp = exports.AutomationsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.AppInstallationRuntimeApi = exports.AppInstallationRuntimeApiFactory = exports.AppInstallationRuntimeApiFp = exports.AppInstallationRuntimeApiAxiosParamCreator = exports.ListAppBarsLocationEnum = exports.AppBarsApi = exports.AppBarsApiFactory = exports.AppBarsApiFp = exports.AppBarsApiAxiosParamCreator = exports.AppBarIframeSessionsApi = exports.AppBarIframeSessionsApiFactory = exports.AppBarIframeSessionsApiFp = exports.AppBarIframeSessionsApiAxiosParamCreator = exports.ValidationErrorTypeEnum = exports.SortItemDirectionEnum = exports.SettingFieldTypeEnum = exports.RelationPillSortDirectionEnum = exports.EventRsvpRequestScopeEnum = exports.EventRsvpRequestPartstatEnum = exports.ErrorResponseRolesEnum = exports.CreatePrivateAppRequestAuthMethodEnum = exports.CaraerErrorTypeTypeEnum = exports.AppDTOAuthMethodEnum = exports.AppBarDTOLocationEnum = exports.AdvancedRecordQueryRequestStrategyEnum = exports.AdvancedRecordQueryPlanStrategyEnum = void 0;
29
- exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.ModuleApi = exports.ModuleApiFactory = exports.ModuleApiFp = exports.ModuleApiAxiosParamCreator = exports.FormsApi = exports.FormsApiFactory = exports.FormsApiFp = exports.FormsApiAxiosParamCreator = exports.FilterApi = exports.FilterApiFactory = exports.FilterApiFp = exports.FilterApiAxiosParamCreator = exports.FileManagementApi = exports.FileManagementApiFactory = exports.FileManagementApiFp = exports.FileManagementApiAxiosParamCreator = exports.FeedsApi = exports.FeedsApiFactory = exports.FeedsApiFp = exports.FeedsApiAxiosParamCreator = exports.DeveloperSandboxesApi = exports.DeveloperSandboxesApiFactory = exports.DeveloperSandboxesApiFp = exports.DeveloperSandboxesApiAxiosParamCreator = exports.DeveloperProjectsApi = exports.DeveloperProjectsApiFactory = exports.DeveloperProjectsApiFp = exports.DeveloperProjectsApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.CalendarsApi = exports.CalendarsApiFactory = exports.CalendarsApiFp = exports.CalendarsApiAxiosParamCreator = exports.CMSWebsiteUpdatesApi = exports.CMSWebsiteUpdatesApiFactory = exports.CMSWebsiteUpdatesApiFp = exports.CMSWebsiteUpdatesApiAxiosParamCreator = exports.CMSV2TransferApi = exports.CMSV2TransferApiFactory = exports.CMSV2TransferApiFp = exports.CMSV2TransferApiAxiosParamCreator = exports.CMSV2PublicApi = exports.CMSV2PublicApiFactory = exports.CMSV2PublicApiFp = exports.CMSV2PublicApiAxiosParamCreator = void 0;
30
- exports.TraitsApiFactory = exports.TraitsApiFp = exports.TraitsApiAxiosParamCreator = exports.SyncApi = exports.SyncApiFactory = exports.SyncApiFp = exports.SyncApiAxiosParamCreator = exports.ServerlessFunctionsApi = exports.ServerlessFunctionsApiFactory = exports.ServerlessFunctionsApiFp = exports.ServerlessFunctionsApiAxiosParamCreator = exports.RelationsApi = exports.RelationsApiFactory = exports.RelationsApiFp = exports.RelationsApiAxiosParamCreator = exports.UpdateByUuidRecordReturnFormatEnum = exports.UpdateByUuidParseEnum = exports.UpdateRecordReturnFormatEnum = exports.UpdateParseEnum = exports.ShowByObjectParseEnum = exports.ShowByObjectRecordReturnFormatEnum = exports.ShowParseEnum = exports.ShowRecordReturnFormatEnum = exports.SearchCrossObjectParseEnum = exports.SearchRecordReturnFormatEnum = exports.SearchParseEnum = exports.Preview1ParseEnum = exports.IndexFlowParseEnum = exports.IndexRecordReturnFormatEnum = exports.IndexParseEnum = exports.ExtendParseEnum = exports.ExtendRecordReturnFormatEnum = exports.CreateOrUpdateRecordReturnFormatEnum = exports.CreateOrUpdateParseEnum = exports.CreateRecordReturnFormatEnum = exports.CreateParseEnum = exports.RecordsApi = exports.RecordsApiFactory = exports.RecordsApiFp = exports.RecordsApiAxiosParamCreator = exports.PropertyApi = exports.PropertyApiFactory = exports.PropertyApiFp = exports.PropertyApiAxiosParamCreator = exports.ObjectsApi = exports.ObjectsApiFactory = exports.ObjectsApiFp = exports.ObjectsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = void 0;
31
- exports.WebpagesApi = exports.WebpagesApiFactory = exports.WebpagesApiFp = exports.WebpagesApiAxiosParamCreator = exports.WebMenusApi = exports.WebMenusApiFactory = exports.WebMenusApiFp = exports.WebMenusApiAxiosParamCreator = exports.ViewsApi = exports.ViewsApiFactory = exports.ViewsApiFp = exports.ViewsApiAxiosParamCreator = exports.TraitsApi = void 0;
28
+ exports.BrowserAuthenticationApiFp = exports.BrowserAuthenticationApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.AutomationsApi = exports.AutomationsApiFactory = exports.AutomationsApiFp = exports.AutomationsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.AppInstallationRuntimeApi = exports.AppInstallationRuntimeApiFactory = exports.AppInstallationRuntimeApiFp = exports.AppInstallationRuntimeApiAxiosParamCreator = exports.ListAppBarsNavigationPlacementEnum = exports.ListAppBarsLocationEnum = exports.AppBarsApi = exports.AppBarsApiFactory = exports.AppBarsApiFp = exports.AppBarsApiAxiosParamCreator = exports.AppBarIframeSessionsApi = exports.AppBarIframeSessionsApiFactory = exports.AppBarIframeSessionsApiFp = exports.AppBarIframeSessionsApiAxiosParamCreator = exports.ValidationErrorTypeEnum = exports.SortItemDirectionEnum = exports.SettingFieldTypeEnum = exports.RelationPillSortDirectionEnum = exports.RelationCapabilityPairCapabilityReasonEnum = exports.RelationCapabilityPairCapabilityStatusEnum = exports.RelationCapabilityOperationFromEnum = exports.RelationCapabilityEdgePrimaryEnum = exports.EventRsvpRequestScopeEnum = exports.EventRsvpRequestPartstatEnum = exports.ErrorResponseRolesEnum = exports.ErrorResponseRecordWriteOutcomeEnum = exports.EnsureRelationDTOOutcomeEnum = exports.CreatePrivateAppRequestAuthMethodEnum = exports.CaraerErrorTypeTypeEnum = exports.BulkEditRecordErrorItemRecordWriteOutcomeEnum = exports.AppDTOAuthMethodEnum = exports.AppBarIframeSessionRequestNavigationPlacementEnum = exports.AppBarDTOLocationEnum = exports.AppBarDTONavigationPlacementEnum = exports.AdvancedRecordQueryRequestStrategyEnum = exports.AdvancedRecordQueryPlanStrategyEnum = void 0;
29
+ exports.FileManagementApi = exports.FileManagementApiFactory = exports.FileManagementApiFp = exports.FileManagementApiAxiosParamCreator = exports.FeedsApi = exports.FeedsApiFactory = exports.FeedsApiFp = exports.FeedsApiAxiosParamCreator = exports.DeveloperSandboxesApi = exports.DeveloperSandboxesApiFactory = exports.DeveloperSandboxesApiFp = exports.DeveloperSandboxesApiAxiosParamCreator = exports.DeveloperProjectsApi = exports.DeveloperProjectsApiFactory = exports.DeveloperProjectsApiFp = exports.DeveloperProjectsApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.CalendarsApi = exports.CalendarsApiFactory = exports.CalendarsApiFp = exports.CalendarsApiAxiosParamCreator = exports.CMSWebsiteUpdatesApi = exports.CMSWebsiteUpdatesApiFactory = exports.CMSWebsiteUpdatesApiFp = exports.CMSWebsiteUpdatesApiAxiosParamCreator = exports.CMSV2TransferApi = exports.CMSV2TransferApiFactory = exports.CMSV2TransferApiFp = exports.CMSV2TransferApiAxiosParamCreator = exports.CMSV2PublicApi = exports.CMSV2PublicApiFactory = exports.CMSV2PublicApiFp = exports.CMSV2PublicApiAxiosParamCreator = exports.CMSV2PagesApi = exports.CMSV2PagesApiFactory = exports.CMSV2PagesApiFp = exports.CMSV2PagesApiAxiosParamCreator = exports.CMSV2EnvironmentsApi = exports.CMSV2EnvironmentsApiFactory = exports.CMSV2EnvironmentsApiFp = exports.CMSV2EnvironmentsApiAxiosParamCreator = exports.CMSModulesApi = exports.CMSModulesApiFactory = exports.CMSModulesApiFp = exports.CMSModulesApiAxiosParamCreator = exports.BrowserAuthenticationApi = exports.BrowserAuthenticationApiFactory = void 0;
30
+ exports.UpdateParseEnum = exports.ShowByObjectParseEnum = exports.ShowByObjectRecordReturnFormatEnum = exports.ShowParseEnum = exports.ShowRecordReturnFormatEnum = exports.SearchCrossObjectParseEnum = exports.SearchRecordReturnFormatEnum = exports.SearchParseEnum = exports.Preview1ParseEnum = exports.IndexFlowParseEnum = exports.IndexRecordReturnFormatEnum = exports.IndexParseEnum = exports.ExtendParseEnum = exports.ExtendRecordReturnFormatEnum = exports.CreateOrUpdateRecordReturnFormatEnum = exports.CreateOrUpdateParseEnum = exports.CreateRecordReturnFormatEnum = exports.CreateParseEnum = exports.RecordsApi = exports.RecordsApiFactory = exports.RecordsApiFp = exports.RecordsApiAxiosParamCreator = exports.PropertyApi = exports.PropertyApiFactory = exports.PropertyApiFp = exports.PropertyApiAxiosParamCreator = exports.ObjectsApi = exports.ObjectsApiFactory = exports.ObjectsApiFp = exports.ObjectsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.NavigationApi = exports.NavigationApiFactory = exports.NavigationApiFp = exports.NavigationApiAxiosParamCreator = exports.ModuleApi = exports.ModuleApiFactory = exports.ModuleApiFp = exports.ModuleApiAxiosParamCreator = exports.FormsApi = exports.FormsApiFactory = exports.FormsApiFp = exports.FormsApiAxiosParamCreator = exports.FilterApi = exports.FilterApiFactory = exports.FilterApiFp = exports.FilterApiAxiosParamCreator = void 0;
31
+ exports.WebpagesApi = exports.WebpagesApiFactory = exports.WebpagesApiFp = exports.WebpagesApiAxiosParamCreator = exports.WebMenusApi = exports.WebMenusApiFactory = exports.WebMenusApiFp = exports.WebMenusApiAxiosParamCreator = exports.ViewsApi = exports.ViewsApiFactory = exports.ViewsApiFp = exports.ViewsApiAxiosParamCreator = exports.TraitsApi = exports.TraitsApiFactory = exports.TraitsApiFp = exports.TraitsApiAxiosParamCreator = exports.SyncApi = exports.SyncApiFactory = exports.SyncApiFp = exports.SyncApiAxiosParamCreator = exports.ServerlessFunctionsApi = exports.ServerlessFunctionsApiFactory = exports.ServerlessFunctionsApiFp = exports.ServerlessFunctionsApiAxiosParamCreator = exports.RelationsApi = exports.RelationsApiFactory = exports.RelationsApiFp = exports.RelationsApiAxiosParamCreator = exports.UpdateByUuidRecordReturnFormatEnum = exports.UpdateByUuidParseEnum = exports.UpdateRecordReturnFormatEnum = void 0;
32
32
  const axios_1 = __importDefault(require("axios"));
33
33
  // Some imports not used depending on template conditions
34
34
  // @ts-ignore
@@ -51,6 +51,10 @@ exports.AdvancedRecordQueryRequestStrategyEnum = {
51
51
  Hybrid: 'HYBRID',
52
52
  Graph: 'GRAPH',
53
53
  };
54
+ exports.AppBarDTONavigationPlacementEnum = {
55
+ Suite: 'SUITE',
56
+ Settings: 'SETTINGS',
57
+ };
54
58
  exports.AppBarDTOLocationEnum = {
55
59
  RecordPreview: 'RECORD_PREVIEW',
56
60
  RecordOverview: 'RECORD_OVERVIEW',
@@ -59,11 +63,18 @@ exports.AppBarDTOLocationEnum = {
59
63
  TraitBar: 'TRAIT_BAR',
60
64
  RecordTrait: 'RECORD_TRAIT',
61
65
  };
66
+ exports.AppBarIframeSessionRequestNavigationPlacementEnum = {
67
+ Suite: 'SUITE',
68
+ Settings: 'SETTINGS',
69
+ };
62
70
  exports.AppDTOAuthMethodEnum = {
63
71
  None: 'NONE',
64
72
  ApiKey: 'API_KEY',
65
73
  Oauth2: 'OAUTH2',
66
74
  };
75
+ exports.BulkEditRecordErrorItemRecordWriteOutcomeEnum = {
76
+ NotStarted: 'NOT_STARTED',
77
+ };
67
78
  exports.CaraerErrorTypeTypeEnum = {
68
79
  Validation: 'VALIDATION',
69
80
  NotFound: 'NOT_FOUND',
@@ -82,6 +93,13 @@ exports.CreatePrivateAppRequestAuthMethodEnum = {
82
93
  ApiKey: 'API_KEY',
83
94
  Oauth2: 'OAUTH2',
84
95
  };
96
+ exports.EnsureRelationDTOOutcomeEnum = {
97
+ Created: 'CREATED',
98
+ Unchanged: 'UNCHANGED',
99
+ };
100
+ exports.ErrorResponseRecordWriteOutcomeEnum = {
101
+ NotStarted: 'NOT_STARTED',
102
+ };
85
103
  exports.ErrorResponseRolesEnum = {
86
104
  User: 'USER',
87
105
  Admin: 'ADMIN',
@@ -100,6 +118,25 @@ exports.EventRsvpRequestScopeEnum = {
100
118
  ThisAndFuture: 'this_and_future',
101
119
  All: 'all',
102
120
  };
121
+ exports.RelationCapabilityEdgePrimaryEnum = {
122
+ Absent: 'ABSENT',
123
+ False: 'FALSE',
124
+ True: 'TRUE',
125
+ Mixed: 'MIXED',
126
+ };
127
+ exports.RelationCapabilityOperationFromEnum = {
128
+ Source: 'SOURCE',
129
+ Target: 'TARGET',
130
+ };
131
+ exports.RelationCapabilityPairCapabilityStatusEnum = {
132
+ Available: 'AVAILABLE',
133
+ Unavailable: 'UNAVAILABLE',
134
+ Unresolved: 'UNRESOLVED',
135
+ };
136
+ exports.RelationCapabilityPairCapabilityReasonEnum = {
137
+ OrientationAmbiguous: 'ORIENTATION_AMBIGUOUS',
138
+ UnsupportedRelationName: 'UNSUPPORTED_RELATION_NAME',
139
+ };
103
140
  exports.RelationPillSortDirectionEnum = {
104
141
  Asc: 'ASC',
105
142
  Desc: 'DESC',
@@ -320,10 +357,11 @@ const AppBarsApiAxiosParamCreator = function (configuration) {
320
357
  * @param {string} [viewId] View ID in context
321
358
  * @param {string} [trait] Trait name in context
322
359
  * @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
360
+ * @param {ListAppBarsNavigationPlacementEnum} [navigationPlacement] TOOL_BAR placement. Omitted means legacy SUITE; SETTINGS is suite-independent.
323
361
  * @param {*} [options] Override http request option.
324
362
  * @throws {RequiredError}
325
363
  */
326
- listAppBars: (location_1, object_1, recordUuid_1, viewId_1, trait_1, suite_1, ...args_1) => __awaiter(this, [location_1, object_1, recordUuid_1, viewId_1, trait_1, suite_1, ...args_1], void 0, function* (location, object, recordUuid, viewId, trait, suite, options = {}) {
364
+ listAppBars: (location_1, object_1, recordUuid_1, viewId_1, trait_1, suite_1, navigationPlacement_1, ...args_1) => __awaiter(this, [location_1, object_1, recordUuid_1, viewId_1, trait_1, suite_1, navigationPlacement_1, ...args_1], void 0, function* (location, object, recordUuid, viewId, trait, suite, navigationPlacement, options = {}) {
327
365
  // verify required parameter 'location' is not null or undefined
328
366
  (0, common_1.assertParamExists)('listAppBars', 'location', location);
329
367
  const localVarPath = `/api/v2/app-bars`;
@@ -357,6 +395,9 @@ const AppBarsApiAxiosParamCreator = function (configuration) {
357
395
  if (suite !== undefined) {
358
396
  localVarQueryParameter['suite'] = suite;
359
397
  }
398
+ if (navigationPlacement !== undefined) {
399
+ localVarQueryParameter['navigationPlacement'] = navigationPlacement;
400
+ }
360
401
  localVarHeaderParameter['Accept'] = 'application/json';
361
402
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
362
403
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -420,13 +461,14 @@ const AppBarsApiFp = function (configuration) {
420
461
  * @param {string} [viewId] View ID in context
421
462
  * @param {string} [trait] Trait name in context
422
463
  * @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
464
+ * @param {ListAppBarsNavigationPlacementEnum} [navigationPlacement] TOOL_BAR placement. Omitted means legacy SUITE; SETTINGS is suite-independent.
423
465
  * @param {*} [options] Override http request option.
424
466
  * @throws {RequiredError}
425
467
  */
426
- listAppBars(location, object, recordUuid, viewId, trait, suite, options) {
468
+ listAppBars(location, object, recordUuid, viewId, trait, suite, navigationPlacement, options) {
427
469
  return __awaiter(this, void 0, void 0, function* () {
428
470
  var _a, _b, _c;
429
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listAppBars(location, object, recordUuid, viewId, trait, suite, options);
471
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listAppBars(location, object, recordUuid, viewId, trait, suite, navigationPlacement, options);
430
472
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
431
473
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AppBarsApi.listAppBars']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
432
474
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -467,11 +509,12 @@ const AppBarsApiFactory = function (configuration, basePath, axios) {
467
509
  * @param {string} [viewId] View ID in context
468
510
  * @param {string} [trait] Trait name in context
469
511
  * @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
512
+ * @param {ListAppBarsNavigationPlacementEnum} [navigationPlacement] TOOL_BAR placement. Omitted means legacy SUITE; SETTINGS is suite-independent.
470
513
  * @param {*} [options] Override http request option.
471
514
  * @throws {RequiredError}
472
515
  */
473
- listAppBars(location, object, recordUuid, viewId, trait, suite, options) {
474
- return localVarFp.listAppBars(location, object, recordUuid, viewId, trait, suite, options).then((request) => request(axios, basePath));
516
+ listAppBars(location, object, recordUuid, viewId, trait, suite, navigationPlacement, options) {
517
+ return localVarFp.listAppBars(location, object, recordUuid, viewId, trait, suite, navigationPlacement, options).then((request) => request(axios, basePath));
475
518
  },
476
519
  /**
477
520
  * Fires the app bar webhook with optional settings values and record/view context.
@@ -500,11 +543,12 @@ class AppBarsApi extends base_1.BaseAPI {
500
543
  * @param {string} [viewId] View ID in context
501
544
  * @param {string} [trait] Trait name in context
502
545
  * @param {string} [suite] Suite selected in the UI. A tool bar is included when this suite is saved on the bar.
546
+ * @param {ListAppBarsNavigationPlacementEnum} [navigationPlacement] TOOL_BAR placement. Omitted means legacy SUITE; SETTINGS is suite-independent.
503
547
  * @param {*} [options] Override http request option.
504
548
  * @throws {RequiredError}
505
549
  */
506
- listAppBars(location, object, recordUuid, viewId, trait, suite, options) {
507
- return (0, exports.AppBarsApiFp)(this.configuration).listAppBars(location, object, recordUuid, viewId, trait, suite, options).then((request) => request(this.axios, this.basePath));
550
+ listAppBars(location, object, recordUuid, viewId, trait, suite, navigationPlacement, options) {
551
+ return (0, exports.AppBarsApiFp)(this.configuration).listAppBars(location, object, recordUuid, viewId, trait, suite, navigationPlacement, options).then((request) => request(this.axios, this.basePath));
508
552
  }
509
553
  /**
510
554
  * Fires the app bar webhook with optional settings values and record/view context.
@@ -527,6 +571,10 @@ exports.ListAppBarsLocationEnum = {
527
571
  TraitBar: 'TRAIT_BAR',
528
572
  RecordTrait: 'RECORD_TRAIT',
529
573
  };
574
+ exports.ListAppBarsNavigationPlacementEnum = {
575
+ Suite: 'SUITE',
576
+ Settings: 'SETTINGS',
577
+ };
530
578
  /**
531
579
  * AppInstallationRuntimeApi - axios parameter creator
532
580
  */
@@ -4785,6 +4833,249 @@ class BillingApi extends base_1.BaseAPI {
4785
4833
  }
4786
4834
  }
4787
4835
  exports.BillingApi = BillingApi;
4836
+ /**
4837
+ * BrowserAuthenticationApi - axios parameter creator
4838
+ */
4839
+ const BrowserAuthenticationApiAxiosParamCreator = function (configuration) {
4840
+ return {
4841
+ /**
4842
+ *
4843
+ * @summary Open the browser-owned provider session
4844
+ * @param {string} flow
4845
+ * @param {*} [options] Override http request option.
4846
+ * @throws {RequiredError}
4847
+ */
4848
+ authorize: (flow_1, ...args_1) => __awaiter(this, [flow_1, ...args_1], void 0, function* (flow, options = {}) {
4849
+ // verify required parameter 'flow' is not null or undefined
4850
+ (0, common_1.assertParamExists)('authorize', 'flow', flow);
4851
+ const localVarPath = `/api/v2/auth/browser/authorize`;
4852
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4853
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4854
+ let baseOptions;
4855
+ if (configuration) {
4856
+ baseOptions = configuration.baseOptions;
4857
+ }
4858
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4859
+ const localVarHeaderParameter = {};
4860
+ const localVarQueryParameter = {};
4861
+ // authentication bearerAuth required
4862
+ // http bearer authentication required
4863
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4864
+ if (flow !== undefined) {
4865
+ localVarQueryParameter['flow'] = flow;
4866
+ }
4867
+ localVarHeaderParameter['Accept'] = 'application/json';
4868
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4869
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4870
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4871
+ return {
4872
+ url: (0, common_1.toPathString)(localVarUrlObj),
4873
+ options: localVarRequestOptions,
4874
+ };
4875
+ }),
4876
+ /**
4877
+ * Exchanges an unexpired single-use code only after exact redirect and PKCE verifier checks. Access/refresh tokens are returned in JSON and never in callback URLs.
4878
+ * @summary Exchange a native callback code
4879
+ * @param {BrowserAuthExchangeRequest} browserAuthExchangeRequest
4880
+ * @param {*} [options] Override http request option.
4881
+ * @throws {RequiredError}
4882
+ */
4883
+ exchange: (browserAuthExchangeRequest_1, ...args_1) => __awaiter(this, [browserAuthExchangeRequest_1, ...args_1], void 0, function* (browserAuthExchangeRequest, options = {}) {
4884
+ // verify required parameter 'browserAuthExchangeRequest' is not null or undefined
4885
+ (0, common_1.assertParamExists)('exchange', 'browserAuthExchangeRequest', browserAuthExchangeRequest);
4886
+ const localVarPath = `/api/v2/auth/browser/exchange`;
4887
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4888
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4889
+ let baseOptions;
4890
+ if (configuration) {
4891
+ baseOptions = configuration.baseOptions;
4892
+ }
4893
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
4894
+ const localVarHeaderParameter = {};
4895
+ const localVarQueryParameter = {};
4896
+ // authentication bearerAuth required
4897
+ // http bearer authentication required
4898
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4899
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4900
+ localVarHeaderParameter['Accept'] = '*/*,application/json';
4901
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4902
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4903
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4904
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(browserAuthExchangeRequest, localVarRequestOptions, configuration);
4905
+ return {
4906
+ url: (0, common_1.toPathString)(localVarUrlObj),
4907
+ options: localVarRequestOptions,
4908
+ };
4909
+ }),
4910
+ /**
4911
+ * Requires an exact configured redirect URI, random client state and S256 PKCE challenge. Open the returned URL in the system browser.
4912
+ * @summary Start browser sign-in
4913
+ * @param {BrowserAuthStartRequest} browserAuthStartRequest
4914
+ * @param {*} [options] Override http request option.
4915
+ * @throws {RequiredError}
4916
+ */
4917
+ start: (browserAuthStartRequest_1, ...args_1) => __awaiter(this, [browserAuthStartRequest_1, ...args_1], void 0, function* (browserAuthStartRequest, options = {}) {
4918
+ // verify required parameter 'browserAuthStartRequest' is not null or undefined
4919
+ (0, common_1.assertParamExists)('start', 'browserAuthStartRequest', browserAuthStartRequest);
4920
+ const localVarPath = `/api/v2/auth/browser/start`;
4921
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4922
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4923
+ let baseOptions;
4924
+ if (configuration) {
4925
+ baseOptions = configuration.baseOptions;
4926
+ }
4927
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
4928
+ const localVarHeaderParameter = {};
4929
+ const localVarQueryParameter = {};
4930
+ // authentication bearerAuth required
4931
+ // http bearer authentication required
4932
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4933
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4934
+ localVarHeaderParameter['Accept'] = '*/*,application/json';
4935
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4936
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4937
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4938
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(browserAuthStartRequest, localVarRequestOptions, configuration);
4939
+ return {
4940
+ url: (0, common_1.toPathString)(localVarUrlObj),
4941
+ options: localVarRequestOptions,
4942
+ };
4943
+ }),
4944
+ };
4945
+ };
4946
+ exports.BrowserAuthenticationApiAxiosParamCreator = BrowserAuthenticationApiAxiosParamCreator;
4947
+ /**
4948
+ * BrowserAuthenticationApi - functional programming interface
4949
+ */
4950
+ const BrowserAuthenticationApiFp = function (configuration) {
4951
+ const localVarAxiosParamCreator = (0, exports.BrowserAuthenticationApiAxiosParamCreator)(configuration);
4952
+ return {
4953
+ /**
4954
+ *
4955
+ * @summary Open the browser-owned provider session
4956
+ * @param {string} flow
4957
+ * @param {*} [options] Override http request option.
4958
+ * @throws {RequiredError}
4959
+ */
4960
+ authorize(flow, options) {
4961
+ return __awaiter(this, void 0, void 0, function* () {
4962
+ var _a, _b, _c;
4963
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.authorize(flow, options);
4964
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4965
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BrowserAuthenticationApi.authorize']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4966
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4967
+ });
4968
+ },
4969
+ /**
4970
+ * Exchanges an unexpired single-use code only after exact redirect and PKCE verifier checks. Access/refresh tokens are returned in JSON and never in callback URLs.
4971
+ * @summary Exchange a native callback code
4972
+ * @param {BrowserAuthExchangeRequest} browserAuthExchangeRequest
4973
+ * @param {*} [options] Override http request option.
4974
+ * @throws {RequiredError}
4975
+ */
4976
+ exchange(browserAuthExchangeRequest, options) {
4977
+ return __awaiter(this, void 0, void 0, function* () {
4978
+ var _a, _b, _c;
4979
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exchange(browserAuthExchangeRequest, options);
4980
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4981
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BrowserAuthenticationApi.exchange']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4982
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4983
+ });
4984
+ },
4985
+ /**
4986
+ * Requires an exact configured redirect URI, random client state and S256 PKCE challenge. Open the returned URL in the system browser.
4987
+ * @summary Start browser sign-in
4988
+ * @param {BrowserAuthStartRequest} browserAuthStartRequest
4989
+ * @param {*} [options] Override http request option.
4990
+ * @throws {RequiredError}
4991
+ */
4992
+ start(browserAuthStartRequest, options) {
4993
+ return __awaiter(this, void 0, void 0, function* () {
4994
+ var _a, _b, _c;
4995
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.start(browserAuthStartRequest, options);
4996
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4997
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BrowserAuthenticationApi.start']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4998
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4999
+ });
5000
+ },
5001
+ };
5002
+ };
5003
+ exports.BrowserAuthenticationApiFp = BrowserAuthenticationApiFp;
5004
+ /**
5005
+ * BrowserAuthenticationApi - factory interface
5006
+ */
5007
+ const BrowserAuthenticationApiFactory = function (configuration, basePath, axios) {
5008
+ const localVarFp = (0, exports.BrowserAuthenticationApiFp)(configuration);
5009
+ return {
5010
+ /**
5011
+ *
5012
+ * @summary Open the browser-owned provider session
5013
+ * @param {string} flow
5014
+ * @param {*} [options] Override http request option.
5015
+ * @throws {RequiredError}
5016
+ */
5017
+ authorize(flow, options) {
5018
+ return localVarFp.authorize(flow, options).then((request) => request(axios, basePath));
5019
+ },
5020
+ /**
5021
+ * Exchanges an unexpired single-use code only after exact redirect and PKCE verifier checks. Access/refresh tokens are returned in JSON and never in callback URLs.
5022
+ * @summary Exchange a native callback code
5023
+ * @param {BrowserAuthExchangeRequest} browserAuthExchangeRequest
5024
+ * @param {*} [options] Override http request option.
5025
+ * @throws {RequiredError}
5026
+ */
5027
+ exchange(browserAuthExchangeRequest, options) {
5028
+ return localVarFp.exchange(browserAuthExchangeRequest, options).then((request) => request(axios, basePath));
5029
+ },
5030
+ /**
5031
+ * Requires an exact configured redirect URI, random client state and S256 PKCE challenge. Open the returned URL in the system browser.
5032
+ * @summary Start browser sign-in
5033
+ * @param {BrowserAuthStartRequest} browserAuthStartRequest
5034
+ * @param {*} [options] Override http request option.
5035
+ * @throws {RequiredError}
5036
+ */
5037
+ start(browserAuthStartRequest, options) {
5038
+ return localVarFp.start(browserAuthStartRequest, options).then((request) => request(axios, basePath));
5039
+ },
5040
+ };
5041
+ };
5042
+ exports.BrowserAuthenticationApiFactory = BrowserAuthenticationApiFactory;
5043
+ /**
5044
+ * BrowserAuthenticationApi - object-oriented interface
5045
+ */
5046
+ class BrowserAuthenticationApi extends base_1.BaseAPI {
5047
+ /**
5048
+ *
5049
+ * @summary Open the browser-owned provider session
5050
+ * @param {string} flow
5051
+ * @param {*} [options] Override http request option.
5052
+ * @throws {RequiredError}
5053
+ */
5054
+ authorize(flow, options) {
5055
+ return (0, exports.BrowserAuthenticationApiFp)(this.configuration).authorize(flow, options).then((request) => request(this.axios, this.basePath));
5056
+ }
5057
+ /**
5058
+ * Exchanges an unexpired single-use code only after exact redirect and PKCE verifier checks. Access/refresh tokens are returned in JSON and never in callback URLs.
5059
+ * @summary Exchange a native callback code
5060
+ * @param {BrowserAuthExchangeRequest} browserAuthExchangeRequest
5061
+ * @param {*} [options] Override http request option.
5062
+ * @throws {RequiredError}
5063
+ */
5064
+ exchange(browserAuthExchangeRequest, options) {
5065
+ return (0, exports.BrowserAuthenticationApiFp)(this.configuration).exchange(browserAuthExchangeRequest, options).then((request) => request(this.axios, this.basePath));
5066
+ }
5067
+ /**
5068
+ * Requires an exact configured redirect URI, random client state and S256 PKCE challenge. Open the returned URL in the system browser.
5069
+ * @summary Start browser sign-in
5070
+ * @param {BrowserAuthStartRequest} browserAuthStartRequest
5071
+ * @param {*} [options] Override http request option.
5072
+ * @throws {RequiredError}
5073
+ */
5074
+ start(browserAuthStartRequest, options) {
5075
+ return (0, exports.BrowserAuthenticationApiFp)(this.configuration).start(browserAuthStartRequest, options).then((request) => request(this.axios, this.basePath));
5076
+ }
5077
+ }
5078
+ exports.BrowserAuthenticationApi = BrowserAuthenticationApi;
4788
5079
  /**
4789
5080
  * CMSModulesApi - axios parameter creator
4790
5081
  */
@@ -14111,35 +14402,35 @@ class ModuleApi extends base_1.BaseAPI {
14111
14402
  }
14112
14403
  exports.ModuleApi = ModuleApi;
14113
14404
  /**
14114
- * NotificationsApi - axios parameter creator
14405
+ * NavigationApi - axios parameter creator
14115
14406
  */
14116
- const NotificationsApiAxiosParamCreator = function (configuration) {
14407
+ const NavigationApiAxiosParamCreator = function (configuration) {
14117
14408
  return {
14118
14409
  /**
14119
- *
14120
- * @summary Dismiss a notification
14121
- * @param {string} notificationId Firestore notification document ID
14410
+ * Selected-company favorites across objects. Archived readable favorites require includeArchived=true. Each result carries only object identity/capability names and view navigation metadata.
14411
+ * @summary Read authorized favorite views
14412
+ * @param {boolean} [includeArchived]
14122
14413
  * @param {*} [options] Override http request option.
14123
14414
  * @throws {RequiredError}
14124
14415
  */
14125
- dismissNotification: (notificationId_1, ...args_1) => __awaiter(this, [notificationId_1, ...args_1], void 0, function* (notificationId, options = {}) {
14126
- // verify required parameter 'notificationId' is not null or undefined
14127
- (0, common_1.assertParamExists)('dismissNotification', 'notificationId', notificationId);
14128
- const localVarPath = `/api/v2/notifications/{notificationId}`
14129
- .replace('{notificationId}', encodeURIComponent(String(notificationId)));
14416
+ favorites: (includeArchived_1, ...args_1) => __awaiter(this, [includeArchived_1, ...args_1], void 0, function* (includeArchived, options = {}) {
14417
+ const localVarPath = `/api/v2/navigation/favorites`;
14130
14418
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14131
14419
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14132
14420
  let baseOptions;
14133
14421
  if (configuration) {
14134
14422
  baseOptions = configuration.baseOptions;
14135
14423
  }
14136
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
14424
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
14137
14425
  const localVarHeaderParameter = {};
14138
14426
  const localVarQueryParameter = {};
14139
14427
  // authentication bearerAuth required
14140
14428
  // http bearer authentication required
14141
14429
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14142
- localVarHeaderParameter['Accept'] = 'application/json';
14430
+ if (includeArchived !== undefined) {
14431
+ localVarQueryParameter['includeArchived'] = includeArchived;
14432
+ }
14433
+ localVarHeaderParameter['Accept'] = '*/*,application/json';
14143
14434
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14144
14435
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14145
14436
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -14149,13 +14440,13 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
14149
14440
  };
14150
14441
  }),
14151
14442
  /**
14152
- *
14153
- * @summary Mint a Firebase custom token so the app can listen to its inbox
14443
+ * Selected-company object and view summaries with permission-gated menus. Does not load schemas, users, scopes, branding or dashboards.
14444
+ * @summary Read authorized navigation
14154
14445
  * @param {*} [options] Override http request option.
14155
14446
  * @throws {RequiredError}
14156
14447
  */
14157
- firebaseToken: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
14158
- const localVarPath = `/api/v2/notifications/firebase-token`;
14448
+ navigation: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
14449
+ const localVarPath = `/api/v2/navigation`;
14159
14450
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14160
14451
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14161
14452
  let baseOptions;
@@ -14168,7 +14459,7 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
14168
14459
  // authentication bearerAuth required
14169
14460
  // http bearer authentication required
14170
14461
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14171
- localVarHeaderParameter['Accept'] = 'application/json';
14462
+ localVarHeaderParameter['Accept'] = '*/*,application/json';
14172
14463
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14173
14464
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14174
14465
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -14178,63 +14469,64 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
14178
14469
  };
14179
14470
  }),
14180
14471
  /**
14181
- * Returns notifications for the selected company plus user-general notifications that have no company. Other companies are never included.
14182
- * @summary List in-app notifications for the logged-in user
14183
- * @param {string} [company]
14184
- * @param {number} [limit]
14472
+ * Atomic user/company-scoped index and favorite overrides for readable views of this object. Omission preserves; null clears to the legacy default. Does not create sharing edges or change authorization. Requires an actual selected-company user record.
14473
+ * @summary Set personal view navigation preferences
14474
+ * @param {string} objectUuid
14475
+ * @param {ViewNavigationPreferencesRequest} viewNavigationPreferencesRequest
14185
14476
  * @param {*} [options] Override http request option.
14186
14477
  * @throws {RequiredError}
14187
14478
  */
14188
- listNotifications: (company_1, limit_1, ...args_1) => __awaiter(this, [company_1, limit_1, ...args_1], void 0, function* (company, limit, options = {}) {
14189
- const localVarPath = `/api/v2/notifications`;
14479
+ preferences: (objectUuid_1, viewNavigationPreferencesRequest_1, ...args_1) => __awaiter(this, [objectUuid_1, viewNavigationPreferencesRequest_1, ...args_1], void 0, function* (objectUuid, viewNavigationPreferencesRequest, options = {}) {
14480
+ // verify required parameter 'objectUuid' is not null or undefined
14481
+ (0, common_1.assertParamExists)('preferences', 'objectUuid', objectUuid);
14482
+ // verify required parameter 'viewNavigationPreferencesRequest' is not null or undefined
14483
+ (0, common_1.assertParamExists)('preferences', 'viewNavigationPreferencesRequest', viewNavigationPreferencesRequest);
14484
+ const localVarPath = `/api/v2/navigation/objects/{objectUuid}/view-preferences`
14485
+ .replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
14190
14486
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14191
14487
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14192
14488
  let baseOptions;
14193
14489
  if (configuration) {
14194
14490
  baseOptions = configuration.baseOptions;
14195
14491
  }
14196
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
14492
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
14197
14493
  const localVarHeaderParameter = {};
14198
14494
  const localVarQueryParameter = {};
14199
14495
  // authentication bearerAuth required
14200
14496
  // http bearer authentication required
14201
14497
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14202
- if (company !== undefined) {
14203
- localVarQueryParameter['company'] = company;
14204
- }
14205
- if (limit !== undefined) {
14206
- localVarQueryParameter['limit'] = limit;
14207
- }
14208
- localVarHeaderParameter['Accept'] = 'application/json';
14498
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14499
+ localVarHeaderParameter['Accept'] = '*/*,application/json';
14209
14500
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14210
14501
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14211
14502
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14503
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(viewNavigationPreferencesRequest, localVarRequestOptions, configuration);
14212
14504
  return {
14213
14505
  url: (0, common_1.toPathString)(localVarUrlObj),
14214
14506
  options: localVarRequestOptions,
14215
14507
  };
14216
14508
  }),
14217
14509
  /**
14218
- *
14219
- * @summary Mark all notifications as read
14510
+ * Scope catalog for managing selected-company user and team permissions. Requires user-management read or app-management write access. App-only callers discover record scopes only for readable objects. This is not a list of the caller\'s granted scopes.
14511
+ * @summary Read available access scopes
14220
14512
  * @param {*} [options] Override http request option.
14221
14513
  * @throws {RequiredError}
14222
14514
  */
14223
- markAllAsRead: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
14224
- const localVarPath = `/api/v2/notifications/read-all`;
14515
+ scopes: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
14516
+ const localVarPath = `/api/v2/access/scopes`;
14225
14517
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14226
14518
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14227
14519
  let baseOptions;
14228
14520
  if (configuration) {
14229
14521
  baseOptions = configuration.baseOptions;
14230
14522
  }
14231
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
14523
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
14232
14524
  const localVarHeaderParameter = {};
14233
14525
  const localVarQueryParameter = {};
14234
14526
  // authentication bearerAuth required
14235
14527
  // http bearer authentication required
14236
14528
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14237
- localVarHeaderParameter['Accept'] = 'application/json';
14529
+ localVarHeaderParameter['Accept'] = '*/*,application/json';
14238
14530
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14239
14531
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14240
14532
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -14244,30 +14536,34 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
14244
14536
  };
14245
14537
  }),
14246
14538
  /**
14247
- *
14248
- * @summary Mark a notification as read
14249
- * @param {string} notificationId Firestore notification document ID
14539
+ * Intent-loaded selected-company metadata. Archived readable views are included only with includeArchived=true; no filters, schemas or sharing grants are returned.
14540
+ * @summary Read authorized view navigation summaries
14541
+ * @param {string} objectUuid
14542
+ * @param {boolean} [includeArchived]
14250
14543
  * @param {*} [options] Override http request option.
14251
14544
  * @throws {RequiredError}
14252
14545
  */
14253
- markAsRead: (notificationId_1, ...args_1) => __awaiter(this, [notificationId_1, ...args_1], void 0, function* (notificationId, options = {}) {
14254
- // verify required parameter 'notificationId' is not null or undefined
14255
- (0, common_1.assertParamExists)('markAsRead', 'notificationId', notificationId);
14256
- const localVarPath = `/api/v2/notifications/{notificationId}/read`
14257
- .replace('{notificationId}', encodeURIComponent(String(notificationId)));
14546
+ views: (objectUuid_1, includeArchived_1, ...args_1) => __awaiter(this, [objectUuid_1, includeArchived_1, ...args_1], void 0, function* (objectUuid, includeArchived, options = {}) {
14547
+ // verify required parameter 'objectUuid' is not null or undefined
14548
+ (0, common_1.assertParamExists)('views', 'objectUuid', objectUuid);
14549
+ const localVarPath = `/api/v2/navigation/objects/{objectUuid}/views`
14550
+ .replace('{objectUuid}', encodeURIComponent(String(objectUuid)));
14258
14551
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14259
14552
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14260
14553
  let baseOptions;
14261
14554
  if (configuration) {
14262
14555
  baseOptions = configuration.baseOptions;
14263
14556
  }
14264
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
14557
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
14265
14558
  const localVarHeaderParameter = {};
14266
14559
  const localVarQueryParameter = {};
14267
14560
  // authentication bearerAuth required
14268
14561
  // http bearer authentication required
14269
14562
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14270
- localVarHeaderParameter['Accept'] = 'application/json';
14563
+ if (includeArchived !== undefined) {
14564
+ localVarQueryParameter['includeArchived'] = includeArchived;
14565
+ }
14566
+ localVarHeaderParameter['Accept'] = '*/*,application/json';
14271
14567
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14272
14568
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14273
14569
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -14276,25 +14572,469 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
14276
14572
  options: localVarRequestOptions,
14277
14573
  };
14278
14574
  }),
14575
+ };
14576
+ };
14577
+ exports.NavigationApiAxiosParamCreator = NavigationApiAxiosParamCreator;
14578
+ /**
14579
+ * NavigationApi - functional programming interface
14580
+ */
14581
+ const NavigationApiFp = function (configuration) {
14582
+ const localVarAxiosParamCreator = (0, exports.NavigationApiAxiosParamCreator)(configuration);
14583
+ return {
14279
14584
  /**
14280
- * Installed apps call this endpoint after async work completes. Authenticate with the installation token (Authorization: Bearer or X-CARAER-TOKEN). Every notification is scoped to the app\'s company. Omit targetUserUuid to notify every user in that company, or set it to aim the notification at one member.
14281
- * @summary Send a notification (app token)
14282
- * @param {SendNotificationRequest} sendNotificationRequest
14585
+ * Selected-company favorites across objects. Archived readable favorites require includeArchived=true. Each result carries only object identity/capability names and view navigation metadata.
14586
+ * @summary Read authorized favorite views
14587
+ * @param {boolean} [includeArchived]
14283
14588
  * @param {*} [options] Override http request option.
14284
14589
  * @throws {RequiredError}
14285
14590
  */
14286
- sendNotification: (sendNotificationRequest_1, ...args_1) => __awaiter(this, [sendNotificationRequest_1, ...args_1], void 0, function* (sendNotificationRequest, options = {}) {
14287
- // verify required parameter 'sendNotificationRequest' is not null or undefined
14288
- (0, common_1.assertParamExists)('sendNotification', 'sendNotificationRequest', sendNotificationRequest);
14289
- const localVarPath = `/api/v2/notifications`;
14290
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
14291
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14292
- let baseOptions;
14293
- if (configuration) {
14294
- baseOptions = configuration.baseOptions;
14295
- }
14296
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
14297
- const localVarHeaderParameter = {};
14591
+ favorites(includeArchived, options) {
14592
+ return __awaiter(this, void 0, void 0, function* () {
14593
+ var _a, _b, _c;
14594
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.favorites(includeArchived, options);
14595
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14596
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NavigationApi.favorites']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14597
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14598
+ });
14599
+ },
14600
+ /**
14601
+ * Selected-company object and view summaries with permission-gated menus. Does not load schemas, users, scopes, branding or dashboards.
14602
+ * @summary Read authorized navigation
14603
+ * @param {*} [options] Override http request option.
14604
+ * @throws {RequiredError}
14605
+ */
14606
+ navigation(options) {
14607
+ return __awaiter(this, void 0, void 0, function* () {
14608
+ var _a, _b, _c;
14609
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.navigation(options);
14610
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14611
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NavigationApi.navigation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14612
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14613
+ });
14614
+ },
14615
+ /**
14616
+ * Atomic user/company-scoped index and favorite overrides for readable views of this object. Omission preserves; null clears to the legacy default. Does not create sharing edges or change authorization. Requires an actual selected-company user record.
14617
+ * @summary Set personal view navigation preferences
14618
+ * @param {string} objectUuid
14619
+ * @param {ViewNavigationPreferencesRequest} viewNavigationPreferencesRequest
14620
+ * @param {*} [options] Override http request option.
14621
+ * @throws {RequiredError}
14622
+ */
14623
+ preferences(objectUuid, viewNavigationPreferencesRequest, options) {
14624
+ return __awaiter(this, void 0, void 0, function* () {
14625
+ var _a, _b, _c;
14626
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.preferences(objectUuid, viewNavigationPreferencesRequest, options);
14627
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14628
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NavigationApi.preferences']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14629
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14630
+ });
14631
+ },
14632
+ /**
14633
+ * Scope catalog for managing selected-company user and team permissions. Requires user-management read or app-management write access. App-only callers discover record scopes only for readable objects. This is not a list of the caller\'s granted scopes.
14634
+ * @summary Read available access scopes
14635
+ * @param {*} [options] Override http request option.
14636
+ * @throws {RequiredError}
14637
+ */
14638
+ scopes(options) {
14639
+ return __awaiter(this, void 0, void 0, function* () {
14640
+ var _a, _b, _c;
14641
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.scopes(options);
14642
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14643
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NavigationApi.scopes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14644
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14645
+ });
14646
+ },
14647
+ /**
14648
+ * Intent-loaded selected-company metadata. Archived readable views are included only with includeArchived=true; no filters, schemas or sharing grants are returned.
14649
+ * @summary Read authorized view navigation summaries
14650
+ * @param {string} objectUuid
14651
+ * @param {boolean} [includeArchived]
14652
+ * @param {*} [options] Override http request option.
14653
+ * @throws {RequiredError}
14654
+ */
14655
+ views(objectUuid, includeArchived, options) {
14656
+ return __awaiter(this, void 0, void 0, function* () {
14657
+ var _a, _b, _c;
14658
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.views(objectUuid, includeArchived, options);
14659
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14660
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NavigationApi.views']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14661
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14662
+ });
14663
+ },
14664
+ };
14665
+ };
14666
+ exports.NavigationApiFp = NavigationApiFp;
14667
+ /**
14668
+ * NavigationApi - factory interface
14669
+ */
14670
+ const NavigationApiFactory = function (configuration, basePath, axios) {
14671
+ const localVarFp = (0, exports.NavigationApiFp)(configuration);
14672
+ return {
14673
+ /**
14674
+ * Selected-company favorites across objects. Archived readable favorites require includeArchived=true. Each result carries only object identity/capability names and view navigation metadata.
14675
+ * @summary Read authorized favorite views
14676
+ * @param {boolean} [includeArchived]
14677
+ * @param {*} [options] Override http request option.
14678
+ * @throws {RequiredError}
14679
+ */
14680
+ favorites(includeArchived, options) {
14681
+ return localVarFp.favorites(includeArchived, options).then((request) => request(axios, basePath));
14682
+ },
14683
+ /**
14684
+ * Selected-company object and view summaries with permission-gated menus. Does not load schemas, users, scopes, branding or dashboards.
14685
+ * @summary Read authorized navigation
14686
+ * @param {*} [options] Override http request option.
14687
+ * @throws {RequiredError}
14688
+ */
14689
+ navigation(options) {
14690
+ return localVarFp.navigation(options).then((request) => request(axios, basePath));
14691
+ },
14692
+ /**
14693
+ * Atomic user/company-scoped index and favorite overrides for readable views of this object. Omission preserves; null clears to the legacy default. Does not create sharing edges or change authorization. Requires an actual selected-company user record.
14694
+ * @summary Set personal view navigation preferences
14695
+ * @param {string} objectUuid
14696
+ * @param {ViewNavigationPreferencesRequest} viewNavigationPreferencesRequest
14697
+ * @param {*} [options] Override http request option.
14698
+ * @throws {RequiredError}
14699
+ */
14700
+ preferences(objectUuid, viewNavigationPreferencesRequest, options) {
14701
+ return localVarFp.preferences(objectUuid, viewNavigationPreferencesRequest, options).then((request) => request(axios, basePath));
14702
+ },
14703
+ /**
14704
+ * Scope catalog for managing selected-company user and team permissions. Requires user-management read or app-management write access. App-only callers discover record scopes only for readable objects. This is not a list of the caller\'s granted scopes.
14705
+ * @summary Read available access scopes
14706
+ * @param {*} [options] Override http request option.
14707
+ * @throws {RequiredError}
14708
+ */
14709
+ scopes(options) {
14710
+ return localVarFp.scopes(options).then((request) => request(axios, basePath));
14711
+ },
14712
+ /**
14713
+ * Intent-loaded selected-company metadata. Archived readable views are included only with includeArchived=true; no filters, schemas or sharing grants are returned.
14714
+ * @summary Read authorized view navigation summaries
14715
+ * @param {string} objectUuid
14716
+ * @param {boolean} [includeArchived]
14717
+ * @param {*} [options] Override http request option.
14718
+ * @throws {RequiredError}
14719
+ */
14720
+ views(objectUuid, includeArchived, options) {
14721
+ return localVarFp.views(objectUuid, includeArchived, options).then((request) => request(axios, basePath));
14722
+ },
14723
+ };
14724
+ };
14725
+ exports.NavigationApiFactory = NavigationApiFactory;
14726
+ /**
14727
+ * NavigationApi - object-oriented interface
14728
+ */
14729
+ class NavigationApi extends base_1.BaseAPI {
14730
+ /**
14731
+ * Selected-company favorites across objects. Archived readable favorites require includeArchived=true. Each result carries only object identity/capability names and view navigation metadata.
14732
+ * @summary Read authorized favorite views
14733
+ * @param {boolean} [includeArchived]
14734
+ * @param {*} [options] Override http request option.
14735
+ * @throws {RequiredError}
14736
+ */
14737
+ favorites(includeArchived, options) {
14738
+ return (0, exports.NavigationApiFp)(this.configuration).favorites(includeArchived, options).then((request) => request(this.axios, this.basePath));
14739
+ }
14740
+ /**
14741
+ * Selected-company object and view summaries with permission-gated menus. Does not load schemas, users, scopes, branding or dashboards.
14742
+ * @summary Read authorized navigation
14743
+ * @param {*} [options] Override http request option.
14744
+ * @throws {RequiredError}
14745
+ */
14746
+ navigation(options) {
14747
+ return (0, exports.NavigationApiFp)(this.configuration).navigation(options).then((request) => request(this.axios, this.basePath));
14748
+ }
14749
+ /**
14750
+ * Atomic user/company-scoped index and favorite overrides for readable views of this object. Omission preserves; null clears to the legacy default. Does not create sharing edges or change authorization. Requires an actual selected-company user record.
14751
+ * @summary Set personal view navigation preferences
14752
+ * @param {string} objectUuid
14753
+ * @param {ViewNavigationPreferencesRequest} viewNavigationPreferencesRequest
14754
+ * @param {*} [options] Override http request option.
14755
+ * @throws {RequiredError}
14756
+ */
14757
+ preferences(objectUuid, viewNavigationPreferencesRequest, options) {
14758
+ return (0, exports.NavigationApiFp)(this.configuration).preferences(objectUuid, viewNavigationPreferencesRequest, options).then((request) => request(this.axios, this.basePath));
14759
+ }
14760
+ /**
14761
+ * Scope catalog for managing selected-company user and team permissions. Requires user-management read or app-management write access. App-only callers discover record scopes only for readable objects. This is not a list of the caller\'s granted scopes.
14762
+ * @summary Read available access scopes
14763
+ * @param {*} [options] Override http request option.
14764
+ * @throws {RequiredError}
14765
+ */
14766
+ scopes(options) {
14767
+ return (0, exports.NavigationApiFp)(this.configuration).scopes(options).then((request) => request(this.axios, this.basePath));
14768
+ }
14769
+ /**
14770
+ * Intent-loaded selected-company metadata. Archived readable views are included only with includeArchived=true; no filters, schemas or sharing grants are returned.
14771
+ * @summary Read authorized view navigation summaries
14772
+ * @param {string} objectUuid
14773
+ * @param {boolean} [includeArchived]
14774
+ * @param {*} [options] Override http request option.
14775
+ * @throws {RequiredError}
14776
+ */
14777
+ views(objectUuid, includeArchived, options) {
14778
+ return (0, exports.NavigationApiFp)(this.configuration).views(objectUuid, includeArchived, options).then((request) => request(this.axios, this.basePath));
14779
+ }
14780
+ }
14781
+ exports.NavigationApi = NavigationApi;
14782
+ /**
14783
+ * NotificationsApi - axios parameter creator
14784
+ */
14785
+ const NotificationsApiAxiosParamCreator = function (configuration) {
14786
+ return {
14787
+ /**
14788
+ *
14789
+ * @summary Dismiss a notification
14790
+ * @param {string} notificationId Firestore notification document ID
14791
+ * @param {*} [options] Override http request option.
14792
+ * @throws {RequiredError}
14793
+ */
14794
+ dismissNotification: (notificationId_1, ...args_1) => __awaiter(this, [notificationId_1, ...args_1], void 0, function* (notificationId, options = {}) {
14795
+ // verify required parameter 'notificationId' is not null or undefined
14796
+ (0, common_1.assertParamExists)('dismissNotification', 'notificationId', notificationId);
14797
+ const localVarPath = `/api/v2/notifications/{notificationId}`
14798
+ .replace('{notificationId}', encodeURIComponent(String(notificationId)));
14799
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14800
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14801
+ let baseOptions;
14802
+ if (configuration) {
14803
+ baseOptions = configuration.baseOptions;
14804
+ }
14805
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
14806
+ const localVarHeaderParameter = {};
14807
+ const localVarQueryParameter = {};
14808
+ // authentication bearerAuth required
14809
+ // http bearer authentication required
14810
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14811
+ localVarHeaderParameter['Accept'] = 'application/json';
14812
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14813
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14814
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14815
+ return {
14816
+ url: (0, common_1.toPathString)(localVarUrlObj),
14817
+ options: localVarRequestOptions,
14818
+ };
14819
+ }),
14820
+ /**
14821
+ *
14822
+ * @summary Mint a Firebase custom token so the app can listen to its inbox
14823
+ * @param {*} [options] Override http request option.
14824
+ * @throws {RequiredError}
14825
+ */
14826
+ firebaseToken: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
14827
+ const localVarPath = `/api/v2/notifications/firebase-token`;
14828
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14829
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14830
+ let baseOptions;
14831
+ if (configuration) {
14832
+ baseOptions = configuration.baseOptions;
14833
+ }
14834
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
14835
+ const localVarHeaderParameter = {};
14836
+ const localVarQueryParameter = {};
14837
+ // authentication bearerAuth required
14838
+ // http bearer authentication required
14839
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14840
+ localVarHeaderParameter['Accept'] = 'application/json';
14841
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14842
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14843
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14844
+ return {
14845
+ url: (0, common_1.toPathString)(localVarUrlObj),
14846
+ options: localVarRequestOptions,
14847
+ };
14848
+ }),
14849
+ /**
14850
+ * Returns an inbox entry only for its human recipient in the authorized selected company, including entries outside the inbox page.
14851
+ * @summary Get an authoritative notification by ID
14852
+ * @param {string} notificationId
14853
+ * @param {*} [options] Override http request option.
14854
+ * @throws {RequiredError}
14855
+ */
14856
+ getNotification: (notificationId_1, ...args_1) => __awaiter(this, [notificationId_1, ...args_1], void 0, function* (notificationId, options = {}) {
14857
+ // verify required parameter 'notificationId' is not null or undefined
14858
+ (0, common_1.assertParamExists)('getNotification', 'notificationId', notificationId);
14859
+ const localVarPath = `/api/v2/notifications/{notificationId}`
14860
+ .replace('{notificationId}', encodeURIComponent(String(notificationId)));
14861
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14862
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14863
+ let baseOptions;
14864
+ if (configuration) {
14865
+ baseOptions = configuration.baseOptions;
14866
+ }
14867
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
14868
+ const localVarHeaderParameter = {};
14869
+ const localVarQueryParameter = {};
14870
+ // authentication bearerAuth required
14871
+ // http bearer authentication required
14872
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14873
+ localVarHeaderParameter['Accept'] = 'application/json';
14874
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14875
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14876
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14877
+ return {
14878
+ url: (0, common_1.toPathString)(localVarUrlObj),
14879
+ options: localVarRequestOptions,
14880
+ };
14881
+ }),
14882
+ /**
14883
+ * Returns notifications for the selected company plus user-general notifications that have no company. Other companies are never included.
14884
+ * @summary List in-app notifications for the logged-in user
14885
+ * @param {string} [company]
14886
+ * @param {number} [limit]
14887
+ * @param {*} [options] Override http request option.
14888
+ * @throws {RequiredError}
14889
+ */
14890
+ listNotifications: (company_1, limit_1, ...args_1) => __awaiter(this, [company_1, limit_1, ...args_1], void 0, function* (company, limit, options = {}) {
14891
+ const localVarPath = `/api/v2/notifications`;
14892
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14893
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14894
+ let baseOptions;
14895
+ if (configuration) {
14896
+ baseOptions = configuration.baseOptions;
14897
+ }
14898
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
14899
+ const localVarHeaderParameter = {};
14900
+ const localVarQueryParameter = {};
14901
+ // authentication bearerAuth required
14902
+ // http bearer authentication required
14903
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14904
+ if (company !== undefined) {
14905
+ localVarQueryParameter['company'] = company;
14906
+ }
14907
+ if (limit !== undefined) {
14908
+ localVarQueryParameter['limit'] = limit;
14909
+ }
14910
+ localVarHeaderParameter['Accept'] = 'application/json';
14911
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14912
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14913
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14914
+ return {
14915
+ url: (0, common_1.toPathString)(localVarUrlObj),
14916
+ options: localVarRequestOptions,
14917
+ };
14918
+ }),
14919
+ /**
14920
+ *
14921
+ * @summary Mark all notifications as read
14922
+ * @param {*} [options] Override http request option.
14923
+ * @throws {RequiredError}
14924
+ */
14925
+ markAllAsRead: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
14926
+ const localVarPath = `/api/v2/notifications/read-all`;
14927
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14928
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14929
+ let baseOptions;
14930
+ if (configuration) {
14931
+ baseOptions = configuration.baseOptions;
14932
+ }
14933
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
14934
+ const localVarHeaderParameter = {};
14935
+ const localVarQueryParameter = {};
14936
+ // authentication bearerAuth required
14937
+ // http bearer authentication required
14938
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14939
+ localVarHeaderParameter['Accept'] = 'application/json';
14940
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14941
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14942
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14943
+ return {
14944
+ url: (0, common_1.toPathString)(localVarUrlObj),
14945
+ options: localVarRequestOptions,
14946
+ };
14947
+ }),
14948
+ /**
14949
+ *
14950
+ * @summary Mark a notification as read
14951
+ * @param {string} notificationId Firestore notification document ID
14952
+ * @param {*} [options] Override http request option.
14953
+ * @throws {RequiredError}
14954
+ */
14955
+ markAsRead: (notificationId_1, ...args_1) => __awaiter(this, [notificationId_1, ...args_1], void 0, function* (notificationId, options = {}) {
14956
+ // verify required parameter 'notificationId' is not null or undefined
14957
+ (0, common_1.assertParamExists)('markAsRead', 'notificationId', notificationId);
14958
+ const localVarPath = `/api/v2/notifications/{notificationId}/read`
14959
+ .replace('{notificationId}', encodeURIComponent(String(notificationId)));
14960
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14961
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14962
+ let baseOptions;
14963
+ if (configuration) {
14964
+ baseOptions = configuration.baseOptions;
14965
+ }
14966
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
14967
+ const localVarHeaderParameter = {};
14968
+ const localVarQueryParameter = {};
14969
+ // authentication bearerAuth required
14970
+ // http bearer authentication required
14971
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14972
+ localVarHeaderParameter['Accept'] = 'application/json';
14973
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14974
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14975
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14976
+ return {
14977
+ url: (0, common_1.toPathString)(localVarUrlObj),
14978
+ options: localVarRequestOptions,
14979
+ };
14980
+ }),
14981
+ /**
14982
+ * Idempotently registers an allowed native application. Human authentication required. Does not accept a target user or company. Rotate the registration when moving between accounts.
14983
+ * @summary Register this user\'s native notification device
14984
+ * @param {string} deviceInstallationId
14985
+ * @param {NotificationDeviceRegistration} notificationDeviceRegistration
14986
+ * @param {*} [options] Override http request option.
14987
+ * @throws {RequiredError}
14988
+ */
14989
+ registerDevice: (deviceInstallationId_1, notificationDeviceRegistration_1, ...args_1) => __awaiter(this, [deviceInstallationId_1, notificationDeviceRegistration_1, ...args_1], void 0, function* (deviceInstallationId, notificationDeviceRegistration, options = {}) {
14990
+ // verify required parameter 'deviceInstallationId' is not null or undefined
14991
+ (0, common_1.assertParamExists)('registerDevice', 'deviceInstallationId', deviceInstallationId);
14992
+ // verify required parameter 'notificationDeviceRegistration' is not null or undefined
14993
+ (0, common_1.assertParamExists)('registerDevice', 'notificationDeviceRegistration', notificationDeviceRegistration);
14994
+ const localVarPath = `/api/v2/notifications/devices/{deviceInstallationId}`
14995
+ .replace('{deviceInstallationId}', encodeURIComponent(String(deviceInstallationId)));
14996
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14997
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14998
+ let baseOptions;
14999
+ if (configuration) {
15000
+ baseOptions = configuration.baseOptions;
15001
+ }
15002
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
15003
+ const localVarHeaderParameter = {};
15004
+ const localVarQueryParameter = {};
15005
+ // authentication bearerAuth required
15006
+ // http bearer authentication required
15007
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
15008
+ localVarHeaderParameter['Content-Type'] = 'application/json';
15009
+ localVarHeaderParameter['Accept'] = 'application/json';
15010
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
15011
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15012
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
15013
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(notificationDeviceRegistration, localVarRequestOptions, configuration);
15014
+ return {
15015
+ url: (0, common_1.toPathString)(localVarUrlObj),
15016
+ options: localVarRequestOptions,
15017
+ };
15018
+ }),
15019
+ /**
15020
+ * Installed apps call this endpoint after async work completes. Authenticate with the installation token (Authorization: Bearer or X-CARAER-TOKEN). Every notification is scoped to the app\'s company. Omit targetUserUuid to notify every user in that company, or set it to aim the notification at one member.
15021
+ * @summary Send a notification (app token)
15022
+ * @param {SendNotificationRequest} sendNotificationRequest
15023
+ * @param {*} [options] Override http request option.
15024
+ * @throws {RequiredError}
15025
+ */
15026
+ sendNotification: (sendNotificationRequest_1, ...args_1) => __awaiter(this, [sendNotificationRequest_1, ...args_1], void 0, function* (sendNotificationRequest, options = {}) {
15027
+ // verify required parameter 'sendNotificationRequest' is not null or undefined
15028
+ (0, common_1.assertParamExists)('sendNotification', 'sendNotificationRequest', sendNotificationRequest);
15029
+ const localVarPath = `/api/v2/notifications`;
15030
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15031
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15032
+ let baseOptions;
15033
+ if (configuration) {
15034
+ baseOptions = configuration.baseOptions;
15035
+ }
15036
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
15037
+ const localVarHeaderParameter = {};
14298
15038
  const localVarQueryParameter = {};
14299
15039
  // authentication bearerAuth required
14300
15040
  // http bearer authentication required
@@ -14310,6 +15050,39 @@ const NotificationsApiAxiosParamCreator = function (configuration) {
14310
15050
  options: localVarRequestOptions,
14311
15051
  };
14312
15052
  }),
15053
+ /**
15054
+ * Idempotent. Call before logout; other users\' device registrations are inaccessible.
15055
+ * @summary Unregister this user\'s native notification device
15056
+ * @param {string} deviceInstallationId
15057
+ * @param {*} [options] Override http request option.
15058
+ * @throws {RequiredError}
15059
+ */
15060
+ unregisterDevice: (deviceInstallationId_1, ...args_1) => __awaiter(this, [deviceInstallationId_1, ...args_1], void 0, function* (deviceInstallationId, options = {}) {
15061
+ // verify required parameter 'deviceInstallationId' is not null or undefined
15062
+ (0, common_1.assertParamExists)('unregisterDevice', 'deviceInstallationId', deviceInstallationId);
15063
+ const localVarPath = `/api/v2/notifications/devices/{deviceInstallationId}`
15064
+ .replace('{deviceInstallationId}', encodeURIComponent(String(deviceInstallationId)));
15065
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15066
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15067
+ let baseOptions;
15068
+ if (configuration) {
15069
+ baseOptions = configuration.baseOptions;
15070
+ }
15071
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
15072
+ const localVarHeaderParameter = {};
15073
+ const localVarQueryParameter = {};
15074
+ // authentication bearerAuth required
15075
+ // http bearer authentication required
15076
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
15077
+ localVarHeaderParameter['Accept'] = 'application/json';
15078
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
15079
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15080
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
15081
+ return {
15082
+ url: (0, common_1.toPathString)(localVarUrlObj),
15083
+ options: localVarRequestOptions,
15084
+ };
15085
+ }),
14313
15086
  };
14314
15087
  };
14315
15088
  exports.NotificationsApiAxiosParamCreator = NotificationsApiAxiosParamCreator;
@@ -14350,6 +15123,22 @@ const NotificationsApiFp = function (configuration) {
14350
15123
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14351
15124
  });
14352
15125
  },
15126
+ /**
15127
+ * Returns an inbox entry only for its human recipient in the authorized selected company, including entries outside the inbox page.
15128
+ * @summary Get an authoritative notification by ID
15129
+ * @param {string} notificationId
15130
+ * @param {*} [options] Override http request option.
15131
+ * @throws {RequiredError}
15132
+ */
15133
+ getNotification(notificationId, options) {
15134
+ return __awaiter(this, void 0, void 0, function* () {
15135
+ var _a, _b, _c;
15136
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getNotification(notificationId, options);
15137
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15138
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationsApi.getNotification']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15139
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15140
+ });
15141
+ },
14353
15142
  /**
14354
15143
  * Returns notifications for the selected company plus user-general notifications that have no company. Other companies are never included.
14355
15144
  * @summary List in-app notifications for the logged-in user
@@ -14398,6 +15187,23 @@ const NotificationsApiFp = function (configuration) {
14398
15187
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14399
15188
  });
14400
15189
  },
15190
+ /**
15191
+ * Idempotently registers an allowed native application. Human authentication required. Does not accept a target user or company. Rotate the registration when moving between accounts.
15192
+ * @summary Register this user\'s native notification device
15193
+ * @param {string} deviceInstallationId
15194
+ * @param {NotificationDeviceRegistration} notificationDeviceRegistration
15195
+ * @param {*} [options] Override http request option.
15196
+ * @throws {RequiredError}
15197
+ */
15198
+ registerDevice(deviceInstallationId, notificationDeviceRegistration, options) {
15199
+ return __awaiter(this, void 0, void 0, function* () {
15200
+ var _a, _b, _c;
15201
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.registerDevice(deviceInstallationId, notificationDeviceRegistration, options);
15202
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15203
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationsApi.registerDevice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15204
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15205
+ });
15206
+ },
14401
15207
  /**
14402
15208
  * Installed apps call this endpoint after async work completes. Authenticate with the installation token (Authorization: Bearer or X-CARAER-TOKEN). Every notification is scoped to the app\'s company. Omit targetUserUuid to notify every user in that company, or set it to aim the notification at one member.
14403
15209
  * @summary Send a notification (app token)
@@ -14414,6 +15220,22 @@ const NotificationsApiFp = function (configuration) {
14414
15220
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14415
15221
  });
14416
15222
  },
15223
+ /**
15224
+ * Idempotent. Call before logout; other users\' device registrations are inaccessible.
15225
+ * @summary Unregister this user\'s native notification device
15226
+ * @param {string} deviceInstallationId
15227
+ * @param {*} [options] Override http request option.
15228
+ * @throws {RequiredError}
15229
+ */
15230
+ unregisterDevice(deviceInstallationId, options) {
15231
+ return __awaiter(this, void 0, void 0, function* () {
15232
+ var _a, _b, _c;
15233
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.unregisterDevice(deviceInstallationId, options);
15234
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15235
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationsApi.unregisterDevice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15236
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15237
+ });
15238
+ },
14417
15239
  };
14418
15240
  };
14419
15241
  exports.NotificationsApiFp = NotificationsApiFp;
@@ -14442,6 +15264,16 @@ const NotificationsApiFactory = function (configuration, basePath, axios) {
14442
15264
  firebaseToken(options) {
14443
15265
  return localVarFp.firebaseToken(options).then((request) => request(axios, basePath));
14444
15266
  },
15267
+ /**
15268
+ * Returns an inbox entry only for its human recipient in the authorized selected company, including entries outside the inbox page.
15269
+ * @summary Get an authoritative notification by ID
15270
+ * @param {string} notificationId
15271
+ * @param {*} [options] Override http request option.
15272
+ * @throws {RequiredError}
15273
+ */
15274
+ getNotification(notificationId, options) {
15275
+ return localVarFp.getNotification(notificationId, options).then((request) => request(axios, basePath));
15276
+ },
14445
15277
  /**
14446
15278
  * Returns notifications for the selected company plus user-general notifications that have no company. Other companies are never included.
14447
15279
  * @summary List in-app notifications for the logged-in user
@@ -14472,6 +15304,17 @@ const NotificationsApiFactory = function (configuration, basePath, axios) {
14472
15304
  markAsRead(notificationId, options) {
14473
15305
  return localVarFp.markAsRead(notificationId, options).then((request) => request(axios, basePath));
14474
15306
  },
15307
+ /**
15308
+ * Idempotently registers an allowed native application. Human authentication required. Does not accept a target user or company. Rotate the registration when moving between accounts.
15309
+ * @summary Register this user\'s native notification device
15310
+ * @param {string} deviceInstallationId
15311
+ * @param {NotificationDeviceRegistration} notificationDeviceRegistration
15312
+ * @param {*} [options] Override http request option.
15313
+ * @throws {RequiredError}
15314
+ */
15315
+ registerDevice(deviceInstallationId, notificationDeviceRegistration, options) {
15316
+ return localVarFp.registerDevice(deviceInstallationId, notificationDeviceRegistration, options).then((request) => request(axios, basePath));
15317
+ },
14475
15318
  /**
14476
15319
  * Installed apps call this endpoint after async work completes. Authenticate with the installation token (Authorization: Bearer or X-CARAER-TOKEN). Every notification is scoped to the app\'s company. Omit targetUserUuid to notify every user in that company, or set it to aim the notification at one member.
14477
15320
  * @summary Send a notification (app token)
@@ -14482,6 +15325,16 @@ const NotificationsApiFactory = function (configuration, basePath, axios) {
14482
15325
  sendNotification(sendNotificationRequest, options) {
14483
15326
  return localVarFp.sendNotification(sendNotificationRequest, options).then((request) => request(axios, basePath));
14484
15327
  },
15328
+ /**
15329
+ * Idempotent. Call before logout; other users\' device registrations are inaccessible.
15330
+ * @summary Unregister this user\'s native notification device
15331
+ * @param {string} deviceInstallationId
15332
+ * @param {*} [options] Override http request option.
15333
+ * @throws {RequiredError}
15334
+ */
15335
+ unregisterDevice(deviceInstallationId, options) {
15336
+ return localVarFp.unregisterDevice(deviceInstallationId, options).then((request) => request(axios, basePath));
15337
+ },
14485
15338
  };
14486
15339
  };
14487
15340
  exports.NotificationsApiFactory = NotificationsApiFactory;
@@ -14508,6 +15361,16 @@ class NotificationsApi extends base_1.BaseAPI {
14508
15361
  firebaseToken(options) {
14509
15362
  return (0, exports.NotificationsApiFp)(this.configuration).firebaseToken(options).then((request) => request(this.axios, this.basePath));
14510
15363
  }
15364
+ /**
15365
+ * Returns an inbox entry only for its human recipient in the authorized selected company, including entries outside the inbox page.
15366
+ * @summary Get an authoritative notification by ID
15367
+ * @param {string} notificationId
15368
+ * @param {*} [options] Override http request option.
15369
+ * @throws {RequiredError}
15370
+ */
15371
+ getNotification(notificationId, options) {
15372
+ return (0, exports.NotificationsApiFp)(this.configuration).getNotification(notificationId, options).then((request) => request(this.axios, this.basePath));
15373
+ }
14511
15374
  /**
14512
15375
  * Returns notifications for the selected company plus user-general notifications that have no company. Other companies are never included.
14513
15376
  * @summary List in-app notifications for the logged-in user
@@ -14538,6 +15401,17 @@ class NotificationsApi extends base_1.BaseAPI {
14538
15401
  markAsRead(notificationId, options) {
14539
15402
  return (0, exports.NotificationsApiFp)(this.configuration).markAsRead(notificationId, options).then((request) => request(this.axios, this.basePath));
14540
15403
  }
15404
+ /**
15405
+ * Idempotently registers an allowed native application. Human authentication required. Does not accept a target user or company. Rotate the registration when moving between accounts.
15406
+ * @summary Register this user\'s native notification device
15407
+ * @param {string} deviceInstallationId
15408
+ * @param {NotificationDeviceRegistration} notificationDeviceRegistration
15409
+ * @param {*} [options] Override http request option.
15410
+ * @throws {RequiredError}
15411
+ */
15412
+ registerDevice(deviceInstallationId, notificationDeviceRegistration, options) {
15413
+ return (0, exports.NotificationsApiFp)(this.configuration).registerDevice(deviceInstallationId, notificationDeviceRegistration, options).then((request) => request(this.axios, this.basePath));
15414
+ }
14541
15415
  /**
14542
15416
  * Installed apps call this endpoint after async work completes. Authenticate with the installation token (Authorization: Bearer or X-CARAER-TOKEN). Every notification is scoped to the app\'s company. Omit targetUserUuid to notify every user in that company, or set it to aim the notification at one member.
14543
15417
  * @summary Send a notification (app token)
@@ -14548,6 +15422,16 @@ class NotificationsApi extends base_1.BaseAPI {
14548
15422
  sendNotification(sendNotificationRequest, options) {
14549
15423
  return (0, exports.NotificationsApiFp)(this.configuration).sendNotification(sendNotificationRequest, options).then((request) => request(this.axios, this.basePath));
14550
15424
  }
15425
+ /**
15426
+ * Idempotent. Call before logout; other users\' device registrations are inaccessible.
15427
+ * @summary Unregister this user\'s native notification device
15428
+ * @param {string} deviceInstallationId
15429
+ * @param {*} [options] Override http request option.
15430
+ * @throws {RequiredError}
15431
+ */
15432
+ unregisterDevice(deviceInstallationId, options) {
15433
+ return (0, exports.NotificationsApiFp)(this.configuration).unregisterDevice(deviceInstallationId, options).then((request) => request(this.axios, this.basePath));
15434
+ }
14551
15435
  }
14552
15436
  exports.NotificationsApi = NotificationsApi;
14553
15437
  /**
@@ -14664,16 +15548,17 @@ const ObjectsApiAxiosParamCreator = function (configuration) {
14664
15548
  };
14665
15549
  }),
14666
15550
  /**
14667
- * Fetches a single object by its UUID. Optional parameters determine whether to include views, properties, and relations in the response.
15551
+ * Fetches a single object by its UUID. Optional parameters determine whether to include views, properties, and relations in the response. Hidden property definitions require includeHiddenProperties=true together with properties=true; property read authorization still applies and archived definitions remain excluded.
14668
15552
  * @summary Get object by UUID
14669
15553
  * @param {string} uuid
14670
15554
  * @param {string} [views]
14671
15555
  * @param {string} [properties]
14672
15556
  * @param {string} [relations]
15557
+ * @param {boolean} [includeHiddenProperties]
14673
15558
  * @param {*} [options] Override http request option.
14674
15559
  * @throws {RequiredError}
14675
15560
  */
14676
- getObject: (uuid_1, views_1, properties_1, relations_1, ...args_1) => __awaiter(this, [uuid_1, views_1, properties_1, relations_1, ...args_1], void 0, function* (uuid, views, properties, relations, options = {}) {
15561
+ getObject: (uuid_1, views_1, properties_1, relations_1, includeHiddenProperties_1, ...args_1) => __awaiter(this, [uuid_1, views_1, properties_1, relations_1, includeHiddenProperties_1, ...args_1], void 0, function* (uuid, views, properties, relations, includeHiddenProperties, options = {}) {
14677
15562
  // verify required parameter 'uuid' is not null or undefined
14678
15563
  (0, common_1.assertParamExists)('getObject', 'uuid', uuid);
14679
15564
  const localVarPath = `/api/v2/objects/{uuid}`
@@ -14699,6 +15584,9 @@ const ObjectsApiAxiosParamCreator = function (configuration) {
14699
15584
  if (relations !== undefined) {
14700
15585
  localVarQueryParameter['relations'] = relations;
14701
15586
  }
15587
+ if (includeHiddenProperties !== undefined) {
15588
+ localVarQueryParameter['includeHiddenProperties'] = includeHiddenProperties;
15589
+ }
14702
15590
  localVarHeaderParameter['Accept'] = 'application/json';
14703
15591
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14704
15592
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -15202,19 +16090,20 @@ const ObjectsApiFp = function (configuration) {
15202
16090
  });
15203
16091
  },
15204
16092
  /**
15205
- * Fetches a single object by its UUID. Optional parameters determine whether to include views, properties, and relations in the response.
16093
+ * Fetches a single object by its UUID. Optional parameters determine whether to include views, properties, and relations in the response. Hidden property definitions require includeHiddenProperties=true together with properties=true; property read authorization still applies and archived definitions remain excluded.
15206
16094
  * @summary Get object by UUID
15207
16095
  * @param {string} uuid
15208
16096
  * @param {string} [views]
15209
16097
  * @param {string} [properties]
15210
16098
  * @param {string} [relations]
16099
+ * @param {boolean} [includeHiddenProperties]
15211
16100
  * @param {*} [options] Override http request option.
15212
16101
  * @throws {RequiredError}
15213
16102
  */
15214
- getObject(uuid, views, properties, relations, options) {
16103
+ getObject(uuid, views, properties, relations, includeHiddenProperties, options) {
15215
16104
  return __awaiter(this, void 0, void 0, function* () {
15216
16105
  var _a, _b, _c;
15217
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getObject(uuid, views, properties, relations, options);
16106
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getObject(uuid, views, properties, relations, includeHiddenProperties, options);
15218
16107
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15219
16108
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ObjectsApi.getObject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15220
16109
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -15454,17 +16343,18 @@ const ObjectsApiFactory = function (configuration, basePath, axios) {
15454
16343
  return localVarFp.getAccessGrantCandidates(options).then((request) => request(axios, basePath));
15455
16344
  },
15456
16345
  /**
15457
- * Fetches a single object by its UUID. Optional parameters determine whether to include views, properties, and relations in the response.
16346
+ * Fetches a single object by its UUID. Optional parameters determine whether to include views, properties, and relations in the response. Hidden property definitions require includeHiddenProperties=true together with properties=true; property read authorization still applies and archived definitions remain excluded.
15458
16347
  * @summary Get object by UUID
15459
16348
  * @param {string} uuid
15460
16349
  * @param {string} [views]
15461
16350
  * @param {string} [properties]
15462
16351
  * @param {string} [relations]
16352
+ * @param {boolean} [includeHiddenProperties]
15463
16353
  * @param {*} [options] Override http request option.
15464
16354
  * @throws {RequiredError}
15465
16355
  */
15466
- getObject(uuid, views, properties, relations, options) {
15467
- return localVarFp.getObject(uuid, views, properties, relations, options).then((request) => request(axios, basePath));
16356
+ getObject(uuid, views, properties, relations, includeHiddenProperties, options) {
16357
+ return localVarFp.getObject(uuid, views, properties, relations, includeHiddenProperties, options).then((request) => request(axios, basePath));
15468
16358
  },
15469
16359
  /**
15470
16360
  * Fetches a paginated list of objects, optionally including views, properties, and/or relations. The request body should contain pagination details such as limit, page, filters, sort, and query.
@@ -15632,17 +16522,18 @@ class ObjectsApi extends base_1.BaseAPI {
15632
16522
  return (0, exports.ObjectsApiFp)(this.configuration).getAccessGrantCandidates(options).then((request) => request(this.axios, this.basePath));
15633
16523
  }
15634
16524
  /**
15635
- * Fetches a single object by its UUID. Optional parameters determine whether to include views, properties, and relations in the response.
16525
+ * Fetches a single object by its UUID. Optional parameters determine whether to include views, properties, and relations in the response. Hidden property definitions require includeHiddenProperties=true together with properties=true; property read authorization still applies and archived definitions remain excluded.
15636
16526
  * @summary Get object by UUID
15637
16527
  * @param {string} uuid
15638
16528
  * @param {string} [views]
15639
16529
  * @param {string} [properties]
15640
16530
  * @param {string} [relations]
16531
+ * @param {boolean} [includeHiddenProperties]
15641
16532
  * @param {*} [options] Override http request option.
15642
16533
  * @throws {RequiredError}
15643
16534
  */
15644
- getObject(uuid, views, properties, relations, options) {
15645
- return (0, exports.ObjectsApiFp)(this.configuration).getObject(uuid, views, properties, relations, options).then((request) => request(this.axios, this.basePath));
16535
+ getObject(uuid, views, properties, relations, includeHiddenProperties, options) {
16536
+ return (0, exports.ObjectsApiFp)(this.configuration).getObject(uuid, views, properties, relations, includeHiddenProperties, options).then((request) => request(this.axios, this.basePath));
15646
16537
  }
15647
16538
  /**
15648
16539
  * Fetches a paginated list of objects, optionally including views, properties, and/or relations. The request body should contain pagination details such as limit, page, filters, sort, and query.
@@ -17085,6 +17976,40 @@ const RecordsApiAxiosParamCreator = function (configuration) {
17085
17976
  options: localVarRequestOptions,
17086
17977
  };
17087
17978
  }),
17979
+ /**
17980
+ * Read-only current eligibility for up to 50 explicit pairs. Uses ordinary record visibility and named-relation scopes; never a mutation grant. Unavailable items disclose no edge state.
17981
+ * @summary Inspect bounded record relation operations
17982
+ * @param {RelationCapabilityRequest} relationCapabilityRequest
17983
+ * @param {*} [options] Override http request option.
17984
+ * @throws {RequiredError}
17985
+ */
17986
+ capabilities: (relationCapabilityRequest_1, ...args_1) => __awaiter(this, [relationCapabilityRequest_1, ...args_1], void 0, function* (relationCapabilityRequest, options = {}) {
17987
+ // verify required parameter 'relationCapabilityRequest' is not null or undefined
17988
+ (0, common_1.assertParamExists)('capabilities', 'relationCapabilityRequest', relationCapabilityRequest);
17989
+ const localVarPath = `/api/v2/records/relations/capabilities`;
17990
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17991
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17992
+ let baseOptions;
17993
+ if (configuration) {
17994
+ baseOptions = configuration.baseOptions;
17995
+ }
17996
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
17997
+ const localVarHeaderParameter = {};
17998
+ const localVarQueryParameter = {};
17999
+ // authentication bearerAuth required
18000
+ // http bearer authentication required
18001
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
18002
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18003
+ localVarHeaderParameter['Accept'] = 'application/json';
18004
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
18005
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18006
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18007
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(relationCapabilityRequest, localVarRequestOptions, configuration);
18008
+ return {
18009
+ url: (0, common_1.toPathString)(localVarUrlObj),
18010
+ options: localVarRequestOptions,
18011
+ };
18012
+ }),
17088
18013
  /**
17089
18014
  * Creates a new record for the specified object using the provided RecordDTO data. Returns a CreateResponse with the newly created record. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
17090
18015
  * @summary Create a new record
@@ -17276,6 +18201,47 @@ const RecordsApiAxiosParamCreator = function (configuration) {
17276
18201
  options: localVarRequestOptions,
17277
18202
  };
17278
18203
  }),
18204
+ /**
18205
+ * Bodyless atomic ensure-link using ordinary record reads, relation normalization, immutability and exact relation-write scopes. Existing edges retain all properties and primary flags. New edges are non-primary. No edge-property/primary settings are accepted by this operation; use the existing POST/PATCH operations to change edge values. Receipt identities echo request endpoints.
18206
+ * @summary Ensure a relation without changing an existing edge
18207
+ * @param {string} fromUuid
18208
+ * @param {string} relationName
18209
+ * @param {string} toUuid
18210
+ * @param {*} [options] Override http request option.
18211
+ * @throws {RequiredError}
18212
+ */
18213
+ ensure: (fromUuid_1, relationName_1, toUuid_1, ...args_1) => __awaiter(this, [fromUuid_1, relationName_1, toUuid_1, ...args_1], void 0, function* (fromUuid, relationName, toUuid, options = {}) {
18214
+ // verify required parameter 'fromUuid' is not null or undefined
18215
+ (0, common_1.assertParamExists)('ensure', 'fromUuid', fromUuid);
18216
+ // verify required parameter 'relationName' is not null or undefined
18217
+ (0, common_1.assertParamExists)('ensure', 'relationName', relationName);
18218
+ // verify required parameter 'toUuid' is not null or undefined
18219
+ (0, common_1.assertParamExists)('ensure', 'toUuid', toUuid);
18220
+ const localVarPath = `/api/v2/records/relations/{fromUuid}/{relationName}/{toUuid}`
18221
+ .replace('{fromUuid}', encodeURIComponent(String(fromUuid)))
18222
+ .replace('{relationName}', encodeURIComponent(String(relationName)))
18223
+ .replace('{toUuid}', encodeURIComponent(String(toUuid)));
18224
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18225
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18226
+ let baseOptions;
18227
+ if (configuration) {
18228
+ baseOptions = configuration.baseOptions;
18229
+ }
18230
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
18231
+ const localVarHeaderParameter = {};
18232
+ const localVarQueryParameter = {};
18233
+ // authentication bearerAuth required
18234
+ // http bearer authentication required
18235
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
18236
+ localVarHeaderParameter['Accept'] = 'application/json';
18237
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
18238
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18239
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18240
+ return {
18241
+ url: (0, common_1.toPathString)(localVarUrlObj),
18242
+ options: localVarRequestOptions,
18243
+ };
18244
+ }),
17279
18245
  /**
17280
18246
  * Extends a record identified by its UUID to one or more objects. You can use this to move a record or add it to another object so it\'ll be visible in the new object.Returns a SuccessResponse confirming that the record has been extended.
17281
18247
  * @summary Extend a record
@@ -18096,6 +19062,22 @@ const RecordsApiFp = function (configuration) {
18096
19062
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18097
19063
  });
18098
19064
  },
19065
+ /**
19066
+ * Read-only current eligibility for up to 50 explicit pairs. Uses ordinary record visibility and named-relation scopes; never a mutation grant. Unavailable items disclose no edge state.
19067
+ * @summary Inspect bounded record relation operations
19068
+ * @param {RelationCapabilityRequest} relationCapabilityRequest
19069
+ * @param {*} [options] Override http request option.
19070
+ * @throws {RequiredError}
19071
+ */
19072
+ capabilities(relationCapabilityRequest, options) {
19073
+ return __awaiter(this, void 0, void 0, function* () {
19074
+ var _a, _b, _c;
19075
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.capabilities(relationCapabilityRequest, options);
19076
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19077
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RecordsApi.capabilities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19078
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19079
+ });
19080
+ },
18099
19081
  /**
18100
19082
  * Creates a new record for the specified object using the provided RecordDTO data. Returns a CreateResponse with the newly created record. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
18101
19083
  * @summary Create a new record
@@ -18174,6 +19156,24 @@ const RecordsApiFp = function (configuration) {
18174
19156
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18175
19157
  });
18176
19158
  },
19159
+ /**
19160
+ * Bodyless atomic ensure-link using ordinary record reads, relation normalization, immutability and exact relation-write scopes. Existing edges retain all properties and primary flags. New edges are non-primary. No edge-property/primary settings are accepted by this operation; use the existing POST/PATCH operations to change edge values. Receipt identities echo request endpoints.
19161
+ * @summary Ensure a relation without changing an existing edge
19162
+ * @param {string} fromUuid
19163
+ * @param {string} relationName
19164
+ * @param {string} toUuid
19165
+ * @param {*} [options] Override http request option.
19166
+ * @throws {RequiredError}
19167
+ */
19168
+ ensure(fromUuid, relationName, toUuid, options) {
19169
+ return __awaiter(this, void 0, void 0, function* () {
19170
+ var _a, _b, _c;
19171
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.ensure(fromUuid, relationName, toUuid, options);
19172
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19173
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RecordsApi.ensure']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19174
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19175
+ });
19176
+ },
18177
19177
  /**
18178
19178
  * Extends a record identified by its UUID to one or more objects. You can use this to move a record or add it to another object so it\'ll be visible in the new object.Returns a SuccessResponse confirming that the record has been extended.
18179
19179
  * @summary Extend a record
@@ -18545,6 +19545,16 @@ const RecordsApiFactory = function (configuration, basePath, axios) {
18545
19545
  bulkEdit(objectName, bulkEditRecordsRequest, ignoreErrors, options) {
18546
19546
  return localVarFp.bulkEdit(objectName, bulkEditRecordsRequest, ignoreErrors, options).then((request) => request(axios, basePath));
18547
19547
  },
19548
+ /**
19549
+ * Read-only current eligibility for up to 50 explicit pairs. Uses ordinary record visibility and named-relation scopes; never a mutation grant. Unavailable items disclose no edge state.
19550
+ * @summary Inspect bounded record relation operations
19551
+ * @param {RelationCapabilityRequest} relationCapabilityRequest
19552
+ * @param {*} [options] Override http request option.
19553
+ * @throws {RequiredError}
19554
+ */
19555
+ capabilities(relationCapabilityRequest, options) {
19556
+ return localVarFp.capabilities(relationCapabilityRequest, options).then((request) => request(axios, basePath));
19557
+ },
18548
19558
  /**
18549
19559
  * Creates a new record for the specified object using the provided RecordDTO data. Returns a CreateResponse with the newly created record. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
18550
19560
  * @summary Create a new record
@@ -18599,6 +19609,18 @@ const RecordsApiFactory = function (configuration, basePath, axios) {
18599
19609
  deleteRelation(fromUuid, relationName, toUuid, options) {
18600
19610
  return localVarFp.deleteRelation(fromUuid, relationName, toUuid, options).then((request) => request(axios, basePath));
18601
19611
  },
19612
+ /**
19613
+ * Bodyless atomic ensure-link using ordinary record reads, relation normalization, immutability and exact relation-write scopes. Existing edges retain all properties and primary flags. New edges are non-primary. No edge-property/primary settings are accepted by this operation; use the existing POST/PATCH operations to change edge values. Receipt identities echo request endpoints.
19614
+ * @summary Ensure a relation without changing an existing edge
19615
+ * @param {string} fromUuid
19616
+ * @param {string} relationName
19617
+ * @param {string} toUuid
19618
+ * @param {*} [options] Override http request option.
19619
+ * @throws {RequiredError}
19620
+ */
19621
+ ensure(fromUuid, relationName, toUuid, options) {
19622
+ return localVarFp.ensure(fromUuid, relationName, toUuid, options).then((request) => request(axios, basePath));
19623
+ },
18602
19624
  /**
18603
19625
  * Extends a record identified by its UUID to one or more objects. You can use this to move a record or add it to another object so it\'ll be visible in the new object.Returns a SuccessResponse confirming that the record has been extended.
18604
19626
  * @summary Extend a record
@@ -18872,6 +19894,16 @@ class RecordsApi extends base_1.BaseAPI {
18872
19894
  bulkEdit(objectName, bulkEditRecordsRequest, ignoreErrors, options) {
18873
19895
  return (0, exports.RecordsApiFp)(this.configuration).bulkEdit(objectName, bulkEditRecordsRequest, ignoreErrors, options).then((request) => request(this.axios, this.basePath));
18874
19896
  }
19897
+ /**
19898
+ * Read-only current eligibility for up to 50 explicit pairs. Uses ordinary record visibility and named-relation scopes; never a mutation grant. Unavailable items disclose no edge state.
19899
+ * @summary Inspect bounded record relation operations
19900
+ * @param {RelationCapabilityRequest} relationCapabilityRequest
19901
+ * @param {*} [options] Override http request option.
19902
+ * @throws {RequiredError}
19903
+ */
19904
+ capabilities(relationCapabilityRequest, options) {
19905
+ return (0, exports.RecordsApiFp)(this.configuration).capabilities(relationCapabilityRequest, options).then((request) => request(this.axios, this.basePath));
19906
+ }
18875
19907
  /**
18876
19908
  * Creates a new record for the specified object using the provided RecordDTO data. Returns a CreateResponse with the newly created record. Validation: Record properties are validated according to the property rules defined for the object. Each property may have validation rules such as required, type constraints, character limits, uniqueness, etc.
18877
19909
  * @summary Create a new record
@@ -18926,6 +19958,18 @@ class RecordsApi extends base_1.BaseAPI {
18926
19958
  deleteRelation(fromUuid, relationName, toUuid, options) {
18927
19959
  return (0, exports.RecordsApiFp)(this.configuration).deleteRelation(fromUuid, relationName, toUuid, options).then((request) => request(this.axios, this.basePath));
18928
19960
  }
19961
+ /**
19962
+ * Bodyless atomic ensure-link using ordinary record reads, relation normalization, immutability and exact relation-write scopes. Existing edges retain all properties and primary flags. New edges are non-primary. No edge-property/primary settings are accepted by this operation; use the existing POST/PATCH operations to change edge values. Receipt identities echo request endpoints.
19963
+ * @summary Ensure a relation without changing an existing edge
19964
+ * @param {string} fromUuid
19965
+ * @param {string} relationName
19966
+ * @param {string} toUuid
19967
+ * @param {*} [options] Override http request option.
19968
+ * @throws {RequiredError}
19969
+ */
19970
+ ensure(fromUuid, relationName, toUuid, options) {
19971
+ return (0, exports.RecordsApiFp)(this.configuration).ensure(fromUuid, relationName, toUuid, options).then((request) => request(this.axios, this.basePath));
19972
+ }
18929
19973
  /**
18930
19974
  * Extends a record identified by its UUID to one or more objects. You can use this to move a record or add it to another object so it\'ll be visible in the new object.Returns a SuccessResponse confirming that the record has been extended.
18931
19975
  * @summary Extend a record
@@ -24304,6 +25348,43 @@ const WebpagesApiAxiosParamCreator = function (configuration) {
24304
25348
  options: localVarRequestOptions,
24305
25349
  };
24306
25350
  }),
25351
+ /**
25352
+ * Returns only public component styling, color tokens and custom fonts for the selected company. Uses the same page, record and environment-property read checks as reading this webpage; company administration access is not required.
25353
+ * @summary Get authorized webpage editor defaults
25354
+ * @param {string} uuid
25355
+ * @param {string} [environment]
25356
+ * @param {*} [options] Override http request option.
25357
+ * @throws {RequiredError}
25358
+ */
25359
+ page: (uuid_1, environment_1, ...args_1) => __awaiter(this, [uuid_1, environment_1, ...args_1], void 0, function* (uuid, environment, options = {}) {
25360
+ // verify required parameter 'uuid' is not null or undefined
25361
+ (0, common_1.assertParamExists)('page', 'uuid', uuid);
25362
+ const localVarPath = `/api/v2/webpages/{uuid}/editor-defaults`
25363
+ .replace('{uuid}', encodeURIComponent(String(uuid)));
25364
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25365
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
25366
+ let baseOptions;
25367
+ if (configuration) {
25368
+ baseOptions = configuration.baseOptions;
25369
+ }
25370
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
25371
+ const localVarHeaderParameter = {};
25372
+ const localVarQueryParameter = {};
25373
+ // authentication bearerAuth required
25374
+ // http bearer authentication required
25375
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
25376
+ if (environment !== undefined) {
25377
+ localVarQueryParameter['environment'] = environment;
25378
+ }
25379
+ localVarHeaderParameter['Accept'] = 'application/json';
25380
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
25381
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25382
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
25383
+ return {
25384
+ url: (0, common_1.toPathString)(localVarUrlObj),
25385
+ options: localVarRequestOptions,
25386
+ };
25387
+ }),
24307
25388
  /**
24308
25389
  * Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
24309
25390
  * @summary Public URL for a library file
@@ -24491,6 +25572,43 @@ const WebpagesApiAxiosParamCreator = function (configuration) {
24491
25572
  options: localVarRequestOptions,
24492
25573
  };
24493
25574
  }),
25575
+ /**
25576
+ * Returns only public component styling, color tokens and custom fonts for the selected company after its ordinary template-read and tenant object/template resolution checks. No template, lease, company setting or publication is changed.
25577
+ * @summary Get authorized template editor defaults
25578
+ * @param {string} objectName
25579
+ * @param {string} environment
25580
+ * @param {*} [options] Override http request option.
25581
+ * @throws {RequiredError}
25582
+ */
25583
+ template: (objectName_1, environment_1, ...args_1) => __awaiter(this, [objectName_1, environment_1, ...args_1], void 0, function* (objectName, environment, options = {}) {
25584
+ // verify required parameter 'objectName' is not null or undefined
25585
+ (0, common_1.assertParamExists)('template', 'objectName', objectName);
25586
+ // verify required parameter 'environment' is not null or undefined
25587
+ (0, common_1.assertParamExists)('template', 'environment', environment);
25588
+ const localVarPath = `/api/v2/webpages/template/{objectName}/{environment}/editor-defaults`
25589
+ .replace('{objectName}', encodeURIComponent(String(objectName)))
25590
+ .replace('{environment}', encodeURIComponent(String(environment)));
25591
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25592
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
25593
+ let baseOptions;
25594
+ if (configuration) {
25595
+ baseOptions = configuration.baseOptions;
25596
+ }
25597
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
25598
+ const localVarHeaderParameter = {};
25599
+ const localVarQueryParameter = {};
25600
+ // authentication bearerAuth required
25601
+ // http bearer authentication required
25602
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
25603
+ localVarHeaderParameter['Accept'] = 'application/json';
25604
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
25605
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25606
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
25607
+ return {
25608
+ url: (0, common_1.toPathString)(localVarUrlObj),
25609
+ options: localVarRequestOptions,
25610
+ };
25611
+ }),
24494
25612
  /**
24495
25613
  * Validates password and returns a short-lived access token.
24496
25614
  * @summary Unlock password-protected webpage
@@ -25208,6 +26326,23 @@ const WebpagesApiFp = function (configuration) {
25208
26326
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25209
26327
  });
25210
26328
  },
26329
+ /**
26330
+ * Returns only public component styling, color tokens and custom fonts for the selected company. Uses the same page, record and environment-property read checks as reading this webpage; company administration access is not required.
26331
+ * @summary Get authorized webpage editor defaults
26332
+ * @param {string} uuid
26333
+ * @param {string} [environment]
26334
+ * @param {*} [options] Override http request option.
26335
+ * @throws {RequiredError}
26336
+ */
26337
+ page(uuid, environment, options) {
26338
+ return __awaiter(this, void 0, void 0, function* () {
26339
+ var _a, _b, _c;
26340
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.page(uuid, environment, options);
26341
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26342
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebpagesApi.page']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26343
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26344
+ });
26345
+ },
25211
26346
  /**
25212
26347
  * Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
25213
26348
  * @summary Public URL for a library file
@@ -25293,6 +26428,23 @@ const WebpagesApiFp = function (configuration) {
25293
26428
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25294
26429
  });
25295
26430
  },
26431
+ /**
26432
+ * Returns only public component styling, color tokens and custom fonts for the selected company after its ordinary template-read and tenant object/template resolution checks. No template, lease, company setting or publication is changed.
26433
+ * @summary Get authorized template editor defaults
26434
+ * @param {string} objectName
26435
+ * @param {string} environment
26436
+ * @param {*} [options] Override http request option.
26437
+ * @throws {RequiredError}
26438
+ */
26439
+ template(objectName, environment, options) {
26440
+ return __awaiter(this, void 0, void 0, function* () {
26441
+ var _a, _b, _c;
26442
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.template(objectName, environment, options);
26443
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26444
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebpagesApi.template']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26445
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26446
+ });
26447
+ },
25296
26448
  /**
25297
26449
  * Validates password and returns a short-lived access token.
25298
26450
  * @summary Unlock password-protected webpage
@@ -25730,6 +26882,17 @@ const WebpagesApiFactory = function (configuration, basePath, axios) {
25730
26882
  listProtectionGrants(uuid, environment, options) {
25731
26883
  return localVarFp.listProtectionGrants(uuid, environment, options).then((request) => request(axios, basePath));
25732
26884
  },
26885
+ /**
26886
+ * Returns only public component styling, color tokens and custom fonts for the selected company. Uses the same page, record and environment-property read checks as reading this webpage; company administration access is not required.
26887
+ * @summary Get authorized webpage editor defaults
26888
+ * @param {string} uuid
26889
+ * @param {string} [environment]
26890
+ * @param {*} [options] Override http request option.
26891
+ * @throws {RequiredError}
26892
+ */
26893
+ page(uuid, environment, options) {
26894
+ return localVarFp.page(uuid, environment, options).then((request) => request(axios, basePath));
26895
+ },
25733
26896
  /**
25734
26897
  * Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
25735
26898
  * @summary Public URL for a library file
@@ -25785,6 +26948,17 @@ const WebpagesApiFactory = function (configuration, basePath, axios) {
25785
26948
  revokeProtectionGrant(uuid, grantUuid, environment, options) {
25786
26949
  return localVarFp.revokeProtectionGrant(uuid, grantUuid, environment, options).then((request) => request(axios, basePath));
25787
26950
  },
26951
+ /**
26952
+ * Returns only public component styling, color tokens and custom fonts for the selected company after its ordinary template-read and tenant object/template resolution checks. No template, lease, company setting or publication is changed.
26953
+ * @summary Get authorized template editor defaults
26954
+ * @param {string} objectName
26955
+ * @param {string} environment
26956
+ * @param {*} [options] Override http request option.
26957
+ * @throws {RequiredError}
26958
+ */
26959
+ template(objectName, environment, options) {
26960
+ return localVarFp.template(objectName, environment, options).then((request) => request(axios, basePath));
26961
+ },
25788
26962
  /**
25789
26963
  * Validates password and returns a short-lived access token.
25790
26964
  * @summary Unlock password-protected webpage
@@ -26190,6 +27364,17 @@ class WebpagesApi extends base_1.BaseAPI {
26190
27364
  listProtectionGrants(uuid, environment, options) {
26191
27365
  return (0, exports.WebpagesApiFp)(this.configuration).listProtectionGrants(uuid, environment, options).then((request) => request(this.axios, this.basePath));
26192
27366
  }
27367
+ /**
27368
+ * Returns only public component styling, color tokens and custom fonts for the selected company. Uses the same page, record and environment-property read checks as reading this webpage; company administration access is not required.
27369
+ * @summary Get authorized webpage editor defaults
27370
+ * @param {string} uuid
27371
+ * @param {string} [environment]
27372
+ * @param {*} [options] Override http request option.
27373
+ * @throws {RequiredError}
27374
+ */
27375
+ page(uuid, environment, options) {
27376
+ return (0, exports.WebpagesApiFp)(this.configuration).page(uuid, environment, options).then((request) => request(this.axios, this.basePath));
27377
+ }
26193
27378
  /**
26194
27379
  * Makes an existing company file public and returns its stable public URL. The file is not copied and is not tied to a webpage.
26195
27380
  * @summary Public URL for a library file
@@ -26245,6 +27430,17 @@ class WebpagesApi extends base_1.BaseAPI {
26245
27430
  revokeProtectionGrant(uuid, grantUuid, environment, options) {
26246
27431
  return (0, exports.WebpagesApiFp)(this.configuration).revokeProtectionGrant(uuid, grantUuid, environment, options).then((request) => request(this.axios, this.basePath));
26247
27432
  }
27433
+ /**
27434
+ * Returns only public component styling, color tokens and custom fonts for the selected company after its ordinary template-read and tenant object/template resolution checks. No template, lease, company setting or publication is changed.
27435
+ * @summary Get authorized template editor defaults
27436
+ * @param {string} objectName
27437
+ * @param {string} environment
27438
+ * @param {*} [options] Override http request option.
27439
+ * @throws {RequiredError}
27440
+ */
27441
+ template(objectName, environment, options) {
27442
+ return (0, exports.WebpagesApiFp)(this.configuration).template(objectName, environment, options).then((request) => request(this.axios, this.basePath));
27443
+ }
26248
27444
  /**
26249
27445
  * Validates password and returns a short-lived access token.
26250
27446
  * @summary Unlock password-protected webpage