@osdk/client.unstable 2.8.0-beta.15 → 2.8.0-beta.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/build/cjs/index.d.cts +170 -5
  3. package/build/types/generated/ontology-metadata/api/__components.d.ts +167 -4
  4. package/build/types/generated/ontology-metadata/api/__components.d.ts.map +1 -1
  5. package/build/types/generated/ontology-metadata/api/blockdata/__components.d.ts +1 -0
  6. package/build/types/generated/ontology-metadata/api/blockdata/__components.d.ts.map +1 -1
  7. package/build/types/generated/ontology-metadata/api/index.d.ts +1 -1
  8. package/build/types/generated/ontology-metadata/api/index.d.ts.map +1 -1
  9. package/build/types/generated/ontology-metadata/api/modification/__components.d.ts +16 -2
  10. package/build/types/generated/ontology-metadata/api/modification/__components.d.ts.map +1 -1
  11. package/build/types/generated/ontology-metadata/api/modification/index.d.ts +1 -1
  12. package/build/types/generated/ontology-metadata/api/modification/index.d.ts.map +1 -1
  13. package/build/types/generated/ontology-metadata/api/validation/__components.d.ts +27 -1
  14. package/build/types/generated/ontology-metadata/api/validation/__components.d.ts.map +1 -1
  15. package/build/types/generated/ontology-metadata/api/validation/index.d.ts +1 -1
  16. package/build/types/generated/ontology-metadata/api/validation/index.d.ts.map +1 -1
  17. package/build/types/generated/ontology-metadata/branch/api/__components.d.ts +25 -2
  18. package/build/types/generated/ontology-metadata/branch/api/__components.d.ts.map +1 -1
  19. package/build/types/generated/ontology-metadata/branch/api/index.d.ts +1 -1
  20. package/build/types/generated/ontology-metadata/branch/api/index.d.ts.map +1 -1
  21. package/package.json +1 -1
@@ -38,6 +38,18 @@ export type ActionApplyClientPreferences = ActionApplyClientPreferences_disallow
38
38
  export interface ActionApplyDisallowedClients {
39
39
  disallowedFrontendConsumer: Array<ActionTypeFrontendConsumer>;
40
40
  }
41
+ /**
42
+ * Contains the definition for platform effects that are executed as part of running an Action.
43
+ */
44
+ export interface ActionEffects {
45
+ synchronousPreWritebackEffect?: SynchronousPreWritebackEffect | null | undefined;
46
+ }
47
+ /**
48
+ * See ActionEffects docs.
49
+ */
50
+ export interface ActionEffectsModification {
51
+ synchronousPreWritebackEffect?: SynchronousPreWritebackEffectModification | null | undefined;
52
+ }
41
53
  export interface ActionLogConfiguration {
42
54
  actionLogSummary: Array<ActionLogSummaryPart>;
43
55
  }
@@ -516,6 +528,7 @@ export interface ActionTypeCreate {
516
528
  apiName: ActionTypeApiName;
517
529
  branchSettings?: ActionTypeBranchSettingsModification | null | undefined;
518
530
  displayMetadata: ActionTypeDisplayMetadataModification;
531
+ effects?: ActionEffectsModification | null | undefined;
519
532
  formContentOrdering: Array<FormContent>;
520
533
  logic: ActionLogicModification;
521
534
  markings: Array<MarkingId>;
@@ -742,6 +755,7 @@ export interface ActionTypeLoadVersionedResponse {
742
755
  actionTypes: Array<ActionType>;
743
756
  }
744
757
  export interface ActionTypeLogic {
758
+ effects?: ActionEffects | null | undefined;
745
759
  logic: ActionLogic;
746
760
  notifications: Array<ActionNotification>;
747
761
  revert?: ActionRevert | null | undefined;
@@ -749,6 +763,7 @@ export interface ActionTypeLogic {
749
763
  webhooks?: ActionWebhooks | null | undefined;
750
764
  }
751
765
  export interface ActionTypeLogicRequest {
766
+ effects?: ActionEffects | null | undefined;
752
767
  logic: ActionLogic;
753
768
  notifications: Array<ActionNotification>;
754
769
  revert?: ActionRevert | null | undefined;
@@ -956,6 +971,7 @@ export interface ActionTypeUpdate {
956
971
  apiName: ActionTypeApiName;
957
972
  branchSettings?: ActionTypeBranchSettingsModification | null | undefined;
958
973
  displayMetadata: ActionTypeDisplayMetadataModification;
974
+ effects?: ActionEffectsModification | null | undefined;
959
975
  formContentOrdering?: Array<FormContent> | null | undefined;
960
976
  logic: ActionLogicModification;
961
977
  notifications: Array<ActionNotificationModification>;
@@ -1876,6 +1892,10 @@ export interface CarbonWorkspaceUrlTargetModification {
1876
1892
  resource?: CarbonWorkspaceComponentUrlTargetModification | null | undefined;
1877
1893
  }
1878
1894
  /**
1895
+ * Display name for a marking category.
1896
+ */
1897
+ export type CategoryDisplayName = string | null | undefined;
1898
+ /**
1879
1899
  * Id for a category (group of markings)
1880
1900
  */
1881
1901
  export type CategoryId = string;
@@ -2660,6 +2680,7 @@ export interface EditActionTypeRequest {
2660
2680
  apiName: ActionTypeApiName;
2661
2681
  branchSettings?: ActionTypeBranchSettingsModification | null | undefined;
2662
2682
  displayMetadata: ActionTypeDisplayMetadataModification;
2683
+ effects?: ActionEffects | null | undefined;
2663
2684
  logic: ActionLogic;
2664
2685
  notifications: Array<ActionNotification>;
2665
2686
  notificationSettings?: ActionNotificationSettings | null | undefined;
@@ -3307,6 +3328,41 @@ export interface IntegerTypeRangeConstraint {
3307
3328
  max?: IntegerTypeDataValue | null | undefined;
3308
3329
  min?: IntegerTypeDataValue | null | undefined;
3309
3330
  }
3331
+ export interface InterfaceActionTypeConstraint {
3332
+ metadata: InterfaceActionTypeConstraintMetadata;
3333
+ parameters: Record<InterfaceParameterConstraintRid, InterfaceParameterConstraint>;
3334
+ requireImplementation: boolean;
3335
+ rid: InterfaceActionTypeConstraintRid;
3336
+ }
3337
+ /**
3338
+ * A string indicating the API name to use for the interface action type constraint. This API name will be used to
3339
+ * reference the interface action type constraint in programming languages. The name should be given in
3340
+ * lowerCamelCase and should be unique across the interface and the superset of its parent interfaces.
3341
+ */
3342
+ export type InterfaceActionTypeConstraintApiName = string;
3343
+ /**
3344
+ * Reference to an InterfaceActionTypeConstraint. Used to reference an InterfaceActionTypeConstraint in the same
3345
+ * request it is created in.
3346
+ */
3347
+ export type InterfaceActionTypeConstraintIdInRequest = string;
3348
+ export interface InterfaceActionTypeConstraintMetadata {
3349
+ apiName: InterfaceActionTypeConstraintApiName;
3350
+ description: string;
3351
+ displayName: string;
3352
+ }
3353
+ /**
3354
+ * ResourceIdentifier for an InterfaceActionTypeConstraint.
3355
+ */
3356
+ export type InterfaceActionTypeConstraintRid = string;
3357
+ export interface InterfaceActionTypeConstraintRidOrIdInRequest_rid {
3358
+ type: "rid";
3359
+ rid: InterfaceActionTypeConstraintRid;
3360
+ }
3361
+ export interface InterfaceActionTypeConstraintRidOrIdInRequest_idInRequest {
3362
+ type: "idInRequest";
3363
+ idInRequest: InterfaceActionTypeConstraintIdInRequest;
3364
+ }
3365
+ export type InterfaceActionTypeConstraintRidOrIdInRequest = InterfaceActionTypeConstraintRidOrIdInRequest_rid | InterfaceActionTypeConstraintRidOrIdInRequest_idInRequest;
3310
3366
  export interface InterfaceArrayPropertyType {
3311
3367
  subtype: InterfacePropertyTypeType;
3312
3368
  }
@@ -3397,6 +3453,28 @@ export interface InterfaceObjectParameterStructListFieldValueModification {
3397
3453
  parameterId: ParameterId;
3398
3454
  structFieldApiNameOrRid: StructFieldApiNameOrRid;
3399
3455
  }
3456
+ /**
3457
+ * Parameter constraint of an InterfaceActionTypeConstraint
3458
+ */
3459
+ export interface InterfaceParameterConstraint {
3460
+ displayMetadata: InterfaceParameterConstraintDisplayMetadata;
3461
+ requireImplementation: boolean;
3462
+ type: _api_types_BaseParameterType;
3463
+ }
3464
+ export interface InterfaceParameterConstraintDisplayMetadata {
3465
+ displayName: string;
3466
+ }
3467
+ export type InterfaceParameterConstraintIdInRequest = string;
3468
+ export type InterfaceParameterConstraintRid = string;
3469
+ export interface InterfaceParameterConstraintRidOrIdInRequest_rid {
3470
+ type: "rid";
3471
+ rid: InterfaceParameterConstraintRid;
3472
+ }
3473
+ export interface InterfaceParameterConstraintRidOrIdInRequest_idInRequest {
3474
+ type: "idInRequest";
3475
+ idInRequest: InterfaceParameterConstraintIdInRequest;
3476
+ }
3477
+ export type InterfaceParameterConstraintRidOrIdInRequest = InterfaceParameterConstraintRidOrIdInRequest_rid | InterfaceParameterConstraintRidOrIdInRequest_idInRequest;
3400
3478
  export interface InterfaceParameterPropertyValue {
3401
3479
  parameterId: ParameterId;
3402
3480
  sharedPropertyTypeRid: SharedPropertyTypeRid;
@@ -3601,6 +3679,7 @@ export interface InterfaceStructPropertyType {
3601
3679
  * interface, it is guaranteed to have the conform to the interface shape.
3602
3680
  */
3603
3681
  export interface InterfaceType {
3682
+ actionTypeConstraints: Array<InterfaceActionTypeConstraint>;
3604
3683
  allExtendsInterfaces: Array<InterfaceTypeRid>;
3605
3684
  allLinks: Array<InterfaceLinkType>;
3606
3685
  allProperties: Array<SharedPropertyType>;
@@ -4411,11 +4490,15 @@ export interface LogicRuleValue_synchronousWebhookOutput {
4411
4490
  type: "synchronousWebhookOutput";
4412
4491
  synchronousWebhookOutput: WebhookOutputParamName;
4413
4492
  }
4493
+ export interface LogicRuleValue_scheduleRunRid {
4494
+ type: "scheduleRunRid";
4495
+ scheduleRunRid: ScheduleRunRidValue;
4496
+ }
4414
4497
  /**
4415
4498
  * These are the possible values that can be passed into LogicRules as well as Notification and Webhook side
4416
4499
  * effects.
4417
4500
  */
4418
- export type LogicRuleValue = LogicRuleValue_parameterId | LogicRuleValue_staticValue | LogicRuleValue_objectParameterPropertyValue | LogicRuleValue_interfaceParameterPropertyValue | LogicRuleValue_interfaceParameterPropertyValueV2 | LogicRuleValue_currentUser | LogicRuleValue_currentTime | LogicRuleValue_uniqueIdentifier | LogicRuleValue_synchronousWebhookOutput;
4501
+ export type LogicRuleValue = LogicRuleValue_parameterId | LogicRuleValue_staticValue | LogicRuleValue_objectParameterPropertyValue | LogicRuleValue_interfaceParameterPropertyValue | LogicRuleValue_interfaceParameterPropertyValueV2 | LogicRuleValue_currentUser | LogicRuleValue_currentTime | LogicRuleValue_uniqueIdentifier | LogicRuleValue_synchronousWebhookOutput | LogicRuleValue_scheduleRunRid;
4419
4502
  export interface LogicRuleValueModification_parameterId {
4420
4503
  type: "parameterId";
4421
4504
  parameterId: ParameterId;
@@ -4452,11 +4535,15 @@ export interface LogicRuleValueModification_synchronousWebhookOutput {
4452
4535
  type: "synchronousWebhookOutput";
4453
4536
  synchronousWebhookOutput: WebhookOutputParamName;
4454
4537
  }
4538
+ export interface LogicRuleValueModification_scheduleRunRid {
4539
+ type: "scheduleRunRid";
4540
+ scheduleRunRid: ScheduleRunRidValue;
4541
+ }
4455
4542
  /**
4456
4543
  * These are the possible values that can be passed into LogicRules as well as Notification and Webhook side
4457
4544
  * effects.
4458
4545
  */
4459
- export type LogicRuleValueModification = LogicRuleValueModification_parameterId | LogicRuleValueModification_staticValue | LogicRuleValueModification_objectParameterPropertyValue | LogicRuleValueModification_interfaceParameterPropertyValue | LogicRuleValueModification_interfaceParameterPropertyValueV2 | LogicRuleValueModification_currentUser | LogicRuleValueModification_currentTime | LogicRuleValueModification_uniqueIdentifier | LogicRuleValueModification_synchronousWebhookOutput;
4546
+ export type LogicRuleValueModification = LogicRuleValueModification_parameterId | LogicRuleValueModification_staticValue | LogicRuleValueModification_objectParameterPropertyValue | LogicRuleValueModification_interfaceParameterPropertyValue | LogicRuleValueModification_interfaceParameterPropertyValueV2 | LogicRuleValueModification_currentUser | LogicRuleValueModification_currentTime | LogicRuleValueModification_uniqueIdentifier | LogicRuleValueModification_synchronousWebhookOutput | LogicRuleValueModification_scheduleRunRid;
4460
4547
  export interface LongPropertyType {}
4461
4548
  export interface LongTypeDataConstraints_range {
4462
4549
  type: "range";
@@ -4553,9 +4640,11 @@ export type MarkingFilter = MarkingFilter_markingTypes;
4553
4640
  */
4554
4641
  export type MarkingId = string;
4555
4642
  /**
4556
- * Combined information about a marking including its type and optional display name.
4643
+ * Combined information about a marking including its type, optional display name,
4644
+ * and optional category display name.
4557
4645
  */
4558
4646
  export interface MarkingInfo {
4647
+ categoryDisplayName: CategoryDisplayName;
4559
4648
  displayName: MarkingDisplayName;
4560
4649
  markingType: MarkingType;
4561
4650
  }
@@ -5896,6 +5985,12 @@ export interface OntologyInformation {
5896
5985
  displayName: string;
5897
5986
  }
5898
5987
  /**
5988
+ * Contains the definition for platform effects that are executed as part of running an Action.
5989
+ */
5990
+ export interface OntologyIrActionEffects {
5991
+ synchronousPreWritebackEffect?: OntologyIrSynchronousPreWritebackEffect | null | undefined;
5992
+ }
5993
+ /**
5899
5994
  * The ActionLogic in an ActionType map the Parameters to what edits should be made in Phonograph. It employs
5900
5995
  * LogicRules for the core Action logic and, optionally, an ActionLogRule for capturing a record of the Action
5901
5996
  * execution. We don't allow the mixing of FunctionRule with other LogicRules in the same ActionType.
@@ -7013,11 +7108,15 @@ export interface OntologyIrLogicRuleValue_synchronousWebhookOutput {
7013
7108
  type: "synchronousWebhookOutput";
7014
7109
  synchronousWebhookOutput: WebhookOutputParamName;
7015
7110
  }
7111
+ export interface OntologyIrLogicRuleValue_scheduleRunRid {
7112
+ type: "scheduleRunRid";
7113
+ scheduleRunRid: ScheduleRunRidValue;
7114
+ }
7016
7115
  /**
7017
7116
  * These are the possible values that can be passed into LogicRules as well as Notification and Webhook side
7018
7117
  * effects.
7019
7118
  */
7020
- export type OntologyIrLogicRuleValue = OntologyIrLogicRuleValue_parameterId | OntologyIrLogicRuleValue_staticValue | OntologyIrLogicRuleValue_objectParameterPropertyValue | OntologyIrLogicRuleValue_interfaceParameterPropertyValue | OntologyIrLogicRuleValue_currentUser | OntologyIrLogicRuleValue_currentTime | OntologyIrLogicRuleValue_uniqueIdentifier | OntologyIrLogicRuleValue_synchronousWebhookOutput;
7119
+ export type OntologyIrLogicRuleValue = OntologyIrLogicRuleValue_parameterId | OntologyIrLogicRuleValue_staticValue | OntologyIrLogicRuleValue_objectParameterPropertyValue | OntologyIrLogicRuleValue_interfaceParameterPropertyValue | OntologyIrLogicRuleValue_currentUser | OntologyIrLogicRuleValue_currentTime | OntologyIrLogicRuleValue_uniqueIdentifier | OntologyIrLogicRuleValue_synchronousWebhookOutput | OntologyIrLogicRuleValue_scheduleRunRid;
7021
7120
  /**
7022
7121
  * Contains a set of markings that represent the mandatory security of this datasource.
7023
7122
  */
@@ -8061,6 +8160,16 @@ export interface OntologyIrRuleSetBinding {
8061
8160
  ruleSetRid: RuleSetRid;
8062
8161
  }
8063
8162
  /**
8163
+ * This effect calls SchedulerDeploymentsService.upsertAndRunDeployment endpoint which upserts a schedule
8164
+ * deployment and runs it. See the Scheduler API docs for more details.
8165
+ * The synchronous effect doesn't wait for the actual schedule run to complete, it only waits for a successful
8166
+ * kick-off of the schedule run.
8167
+ */
8168
+ export interface OntologyIrRunScheduleDeploymentEffect {
8169
+ parameterValues: Record<ScheduleParamName, OntologyIrLogicRuleValue>;
8170
+ scheduleRid: ScheduleRid;
8171
+ }
8172
+ /**
8064
8173
  * Applies the edits from a specified Scenario instance to the main branch
8065
8174
  */
8066
8175
  export interface OntologyIrScenarioRule {
@@ -8414,6 +8523,14 @@ export interface OntologyIrSubtractionOperation {
8414
8523
  leftOperand: OntologyIrParameterTransformPrefillValue;
8415
8524
  rightOperand: OntologyIrParameterTransformPrefillValue;
8416
8525
  }
8526
+ export interface OntologyIrSynchronousPreWritebackEffect_runScheduleDeployment {
8527
+ type: "runScheduleDeployment";
8528
+ runScheduleDeployment: OntologyIrRunScheduleDeploymentEffect;
8529
+ }
8530
+ /**
8531
+ * Union wrapping the various options available for configuring a platform effect which will be executed synchronously.
8532
+ */
8533
+ export type OntologyIrSynchronousPreWritebackEffect = OntologyIrSynchronousPreWritebackEffect_runScheduleDeployment;
8417
8534
  export interface OntologyIrSynchronousPreWritebackWebhook_staticDirectInput {
8418
8535
  type: "staticDirectInput";
8419
8536
  staticDirectInput: OntologyIrStaticWebhookWithDirectInput;
@@ -10267,6 +10384,7 @@ export interface PutActionTypeRequest {
10267
10384
  apiName: ActionTypeApiName;
10268
10385
  branchSettings?: ActionTypeBranchSettingsModification | null | undefined;
10269
10386
  displayMetadata: ActionTypeDisplayMetadataModification;
10387
+ effects?: ActionEffects | null | undefined;
10270
10388
  logic: ActionLogic;
10271
10389
  notifications: Array<ActionNotification>;
10272
10390
  notificationSettings?: ActionNotificationSettings | null | undefined;
@@ -10563,6 +10681,23 @@ export interface RuleSetsAlreadyExistError {
10563
10681
  export interface RuleSetsNotFoundError {
10564
10682
  ruleSetRids: Array<RuleSetRid>;
10565
10683
  }
10684
+ /**
10685
+ * This effect calls SchedulerDeploymentsService.upsertAndRunDeployment endpoint which upserts a schedule
10686
+ * deployment and runs it. See the Scheduler API docs for more details.
10687
+ * The synchronous effect doesn't wait for the actual schedule run to complete, it only waits for a successful
10688
+ * kick-off of the schedule run.
10689
+ */
10690
+ export interface RunScheduleDeploymentEffect {
10691
+ parameterValues: Record<ScheduleParamName, LogicRuleValue>;
10692
+ scheduleRid: ScheduleRid;
10693
+ }
10694
+ /**
10695
+ * See RunScheduleDeploymentEffect docs.
10696
+ */
10697
+ export interface RunScheduleDeploymentEffectModification {
10698
+ parameterValues: Record<ScheduleParamName, LogicRuleValue>;
10699
+ scheduleRid: ScheduleRid;
10700
+ }
10566
10701
  export interface SafeArg {
10567
10702
  name: string;
10568
10703
  value: string;
@@ -10647,6 +10782,18 @@ export interface ScenarioScope {
10647
10782
  objectTypes: Array<ObjectTypeId>;
10648
10783
  }
10649
10784
  /**
10785
+ * Name of a schedule parameter. Not safe to log.
10786
+ */
10787
+ export type ScheduleParamName = string;
10788
+ /**
10789
+ * The rid for a Schedule, generated and owned by Scheduler service.
10790
+ */
10791
+ export type ScheduleRid = string;
10792
+ /**
10793
+ * The resulting schedule run RID of a synchronous RunScheduleDeploymentEffect on the Action type.
10794
+ */
10795
+ export interface ScheduleRunRidValue {}
10796
+ /**
10650
10797
  * Identifier for a schema migration.
10651
10798
  */
10652
10799
  export type SchemaMigrationRid = string;
@@ -11712,6 +11859,22 @@ export interface SubtractionOperation {
11712
11859
  leftOperand: ParameterTransformPrefillValue;
11713
11860
  rightOperand: ParameterTransformPrefillValue;
11714
11861
  }
11862
+ export interface SynchronousPreWritebackEffect_runScheduleDeployment {
11863
+ type: "runScheduleDeployment";
11864
+ runScheduleDeployment: RunScheduleDeploymentEffect;
11865
+ }
11866
+ /**
11867
+ * Union wrapping the various options available for configuring a platform effect which will be executed synchronously.
11868
+ */
11869
+ export type SynchronousPreWritebackEffect = SynchronousPreWritebackEffect_runScheduleDeployment;
11870
+ export interface SynchronousPreWritebackEffectModification_runScheduleDeployment {
11871
+ type: "runScheduleDeployment";
11872
+ runScheduleDeployment: RunScheduleDeploymentEffectModification;
11873
+ }
11874
+ /**
11875
+ * See SynchronousPreWritebackEffect docs.
11876
+ */
11877
+ export type SynchronousPreWritebackEffectModification = SynchronousPreWritebackEffectModification_runScheduleDeployment;
11715
11878
  export interface SynchronousPreWritebackWebhook_staticDirectInput {
11716
11879
  type: "staticDirectInput";
11717
11880
  staticDirectInput: StaticWebhookWithDirectInput;