pulumi-webflow 0.9.0__tar.gz → 0.9.2__tar.gz

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 (40) hide show
  1. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/PKG-INFO +1 -1
  2. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/__init__.py +2 -0
  3. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/_utilities.py +1 -1
  4. pulumi_webflow-0.9.2/pulumi_webflow/inline_script.py +314 -0
  5. pulumi_webflow-0.9.2/pulumi_webflow/pulumi-plugin.json +5 -0
  6. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/site.py +12 -26
  7. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/user.py +31 -25
  8. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow.egg-info/PKG-INFO +1 -1
  9. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow.egg-info/SOURCES.txt +1 -0
  10. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/setup.py +1 -1
  11. pulumi_webflow-0.9.0/pulumi_webflow/pulumi-plugin.json +0 -4
  12. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/README.md +0 -0
  13. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/_inputs.py +0 -0
  14. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/asset.py +0 -0
  15. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/asset_folder.py +0 -0
  16. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/collection.py +0 -0
  17. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/collection_field.py +0 -0
  18. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/collection_item.py +0 -0
  19. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/config/__init__.py +0 -0
  20. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/config/__init__.pyi +0 -0
  21. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/config/vars.py +0 -0
  22. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/ecommerce_settings.py +0 -0
  23. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/get_authorized_user.py +0 -0
  24. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/get_token_info.py +0 -0
  25. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/outputs.py +0 -0
  26. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/page_content.py +0 -0
  27. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/page_custom_code.py +0 -0
  28. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/page_data.py +0 -0
  29. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/provider.py +0 -0
  30. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/py.typed +0 -0
  31. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/redirect.py +0 -0
  32. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/registered_script.py +0 -0
  33. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/robots_txt.py +0 -0
  34. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/site_custom_code.py +0 -0
  35. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow/webhook.py +0 -0
  36. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow.egg-info/dependency_links.txt +0 -0
  37. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow.egg-info/not-zip-safe +0 -0
  38. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow.egg-info/requires.txt +0 -0
  39. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/pulumi_webflow.egg-info/top_level.txt +0 -0
  40. {pulumi_webflow-0.9.0 → pulumi_webflow-0.9.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_webflow
3
- Version: 0.9.0
3
+ Version: 0.9.2
4
4
  Summary: Unofficial community-maintained Pulumi provider for managing Webflow sites, redirects, and robots.txt. Not affiliated with Pulumi Corporation or Webflow, Inc.
5
5
  Home-page: https://github.com/JDetmar/pulumi-webflow
6
6
  Project-URL: Repository, https://github.com/JDetmar/pulumi-webflow
@@ -14,6 +14,7 @@ from .collection_item import *
14
14
  from .ecommerce_settings import *
15
15
  from .get_authorized_user import *
16
16
  from .get_token_info import *
17
+ from .inline_script import *
17
18
  from .page_content import *
18
19
  from .page_custom_code import *
19
20
  from .page_data import *
@@ -49,6 +50,7 @@ _utilities.register(
49
50
  "webflow:index:CollectionField": "CollectionField",
50
51
  "webflow:index:CollectionItem": "CollectionItem",
51
52
  "webflow:index:EcommerceSettings": "EcommerceSettings",
53
+ "webflow:index:InlineScript": "InlineScript",
52
54
  "webflow:index:PageContent": "PageContent",
53
55
  "webflow:index:PageCustomCode": "PageCustomCode",
54
56
  "webflow:index:PageData": "PageData",
@@ -325,7 +325,7 @@ def deprecated(message: str) -> typing.Callable[[C], C]:
325
325
  return decorator
326
326
 
327
327
  def get_plugin_download_url():
328
- return None
328
+ return "github://api.github.com/JDetmar/pulumi-webflow"
329
329
 
330
330
  def get_version():
331
331
  return _version_str
@@ -0,0 +1,314 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+
17
+ __all__ = ['InlineScriptArgs', 'InlineScript']
18
+
19
+ @pulumi.input_type
20
+ class InlineScriptArgs:
21
+ def __init__(__self__, *,
22
+ display_name: pulumi.Input[_builtins.str],
23
+ site_id: pulumi.Input[_builtins.str],
24
+ source_code: pulumi.Input[_builtins.str],
25
+ version: pulumi.Input[_builtins.str],
26
+ can_copy: Optional[pulumi.Input[_builtins.bool]] = None,
27
+ integrity_hash: Optional[pulumi.Input[_builtins.str]] = None):
28
+ """
29
+ The set of arguments for constructing a InlineScript resource.
30
+ :param pulumi.Input[_builtins.str] display_name: The user-facing name for the script (1-50 alphanumeric characters). This name is used to identify the script in the Webflow interface. Only letters (A-Z, a-z) and numbers (0-9) are allowed. Example valid names: 'CmsSlider', 'AnalyticsScript', 'MyCustomScript123'.
31
+ :param pulumi.Input[_builtins.str] site_id: The Webflow site ID (24-character lowercase hexadecimal string, e.g., '5f0c8c9e1c9d440000e8d8c3'). You can find your site ID in the Webflow dashboard under Site Settings. This field will be validated before making any API calls.
32
+ :param pulumi.Input[_builtins.str] source_code: The inline JavaScript code to register, limited to 2000 characters. This code will be directly embedded in your Webflow site. If your script exceeds 2000 characters, consider hosting it externally and using the RegisteredScript resource with a hostedLocation instead.
33
+ :param pulumi.Input[_builtins.str] version: The Semantic Version (SemVer) string for the script (e.g., '1.0.0', '2.3.1'). This helps track different versions of your script. See https://semver.org/ for more information on semantic versioning.
34
+ :param pulumi.Input[_builtins.bool] can_copy: Indicates whether the script can be copied when the site is duplicated. Default: false. When true, the script will be included when creating a copy of the site.
35
+ :param pulumi.Input[_builtins.str] integrity_hash: The Sub-Resource Integrity (SRI) hash for the script (optional). Format: 'sha384-<hash>', 'sha256-<hash>', or 'sha512-<hash>'. SRI hashes help ensure that the script hasn't been modified in transit. You can generate an SRI hash using https://www.srihash.org/
36
+ """
37
+ pulumi.set(__self__, "display_name", display_name)
38
+ pulumi.set(__self__, "site_id", site_id)
39
+ pulumi.set(__self__, "source_code", source_code)
40
+ pulumi.set(__self__, "version", version)
41
+ if can_copy is not None:
42
+ pulumi.set(__self__, "can_copy", can_copy)
43
+ if integrity_hash is not None:
44
+ pulumi.set(__self__, "integrity_hash", integrity_hash)
45
+
46
+ @_builtins.property
47
+ @pulumi.getter(name="displayName")
48
+ def display_name(self) -> pulumi.Input[_builtins.str]:
49
+ """
50
+ The user-facing name for the script (1-50 alphanumeric characters). This name is used to identify the script in the Webflow interface. Only letters (A-Z, a-z) and numbers (0-9) are allowed. Example valid names: 'CmsSlider', 'AnalyticsScript', 'MyCustomScript123'.
51
+ """
52
+ return pulumi.get(self, "display_name")
53
+
54
+ @display_name.setter
55
+ def display_name(self, value: pulumi.Input[_builtins.str]):
56
+ pulumi.set(self, "display_name", value)
57
+
58
+ @_builtins.property
59
+ @pulumi.getter(name="siteId")
60
+ def site_id(self) -> pulumi.Input[_builtins.str]:
61
+ """
62
+ The Webflow site ID (24-character lowercase hexadecimal string, e.g., '5f0c8c9e1c9d440000e8d8c3'). You can find your site ID in the Webflow dashboard under Site Settings. This field will be validated before making any API calls.
63
+ """
64
+ return pulumi.get(self, "site_id")
65
+
66
+ @site_id.setter
67
+ def site_id(self, value: pulumi.Input[_builtins.str]):
68
+ pulumi.set(self, "site_id", value)
69
+
70
+ @_builtins.property
71
+ @pulumi.getter(name="sourceCode")
72
+ def source_code(self) -> pulumi.Input[_builtins.str]:
73
+ """
74
+ The inline JavaScript code to register, limited to 2000 characters. This code will be directly embedded in your Webflow site. If your script exceeds 2000 characters, consider hosting it externally and using the RegisteredScript resource with a hostedLocation instead.
75
+ """
76
+ return pulumi.get(self, "source_code")
77
+
78
+ @source_code.setter
79
+ def source_code(self, value: pulumi.Input[_builtins.str]):
80
+ pulumi.set(self, "source_code", value)
81
+
82
+ @_builtins.property
83
+ @pulumi.getter
84
+ def version(self) -> pulumi.Input[_builtins.str]:
85
+ """
86
+ The Semantic Version (SemVer) string for the script (e.g., '1.0.0', '2.3.1'). This helps track different versions of your script. See https://semver.org/ for more information on semantic versioning.
87
+ """
88
+ return pulumi.get(self, "version")
89
+
90
+ @version.setter
91
+ def version(self, value: pulumi.Input[_builtins.str]):
92
+ pulumi.set(self, "version", value)
93
+
94
+ @_builtins.property
95
+ @pulumi.getter(name="canCopy")
96
+ def can_copy(self) -> Optional[pulumi.Input[_builtins.bool]]:
97
+ """
98
+ Indicates whether the script can be copied when the site is duplicated. Default: false. When true, the script will be included when creating a copy of the site.
99
+ """
100
+ return pulumi.get(self, "can_copy")
101
+
102
+ @can_copy.setter
103
+ def can_copy(self, value: Optional[pulumi.Input[_builtins.bool]]):
104
+ pulumi.set(self, "can_copy", value)
105
+
106
+ @_builtins.property
107
+ @pulumi.getter(name="integrityHash")
108
+ def integrity_hash(self) -> Optional[pulumi.Input[_builtins.str]]:
109
+ """
110
+ The Sub-Resource Integrity (SRI) hash for the script (optional). Format: 'sha384-<hash>', 'sha256-<hash>', or 'sha512-<hash>'. SRI hashes help ensure that the script hasn't been modified in transit. You can generate an SRI hash using https://www.srihash.org/
111
+ """
112
+ return pulumi.get(self, "integrity_hash")
113
+
114
+ @integrity_hash.setter
115
+ def integrity_hash(self, value: Optional[pulumi.Input[_builtins.str]]):
116
+ pulumi.set(self, "integrity_hash", value)
117
+
118
+
119
+ @pulumi.type_token("webflow:index:InlineScript")
120
+ class InlineScript(pulumi.CustomResource):
121
+ @overload
122
+ def __init__(__self__,
123
+ resource_name: str,
124
+ opts: Optional[pulumi.ResourceOptions] = None,
125
+ can_copy: Optional[pulumi.Input[_builtins.bool]] = None,
126
+ display_name: Optional[pulumi.Input[_builtins.str]] = None,
127
+ integrity_hash: Optional[pulumi.Input[_builtins.str]] = None,
128
+ site_id: Optional[pulumi.Input[_builtins.str]] = None,
129
+ source_code: Optional[pulumi.Input[_builtins.str]] = None,
130
+ version: Optional[pulumi.Input[_builtins.str]] = None,
131
+ __props__=None):
132
+ """
133
+ Manages inline custom code scripts in the Webflow script registry. This resource allows you to register and manage inline JavaScript code that can be deployed across your Webflow site with version control.
134
+
135
+ :param str resource_name: The name of the resource.
136
+ :param pulumi.ResourceOptions opts: Options for the resource.
137
+ :param pulumi.Input[_builtins.bool] can_copy: Indicates whether the script can be copied when the site is duplicated. Default: false. When true, the script will be included when creating a copy of the site.
138
+ :param pulumi.Input[_builtins.str] display_name: The user-facing name for the script (1-50 alphanumeric characters). This name is used to identify the script in the Webflow interface. Only letters (A-Z, a-z) and numbers (0-9) are allowed. Example valid names: 'CmsSlider', 'AnalyticsScript', 'MyCustomScript123'.
139
+ :param pulumi.Input[_builtins.str] integrity_hash: The Sub-Resource Integrity (SRI) hash for the script (optional). Format: 'sha384-<hash>', 'sha256-<hash>', or 'sha512-<hash>'. SRI hashes help ensure that the script hasn't been modified in transit. You can generate an SRI hash using https://www.srihash.org/
140
+ :param pulumi.Input[_builtins.str] site_id: The Webflow site ID (24-character lowercase hexadecimal string, e.g., '5f0c8c9e1c9d440000e8d8c3'). You can find your site ID in the Webflow dashboard under Site Settings. This field will be validated before making any API calls.
141
+ :param pulumi.Input[_builtins.str] source_code: The inline JavaScript code to register, limited to 2000 characters. This code will be directly embedded in your Webflow site. If your script exceeds 2000 characters, consider hosting it externally and using the RegisteredScript resource with a hostedLocation instead.
142
+ :param pulumi.Input[_builtins.str] version: The Semantic Version (SemVer) string for the script (e.g., '1.0.0', '2.3.1'). This helps track different versions of your script. See https://semver.org/ for more information on semantic versioning.
143
+ """
144
+ ...
145
+ @overload
146
+ def __init__(__self__,
147
+ resource_name: str,
148
+ args: InlineScriptArgs,
149
+ opts: Optional[pulumi.ResourceOptions] = None):
150
+ """
151
+ Manages inline custom code scripts in the Webflow script registry. This resource allows you to register and manage inline JavaScript code that can be deployed across your Webflow site with version control.
152
+
153
+ :param str resource_name: The name of the resource.
154
+ :param InlineScriptArgs args: The arguments to use to populate this resource's properties.
155
+ :param pulumi.ResourceOptions opts: Options for the resource.
156
+ """
157
+ ...
158
+ def __init__(__self__, resource_name: str, *args, **kwargs):
159
+ resource_args, opts = _utilities.get_resource_args_opts(InlineScriptArgs, pulumi.ResourceOptions, *args, **kwargs)
160
+ if resource_args is not None:
161
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
162
+ else:
163
+ __self__._internal_init(resource_name, *args, **kwargs)
164
+
165
+ def _internal_init(__self__,
166
+ resource_name: str,
167
+ opts: Optional[pulumi.ResourceOptions] = None,
168
+ can_copy: Optional[pulumi.Input[_builtins.bool]] = None,
169
+ display_name: Optional[pulumi.Input[_builtins.str]] = None,
170
+ integrity_hash: Optional[pulumi.Input[_builtins.str]] = None,
171
+ site_id: Optional[pulumi.Input[_builtins.str]] = None,
172
+ source_code: Optional[pulumi.Input[_builtins.str]] = None,
173
+ version: Optional[pulumi.Input[_builtins.str]] = None,
174
+ __props__=None):
175
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
176
+ if not isinstance(opts, pulumi.ResourceOptions):
177
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
178
+ if opts.id is None:
179
+ if __props__ is not None:
180
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
181
+ __props__ = InlineScriptArgs.__new__(InlineScriptArgs)
182
+
183
+ __props__.__dict__["can_copy"] = can_copy
184
+ if display_name is None and not opts.urn:
185
+ raise TypeError("Missing required property 'display_name'")
186
+ __props__.__dict__["display_name"] = display_name
187
+ __props__.__dict__["integrity_hash"] = integrity_hash
188
+ if site_id is None and not opts.urn:
189
+ raise TypeError("Missing required property 'site_id'")
190
+ __props__.__dict__["site_id"] = site_id
191
+ if source_code is None and not opts.urn:
192
+ raise TypeError("Missing required property 'source_code'")
193
+ __props__.__dict__["source_code"] = source_code
194
+ if version is None and not opts.urn:
195
+ raise TypeError("Missing required property 'version'")
196
+ __props__.__dict__["version"] = version
197
+ __props__.__dict__["created_on"] = None
198
+ __props__.__dict__["hosted_location"] = None
199
+ __props__.__dict__["last_updated"] = None
200
+ __props__.__dict__["script_id"] = None
201
+ super(InlineScript, __self__).__init__(
202
+ 'webflow:index:InlineScript',
203
+ resource_name,
204
+ __props__,
205
+ opts)
206
+
207
+ @staticmethod
208
+ def get(resource_name: str,
209
+ id: pulumi.Input[str],
210
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'InlineScript':
211
+ """
212
+ Get an existing InlineScript resource's state with the given name, id, and optional extra
213
+ properties used to qualify the lookup.
214
+
215
+ :param str resource_name: The unique name of the resulting resource.
216
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
217
+ :param pulumi.ResourceOptions opts: Options for the resource.
218
+ """
219
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
220
+
221
+ __props__ = InlineScriptArgs.__new__(InlineScriptArgs)
222
+
223
+ __props__.__dict__["can_copy"] = None
224
+ __props__.__dict__["created_on"] = None
225
+ __props__.__dict__["display_name"] = None
226
+ __props__.__dict__["hosted_location"] = None
227
+ __props__.__dict__["integrity_hash"] = None
228
+ __props__.__dict__["last_updated"] = None
229
+ __props__.__dict__["script_id"] = None
230
+ __props__.__dict__["site_id"] = None
231
+ __props__.__dict__["source_code"] = None
232
+ __props__.__dict__["version"] = None
233
+ return InlineScript(resource_name, opts=opts, __props__=__props__)
234
+
235
+ @_builtins.property
236
+ @pulumi.getter(name="canCopy")
237
+ def can_copy(self) -> pulumi.Output[Optional[_builtins.bool]]:
238
+ """
239
+ Indicates whether the script can be copied when the site is duplicated. Default: false. When true, the script will be included when creating a copy of the site.
240
+ """
241
+ return pulumi.get(self, "can_copy")
242
+
243
+ @_builtins.property
244
+ @pulumi.getter(name="createdOn")
245
+ def created_on(self) -> pulumi.Output[Optional[_builtins.str]]:
246
+ """
247
+ The timestamp when the script was created (RFC3339 format). This is automatically set by Webflow when the script is created and is read-only.
248
+ """
249
+ return pulumi.get(self, "created_on")
250
+
251
+ @_builtins.property
252
+ @pulumi.getter(name="displayName")
253
+ def display_name(self) -> pulumi.Output[_builtins.str]:
254
+ """
255
+ The user-facing name for the script (1-50 alphanumeric characters). This name is used to identify the script in the Webflow interface. Only letters (A-Z, a-z) and numbers (0-9) are allowed. Example valid names: 'CmsSlider', 'AnalyticsScript', 'MyCustomScript123'.
256
+ """
257
+ return pulumi.get(self, "display_name")
258
+
259
+ @_builtins.property
260
+ @pulumi.getter(name="hostedLocation")
261
+ def hosted_location(self) -> pulumi.Output[Optional[_builtins.str]]:
262
+ """
263
+ The URI for the hosted version of the inline script (read-only). This is automatically set by Webflow after the inline script is registered.
264
+ """
265
+ return pulumi.get(self, "hosted_location")
266
+
267
+ @_builtins.property
268
+ @pulumi.getter(name="integrityHash")
269
+ def integrity_hash(self) -> pulumi.Output[Optional[_builtins.str]]:
270
+ """
271
+ The Sub-Resource Integrity (SRI) hash for the script (optional). Format: 'sha384-<hash>', 'sha256-<hash>', or 'sha512-<hash>'. SRI hashes help ensure that the script hasn't been modified in transit. You can generate an SRI hash using https://www.srihash.org/
272
+ """
273
+ return pulumi.get(self, "integrity_hash")
274
+
275
+ @_builtins.property
276
+ @pulumi.getter(name="lastUpdated")
277
+ def last_updated(self) -> pulumi.Output[Optional[_builtins.str]]:
278
+ """
279
+ The timestamp when the script was last updated (RFC3339 format). This is automatically updated by Webflow when the script is modified and is read-only.
280
+ """
281
+ return pulumi.get(self, "last_updated")
282
+
283
+ @_builtins.property
284
+ @pulumi.getter(name="scriptId")
285
+ def script_id(self) -> pulumi.Output[Optional[_builtins.str]]:
286
+ """
287
+ The Webflow-assigned script ID (read-only). This is typically the lowercase version of displayName. Use this value when referencing the script in SiteCustomCode or PageCustomCode resources.
288
+ """
289
+ return pulumi.get(self, "script_id")
290
+
291
+ @_builtins.property
292
+ @pulumi.getter(name="siteId")
293
+ def site_id(self) -> pulumi.Output[_builtins.str]:
294
+ """
295
+ The Webflow site ID (24-character lowercase hexadecimal string, e.g., '5f0c8c9e1c9d440000e8d8c3'). You can find your site ID in the Webflow dashboard under Site Settings. This field will be validated before making any API calls.
296
+ """
297
+ return pulumi.get(self, "site_id")
298
+
299
+ @_builtins.property
300
+ @pulumi.getter(name="sourceCode")
301
+ def source_code(self) -> pulumi.Output[_builtins.str]:
302
+ """
303
+ The inline JavaScript code to register, limited to 2000 characters. This code will be directly embedded in your Webflow site. If your script exceeds 2000 characters, consider hosting it externally and using the RegisteredScript resource with a hostedLocation instead.
304
+ """
305
+ return pulumi.get(self, "source_code")
306
+
307
+ @_builtins.property
308
+ @pulumi.getter
309
+ def version(self) -> pulumi.Output[_builtins.str]:
310
+ """
311
+ The Semantic Version (SemVer) string for the script (e.g., '1.0.0', '2.3.1'). This helps track different versions of your script. See https://semver.org/ for more information on semantic versioning.
312
+ """
313
+ return pulumi.get(self, "version")
314
+
@@ -0,0 +1,5 @@
1
+ {
2
+ "resource": true,
3
+ "name": "webflow",
4
+ "server": "github://api.github.com/JDetmar/pulumi-webflow"
5
+ }
@@ -24,17 +24,15 @@ class SiteArgs:
24
24
  parent_folder_id: Optional[pulumi.Input[_builtins.str]] = None,
25
25
  publish: Optional[pulumi.Input[_builtins.bool]] = None,
26
26
  short_name: Optional[pulumi.Input[_builtins.str]] = None,
27
- template_name: Optional[pulumi.Input[_builtins.str]] = None,
28
- time_zone: Optional[pulumi.Input[_builtins.str]] = None):
27
+ template_name: Optional[pulumi.Input[_builtins.str]] = None):
29
28
  """
30
29
  The set of arguments for constructing a Site resource.
31
30
  :param pulumi.Input[_builtins.str] display_name: The human-readable name of the site as shown in the Webflow dashboard. Required - must be a non-empty string. Examples: 'My Marketing Site', 'Company Blog', 'Product Landing Page'. This is the name users will see when managing the site.
32
31
  :param pulumi.Input[_builtins.str] workspace_id: The Webflow workspace ID where the site will be created. Required for site creation (Enterprise workspace required by Webflow API). Example: '5f0c8c9e1c9d440000e8d8c3'. You can find your workspace ID in the Webflow dashboard under Account Settings > Workspace.
33
32
  :param pulumi.Input[_builtins.str] parent_folder_id: The folder ID where the site will be organized in the Webflow dashboard. Optional - the site will be placed at the workspace root if not specified. This is useful for organizing multiple sites into logical groups within your workspace.
34
33
  :param pulumi.Input[_builtins.bool] publish: Automatically publish the site after creation or updates. When set to true, the provider will publish the site to production after successfully creating or updating it. Default: false (manual publishing required). Note: Site must have at least one published version before automatic publishing will work. If publishing fails, the entire operation will fail with an error (site may exist but Pulumi will report failure). Recommendation: Set to false for initial site creation, then enable after first manual publish.
35
- :param pulumi.Input[_builtins.str] short_name: The slugified version of the site name used in URLs and for file organization. Optional - if not provided, Webflow will automatically generate one from the displayName. Must use only lowercase letters (a-z), numbers (0-9), and hyphens (-). No spaces, underscores, or special characters allowed. Must start and end with a letter or number (no leading/trailing hyphens). Examples: 'my-site', 'company-blog-2024', 'product-landing-page'.
34
+ :param pulumi.Input[_builtins.str] short_name: DEPRECATED: This field is ignored. shortName is read-only and auto-generated by Webflow from the displayName. The Webflow API does not support setting shortName on create or update. The actual shortName value is available as a read-only output. This input field is preserved for backwards compatibility with existing stacks and will be removed in a future major release.
36
35
  :param pulumi.Input[_builtins.str] template_name: The template to use for site creation. Optional - if not specified, Webflow will create a blank site. **WARNING: This field is IMMUTABLE.** Once set, it cannot be changed. Changing this value will trigger a REPLACE operation, which will: (1) DELETE your existing site and ALL its content (pages, CMS items, assets, etc.), (2) CREATE a new site with the new template, (3) REPLACE all dependent resources (redirects, robots.txt, etc.). This is a DESTRUCTIVE operation that cannot be undone. Use any valid Webflow template identifier (e.g., 'mast-framework', 'blank'). Consider using resource protection (`protect: true`) to prevent accidental replacement.
37
- :param pulumi.Input[_builtins.str] time_zone: The IANA timezone identifier for the site. Optional - Webflow will use its default timezone if not specified. Use standard IANA timezone identifiers (e.g., 'America/New_York', 'Europe/London', 'Asia/Tokyo', 'UTC'). This timezone is used for scheduling, analytics, and other time-sensitive features.
38
36
  """
39
37
  pulumi.set(__self__, "display_name", display_name)
40
38
  pulumi.set(__self__, "workspace_id", workspace_id)
@@ -42,12 +40,13 @@ class SiteArgs:
42
40
  pulumi.set(__self__, "parent_folder_id", parent_folder_id)
43
41
  if publish is not None:
44
42
  pulumi.set(__self__, "publish", publish)
43
+ if short_name is not None:
44
+ warnings.warn("""shortName is read-only and auto-generated by Webflow. Remove it from your Pulumi program inputs.""", DeprecationWarning)
45
+ pulumi.log.warn("""short_name is deprecated: shortName is read-only and auto-generated by Webflow. Remove it from your Pulumi program inputs.""")
45
46
  if short_name is not None:
46
47
  pulumi.set(__self__, "short_name", short_name)
47
48
  if template_name is not None:
48
49
  pulumi.set(__self__, "template_name", template_name)
49
- if time_zone is not None:
50
- pulumi.set(__self__, "time_zone", time_zone)
51
50
 
52
51
  @_builtins.property
53
52
  @pulumi.getter(name="displayName")
@@ -99,9 +98,10 @@ class SiteArgs:
99
98
 
100
99
  @_builtins.property
101
100
  @pulumi.getter(name="shortName")
101
+ @_utilities.deprecated("""shortName is read-only and auto-generated by Webflow. Remove it from your Pulumi program inputs.""")
102
102
  def short_name(self) -> Optional[pulumi.Input[_builtins.str]]:
103
103
  """
104
- The slugified version of the site name used in URLs and for file organization. Optional - if not provided, Webflow will automatically generate one from the displayName. Must use only lowercase letters (a-z), numbers (0-9), and hyphens (-). No spaces, underscores, or special characters allowed. Must start and end with a letter or number (no leading/trailing hyphens). Examples: 'my-site', 'company-blog-2024', 'product-landing-page'.
104
+ DEPRECATED: This field is ignored. shortName is read-only and auto-generated by Webflow from the displayName. The Webflow API does not support setting shortName on create or update. The actual shortName value is available as a read-only output. This input field is preserved for backwards compatibility with existing stacks and will be removed in a future major release.
105
105
  """
106
106
  return pulumi.get(self, "short_name")
107
107
 
@@ -121,18 +121,6 @@ class SiteArgs:
121
121
  def template_name(self, value: Optional[pulumi.Input[_builtins.str]]):
122
122
  pulumi.set(self, "template_name", value)
123
123
 
124
- @_builtins.property
125
- @pulumi.getter(name="timeZone")
126
- def time_zone(self) -> Optional[pulumi.Input[_builtins.str]]:
127
- """
128
- The IANA timezone identifier for the site. Optional - Webflow will use its default timezone if not specified. Use standard IANA timezone identifiers (e.g., 'America/New_York', 'Europe/London', 'Asia/Tokyo', 'UTC'). This timezone is used for scheduling, analytics, and other time-sensitive features.
129
- """
130
- return pulumi.get(self, "time_zone")
131
-
132
- @time_zone.setter
133
- def time_zone(self, value: Optional[pulumi.Input[_builtins.str]]):
134
- pulumi.set(self, "time_zone", value)
135
-
136
124
 
137
125
  @pulumi.type_token("webflow:index:Site")
138
126
  class Site(pulumi.CustomResource):
@@ -145,7 +133,6 @@ class Site(pulumi.CustomResource):
145
133
  publish: Optional[pulumi.Input[_builtins.bool]] = None,
146
134
  short_name: Optional[pulumi.Input[_builtins.str]] = None,
147
135
  template_name: Optional[pulumi.Input[_builtins.str]] = None,
148
- time_zone: Optional[pulumi.Input[_builtins.str]] = None,
149
136
  workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
150
137
  __props__=None):
151
138
  """
@@ -156,9 +143,8 @@ class Site(pulumi.CustomResource):
156
143
  :param pulumi.Input[_builtins.str] display_name: The human-readable name of the site as shown in the Webflow dashboard. Required - must be a non-empty string. Examples: 'My Marketing Site', 'Company Blog', 'Product Landing Page'. This is the name users will see when managing the site.
157
144
  :param pulumi.Input[_builtins.str] parent_folder_id: The folder ID where the site will be organized in the Webflow dashboard. Optional - the site will be placed at the workspace root if not specified. This is useful for organizing multiple sites into logical groups within your workspace.
158
145
  :param pulumi.Input[_builtins.bool] publish: Automatically publish the site after creation or updates. When set to true, the provider will publish the site to production after successfully creating or updating it. Default: false (manual publishing required). Note: Site must have at least one published version before automatic publishing will work. If publishing fails, the entire operation will fail with an error (site may exist but Pulumi will report failure). Recommendation: Set to false for initial site creation, then enable after first manual publish.
159
- :param pulumi.Input[_builtins.str] short_name: The slugified version of the site name used in URLs and for file organization. Optional - if not provided, Webflow will automatically generate one from the displayName. Must use only lowercase letters (a-z), numbers (0-9), and hyphens (-). No spaces, underscores, or special characters allowed. Must start and end with a letter or number (no leading/trailing hyphens). Examples: 'my-site', 'company-blog-2024', 'product-landing-page'.
146
+ :param pulumi.Input[_builtins.str] short_name: DEPRECATED: This field is ignored. shortName is read-only and auto-generated by Webflow from the displayName. The Webflow API does not support setting shortName on create or update. The actual shortName value is available as a read-only output. This input field is preserved for backwards compatibility with existing stacks and will be removed in a future major release.
160
147
  :param pulumi.Input[_builtins.str] template_name: The template to use for site creation. Optional - if not specified, Webflow will create a blank site. **WARNING: This field is IMMUTABLE.** Once set, it cannot be changed. Changing this value will trigger a REPLACE operation, which will: (1) DELETE your existing site and ALL its content (pages, CMS items, assets, etc.), (2) CREATE a new site with the new template, (3) REPLACE all dependent resources (redirects, robots.txt, etc.). This is a DESTRUCTIVE operation that cannot be undone. Use any valid Webflow template identifier (e.g., 'mast-framework', 'blank'). Consider using resource protection (`protect: true`) to prevent accidental replacement.
161
- :param pulumi.Input[_builtins.str] time_zone: The IANA timezone identifier for the site. Optional - Webflow will use its default timezone if not specified. Use standard IANA timezone identifiers (e.g., 'America/New_York', 'Europe/London', 'Asia/Tokyo', 'UTC'). This timezone is used for scheduling, analytics, and other time-sensitive features.
162
148
  :param pulumi.Input[_builtins.str] workspace_id: The Webflow workspace ID where the site will be created. Required for site creation (Enterprise workspace required by Webflow API). Example: '5f0c8c9e1c9d440000e8d8c3'. You can find your workspace ID in the Webflow dashboard under Account Settings > Workspace.
163
149
  """
164
150
  ...
@@ -190,7 +176,6 @@ class Site(pulumi.CustomResource):
190
176
  publish: Optional[pulumi.Input[_builtins.bool]] = None,
191
177
  short_name: Optional[pulumi.Input[_builtins.str]] = None,
192
178
  template_name: Optional[pulumi.Input[_builtins.str]] = None,
193
- time_zone: Optional[pulumi.Input[_builtins.str]] = None,
194
179
  workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
195
180
  __props__=None):
196
181
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -208,7 +193,6 @@ class Site(pulumi.CustomResource):
208
193
  __props__.__dict__["publish"] = publish
209
194
  __props__.__dict__["short_name"] = short_name
210
195
  __props__.__dict__["template_name"] = template_name
211
- __props__.__dict__["time_zone"] = time_zone
212
196
  if workspace_id is None and not opts.urn:
213
197
  raise TypeError("Missing required property 'workspace_id'")
214
198
  __props__.__dict__["workspace_id"] = workspace_id
@@ -218,6 +202,7 @@ class Site(pulumi.CustomResource):
218
202
  __props__.__dict__["last_published"] = None
219
203
  __props__.__dict__["last_updated"] = None
220
204
  __props__.__dict__["preview_url"] = None
205
+ __props__.__dict__["time_zone"] = None
221
206
  super(Site, __self__).__init__(
222
207
  'webflow:index:Site',
223
208
  resource_name,
@@ -329,9 +314,10 @@ class Site(pulumi.CustomResource):
329
314
 
330
315
  @_builtins.property
331
316
  @pulumi.getter(name="shortName")
317
+ @_utilities.deprecated("""shortName is read-only and auto-generated by Webflow. Remove it from your Pulumi program inputs.""")
332
318
  def short_name(self) -> pulumi.Output[Optional[_builtins.str]]:
333
319
  """
334
- The slugified version of the site name used in URLs and for file organization. Optional - if not provided, Webflow will automatically generate one from the displayName. Must use only lowercase letters (a-z), numbers (0-9), and hyphens (-). No spaces, underscores, or special characters allowed. Must start and end with a letter or number (no leading/trailing hyphens). Examples: 'my-site', 'company-blog-2024', 'product-landing-page'.
320
+ DEPRECATED: This field is ignored. shortName is read-only and auto-generated by Webflow from the displayName. The Webflow API does not support setting shortName on create or update. The actual shortName value is available as a read-only output. This input field is preserved for backwards compatibility with existing stacks and will be removed in a future major release.
335
321
  """
336
322
  return pulumi.get(self, "short_name")
337
323
 
@@ -347,7 +333,7 @@ class Site(pulumi.CustomResource):
347
333
  @pulumi.getter(name="timeZone")
348
334
  def time_zone(self) -> pulumi.Output[Optional[_builtins.str]]:
349
335
  """
350
- The IANA timezone identifier for the site. Optional - Webflow will use its default timezone if not specified. Use standard IANA timezone identifiers (e.g., 'America/New_York', 'Europe/London', 'Asia/Tokyo', 'UTC'). This timezone is used for scheduling, analytics, and other time-sensitive features.
336
+ The IANA timezone identifier for the site (read-only). This value is configured in Webflow Site Settings and cannot be changed via API. Examples: 'America/New_York', 'Europe/London', 'Asia/Tokyo', 'UTC'.
351
337
  """
352
338
  return pulumi.get(self, "time_zone")
353
339
 
@@ -25,10 +25,10 @@ class UserArgs:
25
25
  name: Optional[pulumi.Input[_builtins.str]] = None):
26
26
  """
27
27
  The set of arguments for constructing a User resource.
28
- :param pulumi.Input[_builtins.str] email: The email address of the user to invite. The user will receive an invitation email at this address. IMPORTANT: The email cannot be changed after the user is created. Changing the email will require replacing the resource (delete + recreate).
29
- :param pulumi.Input[_builtins.str] site_id: The Webflow site ID (24-character lowercase hexadecimal string, e.g., '5f0c8c9e1c9d440000e8d8c3'). You can find your site ID in the Webflow dashboard under Site Settings. This field will be validated before making any API calls.
30
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] access_groups: Optional list of access group slugs to assign to the user. Access groups control what content the user can access. Groups are assigned as type 'admin' (assigned via API or designer). Example: ['premium-members', 'beta-testers']. Access group slugs can be found in the Webflow dashboard under Users > Access Groups.
31
- :param pulumi.Input[_builtins.str] name: Optional display name for the user. This will be shown in the Webflow dashboard and can be used in site personalization.
28
+ :param pulumi.Input[_builtins.str] email: The email address of the user.
29
+ :param pulumi.Input[_builtins.str] site_id: The Webflow site ID.
30
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] access_groups: Access group slugs assigned to the user.
31
+ :param pulumi.Input[_builtins.str] name: Display name for the user.
32
32
  """
33
33
  pulumi.set(__self__, "email", email)
34
34
  pulumi.set(__self__, "site_id", site_id)
@@ -41,7 +41,7 @@ class UserArgs:
41
41
  @pulumi.getter
42
42
  def email(self) -> pulumi.Input[_builtins.str]:
43
43
  """
44
- The email address of the user to invite. The user will receive an invitation email at this address. IMPORTANT: The email cannot be changed after the user is created. Changing the email will require replacing the resource (delete + recreate).
44
+ The email address of the user.
45
45
  """
46
46
  return pulumi.get(self, "email")
47
47
 
@@ -53,7 +53,7 @@ class UserArgs:
53
53
  @pulumi.getter(name="siteId")
54
54
  def site_id(self) -> pulumi.Input[_builtins.str]:
55
55
  """
56
- The Webflow site ID (24-character lowercase hexadecimal string, e.g., '5f0c8c9e1c9d440000e8d8c3'). You can find your site ID in the Webflow dashboard under Site Settings. This field will be validated before making any API calls.
56
+ The Webflow site ID.
57
57
  """
58
58
  return pulumi.get(self, "site_id")
59
59
 
@@ -65,7 +65,7 @@ class UserArgs:
65
65
  @pulumi.getter(name="accessGroups")
66
66
  def access_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
67
67
  """
68
- Optional list of access group slugs to assign to the user. Access groups control what content the user can access. Groups are assigned as type 'admin' (assigned via API or designer). Example: ['premium-members', 'beta-testers']. Access group slugs can be found in the Webflow dashboard under Users > Access Groups.
68
+ Access group slugs assigned to the user.
69
69
  """
70
70
  return pulumi.get(self, "access_groups")
71
71
 
@@ -77,7 +77,7 @@ class UserArgs:
77
77
  @pulumi.getter
78
78
  def name(self) -> Optional[pulumi.Input[_builtins.str]]:
79
79
  """
80
- Optional display name for the user. This will be shown in the Webflow dashboard and can be used in site personalization.
80
+ Display name for the user.
81
81
  """
82
82
  return pulumi.get(self, "name")
83
83
 
@@ -86,8 +86,13 @@ class UserArgs:
86
86
  pulumi.set(self, "name", value)
87
87
 
88
88
 
89
+ warnings.warn("""The webflow:index:User resource has been removed because the Webflow User Management API has been deprecated by Webflow. Please remove this resource from your Pulumi program and run \"pulumi state delete <URN>\" to clean up existing state.""", DeprecationWarning)
90
+
91
+
89
92
  @pulumi.type_token("webflow:index:User")
90
93
  class User(pulumi.CustomResource):
94
+ warnings.warn("""The webflow:index:User resource has been removed because the Webflow User Management API has been deprecated by Webflow. Please remove this resource from your Pulumi program and run \"pulumi state delete <URN>\" to clean up existing state.""", DeprecationWarning)
95
+
91
96
  @overload
92
97
  def __init__(__self__,
93
98
  resource_name: str,
@@ -98,14 +103,14 @@ class User(pulumi.CustomResource):
98
103
  site_id: Optional[pulumi.Input[_builtins.str]] = None,
99
104
  __props__=None):
100
105
  """
101
- Manages users for a Webflow site. This resource allows you to invite users to your site with specified access groups. Users will receive an invitation email and must accept it to access paid content. Note: The user's email cannot be changed after creation.
106
+ DEPRECATED: The webflow:index:User resource has been removed because the Webflow User Management API has been deprecated by Webflow. Please remove this resource from your Pulumi program and run "pulumi state delete <URN>" to clean up existing state.
102
107
 
103
108
  :param str resource_name: The name of the resource.
104
109
  :param pulumi.ResourceOptions opts: Options for the resource.
105
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] access_groups: Optional list of access group slugs to assign to the user. Access groups control what content the user can access. Groups are assigned as type 'admin' (assigned via API or designer). Example: ['premium-members', 'beta-testers']. Access group slugs can be found in the Webflow dashboard under Users > Access Groups.
106
- :param pulumi.Input[_builtins.str] email: The email address of the user to invite. The user will receive an invitation email at this address. IMPORTANT: The email cannot be changed after the user is created. Changing the email will require replacing the resource (delete + recreate).
107
- :param pulumi.Input[_builtins.str] name: Optional display name for the user. This will be shown in the Webflow dashboard and can be used in site personalization.
108
- :param pulumi.Input[_builtins.str] site_id: The Webflow site ID (24-character lowercase hexadecimal string, e.g., '5f0c8c9e1c9d440000e8d8c3'). You can find your site ID in the Webflow dashboard under Site Settings. This field will be validated before making any API calls.
110
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] access_groups: Access group slugs assigned to the user.
111
+ :param pulumi.Input[_builtins.str] email: The email address of the user.
112
+ :param pulumi.Input[_builtins.str] name: Display name for the user.
113
+ :param pulumi.Input[_builtins.str] site_id: The Webflow site ID.
109
114
  """
110
115
  ...
111
116
  @overload
@@ -114,7 +119,7 @@ class User(pulumi.CustomResource):
114
119
  args: UserArgs,
115
120
  opts: Optional[pulumi.ResourceOptions] = None):
116
121
  """
117
- Manages users for a Webflow site. This resource allows you to invite users to your site with specified access groups. Users will receive an invitation email and must accept it to access paid content. Note: The user's email cannot be changed after creation.
122
+ DEPRECATED: The webflow:index:User resource has been removed because the Webflow User Management API has been deprecated by Webflow. Please remove this resource from your Pulumi program and run "pulumi state delete <URN>" to clean up existing state.
118
123
 
119
124
  :param str resource_name: The name of the resource.
120
125
  :param UserArgs args: The arguments to use to populate this resource's properties.
@@ -136,6 +141,7 @@ class User(pulumi.CustomResource):
136
141
  name: Optional[pulumi.Input[_builtins.str]] = None,
137
142
  site_id: Optional[pulumi.Input[_builtins.str]] = None,
138
143
  __props__=None):
144
+ pulumi.log.warn("""User is deprecated: The webflow:index:User resource has been removed because the Webflow User Management API has been deprecated by Webflow. Please remove this resource from your Pulumi program and run "pulumi state delete <URN>" to clean up existing state.""")
139
145
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
140
146
  if not isinstance(opts, pulumi.ResourceOptions):
141
147
  raise TypeError('Expected resource options to be a ResourceOptions instance')
@@ -198,7 +204,7 @@ class User(pulumi.CustomResource):
198
204
  @pulumi.getter(name="accessGroups")
199
205
  def access_groups(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
200
206
  """
201
- Optional list of access group slugs to assign to the user. Access groups control what content the user can access. Groups are assigned as type 'admin' (assigned via API or designer). Example: ['premium-members', 'beta-testers']. Access group slugs can be found in the Webflow dashboard under Users > Access Groups.
207
+ Access group slugs assigned to the user.
202
208
  """
203
209
  return pulumi.get(self, "access_groups")
204
210
 
@@ -206,7 +212,7 @@ class User(pulumi.CustomResource):
206
212
  @pulumi.getter(name="createdOn")
207
213
  def created_on(self) -> pulumi.Output[Optional[_builtins.str]]:
208
214
  """
209
- The timestamp when the user was created (RFC3339 format). This is automatically set and is read-only.
215
+ Timestamp when the user was created.
210
216
  """
211
217
  return pulumi.get(self, "created_on")
212
218
 
@@ -214,7 +220,7 @@ class User(pulumi.CustomResource):
214
220
  @pulumi.getter
215
221
  def email(self) -> pulumi.Output[_builtins.str]:
216
222
  """
217
- The email address of the user to invite. The user will receive an invitation email at this address. IMPORTANT: The email cannot be changed after the user is created. Changing the email will require replacing the resource (delete + recreate).
223
+ The email address of the user.
218
224
  """
219
225
  return pulumi.get(self, "email")
220
226
 
@@ -222,7 +228,7 @@ class User(pulumi.CustomResource):
222
228
  @pulumi.getter(name="invitedOn")
223
229
  def invited_on(self) -> pulumi.Output[Optional[_builtins.str]]:
224
230
  """
225
- The timestamp when the user was invited (RFC3339 format). This is automatically set and is read-only.
231
+ Timestamp when the user was invited.
226
232
  """
227
233
  return pulumi.get(self, "invited_on")
228
234
 
@@ -230,7 +236,7 @@ class User(pulumi.CustomResource):
230
236
  @pulumi.getter(name="isEmailVerified")
231
237
  def is_email_verified(self) -> pulumi.Output[Optional[_builtins.bool]]:
232
238
  """
233
- Indicates whether the user has verified their email address. This is read-only and set by Webflow when the user verifies their email.
239
+ Whether the user has verified their email.
234
240
  """
235
241
  return pulumi.get(self, "is_email_verified")
236
242
 
@@ -238,7 +244,7 @@ class User(pulumi.CustomResource):
238
244
  @pulumi.getter(name="lastLogin")
239
245
  def last_login(self) -> pulumi.Output[Optional[_builtins.str]]:
240
246
  """
241
- The timestamp when the user last logged in (RFC3339 format). This is read-only.
247
+ Timestamp when the user last logged in.
242
248
  """
243
249
  return pulumi.get(self, "last_login")
244
250
 
@@ -246,7 +252,7 @@ class User(pulumi.CustomResource):
246
252
  @pulumi.getter(name="lastUpdated")
247
253
  def last_updated(self) -> pulumi.Output[Optional[_builtins.str]]:
248
254
  """
249
- The timestamp when the user was last updated (RFC3339 format). This is read-only.
255
+ Timestamp when the user was last updated.
250
256
  """
251
257
  return pulumi.get(self, "last_updated")
252
258
 
@@ -254,7 +260,7 @@ class User(pulumi.CustomResource):
254
260
  @pulumi.getter
255
261
  def name(self) -> pulumi.Output[Optional[_builtins.str]]:
256
262
  """
257
- Optional display name for the user. This will be shown in the Webflow dashboard and can be used in site personalization.
263
+ Display name for the user.
258
264
  """
259
265
  return pulumi.get(self, "name")
260
266
 
@@ -262,7 +268,7 @@ class User(pulumi.CustomResource):
262
268
  @pulumi.getter(name="siteId")
263
269
  def site_id(self) -> pulumi.Output[_builtins.str]:
264
270
  """
265
- The Webflow site ID (24-character lowercase hexadecimal string, e.g., '5f0c8c9e1c9d440000e8d8c3'). You can find your site ID in the Webflow dashboard under Site Settings. This field will be validated before making any API calls.
271
+ The Webflow site ID.
266
272
  """
267
273
  return pulumi.get(self, "site_id")
268
274
 
@@ -270,7 +276,7 @@ class User(pulumi.CustomResource):
270
276
  @pulumi.getter
271
277
  def status(self) -> pulumi.Output[Optional[_builtins.str]]:
272
278
  """
273
- The status of the user. Possible values: 'invited' (invitation sent but not accepted), 'verified' (email verified), 'unverified' (registered but email not verified). This is read-only.
279
+ The user's status.
274
280
  """
275
281
  return pulumi.get(self, "status")
276
282
 
@@ -278,7 +284,7 @@ class User(pulumi.CustomResource):
278
284
  @pulumi.getter(name="userId")
279
285
  def user_id(self) -> pulumi.Output[Optional[_builtins.str]]:
280
286
  """
281
- The Webflow-assigned unique identifier for this user. This is automatically assigned when the user is created and is read-only.
287
+ The Webflow-assigned user ID.
282
288
  """
283
289
  return pulumi.get(self, "user_id")
284
290
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_webflow
3
- Version: 0.9.0
3
+ Version: 0.9.2
4
4
  Summary: Unofficial community-maintained Pulumi provider for managing Webflow sites, redirects, and robots.txt. Not affiliated with Pulumi Corporation or Webflow, Inc.
5
5
  Home-page: https://github.com/JDetmar/pulumi-webflow
6
6
  Project-URL: Repository, https://github.com/JDetmar/pulumi-webflow
@@ -11,6 +11,7 @@ pulumi_webflow/collection_item.py
11
11
  pulumi_webflow/ecommerce_settings.py
12
12
  pulumi_webflow/get_authorized_user.py
13
13
  pulumi_webflow/get_token_info.py
14
+ pulumi_webflow/inline_script.py
14
15
  pulumi_webflow/outputs.py
15
16
  pulumi_webflow/page_content.py
16
17
  pulumi_webflow/page_custom_code.py
@@ -9,7 +9,7 @@ from setuptools.command.install import install
9
9
  from subprocess import check_call
10
10
 
11
11
 
12
- VERSION = "0.9.0"
12
+ VERSION = "0.9.2"
13
13
  def readme():
14
14
  try:
15
15
  with open('README.md', encoding='utf-8') as f:
@@ -1,4 +0,0 @@
1
- {
2
- "resource": true,
3
- "name": "webflow"
4
- }
File without changes
File without changes