+
    TŎiF,                     Z    ^ RI Ht ^ RIHt ^ RIHt ^ RIHt ^ RIH	t	   ! R R]4      t
R# )	    )AbstractObject)AbstractCrudObject)ObjectParser)FacebookRequest)TypeCheckerc                      a a ] tR t^t oRV 3R llt ! R R]P                  4      t]R 4       tRR lt	RR lt
RR ltRR ltRR	 ltRR
 ltRRRRRRRR/t]R 4       tRtVtV ;t# )ProductGroupc                >   < R V n         \        \        V `  WV4       R# )TN)_isProductGroupsuperr	   __init__)selffbid	parent_idapi	__class__s   &&&&w/Users/ahmad/.openclaw/workspace/scripts/.venv/lib/python3.14/site-packages/facebook_business/adobjects/productgroup.pyr   ProductGroup.__init__   s    #lD*4C@    c                   &    ] tR t^tRtRtRtRtRtR# )ProductGroup.Fieldidproduct_catalogretailer_idvariants N)	__name__
__module____qualname____firstlineno__r   r   r   r   __static_attributes__r   r   r   Fieldr      s    +#r   r"   c                    R # )product_groupsr   )clss   &r   get_endpointProductGroup.get_endpoint$   s    r   c                X    ^ RI Hp V! V P                  VR7      P                  W#WEWg4      # )r   )ProductCatalog)r   r   )*facebook_business.adobjects.productcatalogr)   _apicreate_product_group)	r   r   fieldsparamsbatchsuccessfailurependingr)   s	   &&&&&&&& r   
api_createProductGroup.api_create)   s.    M$)))<QQRXbgry  D  	Dr   c                   ^ RI Hp Vf   Vf   Ve   VP                  R4       RR/pRRR./p	\        V R,          RR	V P                  \        W4      \        R
\        V R7      R7      p
V
P                  V4       V
P                  V4       Ve   V
P                  W4VR7       V
# V'       d   V
# V P                  4        V
P                  4       # )r   	api_utils:`success` and `failure` callback only work for batch call.deletion_methoddeletion_method_enumDELETE_ITEMSONLY_IF_EMPTYr   DELETE/NODEreuse_objectnode_idmethodendpointr   param_checkertarget_classapi_typeresponse_parserr0   r1   )facebook_business.utilsr7   warningr   r+   r   r   r   
add_params
add_fieldsadd_to_batchassure_callexecuter   r-   r.   r/   r0   r1   r2   r7   param_typesenumsrequests   &&&&&&&    r   
api_deleteProductGroup.api_delete-   s    5=g1W5H


X
Y5
 #%
 "J		%k9+(d;	
 	6"6"   INN??$$r   c                   ^ RI Hp Vf   Vf   Ve   VP                  R4       / p/ p	\        V R,          RRV P                  \        W4      \        R\        V R7      R7      p
V
P                  V4       V
P                  V4       Ve   V
P                  W4VR	7       V
# V'       d   V
# V P                  4        V
P                  4       # )
r   r6   r8   r   GETr>   r?   r@   rB   rJ   rK   r7   rL   r   r+   r   r	   r   rM   rN   rO   rP   rQ   rR   s   &&&&&&&    r   api_getProductGroup.api_getP   s    5=g1W5H


X
Y

!J		%k9%(d;	
 	6"6"   INN??$$r   c                   ^ RI Hp Vf   Vf   Ve   VP                  R4       RRRR/p/ p	\        V R,          RR	V P                  \        W4      \        R
\        V R7      R7      p
V
P                  V4       V
P                  V4       Ve   V
P                  W4VR7       V
# V'       d   V
# V P                  4        V
P                  4       # )r   r6   r8   default_product_idstringr   zlist<Object>r   POSTr>   r?   r@   rB   rJ   rZ   rR   s   &&&&&&&    r   
api_updateProductGroup.api_updaten   s    5=g1W5H


X
Y (

!J		%k9%(d;	
 	6"6"   INN??$$r   c                   ^ RI Hp Vf   Vf   Ve   VP                  R4       ^ RIHp / p	/ p
\        V R,          RRV P                  \        W4      VR\        WP                  R7      R	7      pVP                  V4       VP                  V4       Ve   VP                  W4VR
7       V# V'       d   V# V P                  4        VP                  4       # )r   r6   r8   ProductItemr   rY   	/productsEDGErG   r   rB   rJ   )rK   r7   rL   'facebook_business.adobjects.productitemre   r   r+   r   r   rM   rN   rO   rP   rQ   r   r-   r.   r/   r0   r1   r2   r7   re   rS   rT   rU   s   &&&&&&&     r   get_productsProductGroup.get_products   s    5=g1W5H


X
YG

!J 		%k9$(kyyQ	
 	6"6"   INN??$$r   c                \   ^ RI Hp Vf   Vf   Ve   VP                  R4       ^ RIHp / RRbRRbRR	bR
RbRRbRRbRRbRRbRRbRRbRRbRRbRRbRRbRRbRRbRRb/ RRbRRbRRbRRbR R!bR"R!bR#R!bR$R!bR%R!bR&RbR'RbR(RbR)R*bR+RbR,RbR-R!bR.RbC/ R/R!bR0RbR1RbR2R!bR3RbR4RbR5R!bR6RbR7RbR8RbR9RbR:R;bR<RbR=RbR>RbR?R!bR@RbC/ RAR!bRBRCbRDRCbRERCbRFRCbRGRCbRHRbRIR!bRJRbRKR!bRLRbRMR!bRNRObRPRObRQRbRRRbRSRbCRTRRURVRWRRXRRYR/Cp	R	VP
                  P                  P                  4       RVP                  P                  P                  4       RVP                  P                  P                  4       RVP                  P                  P                  4       R*VP                  P                  P                  4       R;VP                  P                  P                  4       RVVP                  P                  P                  4       /p
\        V RZ,          R[R\V P                  \!        W4      VR]\#        WP                  R^7      R_7      pVP%                  V4       VP'                  V4       Ve   VP)                  W4VR`7       V# V'       d   V# V P+                  4        VP-                  4       # )ar   r6   r8   rd   additional_image_urlszlist<string>additional_variant_attributesmap	age_groupage_group_enumandroid_app_namer_   android_classandroid_packageandroid_urlavailabilityavailability_enumbrandcategorycheckout_urlcolorcommerce_tax_categorycommerce_tax_category_enum	conditioncondition_enumcurrencycustom_datacustom_label_0custom_label_1custom_label_2custom_label_3custom_label_4custom_number_0zunsigned intcustom_number_1custom_number_2custom_number_3custom_number_4descriptionexpiration_datefb_product_categorygendergender_enumgtin	image_url	inventoryios_app_nameios_app_store_idios_urlipad_app_nameipad_app_store_idipad_urliphone_app_nameiphone_app_store_id
iphone_urllaunch_datelive_special_pricemanufacturer_part_numbermarked_for_product_launchmarked_for_product_launch_enummaterialmobile_linknameordering_indexpatternpriceproduct_priority_0floatproduct_priority_1product_priority_2product_priority_3product_priority_4product_typequantity_to_sell_on_facebookr   return_policy_daysrich_text_description
sale_pricesale_price_end_datedatetimesale_price_start_dateshort_descriptionsize
start_dateurl
visibilityvisibility_enumwindows_phone_app_idwindows_phone_app_namewindows_phone_urlr   r`   rf   rg   rh   rB   rJ   )rK   r7   rL   ri   re   AgeGroup__dict__valuesAvailabilityCommerceTaxCategory	ConditionGenderMarkedForProductLaunch
Visibilityr   r+   r   r   rM   rN   rO   rP   rQ   rj   s   &&&&&&&     r   create_productProductGroup.create_product   sh   5=g1W5H


X
YGJ
#^J
+UJ
 )J
 	J

 XJ
 xJ
 8J
 /J
 XJ
 J
 HJ
 XJ
 $%AJ
 )J
 J
  5!J
" h#J
$ h%J
& h'J
( h)J
* h+J
, ~-J
. ~/J
0 ~1J
2 ~3J
4 ~5J
6 87J
8 x9J
: "8;J
< m=J
> H?J
@ AJ
B CJ
D HEJ
F GJ
H xIJ
J XKJ
L  MJ
N OJ
P xQJ
R ">SJ
T (UJ
V 8WJ
X !(YJ
Z '[J
\ ()I]J
^ _J
` 8aJ
b HcJ
d neJ
f xgJ
h ^iJ
j !'kJ
l !'mJ
n !'oJ
p !'qJ
r !'sJ
t HuJ
v +NwJ
x 8yJ
z !.{J
| $X}J
~ .J
@ ":AJ
B $ZCJ
D  EJ
F HGJ
H (IJ
J 8+"H$hSJ
X k22;;BBD!9!9!B!B!I!I!K(+*I*I*R*R*Y*Y*[k33<<CCE;--66==?,k.P.P.Y.Y.`.`.b{55>>EEG
 "J 		%k9$(kyyQ	
 	6"6"   INN??$$r   r   r_   r   r)   r   r   zlist<ProductVariant>c                
    / pV# )Nr   )r%   field_enum_infos   & r   _get_field_enum_info!ProductGroup._get_field_enum_info"  s    r   )r   )NNN)NNNNNF)r   r   r   r    r   r   r"   classmethodr&   r3   rV   r[   ra   rk   r   _field_typesr   r!   __classdictcell____classcell__)r   __classdict__s   @@r   r	   r	      s     A$$     D!%F%<%@%>m%` 	h+x*	L   r   r	   N)*facebook_business.adobjects.abstractobjectr   .facebook_business.adobjects.abstractcrudobjectr   (facebook_business.adobjects.objectparserr   facebook_business.apir   facebook_business.typecheckerr   r	   r   r   r   <module>r      s+    F M A 1 5PPr   