@remkoj/optimizely-cms-api 6.0.0-rc.1 → 6.0.0-rc.4

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 (36) hide show
  1. package/AGENTS.md +66 -0
  2. package/dist/api-client.d.ts +10 -65
  3. package/dist/api-client.js +18 -124
  4. package/dist/client/client/client.gen.js +107 -126
  5. package/dist/client/client/index.d.ts +2 -0
  6. package/dist/client/client/types.gen.d.ts +6 -3
  7. package/dist/client/client/utils.gen.d.ts +8 -4
  8. package/dist/client/client/utils.gen.js +6 -6
  9. package/dist/client/client.gen.d.ts +2 -2
  10. package/dist/client/client.gen.js +1 -1
  11. package/dist/client/core/auth.gen.d.ts +7 -0
  12. package/dist/client/core/params.gen.d.ts +2 -2
  13. package/dist/client/core/params.gen.js +24 -16
  14. package/dist/client/core/queryKeySerializer.gen.d.ts +1 -1
  15. package/dist/client/core/serverSentEvents.gen.d.ts +1 -1
  16. package/dist/client/core/serverSentEvents.gen.js +4 -6
  17. package/dist/client/core/types.gen.d.ts +6 -1
  18. package/dist/client/core/utils.gen.js +1 -1
  19. package/dist/client/index.d.ts +3 -3
  20. package/dist/client/index.js +63 -21
  21. package/dist/client/sdk.gen.d.ts +221 -118
  22. package/dist/client/sdk.gen.js +431 -180
  23. package/dist/client/transformers.gen.d.ts +35 -13
  24. package/dist/client/transformers.gen.js +341 -99
  25. package/dist/client/types.gen.d.ts +4383 -1300
  26. package/dist/client-config.d.ts +11 -0
  27. package/dist/client-config.js +21 -10
  28. package/dist/config.d.ts +39 -4
  29. package/dist/config.js +44 -18
  30. package/dist/getaccesstoken.js +22 -4
  31. package/dist/index.d.ts +20 -1
  32. package/dist/index.js +18 -4
  33. package/dist/types.d.ts +1 -14
  34. package/dist/types.js +0 -7
  35. package/dist/version.json +3 -3
  36. package/package.json +19 -8
@@ -1,30 +1,46 @@
1
- import type { BlueprintsCreateResponse, BlueprintsDeleteResponse, BlueprintsGetResponse, BlueprintsListResponse, BlueprintsPatchResponse, ChangesetsCreateResponse, ChangesetsDeleteResponse, ChangesetsGetResponse, ChangesetsListResponse, ChangesetsPatchResponse, ContentCopyResponse, ContentCreateResponse, ContentCreateVersionResponse, ContentDeleteLocaleResponse, ContentDeleteResponse, ContentDeleteVersionResponse, ContentGetMetadataResponse, ContentGetPathResponse, ContentGetVersionResponse, ContentListAllVersionsResponse, ContentListAssetsResponse, ContentListItemsResponse, ContentListVersionsResponse, ContentPatchMetadataResponse, ContentPatchVersionResponse, ContentTypesCreateResponse, ContentTypesDeleteResponse, ContentTypesGetResponse, ContentTypesListResponse, ContentTypesPatchResponse, ContentUndeleteResponse, DisplayTemplatesCreateResponse, DisplayTemplatesDeleteResponse, DisplayTemplatesGetResponse, DisplayTemplatesListResponse, DisplayTemplatesPatchResponse, PropertyFormatsGetResponse, PropertyFormatsListResponse, PropertyGroupsCreateResponse, PropertyGroupsDeleteResponse, PropertyGroupsGetResponse, PropertyGroupsListResponse, PropertyGroupsPatchResponse } from './types.gen';
1
+ import type { ApplicationsCreateResponse, ApplicationsDeleteResponse, ApplicationsGetResponse, ApplicationsListResponse, ApplicationsPatchResponse, BlueprintsCreateResponse, BlueprintsDeleteResponse, BlueprintsGetResponse, BlueprintsListResponse, BlueprintsPatchResponse, ContentApproveResponse, ContentCopyResponse, ContentCreateResponse, ContentCreateVersionResponse, ContentDeleteLocaleResponse, ContentDeleteResponse, ContentDeleteVersionResponse, ContentDraftResponse, ContentGetNodeResponse, ContentGetPathResponse, ContentGetVersionResponse, ContentListAllVersionsResponse, ContentListAssetsResponse, ContentListItemsResponse, ContentListLocaleVersionsResponse, ContentListVersionsResponse, ContentPatchNodeResponse, ContentPatchVersionResponse, ContentPublishResponse, ContentReadyResponse, ContentRejectResponse, ContentSourcesCreateResponse, ContentSourcesDeleteResponse, ContentSourcesGetResponse, ContentSourcesListResponse, ContentSourcesPatchResponse, ContentTypeBindingsCreateResponse, ContentTypeBindingsDeleteResponse, ContentTypeBindingsGetResponse, ContentTypeBindingsListResponse, ContentTypeBindingsPatchResponse, ContentTypesCreateResponse, ContentTypesDeleteResponse, ContentTypesGetResponse, ContentTypesListResponse, ContentTypesPatchResponse, ContentUndeleteResponse, DisplayTemplatesCreateResponse, DisplayTemplatesDeleteResponse, DisplayTemplatesGetResponse, DisplayTemplatesListResponse, DisplayTemplatesPatchResponse, LocalesCreateResponse, LocalesDeleteResponse, LocalesGetResponse, LocalesListResponse, LocalesPatchResponse, ManifestExportResponse, PropertyFormatsGetResponse, PropertyFormatsListResponse, PropertyGroupsCreateResponse, PropertyGroupsDeleteResponse, PropertyGroupsGetResponse, PropertyGroupsListResponse, PropertyGroupsPatchResponse } from './types.gen';
2
+ export declare const applicationsListResponseTransformer: (data: any) => Promise<ApplicationsListResponse>;
3
+ export declare const applicationsCreateResponseTransformer: (data: any) => Promise<ApplicationsCreateResponse>;
4
+ export declare const applicationsDeleteResponseTransformer: (data: any) => Promise<ApplicationsDeleteResponse>;
5
+ export declare const applicationsGetResponseTransformer: (data: any) => Promise<ApplicationsGetResponse>;
6
+ export declare const applicationsPatchResponseTransformer: (data: any) => Promise<ApplicationsPatchResponse>;
2
7
  export declare const blueprintsListResponseTransformer: (data: any) => Promise<BlueprintsListResponse>;
3
8
  export declare const blueprintsCreateResponseTransformer: (data: any) => Promise<BlueprintsCreateResponse>;
4
9
  export declare const blueprintsDeleteResponseTransformer: (data: any) => Promise<BlueprintsDeleteResponse>;
5
10
  export declare const blueprintsGetResponseTransformer: (data: any) => Promise<BlueprintsGetResponse>;
6
11
  export declare const blueprintsPatchResponseTransformer: (data: any) => Promise<BlueprintsPatchResponse>;
7
- export declare const changesetsListResponseTransformer: (data: any) => Promise<ChangesetsListResponse>;
8
- export declare const changesetsCreateResponseTransformer: (data: any) => Promise<ChangesetsCreateResponse>;
9
- export declare const changesetsDeleteResponseTransformer: (data: any) => Promise<ChangesetsDeleteResponse>;
10
- export declare const changesetsGetResponseTransformer: (data: any) => Promise<ChangesetsGetResponse>;
11
- export declare const changesetsPatchResponseTransformer: (data: any) => Promise<ChangesetsPatchResponse>;
12
12
  export declare const contentCreateResponseTransformer: (data: any) => Promise<ContentCreateResponse>;
13
- export declare const contentDeleteResponseTransformer: (data: any) => Promise<ContentDeleteResponse>;
14
- export declare const contentGetMetadataResponseTransformer: (data: any) => Promise<ContentGetMetadataResponse>;
15
- export declare const contentPatchMetadataResponseTransformer: (data: any) => Promise<ContentPatchMetadataResponse>;
16
- export declare const contentGetPathResponseTransformer: (data: any) => Promise<ContentGetPathResponse>;
17
- export declare const contentListItemsResponseTransformer: (data: any) => Promise<ContentListItemsResponse>;
18
- export declare const contentListAssetsResponseTransformer: (data: any) => Promise<ContentListAssetsResponse>;
19
13
  export declare const contentCopyResponseTransformer: (data: any) => Promise<ContentCopyResponse>;
20
14
  export declare const contentUndeleteResponseTransformer: (data: any) => Promise<ContentUndeleteResponse>;
21
- export declare const contentListAllVersionsResponseTransformer: (data: any) => Promise<ContentListAllVersionsResponse>;
15
+ export declare const contentDeleteResponseTransformer: (data: any) => Promise<ContentDeleteResponse>;
16
+ export declare const contentGetNodeResponseTransformer: (data: any) => Promise<ContentGetNodeResponse>;
17
+ export declare const contentPatchNodeResponseTransformer: (data: any) => Promise<ContentPatchNodeResponse>;
18
+ export declare const contentListAssetsResponseTransformer: (data: any) => Promise<ContentListAssetsResponse>;
19
+ export declare const contentListItemsResponseTransformer: (data: any) => Promise<ContentListItemsResponse>;
22
20
  export declare const contentDeleteLocaleResponseTransformer: (data: any) => Promise<ContentDeleteLocaleResponse>;
21
+ export declare const contentListLocaleVersionsResponseTransformer: (data: any) => Promise<ContentListLocaleVersionsResponse>;
22
+ export declare const contentGetPathResponseTransformer: (data: any) => Promise<ContentGetPathResponse>;
23
23
  export declare const contentListVersionsResponseTransformer: (data: any) => Promise<ContentListVersionsResponse>;
24
24
  export declare const contentCreateVersionResponseTransformer: (data: any) => Promise<ContentCreateVersionResponse>;
25
+ export declare const contentApproveResponseTransformer: (data: any) => Promise<ContentApproveResponse>;
26
+ export declare const contentDraftResponseTransformer: (data: any) => Promise<ContentDraftResponse>;
27
+ export declare const contentPublishResponseTransformer: (data: any) => Promise<ContentPublishResponse>;
28
+ export declare const contentReadyResponseTransformer: (data: any) => Promise<ContentReadyResponse>;
29
+ export declare const contentRejectResponseTransformer: (data: any) => Promise<ContentRejectResponse>;
25
30
  export declare const contentDeleteVersionResponseTransformer: (data: any) => Promise<ContentDeleteVersionResponse>;
26
31
  export declare const contentGetVersionResponseTransformer: (data: any) => Promise<ContentGetVersionResponse>;
27
32
  export declare const contentPatchVersionResponseTransformer: (data: any) => Promise<ContentPatchVersionResponse>;
33
+ export declare const contentListAllVersionsResponseTransformer: (data: any) => Promise<ContentListAllVersionsResponse>;
34
+ export declare const contentSourcesListResponseTransformer: (data: any) => Promise<ContentSourcesListResponse>;
35
+ export declare const contentSourcesCreateResponseTransformer: (data: any) => Promise<ContentSourcesCreateResponse>;
36
+ export declare const contentSourcesDeleteResponseTransformer: (data: any) => Promise<ContentSourcesDeleteResponse>;
37
+ export declare const contentSourcesGetResponseTransformer: (data: any) => Promise<ContentSourcesGetResponse>;
38
+ export declare const contentSourcesPatchResponseTransformer: (data: any) => Promise<ContentSourcesPatchResponse>;
39
+ export declare const contentTypeBindingsListResponseTransformer: (data: any) => Promise<ContentTypeBindingsListResponse>;
40
+ export declare const contentTypeBindingsCreateResponseTransformer: (data: any) => Promise<ContentTypeBindingsCreateResponse>;
41
+ export declare const contentTypeBindingsDeleteResponseTransformer: (data: any) => Promise<ContentTypeBindingsDeleteResponse>;
42
+ export declare const contentTypeBindingsGetResponseTransformer: (data: any) => Promise<ContentTypeBindingsGetResponse>;
43
+ export declare const contentTypeBindingsPatchResponseTransformer: (data: any) => Promise<ContentTypeBindingsPatchResponse>;
28
44
  export declare const contentTypesListResponseTransformer: (data: any) => Promise<ContentTypesListResponse>;
29
45
  export declare const contentTypesCreateResponseTransformer: (data: any) => Promise<ContentTypesCreateResponse>;
30
46
  export declare const contentTypesDeleteResponseTransformer: (data: any) => Promise<ContentTypesDeleteResponse>;
@@ -35,6 +51,12 @@ export declare const displayTemplatesCreateResponseTransformer: (data: any) => P
35
51
  export declare const displayTemplatesDeleteResponseTransformer: (data: any) => Promise<DisplayTemplatesDeleteResponse>;
36
52
  export declare const displayTemplatesGetResponseTransformer: (data: any) => Promise<DisplayTemplatesGetResponse>;
37
53
  export declare const displayTemplatesPatchResponseTransformer: (data: any) => Promise<DisplayTemplatesPatchResponse>;
54
+ export declare const localesListResponseTransformer: (data: any) => Promise<LocalesListResponse>;
55
+ export declare const localesCreateResponseTransformer: (data: any) => Promise<LocalesCreateResponse>;
56
+ export declare const localesDeleteResponseTransformer: (data: any) => Promise<LocalesDeleteResponse>;
57
+ export declare const localesGetResponseTransformer: (data: any) => Promise<LocalesGetResponse>;
58
+ export declare const localesPatchResponseTransformer: (data: any) => Promise<LocalesPatchResponse>;
59
+ export declare const manifestExportResponseTransformer: (data: any) => Promise<ManifestExportResponse>;
38
60
  export declare const propertyFormatsListResponseTransformer: (data: any) => Promise<PropertyFormatsListResponse>;
39
61
  export declare const propertyFormatsGetResponseTransformer: (data: any) => Promise<PropertyFormatsGetResponse>;
40
62
  export declare const propertyGroupsListResponseTransformer: (data: any) => Promise<PropertyGroupsListResponse>;