@perpetualsystems/typescript-sdk 0.4.2 → 0.4.3

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.
@@ -2732,6 +2732,36 @@ export const contentPackInstallationsLink = (options) => (options.client ?? clie
2732
2732
  ...options.headers
2733
2733
  }
2734
2734
  });
2735
+ /**
2736
+ * Resolve one item in a pack merge changeset
2737
+ *
2738
+ * Keep local, take the pack version, delete, or detach a linked item. The basis pointer advances and the pending pointer clears together.
2739
+ */
2740
+ export const contentPackInstallationsSettlePackUpdate = (options) => (options.client ?? client).post({
2741
+ security: [
2742
+ {
2743
+ key: 'oauth2',
2744
+ scheme: 'bearer',
2745
+ type: 'http'
2746
+ },
2747
+ {
2748
+ key: 'bearerToken',
2749
+ scheme: 'bearer',
2750
+ type: 'http'
2751
+ },
2752
+ {
2753
+ in: 'cookie',
2754
+ name: 'better-auth.session_token',
2755
+ type: 'apiKey'
2756
+ }
2757
+ ],
2758
+ url: '/org/{orgId}/content-pack-installations/settle-pack-update',
2759
+ ...options,
2760
+ headers: {
2761
+ 'Content-Type': 'application/json',
2762
+ ...options.headers
2763
+ }
2764
+ });
2735
2765
  /**
2736
2766
  * Get content pack installation by ID
2737
2767
  *
@@ -4889,6 +4919,32 @@ export const contentSetDeployPreview = (options) => (options.client ?? client).p
4889
4919
  ...options.headers
4890
4920
  }
4891
4921
  });
4922
+ /**
4923
+ * Pack fields that differ on an installed resource
4924
+ *
4925
+ * Returns the pack-authored fields on this installed resource that differ from the pack version it was last updated from. Empty when it still matches, or when it was not installed from a pack.
4926
+ */
4927
+ export const contentEditedPackFields = (options) => (options.client ?? client).get({
4928
+ security: [
4929
+ {
4930
+ key: 'oauth2',
4931
+ scheme: 'bearer',
4932
+ type: 'http'
4933
+ },
4934
+ {
4935
+ key: 'bearerToken',
4936
+ scheme: 'bearer',
4937
+ type: 'http'
4938
+ },
4939
+ {
4940
+ in: 'cookie',
4941
+ name: 'better-auth.session_token',
4942
+ type: 'apiKey'
4943
+ }
4944
+ ],
4945
+ url: '/org/{orgId}/content/{type}/{id}/edited-pack-fields',
4946
+ ...options
4947
+ });
4892
4948
  /**
4893
4949
  * List credentials
4894
4950
  *