@salesforce/lds-adapters-uiapi 0.1.0-dev1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/types/src/__mocks__/@salesforce/lds-instrumentation.d.ts +3 -0
- package/dist/es/es2018/types/src/__mocks__/force/ldsBindings.d.ts +9 -0
- package/dist/es/es2018/types/src/__mocks__/force/ldsEngine.d.ts +1 -0
- package/dist/es/es2018/types/src/__mocks__/force/ldsEngineCreator.d.ts +1 -0
- package/dist/es/es2018/types/src/__mocks__/force/ldsGraphqlParser.d.ts +1 -0
- package/dist/es/es2018/types/src/__mocks__/force/ldsInstrumentation.d.ts +3 -0
- package/dist/es/es2018/types/src/__mocks__/force/luvioEngine.d.ts +1 -0
- package/dist/es/es2018/types/src/__mocks__/force/luvioGraphql.d.ts +1 -0
- package/dist/es/es2018/types/src/__mocks__/instrumentation/service.d.ts +33 -0
- package/dist/es/es2018/types/src/__performance__/priming.spec.d.ts +1 -0
- package/dist/es/es2018/types/src/__performance__/utils/runMeasurement.d.ts +36 -0
- package/dist/es/es2018/types/src/__performance__/utils/sqliteDurableStore.d.ts +18 -0
- package/dist/es/es2018/types/src/__performance__/utils/utils.d.ts +6 -0
- package/dist/es/es2018/types/src/configuration.d.ts +154 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createContentDocumentAndVersion.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/createContentVersion.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/createListInfo.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/createRecord.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteListInfo.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteRecord.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/adapters/getActionOverrides.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getAllApps.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getAppDetails.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getDuplicateConfiguration.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getDuplicates.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/adapters/getFlexipageFormulaOverrides.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getGlobalActions.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/adapters/getKeywordSearchResults.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/adapters/getLayout.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/adapters/getLayoutUserState.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/adapters/getListInfoByName.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getListInfosByName.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getListInfosByObjectName.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/adapters/getListObjectInfo.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getListPreferences.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getListRecordsByName.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/adapters/getListUiByApiName.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/adapters/getListUiByListViewId.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/adapters/getListViewSummaryCollection.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/adapters/getLookupActions.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getLookupMetadata.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getLookupRecords.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/adapters/getMruListUi.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/adapters/getNavItems.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getObjectCreateActions.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getObjectInfo.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getObjectInfoDirectory.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/getObjectInfos.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getPathLayout.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/adapters/getPicklistValues.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getPicklistValuesByRecordType.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getQuickActionDefaults.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/adapters/getQuickActionInfo.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getQuickActionLayout.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getRecord.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/adapters/getRecordActions.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/adapters/getRecordAvatars.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getRecordCreateDefaults.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getRecordEditActions.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getRecordTemplateClone.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getRecordTemplateCreate.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getRecordUi.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/adapters/getRecords.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/adapters/getRelatedListActions.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/adapters/getRelatedListCount.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getRelatedListInfo.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/adapters/getRelatedListInfoBatch.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getRelatedListPreferences.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getRelatedListPreferencesBatch.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getRelatedListRecordActions.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/adapters/getRelatedListRecords.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/adapters/getRelatedListRecordsBatch.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getRelatedListsActions.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getRelatedListsCount.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getRelatedListsInfo.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getSearchFilterMetadata.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getSearchFilterOptions.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getSearchResults.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/adapters/getSelectedApp.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/graphql.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/adapters/performQuickAction.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/adapters/performUpdateRecordQuickAction.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/adapters/updateLayoutUserState.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/adapters/updateListInfoByName.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/adapters/updateListPreferences.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/adapters/updateRecord.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/adapters/updateRecordAvatar.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/adapters/updateRelatedListInfo.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/adapters/updateRelatedListPreferences.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +78 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc_restAdapters.d.ts +122 -0
- package/dist/es/es2018/types/src/generated/fields/adapters/getQuickActionDefaults.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/fields/adapters/getRecord.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/fields/adapters/getRecordTemplateClone.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/fields/adapters/getRecordTemplateCreate.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/fields/resources/getUiApiActionsRecordDefaultsByActionApiName.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/resources/getUiApiRecordDefaultsTemplateCloneByRecordId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/resources/getUiApiRecordDefaultsTemplateCreateByObjectApiName.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/resources/getUiApiRecordsByRecordId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/AggregateUiRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/BatchRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/BatchResultRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/CompositeRelatedListRecordCollectionResultRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/ContentDocumentCompositeRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/KeywordSearchResultsRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/ListRecordCollectionRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/ListUiRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/LookupValuesRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/NLSResultsRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/QuickActionDefaultsRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/RecordCollectionRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/RecordCreateDefaultRecordRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/RecordDefaultsRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/RecordDefaultsTemplateCloneRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/RecordDefaultsTemplateCreateRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/RecordRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/RecordTemplateCloneRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/RecordTemplateCreateRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/RecordUiRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/RelatedListRecordCollectionBatchRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/RelatedListRecordCollectionRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/SearchResultCollectionRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/fields/types/SearchResultRepresentation.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/graphql/directives/category.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/graphql/directives/deprecated.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/graphql/directives/directive-util.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/graphql/directives/fieldCategory.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/graphql/directives/generic.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/graphql/directives/include.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/graphql/directives/skip.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/graphql/directives/specifiedBy.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/graphql/types/AggregateOrderByNumberFunction.d.ts +9 -0
- package/dist/es/es2018/types/src/generated/graphql/types/AggregateOrderByStringFunction.d.ts +7 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__Analytics.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsBrowse.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsEdge.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsRepresentationInterface.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsWorkspace.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsWorkspaceAsset.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsWorkspaceAssetConnection.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__AnalyticsWorkspaceAssetEdge.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__DataspaceRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__MktDataConnector.d.ts +54 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticDefinition.d.ts +57 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticModel.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticModelRelatedModelConnection.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticModelRelatedModelEdge.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticModelRelatedModelRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticSubMetricDefinitionConnection.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticSubMetricDefinitionEdge.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SemanticSubMetricDefinitionRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Analytics__SortEnumType.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/graphql/types/AnyType.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Base64Value.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/BooleanAggregate.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/graphql/types/BooleanValue.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/ChildRelationship.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/graphql/types/CompoundField.d.ts +81 -0
- package/dist/es/es2018/types/src/generated/graphql/types/CurrencyAggregate.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/graphql/types/CurrencyValue.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/DataType.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/graphql/types/DateAggregate.d.ts +56 -0
- package/dist/es/es2018/types/src/generated/graphql/types/DateFunctionAggregation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/DateLiteral.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/graphql/types/DateOnlyAggregation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/DateTimeAggregate.d.ts +57 -0
- package/dist/es/es2018/types/src/generated/graphql/types/DateTimeValue.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/DateValue.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/DependentField.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/DoubleAggregate.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/graphql/types/DoubleValue.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/EmailAggregate.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/graphql/types/EmailValue.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/EncryptedStringValue.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Field.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/graphql/types/FieldExtraTypeInfo.d.ts +10 -0
- package/dist/es/es2018/types/src/generated/graphql/types/FieldValue.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/graphql/types/FilteredLookupInfo.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/GroupByFunction.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/graphql/types/GroupByType.d.ts +6 -0
- package/dist/es/es2018/types/src/generated/graphql/types/IDAggregate.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/graphql/types/IDValue.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/IntAggregate.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/graphql/types/IntValue.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/JSONValue.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/LatitudeAggregate.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/graphql/types/LatitudeValue.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/ListColumn.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/graphql/types/ListOrder.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/LongAggregate.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/graphql/types/LongTextAreaValue.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/LongValue.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/LongitudeAggregate.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/graphql/types/LongitudeValue.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/MultiPicklistValue.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/NullOrder.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/graphql/types/NullsOrder.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/graphql/types/ObjectInfo.d.ts +60 -0
- package/dist/es/es2018/types/src/generated/graphql/types/PageInfo.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/graphql/types/PercentAggregate.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/graphql/types/PercentValue.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/PhoneNumberAggregate.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/graphql/types/PhoneNumberValue.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/PicklistAggregate.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/graphql/types/PicklistValue.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/PolymorphicAggregateParentRelationship.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/graphql/types/PolymorphicParentRelationship.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Query.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/graphql/types/RateLimit.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Record.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/graphql/types/RecordAggregate.d.ts +71 -0
- package/dist/es/es2018/types/src/generated/graphql/types/RecordAggregateConnection.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/graphql/types/RecordAggregateEdge.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/RecordConnection.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/graphql/types/RecordCreatePayload.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/RecordDeletePayload.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/graphql/types/RecordEdge.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/RecordQuery.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/RecordQueryAggregate.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/RecordRepresentation.d.ts +123 -0
- package/dist/es/es2018/types/src/generated/graphql/types/RecordResult.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/RecordTypeInfo.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/graphql/types/RecordUpdatePayload.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/graphql/types/ReferenceToInfo.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/graphql/types/RelatedListInfo.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/graphql/types/ResultOrder.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/graphql/types/ResultsOrder.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/graphql/types/RichTextAreaValue.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/SObject__Field.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/SObject__FieldType.d.ts +6 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__EntityRepresentation.d.ts +96 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__ListColumn.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__ListFilter.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__ListFilterOperator.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__ListOrder.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__ListScalarField.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__ListView.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__ListViewObjectInfo.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__ListViewRow.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__ListViewRowConnection.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__ListViewRowEdge.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__Setup.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__SetupAggregateConnection.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__SetupAggregateEdge.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__SetupConnection.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__SetupEdge.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__SetupPolymorphicAggregateParentRelationship.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__SetupPolymorphicParentRelationship.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__SetupQuery.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__SetupQueryAggregate.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__SetupRecordAggregate.d.ts +71 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__SetupRecordResult.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/StringAggregate.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/graphql/types/StringValue.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/TextAreaAggregate.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/graphql/types/TextAreaValue.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/ThemeInfo.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/TimeAggregate.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/graphql/types/TimeValue.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/UIAPI.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/graphql/types/UIAPIMutations.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Unit.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/graphql/types/UrlAggregate.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/graphql/types/UrlValue.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/type-util.d.ts +81 -0
- package/dist/es/es2018/types/src/generated/pagination/cursor.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/pagination/syntheticCursor.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/resources/deleteUiApiFormsHealthCheckByApiName.d.ts +11 -0
- package/dist/es/es2018/types/src/generated/resources/deleteUiApiListInfoByListViewApiNameAndObjectApiName.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/deleteUiApiListInfoByListViewId.d.ts +11 -0
- package/dist/es/es2018/types/src/generated/resources/deleteUiApiRecordsByRecordId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/deleteUiApiRelatedListPreferencesByPreferencesId.d.ts +11 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectBriefcasePrimingRecords.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsFlexipageByFlexipageNames.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsFormulaActivationByActionFeature.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsGlobal.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsLayoutByActionApiName.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsListViewByListViewIds.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsListViewChartByObjectApiNames.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsListViewRecordByRecordIds.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsLookupByObjectApiNames.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsMruListByObjectApiNames.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsObjectRecordCreateByObjectApiName.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsOverridesByObjectApiName.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsPhotoByRecordIds.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsQuickActionInfoByActionApiName.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsRecordByRecordIds.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsRecordDefaultsByActionApiName.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsRecordRecordEditByRecordIds.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsRecordRelatedListBatchByRecordIdsAndRelatedListIds.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsRecordRelatedListRecordByRecordIdsAndRelatedListRecordIds.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiApps.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiAppsByAppId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiAppsSelected.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiAppsUserNavItemsByAppId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiDuplicatesByObjectApiName.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiFormsByApiName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiFormsHealthCheckByApiName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiLayoutByObjectApiName.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiLayoutUserStateByObjectApiName.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiListInfoBatch.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiListInfoByListViewApiNameAndObjectApiName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiListInfoByListViewId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiListInfoByObjectApiName.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiListObjectInfoByObjectApiName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiListPreferencesByListViewApiNameAndObjectApiName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiListRecordsByListViewId.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiListUiByListViewApiNameAndObjectApiName.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiListUiByListViewId.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiListUiByObjectApiName.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiLookupsByFieldApiNameAndObjectApiNameAndTargetApiName.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiMruListInfoByObjectApiName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiMruListRecordsByObjectApiName.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiMruListUiByObjectApiName.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiNavItems.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiObjectInfo.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiObjectInfoBatchByObjectApiNames.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiObjectInfoByObjectApiName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiObjectInfoPicklistValuesByFieldApiNameAndObjectApiNameAndRecordTypeId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiObjectInfoPicklistValuesByObjectApiNameAndRecordTypeId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiObjectInfoValidationRulesInfoByObjectApiName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiPathLayoutByObjectApiName.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiPrimingRecords.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiPrimingRoutes.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordAvatarsBatchByRecordIds.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordAvatarsByRecordId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordDefaultsCloneByRecordId.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordDefaultsCreateByObjectApiName.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordDefaultsTemplateCloneByRecordId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordDefaultsTemplateCreateByObjectApiName.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordUiByRecordIds.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordsBatchByRecordIds.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordsByRecordId.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordsChildRelationshipsByRecordIdAndRelationshipName.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListCountBatchByParentRecordIdAndRelatedListNames.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListCountByParentRecordIdAndRelatedListId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListInfoBatchByParentObjectApiNameAndRelatedListNames.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListInfoByParentObjectApiName.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListInfoByParentObjectApiNameAndRelatedListId.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListInfoByParentRecordIdAndRelatedListId.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListPreferencesBatchByPreferencesIds.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListPreferencesByPreferencesId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiSearchInfoFiltersByObjectApiName.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiSearchInfoFiltersOptionsByFilterApiNameAndObjectApiName.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiSearchInfoLookupByFieldApiNameAndObjectApiName.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiThemesActive.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/patchUiApiActionsPerformQuickActionByActionApiName.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/patchUiApiAppsByAppId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/patchUiApiFormsHealthCheckByApiName.d.ts +9 -0
- package/dist/es/es2018/types/src/generated/resources/patchUiApiLayoutUserStateByObjectApiName.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/resources/patchUiApiListInfoByListViewApiNameAndObjectApiName.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/resources/patchUiApiListInfoByListViewId.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/resources/patchUiApiListPreferencesByListViewApiNameAndObjectApiName.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/resources/patchUiApiRecordsByRecordId.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/resources/patchUiApiRelatedListInfoByParentObjectApiNameAndRelatedListId.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/resources/patchUiApiRelatedListInfoByParentRecordIdAndRelatedListId.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/resources/patchUiApiRelatedListPreferencesByPreferencesId.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/resources/postGraphql.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiActionsPerformQuickActionByActionApiName.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiActionsRecordRelatedListBatchByRecordIds.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiActionsRecordRelatedListByRecordIdsAndRelatedListId.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiListInfoByObjectApiName.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiListRecordsByListViewApiNameAndObjectApiName.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiListRecordsByListViewId.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiLookupsByFieldApiNameAndObjectApiName.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiPredupe.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiRecordAvatarsAssociationByRecordId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiRecords.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiRecordsContentDocumentsContentVersions.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiRecordsContentDocumentsContentVersionsByContentDocumentId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiRelatedListRecordsBatchByParentRecordId.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiSearchResults.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiSearchResultsKeyword.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/resources/putUiApiAppsUserNavItemsByAppId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/putUiApiFormsHealthCheckByApiName.d.ts +9 -0
- package/dist/es/es2018/types/src/generated/types/AbstractFormSubitemRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/AbstractPicklistValueAttributesRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/AbstractRecordAvatarBatchRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/AbstractRecordAvatarRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/AbstractRecordLayoutComponentRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ActionBatchRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ActionBatchResultRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/ActionInputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/ActionOverrideRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ActionRelatedListSingleBatchInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ActionRelatedListsBatchInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ActionRelatedListsCollectionBatchRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ActionRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/AdvancedLookupDisplayInfoFieldRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/AdvancedLookupDisplayInfoRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/AdvancedLookupInfoRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/AggregateInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/AggregateRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/AggregateUiRepresentation.d.ts +92 -0
- package/dist/es/es2018/types/src/generated/types/AppRepresentation.d.ts +104 -0
- package/dist/es/es2018/types/src/generated/types/AppliedSearchFilterOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/AppsRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/AvatarAssociationInputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/BatchInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/BatchOperationInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/BatchRelatedListCountRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/BatchRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/BatchResultRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/CanvasLayoutComponentRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/CaseStatusPicklistValueAttributesRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ChildRelationshipRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/CompositeActionRelatedListsCollectionResultRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/CompositeRelatedListRecordCollectionResultRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/ContentDocumentCompositeRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/ContentInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/CopilotQuickActionInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/CopilotQuickActionParameterRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/CustomLinkLayoutComponentRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/DisplayLayoutAndMatchingInfoRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/DisplayLayoutRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DuplicateRecordErrorRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/DuplicateResultInfoRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/DuplicateRuleFilterItemRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/DuplicateRuleFilterRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/DuplicateRuleRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/DuplicatesConfigurationRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/DuplicatesRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/EmptySpaceFormSubitemRepresentation.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/types/EntityActionRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/ErrorBadRequestRecordAvatarBatchRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ErrorMessageRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ErrorRecordAvatarBatchRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ErrorSingleRecordAvatarRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/FavoriteBatchCollectionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/FavoriteBatchInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/FavoriteCollectionRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/FavoriteInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/FavoriteRepresentation.d.ts +58 -0
- package/dist/es/es2018/types/src/generated/types/FieldFormSubitemRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/FieldLayoutComponentRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/FieldRepresentation.d.ts +126 -0
- package/dist/es/es2018/types/src/generated/types/FieldValueRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/FilteredLookupInfoRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/FlexipageFormulaActivationRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/FormItemRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/FormRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/FormRowRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/FormSectionRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/FormulaOverridesInfoRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/GraphQLBatchInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/GraphQLErrorLocation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/GraphQLErrorRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/GraphQLInputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/GraphQLRepresentation.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/types/HealthCheckRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/KeywordSearchRequestInputRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/KeywordSearchResultsRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/KeywordSearchResultsSummaryRepresentation.d.ts +56 -0
- package/dist/es/es2018/types/src/generated/types/LeadStatusPicklistValueAttributesRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ListColumnInlineEditAttributesRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ListColumnInlineEditAttributesRepresentationWrapper.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ListColumnRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/ListFieldErrorRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ListFilterByInfoInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ListFilterByInfoRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ListInfoBatchRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ListInfoErrorRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ListInfoInputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/ListInfoPostInputRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/ListInfoRepresentation.d.ts +116 -0
- package/dist/es/es2018/types/src/generated/types/ListInfoShareCategoryRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ListInfoShareRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ListInfoSummaryCollectionRepresentation.d.ts +94 -0
- package/dist/es/es2018/types/src/generated/types/ListInfoSummaryRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/ListInlineEditDetailsRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ListObjectColumnRepresentation.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/types/ListObjectInfoRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/ListObjectPicklistValueRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ListObjectQuickFilterOverridesRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/ListObjectScopeAvailableEntityRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ListObjectScopeRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/ListOrderByInfoRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ListOrderedByInfoInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ListPreferencesInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ListPreferencesRepresentation.d.ts +59 -0
- package/dist/es/es2018/types/src/generated/types/ListRecordCollectionRepresentation.d.ts +110 -0
- package/dist/es/es2018/types/src/generated/types/ListRecordCollectionRepresentation212.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/types/ListRecordsInputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/ListReferenceRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ListScopeEntityRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ListScopeInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ListScopeRelatedEntityRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ListScopeRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/ListUiRepresentation.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/types/ListUiRepresentation212.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ListUserPreferenceInputRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/ListUserPreferenceRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/ListViewSummaryCollectionRepresentation.d.ts +94 -0
- package/dist/es/es2018/types/src/generated/types/ListViewSummaryRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/LocationFieldRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/LookupMetadataRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/LookupMetadataTargetInfoRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/LookupPOSTRequestBodyRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/LookupValuesRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/MatchRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/MatchResultInfoRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/MatchResultRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/MatchRuleRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/MatchingInfoRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/NLSResultsRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/NavItemInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/NavItemRepresentation.d.ts +90 -0
- package/dist/es/es2018/types/src/generated/types/NavItemsInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/NavItemsRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/ObjectInfoDirectoryEntryRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/ObjectInfoDirectoryRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/ObjectInfoRepresentation.d.ts +126 -0
- package/dist/es/es2018/types/src/generated/types/OperationInputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/OperationResponseRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/OpportunityStagePicklistValueAttributesRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/PageReferenceInputRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/PageReferenceRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/PerformActionInputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/PhotoMetadataRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/PhotoRecordAvatarRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/PicklistValueRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/PicklistValuesCollectionRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/PicklistValuesRepresentation.d.ts +61 -0
- package/dist/es/es2018/types/src/generated/types/PlatformActionRepresentation.d.ts +97 -0
- package/dist/es/es2018/types/src/generated/types/PrimingGeneratedModuleRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/PrimingRecordCollectionRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/PrimingRecordRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/PrimingRecordsStatsRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/PrimingRoutesCollectionRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/PrimingRuleErrorRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/QnASearchResultRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/QuickActionColorRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/QuickActionDefaultsRepresentation.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/types/QuickActionExecutionRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/QuickActionIconRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/QuickActionInfoRepresentation.d.ts +108 -0
- package/dist/es/es2018/types/src/generated/types/QuickActionLayoutRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/RecordAvatarBatchRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/RecordAvatarBulkMapRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/RecordAvatarBulkRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/RecordCollectionRepresentation.d.ts +60 -0
- package/dist/es/es2018/types/src/generated/types/RecordCreateDefaultRecordRepresentation.d.ts +80 -0
- package/dist/es/es2018/types/src/generated/types/RecordDefaultsRepresentation.d.ts +54 -0
- package/dist/es/es2018/types/src/generated/types/RecordDefaultsTemplateCloneRepresentation.d.ts +60 -0
- package/dist/es/es2018/types/src/generated/types/RecordDefaultsTemplateCreateRepresentation.d.ts +60 -0
- package/dist/es/es2018/types/src/generated/types/RecordExceptionErrorRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/RecordExceptionRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/RecordIdRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/RecordInputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/RecordLayoutComponentRepresentation.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/types/RecordLayoutItemRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/RecordLayoutRepresentation.d.ts +70 -0
- package/dist/es/es2018/types/src/generated/types/RecordLayoutRowRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/RecordLayoutSaveOptionRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/RecordLayoutSectionRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/RecordLayoutSectionUserStateInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/RecordLayoutSectionUserStateRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/RecordLayoutUserStateInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/RecordLayoutUserStateRepresentation.d.ts +65 -0
- package/dist/es/es2018/types/src/generated/types/RecordRepresentation.d.ts +91 -0
- package/dist/es/es2018/types/src/generated/types/RecordTemplateCloneRepresentation.d.ts +64 -0
- package/dist/es/es2018/types/src/generated/types/RecordTemplateCreateRepresentation.d.ts +61 -0
- package/dist/es/es2018/types/src/generated/types/RecordTypeInfoRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/RecordUiRepresentation.d.ts +88 -0
- package/dist/es/es2018/types/src/generated/types/ReferenceToInfoRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/RelatedListColumnRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/RelatedListInfoBatchRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/RelatedListInfoInputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/RelatedListInfoRepresentation.d.ts +114 -0
- package/dist/es/es2018/types/src/generated/types/RelatedListPreferencesBatchRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/RelatedListRecordCollectionBatchRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/RelatedListRecordCollectionRepresentation.d.ts +105 -0
- package/dist/es/es2018/types/src/generated/types/RelatedListRecordCountCollectionRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/RelatedListRecordCountRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/RelatedListRecordsBatchInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/RelatedListRecordsInputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/RelatedListRecordsSingleBatchInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/RelatedListReferenceRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/RelatedListSummaryInfoCollectionRepresentation.d.ts +50 -0
- package/dist/es/es2018/types/src/generated/types/RelatedListSummaryInfoRepresentation.d.ts +59 -0
- package/dist/es/es2018/types/src/generated/types/RelatedListUserPreferencesInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/RelatedListUserPreferencesRepresentation.d.ts +56 -0
- package/dist/es/es2018/types/src/generated/types/ReportLayoutComponentRepresentation.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/ResourceReferenceRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/SearchAnswersRecordRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SearchAnswersResultRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/SearchDataCategoryFilterDefinitionRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SearchDataCategoryInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SearchDataCategoryOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SearchFieldFilterAttributesRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SearchFieldFilterDefinitionRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/SearchFieldFilterSelectAttributesRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/SearchFieldFilterTextAttributesRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/SearchFilterDefinitionRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SearchFilterInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SearchFilterMetadataCollectionRepresentation.d.ts +56 -0
- package/dist/es/es2018/types/src/generated/types/SearchFilterOptionCollectionRepresentation.d.ts +54 -0
- package/dist/es/es2018/types/src/generated/types/SearchFilterOptionRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SearchFilterOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SearchIntentActionRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/SearchIntentComponentRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/SearchIntentOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SearchObjectOptionsOutputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/SearchObjectOptionsRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/SearchRecordHighlightRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/SearchRecordInfoRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SearchRequestInputRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/SearchResultCollectionRepresentation.d.ts +64 -0
- package/dist/es/es2018/types/src/generated/types/SearchResultRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/SearchResultsSummaryRepresentation.d.ts +67 -0
- package/dist/es/es2018/types/src/generated/types/SimpleListInfoResultRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/SimpleRelatedListCountBatchRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/SimpleRelatedListInfoResultRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/SimpleRelatedListPreferencesResultRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/SimplifiedBatchRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/SimplifiedBatchResultRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/ThemeBannerRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ThemeImageRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ThemeInfoRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ThemeRecordAvatarRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/ThemeRepresentation.d.ts +60 -0
- package/dist/es/es2018/types/src/generated/types/ValidationRuleRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/ValidationRulesRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/VisualforceLayoutComponentRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/WireDataRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/WorkStepPicklistValueAttributeRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/uiapi/record-collection/resources/postUiApiListRecordsByListViewApiNameAndObjectApiName.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/uiapi/record-collection/resources/postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId.d.ts +5 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/AnyType/getMinimumSelections.d.ts +6 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/CompoundField/getFieldType.d.ts +5 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/CompoundField/selectType.d.ts +4 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordAggregate/getFieldType.d.ts +5 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordConnection/getTypeCacheKeys.d.ts +5 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordQuery/getFieldType.d.ts +5 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordQueryAggregate/getFieldType.d.ts +5 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordRepresentation/attachMappedData.d.ts +4 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordRepresentation/convertGraphQLToRaml.d.ts +11 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordRepresentation/getFieldData.d.ts +5 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordRepresentation/getFieldType.d.ts +5 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordRepresentation/getInContextFragmentType.d.ts +3 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordRepresentation/getMappedTypeCacheKeys.d.ts +5 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordRepresentation/getMinimumSelections.d.ts +4 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordRepresentation/ingestMappedData.d.ts +5 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordRepresentation/isMappedField.d.ts +2 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordRepresentation/selectType.d.ts +5 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/Setup__SetupQuery/getFieldType.d.ts +5 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/Setup__SetupQueryAggregate/getFieldType.d.ts +5 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/shared/RecordFields.d.ts +5 -0
- package/dist/es/es2018/types/src/graphql-artifacts/types/shared/getMinimumSelections.d.ts +5 -0
- package/dist/es/es2018/types/src/helpers/FieldValueRepresentation/merge.d.ts +3 -0
- package/dist/es/es2018/types/src/helpers/FieldValueRepresentation/normalize.d.ts +5 -0
- package/dist/es/es2018/types/src/helpers/RecordAvatarBulkRepresentation/merge.d.ts +3 -0
- package/dist/es/es2018/types/src/helpers/RecordRepresentation/merge.d.ts +14 -0
- package/dist/es/es2018/types/src/helpers/RecordRepresentation/normalize.d.ts +10 -0
- package/dist/es/es2018/types/src/helpers/RecordRepresentation/resolveConflict.d.ts +11 -0
- package/dist/es/es2018/types/src/helpers/graphql/getDirectiveValue.d.ts +2 -0
- package/dist/es/es2018/types/src/helpers/graphql/getFieldNameOverride.d.ts +2 -0
- package/dist/es/es2018/types/src/helpers/resources/getRecordFulfill.d.ts +2 -0
- package/dist/es/es2018/types/src/instrumentation.d.ts +55 -0
- package/dist/es/es2018/types/src/main.d.ts +173 -0
- package/dist/es/es2018/types/src/overrides/resources/postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId.d.ts +5 -0
- package/dist/es/es2018/types/src/predictive-loading/index.d.ts +1 -0
- package/dist/es/es2018/types/src/predictive-loading/registry.d.ts +9 -0
- package/dist/es/es2018/types/src/primitives/FieldId/coerce.d.ts +7 -0
- package/dist/es/es2018/types/src/primitives/FieldId/index.d.ts +14 -0
- package/dist/es/es2018/types/src/primitives/FieldIdArray/coerce.d.ts +9 -0
- package/dist/es/es2018/types/src/primitives/FormFactor/coerce.d.ts +2 -0
- package/dist/es/es2018/types/src/primitives/FormFactor/index.d.ts +5 -0
- package/dist/es/es2018/types/src/primitives/LayoutMode/coerce.d.ts +2 -0
- package/dist/es/es2018/types/src/primitives/LayoutMode/index.d.ts +5 -0
- package/dist/es/es2018/types/src/primitives/LayoutModeArray/coerce.d.ts +2 -0
- package/dist/es/es2018/types/src/primitives/LayoutType/coerce.d.ts +2 -0
- package/dist/es/es2018/types/src/primitives/LayoutType/index.d.ts +4 -0
- package/dist/es/es2018/types/src/primitives/LayoutTypeArray/coerce.d.ts +2 -0
- package/dist/es/es2018/types/src/primitives/ObjectId/coerce.d.ts +6 -0
- package/dist/es/es2018/types/src/primitives/ObjectId/index.d.ts +4 -0
- package/dist/es/es2018/types/src/primitives/ObjectIdArray/coerce.d.ts +6 -0
- package/dist/es/es2018/types/src/primitives/RecordId18/coerce.d.ts +6 -0
- package/dist/es/es2018/types/src/primitives/RecordId18Array/coerce.d.ts +6 -0
- package/dist/es/es2018/types/src/primitives/SortedObjectIdArray/coerce.d.ts +6 -0
- package/dist/es/es2018/types/src/primitives/SortedStringArray/coerce.d.ts +1 -0
- package/dist/es/es2018/types/src/primitives/SortedStringArrayAllowEmpty/coerce.d.ts +1 -0
- package/dist/es/es2018/types/src/primitives/SortedStringArrayTitleCase/coerce.d.ts +1 -0
- package/dist/es/es2018/types/src/query-evaluation/record-representation-query-evaluator.d.ts +19 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getLayout/buildCachedSnapshotCachePolicy.d.ts +4 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getLayout/onFetchResponseSuccess.d.ts +5 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getLayout/utils.d.ts +9 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getLayout/validateAdapterConfig.d.ts +3 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getLayoutUserState/buildCachedSnapshot.d.ts +4 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getLayoutUserState/buildCachedSnapshotCachePolicy.d.ts +9 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getLayoutUserState/buildNetworkSnapshot.d.ts +4 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getLayoutUserState/getLayoutUserStateConfig.d.ts +2 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getLayoutUserState/getLayoutUserState_ConfigPropertyNames.d.ts +2 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getLayoutUserState/validateAdapterConfig.d.ts +3 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getListRecordsByName/buildNetworkSnapshot.d.ts +4 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getListRecordsByName/onFetchResponseSuccess.d.ts +6 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getRecordAvatars/buildCachedSnapshot.d.ts +4 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getRecordAvatars/buildCachedSnapshotCachePolicy.d.ts +4 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getRecordAvatars/buildNetworkSnapshot.d.ts +9 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getRecordAvatars/buildNetworkSnapshotCachePolicy.d.ts +4 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getRecordAvatars/utils.d.ts +13 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getRecords/GetRecordsConfig.d.ts +15 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getRecords/adapterFragment.d.ts +3 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getRecords/createChildResourceParams.d.ts +3 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getRecords/createResourceParams.d.ts +3 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getRecords/getRecords_ConfigPropertyNames.d.ts +2 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getRecords/onFetchResponseSuccess.d.ts +5 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getRecords/typeCheckConfig.d.ts +5 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getRecords/validateAdapterConfig.d.ts +6 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/updateRelatedListInfo/typeCheckConfig.d.ts +3 -0
- package/dist/es/es2018/types/src/raml-artifacts/getPicklistValues/index.d.ts +17 -0
- package/dist/es/es2018/types/src/raml-artifacts/resources/getUiApiListInfoByListViewApiNameAndObjectApiName/keyBuilder.d.ts +3 -0
- package/dist/es/es2018/types/src/raml-artifacts/resources/getUiApiRecordAvatarsBatchByRecordIds/ingestSuccess.d.ts +12 -0
- package/dist/es/es2018/types/src/raml-artifacts/resources/getUiApiRecordDefaultsTemplateCloneByRecordId/select.d.ts +2 -0
- package/dist/es/es2018/types/src/raml-artifacts/resources/getUiApiRecordsBatchByRecordIds/ingestSuccessChildResourceParams.d.ts +17 -0
- package/dist/es/es2018/types/src/raml-artifacts/resources/getUiApiRecordsBatchByRecordIds/selectChildResourceParams.d.ts +4 -0
- package/dist/es/es2018/types/src/raml-artifacts/resources/getUiApiRecordsByRecordId/createResourceRequest.d.ts +2 -0
- package/dist/es/es2018/types/src/raml-artifacts/resources/getUiApiRelatedListInfoBatchByParentObjectApiNameAndRelatedListNames/createChildResourceParams.d.ts +3 -0
- package/dist/es/es2018/types/src/raml-artifacts/resources/postGraphql/createResourceRequest.d.ts +5 -0
- package/dist/es/es2018/types/src/raml-artifacts/resources/postUiApiListRecordsByListViewApiNameAndObjectApiName/keyBuilder.d.ts +4 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/FieldValueRepresentation/ingest.d.ts +4 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/ListInfoRepresentation/keyBuilderFromType.d.ts +2 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/ListInfoRepresentation/notifyUpdateAvailableFactory.d.ts +3 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/ListRecordCollectionRepresentation/keyBuilderFromType.d.ts +2 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/PicklistValuesRepresentation/keyBuilderFromType.d.ts +2 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/QuickActionDefaultsRepresentation/dynamicIngest.d.ts +2 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/RecordAvatarBulkMapRepresentation/ingest.d.ts +2 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/RecordRepresentation/getTypeCacheKeys.d.ts +2 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/RecordRepresentation/ingest.d.ts +4 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/RecordRepresentation/keyBuilderFromType.d.ts +2 -0
- package/dist/es/es2018/types/src/selectors/record.d.ts +15 -0
- package/dist/es/es2018/types/src/sfdc-util/throttle.d.ts +15 -0
- package/dist/es/es2018/types/src/sfdc_graphql.d.ts +11 -0
- package/dist/es/es2018/types/src/sfdc_graphqlAdapters.d.ts +11 -0
- package/dist/es/es2018/types/src/sfdc_rest.d.ts +31 -0
- package/dist/es/es2018/types/src/storewatch.d.ts +7 -0
- package/dist/es/es2018/types/src/test-utils.d.ts +7 -0
- package/dist/es/es2018/types/src/uiapi-static-functions.d.ts +7 -0
- package/dist/es/es2018/types/src/util/cache-policy.d.ts +10 -0
- package/dist/es/es2018/types/src/util/fields.d.ts +31 -0
- package/dist/es/es2018/types/src/util/language.d.ts +42 -0
- package/dist/es/es2018/types/src/util/layout.d.ts +4 -0
- package/dist/es/es2018/types/src/util/layouts.d.ts +8 -0
- package/dist/es/es2018/types/src/util/lists.d.ts +88 -0
- package/dist/es/es2018/types/src/util/pagination.d.ts +26 -0
- package/dist/es/es2018/types/src/util/promise.d.ts +1 -0
- package/dist/es/es2018/types/src/util/record-ingest.d.ts +5 -0
- package/dist/es/es2018/types/src/util/record-ui.d.ts +4 -0
- package/dist/es/es2018/types/src/util/records.d.ts +120 -0
- package/dist/es/es2018/types/src/util/snapshot.d.ts +5 -0
- package/dist/es/es2018/types/src/util/store-utils.d.ts +9 -0
- package/dist/es/es2018/types/src/util/supported-entities.d.ts +18 -0
- package/dist/es/es2018/types/src/validation/utils.d.ts +29 -0
- package/dist/es/es2018/types/src/wire/createContentDocumentAndVersion/AdapterConfig.d.ts +5 -0
- package/dist/es/es2018/types/src/wire/createContentDocumentAndVersion/ResourceRequestConfig.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/createContentDocumentAndVersion/buildNetworkSnapshot.d.ts +8 -0
- package/dist/es/es2018/types/src/wire/createContentDocumentAndVersion/configurationTypes.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/createContentDocumentAndVersion/index.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/createContentDocumentAndVersion/validateAdapterConfig.d.ts +5 -0
- package/dist/es/es2018/types/src/wire/createContentVersion/AdapterConfig.d.ts +5 -0
- package/dist/es/es2018/types/src/wire/createContentVersion/ResourceRequestConfig.d.ts +7 -0
- package/dist/es/es2018/types/src/wire/createContentVersion/buildNetworkSnapshot.d.ts +9 -0
- package/dist/es/es2018/types/src/wire/createContentVersion/configurationTypes.d.ts +5 -0
- package/dist/es/es2018/types/src/wire/createContentVersion/index.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/createContentVersion/validateAdapterConfig.d.ts +5 -0
- package/dist/es/es2018/types/src/wire/createRecord/configurationTypes.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/createRecord/index.d.ts +5 -0
- package/dist/es/es2018/types/src/wire/deleteRecord/configurationTypes.d.ts +3 -0
- package/dist/es/es2018/types/src/wire/deleteRecord/index.d.ts +2 -0
- package/dist/es/es2018/types/src/wire/executeBatchRecordOperations/index.d.ts +17 -0
- package/dist/es/es2018/types/src/wire/executeBatchRecordOperations/postUiApiRecordsBatch.d.ts +43 -0
- package/dist/es/es2018/types/src/wire/getListInfosByName/createChildResourceParams.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/getListRecordsByName/index.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/getListUi/index.d.ts +12 -0
- package/dist/es/es2018/types/src/wire/getLookupRecords/index.d.ts +24 -0
- package/dist/es/es2018/types/src/wire/getMruListUi/index.d.ts +7 -0
- package/dist/es/es2018/types/src/wire/getRecord/GetRecordFields.d.ts +14 -0
- package/dist/es/es2018/types/src/wire/getRecord/GetRecordLayoutType.d.ts +18 -0
- package/dist/es/es2018/types/src/wire/getRecord/index.d.ts +5 -0
- package/dist/es/es2018/types/src/wire/getRecordCreateDefaults/index.d.ts +8 -0
- package/dist/es/es2018/types/src/wire/getRecordTemplateClone/index.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/getRecordTemplateCreate/index.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/getRecordUi/index.d.ts +14 -0
- package/dist/es/es2018/types/src/wire/getRecordUi/selectors.d.ts +10 -0
- package/dist/es/es2018/types/src/wire/getRecords/GetRecordsFields.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/getRelatedListRecordsBatch/createChildResourceParams.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/getRelatedListsActions/createChildResourceParams.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/graphql/configurationTypes.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/graphql/index.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/graphql/validateAdapterConfig.d.ts +3 -0
- package/dist/es/es2018/types/src/wire/graphqlBatch/configurationTypes.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/graphqlBatch/index.d.ts +26 -0
- package/dist/es/es2018/types/src/wire/graphqlBatch/postGraphqlBatch.d.ts +43 -0
- package/dist/es/es2018/types/src/wire/performQuickAction/configurationTypes.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/performQuickAction/index.d.ts +3 -0
- package/dist/es/es2018/types/src/wire/performUpdateRecordQuickAction/configurationTypes.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/performUpdateRecordQuickAction/index.d.ts +3 -0
- package/dist/es/es2018/types/src/wire/updateLayoutUserState/index.d.ts +5 -0
- package/dist/es/es2018/types/src/wire/updateRecord/configurationTypes.d.ts +4 -0
- package/dist/es/es2018/types/src/wire/updateRecord/index.d.ts +8 -0
- package/dist/es/es2018/types/src/wire/updateRecordAvatar/index.d.ts +3 -0
- package/dist/es/es2018/uiapi-records-service.js +64219 -0
- package/dist/komaci-mapping.json +384 -0
- package/package.json +134 -0
- package/sfdc/graphqlAdapters.d.ts +1 -0
- package/sfdc/graphqlAdapters.js +26261 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +39033 -0
- package/sfdc/uiapi-static-functions.js +559 -0
- package/src/raml/api.raml +8729 -0
- package/src/raml/luvio.raml +2018 -0
- package/src/raml/uiapi.graphql +1933 -0
|
@@ -0,0 +1,559 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2022, Salesforce, Inc.,
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
* For full license text, see the LICENSE.txt file
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
var SnapshotState;
|
|
8
|
+
(function (SnapshotState) {
|
|
9
|
+
SnapshotState["Fulfilled"] = "Fulfilled";
|
|
10
|
+
SnapshotState["Unfulfilled"] = "Unfulfilled";
|
|
11
|
+
SnapshotState["Error"] = "Error";
|
|
12
|
+
SnapshotState["Pending"] = "Pending";
|
|
13
|
+
SnapshotState["Stale"] = "Stale";
|
|
14
|
+
})(SnapshotState || (SnapshotState = {}));
|
|
15
|
+
|
|
16
|
+
Promise.resolve();
|
|
17
|
+
|
|
18
|
+
var StoreErrorStatus;
|
|
19
|
+
(function (StoreErrorStatus) {
|
|
20
|
+
StoreErrorStatus[StoreErrorStatus["RESOURCE_NOT_FOUND"] = 404] = "RESOURCE_NOT_FOUND";
|
|
21
|
+
})(StoreErrorStatus || (StoreErrorStatus = {}));
|
|
22
|
+
var StoreRecordType;
|
|
23
|
+
(function (StoreRecordType) {
|
|
24
|
+
StoreRecordType["Error"] = "error";
|
|
25
|
+
})(StoreRecordType || (StoreRecordType = {}));
|
|
26
|
+
var StoreLinkStateValues$1;
|
|
27
|
+
(function (StoreLinkStateValues) {
|
|
28
|
+
StoreLinkStateValues[StoreLinkStateValues["NotPresent"] = 0] = "NotPresent";
|
|
29
|
+
StoreLinkStateValues[StoreLinkStateValues["RefNotPresent"] = 1] = "RefNotPresent";
|
|
30
|
+
StoreLinkStateValues[StoreLinkStateValues["RefPresent"] = 2] = "RefPresent";
|
|
31
|
+
StoreLinkStateValues[StoreLinkStateValues["Null"] = 3] = "Null";
|
|
32
|
+
StoreLinkStateValues[StoreLinkStateValues["Missing"] = 4] = "Missing";
|
|
33
|
+
StoreLinkStateValues[StoreLinkStateValues["Pending"] = 5] = "Pending";
|
|
34
|
+
})(StoreLinkStateValues$1 || (StoreLinkStateValues$1 = {}));
|
|
35
|
+
var StoreResolveResultState;
|
|
36
|
+
(function (StoreResolveResultState) {
|
|
37
|
+
StoreResolveResultState[StoreResolveResultState["Found"] = 0] = "Found";
|
|
38
|
+
StoreResolveResultState[StoreResolveResultState["Error"] = 1] = "Error";
|
|
39
|
+
StoreResolveResultState[StoreResolveResultState["Null"] = 2] = "Null";
|
|
40
|
+
StoreResolveResultState[StoreResolveResultState["NotPresent"] = 3] = "NotPresent";
|
|
41
|
+
StoreResolveResultState[StoreResolveResultState["Stale"] = 4] = "Stale";
|
|
42
|
+
})(StoreResolveResultState || (StoreResolveResultState = {}));
|
|
43
|
+
var HttpStatusCode;
|
|
44
|
+
(function (HttpStatusCode) {
|
|
45
|
+
HttpStatusCode[HttpStatusCode["Ok"] = 200] = "Ok";
|
|
46
|
+
HttpStatusCode[HttpStatusCode["Created"] = 201] = "Created";
|
|
47
|
+
HttpStatusCode[HttpStatusCode["NoContent"] = 204] = "NoContent";
|
|
48
|
+
HttpStatusCode[HttpStatusCode["NotModified"] = 304] = "NotModified";
|
|
49
|
+
HttpStatusCode[HttpStatusCode["BadRequest"] = 400] = "BadRequest";
|
|
50
|
+
HttpStatusCode[HttpStatusCode["Unauthorized"] = 401] = "Unauthorized";
|
|
51
|
+
HttpStatusCode[HttpStatusCode["Forbidden"] = 403] = "Forbidden";
|
|
52
|
+
HttpStatusCode[HttpStatusCode["NotFound"] = 404] = "NotFound";
|
|
53
|
+
HttpStatusCode[HttpStatusCode["ServerError"] = 500] = "ServerError";
|
|
54
|
+
HttpStatusCode[HttpStatusCode["GatewayTimeout"] = 504] = "GatewayTimeout";
|
|
55
|
+
})(HttpStatusCode || (HttpStatusCode = {}));
|
|
56
|
+
var GraphNodeType;
|
|
57
|
+
(function (GraphNodeType) {
|
|
58
|
+
GraphNodeType["Link"] = "Link";
|
|
59
|
+
GraphNodeType["Node"] = "Node";
|
|
60
|
+
GraphNodeType["Error"] = "Error";
|
|
61
|
+
GraphNodeType["Locked"] = "Locked";
|
|
62
|
+
})(GraphNodeType || (GraphNodeType = {}));
|
|
63
|
+
|
|
64
|
+
var StoreLinkStateValues;
|
|
65
|
+
(function (StoreLinkStateValues) {
|
|
66
|
+
StoreLinkStateValues[StoreLinkStateValues["NotPresent"] = 0] = "NotPresent";
|
|
67
|
+
StoreLinkStateValues[StoreLinkStateValues["RefNotPresent"] = 1] = "RefNotPresent";
|
|
68
|
+
StoreLinkStateValues[StoreLinkStateValues["RefPresent"] = 2] = "RefPresent";
|
|
69
|
+
StoreLinkStateValues[StoreLinkStateValues["Null"] = 3] = "Null";
|
|
70
|
+
StoreLinkStateValues[StoreLinkStateValues["Missing"] = 4] = "Missing";
|
|
71
|
+
StoreLinkStateValues[StoreLinkStateValues["Pending"] = 5] = "Pending";
|
|
72
|
+
})(StoreLinkStateValues || (StoreLinkStateValues = {}));
|
|
73
|
+
var FragmentReadResultState;
|
|
74
|
+
(function (FragmentReadResultState) {
|
|
75
|
+
FragmentReadResultState[FragmentReadResultState["Missing"] = 0] = "Missing";
|
|
76
|
+
FragmentReadResultState[FragmentReadResultState["Success"] = 1] = "Success";
|
|
77
|
+
FragmentReadResultState[FragmentReadResultState["Error"] = 2] = "Error";
|
|
78
|
+
})(FragmentReadResultState || (FragmentReadResultState = {}));
|
|
79
|
+
({
|
|
80
|
+
state: FragmentReadResultState.Missing,
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
var ResourceParamType;
|
|
84
|
+
(function (ResourceParamType) {
|
|
85
|
+
ResourceParamType[ResourceParamType["UrlParameter"] = 0] = "UrlParameter";
|
|
86
|
+
ResourceParamType[ResourceParamType["QueryParameter"] = 1] = "QueryParameter";
|
|
87
|
+
ResourceParamType[ResourceParamType["Body"] = 2] = "Body";
|
|
88
|
+
ResourceParamType[ResourceParamType["Header"] = 3] = "Header";
|
|
89
|
+
})(ResourceParamType || (ResourceParamType = {}));
|
|
90
|
+
var TypeCheckShapes;
|
|
91
|
+
(function (TypeCheckShapes) {
|
|
92
|
+
TypeCheckShapes[TypeCheckShapes["String"] = 0] = "String";
|
|
93
|
+
TypeCheckShapes[TypeCheckShapes["Boolean"] = 1] = "Boolean";
|
|
94
|
+
TypeCheckShapes[TypeCheckShapes["Number"] = 2] = "Number";
|
|
95
|
+
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
96
|
+
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
97
|
+
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
98
|
+
// engine version: 0.158.7-bafe2646
|
|
99
|
+
|
|
100
|
+
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
101
|
+
|
|
102
|
+
const { assign, create, freeze, isFrozen, keys } = Object;
|
|
103
|
+
|
|
104
|
+
function isString(value) {
|
|
105
|
+
return typeof value === 'string';
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
function isFieldId(unknown) {
|
|
109
|
+
if (typeof unknown !== 'object' || unknown === null) {
|
|
110
|
+
return false;
|
|
111
|
+
}
|
|
112
|
+
const value = unknown;
|
|
113
|
+
return isString(value.objectApiName) && isString(value.fieldApiName);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Split the object API name and field API name from a qualified field name.
|
|
117
|
+
* Eg: Opportunity.Title returns ['Opportunity', 'Title']
|
|
118
|
+
* Eg: Opportunity.Account.Name returns ['Opportunity', 'Account.Name']
|
|
119
|
+
* @param fieldApiName The qualified field name.
|
|
120
|
+
* @return The object and field API names.
|
|
121
|
+
*/
|
|
122
|
+
function splitQualifiedFieldApiName(fieldApiName) {
|
|
123
|
+
const idx = fieldApiName.indexOf('.');
|
|
124
|
+
if (idx < 1) {
|
|
125
|
+
// object api name must non-empty
|
|
126
|
+
throw new TypeError('Value does not include an object API name.');
|
|
127
|
+
}
|
|
128
|
+
return [fieldApiName.substring(0, idx), fieldApiName.substring(idx + 1)];
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Returns the field API name, qualified with an object name if possible.
|
|
133
|
+
* @param value The value from which to get the qualified field API name.
|
|
134
|
+
* @param onlyQualifiedFieldNames - Whether or not this function should skip fieldApiName that do not include the delimiter '.'
|
|
135
|
+
* @return The qualified field API name.
|
|
136
|
+
*/
|
|
137
|
+
function getFieldApiName(value, onlyQualifiedFieldNames = false) {
|
|
138
|
+
// Note: tightening validation logic changes behavior from userland getting
|
|
139
|
+
// a server-provided error to the adapter noop'ing. In 224 we decided to not
|
|
140
|
+
// change the behavior. In 250 we decided to add the 'onlyQualifiedFieldName' flag to tighten the logic
|
|
141
|
+
// optionally to avoid issues with persisted invalid field names.
|
|
142
|
+
if (isString(value)) {
|
|
143
|
+
const trimmed = value.trim();
|
|
144
|
+
if (trimmed.length > 0 && (onlyQualifiedFieldNames ? trimmed.indexOf('.') > -1 : true)) {
|
|
145
|
+
return trimmed;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
else if (isFieldId(value)) {
|
|
149
|
+
return value.objectApiName + '.' + value.fieldApiName;
|
|
150
|
+
}
|
|
151
|
+
return undefined;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Defines configuration for the module with a default value which can be overridden by the runtime environment.
|
|
156
|
+
*/
|
|
157
|
+
// A holder for a configurable adapter override
|
|
158
|
+
class Configurable {
|
|
159
|
+
constructor() {
|
|
160
|
+
this.getAdapter = () => {
|
|
161
|
+
return this.adapter;
|
|
162
|
+
};
|
|
163
|
+
this.setAdapter = (value) => {
|
|
164
|
+
this.adapter = value;
|
|
165
|
+
};
|
|
166
|
+
this.adapter = undefined;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
// Configurable adapters that can have environmental overrides
|
|
170
|
+
let configurableCreateRecordAdapter = new Configurable();
|
|
171
|
+
let configurableUpdateRecordAdapter = new Configurable();
|
|
172
|
+
let configurableDeleteRecordAdapter = new Configurable();
|
|
173
|
+
let configurablePerformQuickActionAdapter = new Configurable();
|
|
174
|
+
let configurablePerformUpdateRecordQuickActionAdapter = new Configurable();
|
|
175
|
+
let configurableCreateContentDocumentAndVersion = new Configurable();
|
|
176
|
+
let configurableCreateContentVersion = new Configurable();
|
|
177
|
+
/**
|
|
178
|
+
* Depth to which tracked fields will be added to a request that results from a cache miss.
|
|
179
|
+
* A value of 0 inhibits the addition of tracked fields, 1 will add tracked fields that can
|
|
180
|
+
* be reached by following 1 relationship from the root record, etc.
|
|
181
|
+
* @defaultValue '5', replicates the current behavior
|
|
182
|
+
*/
|
|
183
|
+
let trackedFieldDepthOnCacheMiss = 5;
|
|
184
|
+
/**
|
|
185
|
+
* Depth to which tracked fields will be added to a request that results from a merge conflict
|
|
186
|
+
* A value of 0 inhibits the addition of tracked fields, 1 will add tracked fields that can
|
|
187
|
+
* be reached by following 1 relationship from the root record, etc.
|
|
188
|
+
* @defaultValue '5', replicates the current behavior
|
|
189
|
+
*/
|
|
190
|
+
let trackedFieldDepthOnCacheMergeConflict = 5;
|
|
191
|
+
/**
|
|
192
|
+
* Depth to which tracked fields will be added to a request that results from a notify change invocation by the consumer
|
|
193
|
+
* A value of 0 inhibits the addition of tracked fields, 1 will add tracked fields that can
|
|
194
|
+
* be reached by following 1 relationship from the root record, etc.
|
|
195
|
+
* @defaultValue '5', replicates the current behavior
|
|
196
|
+
*/
|
|
197
|
+
let trackedFieldDepthOnNotifyChange = 5;
|
|
198
|
+
/**
|
|
199
|
+
* Determines if we will only fetch the 'Id' field for the leaf relationship record
|
|
200
|
+
* @defaultValue 'false', replicates the current behavior and fetches all fields in the store for the leaf relationship record
|
|
201
|
+
*/
|
|
202
|
+
let trackedFieldLeafNodeIdAndNameOnly = false;
|
|
203
|
+
/**
|
|
204
|
+
* One store enabled Get Object Info adapter
|
|
205
|
+
*/
|
|
206
|
+
let oneStoreGetObjectInfoAdapter = undefined;
|
|
207
|
+
/**
|
|
208
|
+
* One store enabled Get Object Infos adapter
|
|
209
|
+
*/
|
|
210
|
+
let oneStoreGetObjectInfosAdapter = undefined;
|
|
211
|
+
/**
|
|
212
|
+
* Determines when to include PDL strategies for Related Lists
|
|
213
|
+
*/
|
|
214
|
+
let relatedListsPredictionsEnabled = false;
|
|
215
|
+
/**
|
|
216
|
+
* Determines whether to include additional PDL strategies for Related Lists
|
|
217
|
+
*/
|
|
218
|
+
let relatedListsPlusPredictionsEnabled = false;
|
|
219
|
+
let recordRepresentationIngestionOverride = undefined;
|
|
220
|
+
/**
|
|
221
|
+
* Defines the configuration API and is exposed internally as well as externally.
|
|
222
|
+
* Configuration for one store enabled REST adapters only.
|
|
223
|
+
*/
|
|
224
|
+
const configurationForOneStoreEnabledAdapters = {
|
|
225
|
+
setGetObjectInfoAdapter: function (adapter) {
|
|
226
|
+
oneStoreGetObjectInfoAdapter = adapter;
|
|
227
|
+
},
|
|
228
|
+
getGetObjectInfoAdapter: function () {
|
|
229
|
+
return oneStoreGetObjectInfoAdapter;
|
|
230
|
+
},
|
|
231
|
+
setGetObjectInfosAdapter: function (adapter) {
|
|
232
|
+
oneStoreGetObjectInfosAdapter = adapter;
|
|
233
|
+
},
|
|
234
|
+
getGetObjectInfosAdapter: function () {
|
|
235
|
+
return oneStoreGetObjectInfosAdapter;
|
|
236
|
+
},
|
|
237
|
+
};
|
|
238
|
+
const getKeywordSearchResultsFactory = new Configurable();
|
|
239
|
+
const getListRecordsByNameFactory = new Configurable();
|
|
240
|
+
const getListUiFactory = new Configurable();
|
|
241
|
+
const getLookupRecordsFactory = new Configurable();
|
|
242
|
+
const getQuickActionDefaultsFactory = new Configurable();
|
|
243
|
+
const getRecordCreateDefaultsFactory = new Configurable();
|
|
244
|
+
const getRecordTemplateCloneFactory = new Configurable();
|
|
245
|
+
const getRecordTemplateCreateFactory = new Configurable();
|
|
246
|
+
const getRecordUiFactory = new Configurable();
|
|
247
|
+
const getRecordFactory = new Configurable();
|
|
248
|
+
const getRecordsFactory = new Configurable();
|
|
249
|
+
const getRelatedListRecordsFactory = new Configurable();
|
|
250
|
+
const getRelatedListRecordsBatchFactory = new Configurable();
|
|
251
|
+
const getSearchResultsFactory = new Configurable();
|
|
252
|
+
// The following set of adapters all touch RecordRepresentation directly or indirectly,
|
|
253
|
+
// so they need to support having a custom factory provided by the mobile environment.
|
|
254
|
+
const configurationForEnvironmentFactoryOverrides = {
|
|
255
|
+
getKeywordSearchResultsAdapterFactory: getKeywordSearchResultsFactory.getAdapter,
|
|
256
|
+
setGetKeywordSearchResultsAdapterFactory: getKeywordSearchResultsFactory.setAdapter,
|
|
257
|
+
getListRecordsByNameAdapterFactory: getListRecordsByNameFactory.getAdapter,
|
|
258
|
+
setGetListRecordsByNameAdapterFactory: getListRecordsByNameFactory.setAdapter,
|
|
259
|
+
getListUiAdapterFactory: getListUiFactory.getAdapter,
|
|
260
|
+
setGetListUiAdapterFactory: getListUiFactory.setAdapter,
|
|
261
|
+
getLookupRecordsAdapterFactory: getLookupRecordsFactory.getAdapter,
|
|
262
|
+
setGetLookupRecordsAdapterFactory: getLookupRecordsFactory.setAdapter,
|
|
263
|
+
getQuickActionDefaultsAdapterFactory: getQuickActionDefaultsFactory.getAdapter,
|
|
264
|
+
setGetQuickActionDefaultsAdapterFactory: getQuickActionDefaultsFactory.setAdapter,
|
|
265
|
+
getRecordCreateDefaultsAdapterFactory: getRecordCreateDefaultsFactory.getAdapter,
|
|
266
|
+
setGetRecordCreateDefaultsAdapterFactory: getRecordCreateDefaultsFactory.setAdapter,
|
|
267
|
+
getRecordTemplateCloneAdapterFactory: getRecordTemplateCloneFactory.getAdapter,
|
|
268
|
+
setGetRecordTemplateCloneAdapterFactory: getRecordTemplateCloneFactory.setAdapter,
|
|
269
|
+
getRecordTemplateCreateAdapterFactory: getRecordTemplateCreateFactory.getAdapter,
|
|
270
|
+
setGetRecordTemplateCreateAdapterFactory: getRecordTemplateCreateFactory.setAdapter,
|
|
271
|
+
getRecordUiAdapterFactory: getRecordUiFactory.getAdapter,
|
|
272
|
+
setGetRecordUiAdapterFactory: getRecordUiFactory.setAdapter,
|
|
273
|
+
getRecordAdapterFactory: getRecordFactory.getAdapter,
|
|
274
|
+
setGetRecordAdapterFactory: getRecordFactory.setAdapter,
|
|
275
|
+
getRecordsAdapterFactory: getRecordsFactory.getAdapter,
|
|
276
|
+
setGetRecordsAdapterFactory: getRecordsFactory.setAdapter,
|
|
277
|
+
getRelatedListRecordsAdapterFactory: getRelatedListRecordsFactory.getAdapter,
|
|
278
|
+
setGetRelatedListRecordsAdapterFactory: getRelatedListRecordsFactory.setAdapter,
|
|
279
|
+
getRelatedListRecordsBatchAdapterFactory: getRelatedListRecordsBatchFactory.getAdapter,
|
|
280
|
+
setGetRelatedListRecordsBatchAdapterFactory: getRelatedListRecordsBatchFactory.setAdapter,
|
|
281
|
+
getSearchResultsAdapterFactory: getSearchResultsFactory.getAdapter,
|
|
282
|
+
setGetSearchResultsAdapterFactory: getSearchResultsFactory.setAdapter,
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* Defines the configuration API and is exposed internally as well as externally.
|
|
286
|
+
* Configuration for REST adapters only.
|
|
287
|
+
*/
|
|
288
|
+
({
|
|
289
|
+
setTrackedFieldDepthOnCacheMiss: function (trackedFieldDepthOnCacheMissParam) {
|
|
290
|
+
trackedFieldDepthOnCacheMiss = trackedFieldDepthOnCacheMissParam;
|
|
291
|
+
},
|
|
292
|
+
getTrackedFieldDepthOnCacheMiss: function () {
|
|
293
|
+
return trackedFieldDepthOnCacheMiss;
|
|
294
|
+
},
|
|
295
|
+
setTrackedFieldDepthOnCacheMergeConflict: function (trackedFieldDepthOnCacheMergeConflictParam) {
|
|
296
|
+
trackedFieldDepthOnCacheMergeConflict = trackedFieldDepthOnCacheMergeConflictParam;
|
|
297
|
+
},
|
|
298
|
+
getTrackedFieldDepthOnCacheMergeConflict: function () {
|
|
299
|
+
return trackedFieldDepthOnCacheMergeConflict;
|
|
300
|
+
},
|
|
301
|
+
setTrackedFieldDepthOnNotifyChange: function (trackedFieldDepthOnNotifyChangeParam) {
|
|
302
|
+
trackedFieldDepthOnNotifyChange = trackedFieldDepthOnNotifyChangeParam;
|
|
303
|
+
},
|
|
304
|
+
getTrackedFieldDepthOnNotifyChange: function () {
|
|
305
|
+
return trackedFieldDepthOnNotifyChange;
|
|
306
|
+
},
|
|
307
|
+
setTrackedFieldLeafNodeIdAndNameOnly: function (trackedFieldLeafNodeIdAndNameOnlyParam) {
|
|
308
|
+
trackedFieldLeafNodeIdAndNameOnly = trackedFieldLeafNodeIdAndNameOnlyParam;
|
|
309
|
+
},
|
|
310
|
+
getTrackedFieldLeafNodeIdAndNameOnly: function () {
|
|
311
|
+
return trackedFieldLeafNodeIdAndNameOnly;
|
|
312
|
+
},
|
|
313
|
+
setRelatedListsPredictionsEnabled: function (f) {
|
|
314
|
+
relatedListsPredictionsEnabled = f;
|
|
315
|
+
},
|
|
316
|
+
areRelatedListsPredictionsEnabled: function () {
|
|
317
|
+
return relatedListsPredictionsEnabled === true;
|
|
318
|
+
},
|
|
319
|
+
setRelatedListsPlusPredictionsEnabled: function (f) {
|
|
320
|
+
relatedListsPlusPredictionsEnabled = f;
|
|
321
|
+
},
|
|
322
|
+
areRelatedListsPlusPredictionsEnabled: function () {
|
|
323
|
+
return relatedListsPlusPredictionsEnabled === true;
|
|
324
|
+
},
|
|
325
|
+
setRecordRepresentationIngestionOverride: function (ingest) {
|
|
326
|
+
recordRepresentationIngestionOverride = ingest;
|
|
327
|
+
},
|
|
328
|
+
getRecordRepresentationIngestionOverride: function () {
|
|
329
|
+
return recordRepresentationIngestionOverride;
|
|
330
|
+
},
|
|
331
|
+
// createRecord
|
|
332
|
+
getDraftAwareCreateRecordAdapter: configurableCreateRecordAdapter.getAdapter,
|
|
333
|
+
setDraftAwareCreateRecordAdapter: configurableCreateRecordAdapter.setAdapter,
|
|
334
|
+
// updateRecord
|
|
335
|
+
getDraftAwareUpdateRecordAdapter: configurableUpdateRecordAdapter.getAdapter,
|
|
336
|
+
setDraftAwareUpdateRecordAdapter: configurableUpdateRecordAdapter.setAdapter,
|
|
337
|
+
// deleteRecord
|
|
338
|
+
getDraftAwareDeleteRecordAdapter: configurableDeleteRecordAdapter.getAdapter,
|
|
339
|
+
setDraftAwareDeleteRecordAdapter: configurableDeleteRecordAdapter.setAdapter,
|
|
340
|
+
// performQuickAction
|
|
341
|
+
getDraftAwarePerformQuickActionAdapter: configurablePerformQuickActionAdapter.getAdapter,
|
|
342
|
+
setDraftAwarePerformQuickActionAdapter: configurablePerformQuickActionAdapter.setAdapter,
|
|
343
|
+
// performRecordUpdateQuickAction
|
|
344
|
+
getDraftAwarePerformUpdateRecordQuickActionAdapter: configurablePerformUpdateRecordQuickActionAdapter.getAdapter,
|
|
345
|
+
setDraftAwarePerformUpdateRecordQuickActionAdapter: configurablePerformUpdateRecordQuickActionAdapter.setAdapter,
|
|
346
|
+
// createContentDocumentAndVersion
|
|
347
|
+
getDraftAwareCreateContentDocumentAndVersionAdapter: configurableCreateContentDocumentAndVersion.getAdapter,
|
|
348
|
+
setDraftAwareCreateContentDocumentAndVersionAdapter: configurableCreateContentDocumentAndVersion.setAdapter,
|
|
349
|
+
// createContentVersion
|
|
350
|
+
getDraftAwareCreateContentVersionAdapter: configurableCreateContentVersion.getAdapter,
|
|
351
|
+
setDraftAwareCreateContentVersionAdapter: configurableCreateContentVersion.setAdapter,
|
|
352
|
+
...configurationForOneStoreEnabledAdapters,
|
|
353
|
+
...configurationForEnvironmentFactoryOverrides,
|
|
354
|
+
});
|
|
355
|
+
let configurableGraphQLAdapter = new Configurable();
|
|
356
|
+
let configurableGraphQLBatchAdapter = new Configurable();
|
|
357
|
+
/**
|
|
358
|
+
* Defines the configuration API and is exposed internally as well as externally.
|
|
359
|
+
* Configuration for GraphQL adapters only.
|
|
360
|
+
*/
|
|
361
|
+
({
|
|
362
|
+
getDraftAwareGraphQLAdapter: configurableGraphQLAdapter.getAdapter,
|
|
363
|
+
setDraftAwareGraphQLAdapter: configurableGraphQLAdapter.setAdapter,
|
|
364
|
+
getEnvironmentAwareGraphQLBatchAdapter: configurableGraphQLBatchAdapter.getAdapter,
|
|
365
|
+
setEnvironmentAwareGraphQLBatchAdapter: configurableGraphQLBatchAdapter.setAdapter,
|
|
366
|
+
});
|
|
367
|
+
|
|
368
|
+
ObjectCreate(null);
|
|
369
|
+
|
|
370
|
+
ObjectCreate(null);
|
|
371
|
+
|
|
372
|
+
freeze({
|
|
373
|
+
name: '',
|
|
374
|
+
children: {},
|
|
375
|
+
});
|
|
376
|
+
/**
|
|
377
|
+
* Returns a new object that has a list of fields that has been filtered by
|
|
378
|
+
* edited fields. Only contains fields that have been edited from their original
|
|
379
|
+
* values (excluding Id which is always copied over).
|
|
380
|
+
* @param input The RecordInputRepresentation object to filter.
|
|
381
|
+
* @param original The Record object that contains the original field values.
|
|
382
|
+
* @returns RecordInputRepresentation, see the description
|
|
383
|
+
*/
|
|
384
|
+
function createRecordInputFilteredByEditedFields(input, original) {
|
|
385
|
+
const filteredRecordInput = getRecordInput();
|
|
386
|
+
// Always copy over any existing id.
|
|
387
|
+
if (original.id) {
|
|
388
|
+
filteredRecordInput.fields.Id = original.id;
|
|
389
|
+
}
|
|
390
|
+
const recordInputFields = input.fields;
|
|
391
|
+
const originalRecordFields = original.fields;
|
|
392
|
+
const recordInputFieldPropertyNames = keys(recordInputFields);
|
|
393
|
+
for (let i = 0, len = recordInputFieldPropertyNames.length; i < len; i++) {
|
|
394
|
+
const fieldName = recordInputFieldPropertyNames[i];
|
|
395
|
+
let originalRecordFieldsEntry;
|
|
396
|
+
if (originalRecordFields) {
|
|
397
|
+
originalRecordFieldsEntry = originalRecordFields[fieldName];
|
|
398
|
+
}
|
|
399
|
+
if (!originalRecordFieldsEntry ||
|
|
400
|
+
(originalRecordFields &&
|
|
401
|
+
recordInputFields[fieldName] !== originalRecordFieldsEntry.value)) {
|
|
402
|
+
filteredRecordInput.fields[fieldName] = recordInputFields[fieldName];
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
return filteredRecordInput;
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* Returns an object with its data populated from the given record. All fields
|
|
409
|
+
* with values that aren't nested records will be assigned. This object can be
|
|
410
|
+
* used to create a record.
|
|
411
|
+
* @param record The record that contains the source data.
|
|
412
|
+
* @param objectInfo The ObjectInfo corresponding to the apiName on the record.
|
|
413
|
+
* If provided, only fields that are createable=true (excluding Id) will
|
|
414
|
+
* be assigned to the object return value.
|
|
415
|
+
* @returns RecordInputRepresentation See description.
|
|
416
|
+
*/
|
|
417
|
+
function generateRecordInputForCreate(record, objectInfo) {
|
|
418
|
+
const recordInput = _generateRecordInput(record, (field) => field.createable === true, objectInfo);
|
|
419
|
+
recordInput.apiName = record.apiName;
|
|
420
|
+
// fields.Id is not required for CREATE which might have been copied over,
|
|
421
|
+
// so delete fields.Id
|
|
422
|
+
delete recordInput.fields.Id;
|
|
423
|
+
return recordInput;
|
|
424
|
+
}
|
|
425
|
+
/**
|
|
426
|
+
* Returns an object with its data populated from the given record. All fields
|
|
427
|
+
* with values that aren't nested records will be assigned. This object can be
|
|
428
|
+
* used to update a record.
|
|
429
|
+
* @param record The record that contains the source data.
|
|
430
|
+
* @param objectInfo The ObjectInfo corresponding to the apiName on the record.
|
|
431
|
+
* If provided, only fields that are updateable=true (excluding Id) will
|
|
432
|
+
* be assigned to the object return value.
|
|
433
|
+
* @returns RecordInputRepresentation See description.
|
|
434
|
+
*/
|
|
435
|
+
function generateRecordInputForUpdate(record, objectInfo) {
|
|
436
|
+
const recordInput = _generateRecordInput(record, (field) => field.updateable === true, objectInfo);
|
|
437
|
+
if (!record.id) {
|
|
438
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
439
|
+
throw new Error('record must have id for update');
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
// Always copy over any existing id.
|
|
443
|
+
recordInput.fields.Id = record.id;
|
|
444
|
+
return recordInput;
|
|
445
|
+
}
|
|
446
|
+
function isRecordInputFieldValue(unknown) {
|
|
447
|
+
const type = typeof unknown;
|
|
448
|
+
return unknown === null || type === 'string' || type === 'number' || type === 'boolean';
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
* Returns an object with its data populated from the given record. All fields
|
|
452
|
+
* with values that aren't nested records will be assigned.
|
|
453
|
+
* @param record The record that contains the source data.
|
|
454
|
+
* @param copyFieldPredicate predicate to determine if a field should be copied.
|
|
455
|
+
* Required if "objectInfo" parameter is passed.
|
|
456
|
+
* @param objectInfo The ObjectInfo corresponding to the apiName on the record.
|
|
457
|
+
* If provided, only fields that match the copyFieldPredicate (excluding
|
|
458
|
+
* Id) will be assigned to the object return value.
|
|
459
|
+
* @returns RecordInputRepresentation
|
|
460
|
+
*/
|
|
461
|
+
function _generateRecordInput(record, copyFieldPredicate, objectInfo) {
|
|
462
|
+
const recordInput = getRecordInput();
|
|
463
|
+
const recordFields = record.fields;
|
|
464
|
+
let objectInfoFields;
|
|
465
|
+
if (objectInfo) {
|
|
466
|
+
objectInfoFields = objectInfo.fields;
|
|
467
|
+
}
|
|
468
|
+
const recordFieldPropertyNames = keys(recordFields);
|
|
469
|
+
for (let i = 0, len = recordFieldPropertyNames.length; i < len; i++) {
|
|
470
|
+
const fieldName = recordFieldPropertyNames[i];
|
|
471
|
+
const recordFieldsFieldNameEntry = recordFields[fieldName].value;
|
|
472
|
+
if (isRecordInputFieldValue(recordFieldsFieldNameEntry)) {
|
|
473
|
+
if (objectInfoFields && copyFieldPredicate) {
|
|
474
|
+
const objectInfoFieldsFieldNameValue = objectInfoFields[fieldName];
|
|
475
|
+
if (objectInfoFieldsFieldNameValue &&
|
|
476
|
+
copyFieldPredicate(objectInfoFieldsFieldNameValue)) {
|
|
477
|
+
recordInput.fields[fieldName] = recordFieldsFieldNameEntry;
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
else {
|
|
481
|
+
recordInput.fields[fieldName] = recordFieldsFieldNameEntry;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
return recordInput;
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* Gets a new Record Input.
|
|
489
|
+
*/
|
|
490
|
+
function getRecordInput() {
|
|
491
|
+
return {
|
|
492
|
+
apiName: undefined,
|
|
493
|
+
fields: {},
|
|
494
|
+
};
|
|
495
|
+
}
|
|
496
|
+
/**
|
|
497
|
+
* Gets a field's value from a record.
|
|
498
|
+
* @param record The record.
|
|
499
|
+
* @param field The qualified API name of the field to return.
|
|
500
|
+
* @returns The field's value (which may be a record in the case of spanning
|
|
501
|
+
* fields), or undefined if the field isn't found.
|
|
502
|
+
*/
|
|
503
|
+
function getFieldValue(record, field) {
|
|
504
|
+
const fieldValueRepresentation = getField(record, field);
|
|
505
|
+
if (fieldValueRepresentation === undefined) {
|
|
506
|
+
return undefined;
|
|
507
|
+
}
|
|
508
|
+
if (isFieldValueRepresentation(fieldValueRepresentation)) {
|
|
509
|
+
return fieldValueRepresentation.value;
|
|
510
|
+
}
|
|
511
|
+
return fieldValueRepresentation;
|
|
512
|
+
}
|
|
513
|
+
/**
|
|
514
|
+
* Gets a field's display value from a record.
|
|
515
|
+
* @param record The record.
|
|
516
|
+
* @param field The qualified API name of the field to return.
|
|
517
|
+
* @returns The field's display value, or undefined if the field isn't found.
|
|
518
|
+
*/
|
|
519
|
+
function getFieldDisplayValue(record, field) {
|
|
520
|
+
const fieldValueRepresentation = getField(record, field);
|
|
521
|
+
if (fieldValueRepresentation === undefined) {
|
|
522
|
+
return undefined;
|
|
523
|
+
}
|
|
524
|
+
if (isFieldValueRepresentation(fieldValueRepresentation)) {
|
|
525
|
+
return fieldValueRepresentation.displayValue;
|
|
526
|
+
}
|
|
527
|
+
return fieldValueRepresentation;
|
|
528
|
+
}
|
|
529
|
+
function isFieldValueRepresentation(unknown) {
|
|
530
|
+
if (typeof unknown !== 'object' || unknown === null) {
|
|
531
|
+
return false;
|
|
532
|
+
}
|
|
533
|
+
return 'value' in unknown && 'displayValue' in unknown;
|
|
534
|
+
}
|
|
535
|
+
function getField(record, field) {
|
|
536
|
+
const fieldApiName = getFieldApiName(field);
|
|
537
|
+
if (fieldApiName === undefined) {
|
|
538
|
+
return undefined;
|
|
539
|
+
}
|
|
540
|
+
const unqualifiedField = splitQualifiedFieldApiName(fieldApiName)[1];
|
|
541
|
+
const fields = unqualifiedField.split('.');
|
|
542
|
+
let r = record;
|
|
543
|
+
while (r && r.fields) {
|
|
544
|
+
const f = fields.shift();
|
|
545
|
+
const fvr = r.fields[f];
|
|
546
|
+
if (fvr === undefined) {
|
|
547
|
+
return undefined;
|
|
548
|
+
}
|
|
549
|
+
else if (fields.length > 0) {
|
|
550
|
+
r = fvr.value;
|
|
551
|
+
}
|
|
552
|
+
else {
|
|
553
|
+
return fvr;
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
return r;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
export { createRecordInputFilteredByEditedFields, generateRecordInputForCreate, generateRecordInputForUpdate, getFieldDisplayValue, getFieldValue, getRecordInput };
|